Context information for command execution.
uint32_t playerId
ID of the player executing the command.
std::string playerName
Name of the player executing the command.
std::shared_ptr< Room > room
Room where the command is executed.
CommandContext(uint32_t pId, const std::string &pName, std::shared_ptr< Room > r, ::Server *srv)
::Server * server
Server instance for operations (global namespace)