F4MP/tiltedcode/Code/client/Events/ActorSpawnedEvent.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

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;
};