#include <event.hpp>
Event for the creation of a new Entity
◆ SpawnEntityEvent() [1/2]
| SpawnEntityEvent::SpawnEntityEvent |
( |
| ) |
|
|
inline |
◆ SpawnEntityEvent() [2/2]
| SpawnEntityEvent::SpawnEntityEvent |
( |
EntityID |
new_id, |
|
|
int |
entity_type |
|
) |
| |
|
inline |
◆ DEF_SERIALIZE()
| SpawnEntityEvent::DEF_SERIALIZE |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inline |
◆ entity_type
| int SpawnEntityEvent::entity_type |
What kind of entity to spawn.
◆ new_id
Id of the new entity, if the server is sending this down. Ignored, if this is a client request.
The documentation for this struct was generated from the following file: