mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:40:53 +01:00
19 lines
401 B
C
19 lines
401 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Dispatched whenever the client spawns a new actor.
|
||
|
|
*
|
||
|
|
* Not to be confused with added event, this event represents a form that the mod created.
|
||
|
|
*/
|
||
|
|
struct ActorSpawnedEvent
|
||
|
|
{
|
||
|
|
explicit ActorSpawnedEvent(const uint32_t aFormId, const entt::entity aEntity)
|
||
|
|
: FormId(aFormId)
|
||
|
|
, Entity(aEntity)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
uint32_t FormId;
|
||
|
|
entt::entity Entity;
|
||
|
|
};
|