F4MP/codigos originales/tiltedcode/Code/server/Events/CharacterRemoveEvent.h
2026-01-06 18:53:59 +01:00

17 lines
410 B
C

#pragma once
/**
* @brief Dispatched when an actor should be removed from the world.
*
* This happens whenever a player leaves, and the player actor needs to be cleaned up on
* remote clients, or whenever there is no new owner to be found for an NPC.
*/
struct CharacterRemoveEvent
{
CharacterRemoveEvent(const uint32_t aServerId)
: ServerId(aServerId)
{
}
uint32_t ServerId;
};