mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:40:53 +01:00
21 lines
438 B
C
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;
|
|
};
|