F4MP/codigos originales/tiltedcode/Code/server/Events/OwnershipTransferEvent.h

16 lines
322 B
C
Raw Normal View History

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