mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
18 lines
401 B
C
18 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;
|
|
};
|