F4MP/tiltedcode/Code/server/Events/CharacterInteriorCellChangeEvent.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

21 lines
438 B
C

#pragma once
#include "Structs/GameId.h"
struct Player;
/**
* @brief Dispatched when a player enters a new interior cell.
*/
struct CharacterInteriorCellChangeEvent
{
CharacterInteriorCellChangeEvent(Player* apOwner, const entt::entity aEntity, const GameId& acNewCell)
: Owner(apOwner)
, Entity{aEntity}
, NewCell(acNewCell)
{
}
Player* Owner;
entt::entity Entity;
GameId NewCell;
};