mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
24 lines
602 B
C
24 lines
602 B
C
#pragma once
|
|
#include <Structs/GameId.h>
|
|
#include <Structs/GridCellCoords.h>
|
|
|
|
struct Player;
|
|
|
|
/**
|
|
* @brief Dispatched when a player enters a new exterior cell.
|
|
*/
|
|
struct CharacterExteriorCellChangeEvent
|
|
{
|
|
CharacterExteriorCellChangeEvent(Player* apOwner, const entt::entity aEntity, const GameId aWorldSpaceId, const GridCellCoords aCurrentCoords)
|
|
: Owner(apOwner)
|
|
, Entity{aEntity}
|
|
, WorldSpaceId(aWorldSpaceId)
|
|
, CurrentCoords(aCurrentCoords)
|
|
{
|
|
}
|
|
|
|
Player* Owner;
|
|
entt::entity Entity;
|
|
GameId WorldSpaceId;
|
|
GridCellCoords CurrentCoords;
|
|
};
|