mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
16 lines
322 B
C
16 lines
322 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Dispatched when a player gives up ownership of an actor,
|
||
|
|
* and when it is preferable for some other player client to claim ownership over it.
|
||
|
|
*/
|
||
|
|
struct OwnershipTransferEvent
|
||
|
|
{
|
||
|
|
OwnershipTransferEvent(const entt::entity aEntity)
|
||
|
|
: Entity{aEntity}
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
entt::entity Entity;
|
||
|
|
};
|