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