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

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