F4MP/tiltedcode/Code/server/Events/CharacterRemoveEvent.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +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;
};