Event raised when entities are updated, created, destroyed client-side - an alternative to the virtual methods that Entity provides.
#include <nrg_event.h>
|
uint8_t | type |
| Will be ENTITY_{UPDATED, CREATED, DESTROYED}.
|
|
uint16_t | eid |
| The Entity's ID.
|
|
uint16_t | etype |
| The Entity's user-defined type id.
|
|
Entity * | pointer |
| Pointer to the Entity - don't dereference it on ENTITY_DESTROYED!
|
|
uint16_t nrg::EntityEvent::eid |
uint16_t nrg::EntityEvent::etype |
Entity* nrg::EntityEvent::pointer |
uint8_t nrg::EntityEvent::type |
The documentation for this struct was generated from the following file: