|
|
@ -12,6 +12,7 @@
|
|
|
|
{"GetMarkPosZ", MechanicsFunctions::GetMarkPosZ},\
|
|
|
|
{"GetMarkPosZ", MechanicsFunctions::GetMarkPosZ},\
|
|
|
|
{"GetMarkRotX", MechanicsFunctions::GetMarkRotX},\
|
|
|
|
{"GetMarkRotX", MechanicsFunctions::GetMarkRotX},\
|
|
|
|
{"GetMarkRotZ", MechanicsFunctions::GetMarkRotZ},\
|
|
|
|
{"GetMarkRotZ", MechanicsFunctions::GetMarkRotZ},\
|
|
|
|
|
|
|
|
{"GetSelectedSpellId", MechanicsFunctions::GetSelectedSpellId},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"GetScale", MechanicsFunctions::GetScale},\
|
|
|
|
{"GetScale", MechanicsFunctions::GetScale},\
|
|
|
|
{"IsWerewolf", MechanicsFunctions::IsWerewolf},\
|
|
|
|
{"IsWerewolf", MechanicsFunctions::IsWerewolf},\
|
|
|
@ -19,11 +20,13 @@
|
|
|
|
{"SetMarkCell", MechanicsFunctions::SetMarkCell},\
|
|
|
|
{"SetMarkCell", MechanicsFunctions::SetMarkCell},\
|
|
|
|
{"SetMarkPos", MechanicsFunctions::SetMarkPos},\
|
|
|
|
{"SetMarkPos", MechanicsFunctions::SetMarkPos},\
|
|
|
|
{"SetMarkRot", MechanicsFunctions::SetMarkRot},\
|
|
|
|
{"SetMarkRot", MechanicsFunctions::SetMarkRot},\
|
|
|
|
|
|
|
|
{"SetSelectedSpellId", MechanicsFunctions::SetSelectedSpellId},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SetScale", MechanicsFunctions::SetScale},\
|
|
|
|
{"SetScale", MechanicsFunctions::SetScale},\
|
|
|
|
{"SetWerewolfState", MechanicsFunctions::SetWerewolfState},\
|
|
|
|
{"SetWerewolfState", MechanicsFunctions::SetWerewolfState},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SendMarkLocation", MechanicsFunctions::SendMarkLocation},\
|
|
|
|
{"SendMarkLocation", MechanicsFunctions::SendMarkLocation},\
|
|
|
|
|
|
|
|
{"SendSelectedSpell", MechanicsFunctions::SendSelectedSpell},\
|
|
|
|
{"SendShapeshift", MechanicsFunctions::SendShapeshift},\
|
|
|
|
{"SendShapeshift", MechanicsFunctions::SendShapeshift},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"Jail", MechanicsFunctions::Jail},\
|
|
|
|
{"Jail", MechanicsFunctions::Jail},\
|
|
|
@ -89,6 +92,14 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static double GetMarkRotZ(unsigned short pid) noexcept;
|
|
|
|
static double GetMarkRotZ(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Get the ID of a player's selected spell.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param pid The player ID.
|
|
|
|
|
|
|
|
* \return The spell ID.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static const char *GetSelectedSpellId(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the scale of a player.
|
|
|
|
* \brief Get the scale of a player.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -149,6 +160,18 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SetMarkRot(unsigned short pid, double x, double z) noexcept;
|
|
|
|
static void SetMarkRot(unsigned short pid, double x, double z) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set the ID of a player's selected spell.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* This changes the spell ID recorded for that player in the server memory, but does not by itself
|
|
|
|
|
|
|
|
* send a packet.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param pid The player ID.
|
|
|
|
|
|
|
|
* \param spellId The spell ID.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetSelectedSpellId(unsigned short pid, const char *spellId) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Set the scale of a player.
|
|
|
|
* \brief Set the scale of a player.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -181,6 +204,14 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SendMarkLocation(unsigned short pid);
|
|
|
|
static void SendMarkLocation(unsigned short pid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Send a PlayerMiscellaneous packet with a selected spell ID to a player.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param pid The player ID.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SendSelectedSpell(unsigned short pid);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Send a PlayerShapeshift packet about a player.
|
|
|
|
* \brief Send a PlayerShapeshift packet about a player.
|
|
|
|
*
|
|
|
|
*
|
|
|
|