|
|
@ -33,6 +33,7 @@
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SetEventCell", WorldFunctions::SetEventCell},\
|
|
|
|
{"SetEventCell", WorldFunctions::SetEventCell},\
|
|
|
|
{"SetEventAction", WorldFunctions::SetEventAction},\
|
|
|
|
{"SetEventAction", WorldFunctions::SetEventAction},\
|
|
|
|
|
|
|
|
{"SetEventConsoleCommand", WorldFunctions::SetEventConsoleCommand},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SetObjectRefId", WorldFunctions::SetObjectRefId},\
|
|
|
|
{"SetObjectRefId", WorldFunctions::SetObjectRefId},\
|
|
|
|
{"SetObjectRefNumIndex", WorldFunctions::SetObjectRefNumIndex},\
|
|
|
|
{"SetObjectRefNumIndex", WorldFunctions::SetObjectRefNumIndex},\
|
|
|
@ -48,6 +49,7 @@
|
|
|
|
{"SetObjectMasterState", WorldFunctions::SetObjectMasterState},\
|
|
|
|
{"SetObjectMasterState", WorldFunctions::SetObjectMasterState},\
|
|
|
|
{"SetObjectPosition", WorldFunctions::SetObjectPosition},\
|
|
|
|
{"SetObjectPosition", WorldFunctions::SetObjectPosition},\
|
|
|
|
{"SetObjectRotation", WorldFunctions::SetObjectRotation},\
|
|
|
|
{"SetObjectRotation", WorldFunctions::SetObjectRotation},\
|
|
|
|
|
|
|
|
{"SetPlayerAsObject", WorldFunctions::SetPlayerAsObject},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SetContainerItemRefId", WorldFunctions::SetContainerItemRefId},\
|
|
|
|
{"SetContainerItemRefId", WorldFunctions::SetContainerItemRefId},\
|
|
|
|
{"SetContainerItemCount", WorldFunctions::SetContainerItemCount},\
|
|
|
|
{"SetContainerItemCount", WorldFunctions::SetContainerItemCount},\
|
|
|
@ -65,6 +67,7 @@
|
|
|
|
{"SendObjectState", WorldFunctions::SendObjectState},\
|
|
|
|
{"SendObjectState", WorldFunctions::SendObjectState},\
|
|
|
|
{"SendDoorState", WorldFunctions::SendDoorState},\
|
|
|
|
{"SendDoorState", WorldFunctions::SendDoorState},\
|
|
|
|
{"SendContainer", WorldFunctions::SendContainer},\
|
|
|
|
{"SendContainer", WorldFunctions::SendContainer},\
|
|
|
|
|
|
|
|
{"SendConsoleCommand", WorldFunctions::SendConsoleCommand},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SetHour", WorldFunctions::SetHour},\
|
|
|
|
{"SetHour", WorldFunctions::SetHour},\
|
|
|
|
{"SetMonth", WorldFunctions::SetMonth},\
|
|
|
|
{"SetMonth", WorldFunctions::SetMonth},\
|
|
|
@ -313,6 +316,17 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SetEventAction(unsigned char action) noexcept;
|
|
|
|
static void SetEventAction(unsigned char action) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set the console command of the temporary event stored on the server.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* When sent, the command will run once on every object added to the event. If no objects
|
|
|
|
|
|
|
|
* have been added, it will run once without any object reference.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param consoleCommand The console command.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetEventConsoleCommand(const char* consoleCommand) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Set the refId of the temporary world object stored on the server.
|
|
|
|
* \brief Set the refId of the temporary world object stored on the server.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -457,6 +471,15 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SetObjectRotation(double x, double y, double z) noexcept;
|
|
|
|
static void SetObjectRotation(double x, double y, double z) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set a player as the object in the temporary world object stored on the server.
|
|
|
|
|
|
|
|
* Currently only used for ConsoleCommand packets.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param pid The pid of the player.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetPlayerAsObject(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Set the refId of the temporary container item stored on the server.
|
|
|
|
* \brief Set the refId of the temporary container item stored on the server.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -583,6 +606,15 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SendContainer() noexcept;
|
|
|
|
static void SendContainer() noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Send a ConsoleCommand packet.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* It is sent only to the player for whom the current event was initialized.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SendConsoleCommand() noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Set the game hour for a player and send a GameTime packet to that player.
|
|
|
|
* \brief Set the game hour for a player and send a GameTime packet to that player.
|
|
|
|
*
|
|
|
|
*
|
|
|
|