|
|
@ -13,6 +13,7 @@
|
|
|
|
{"GetObjectMpNum", WorldFunctions::GetObjectMpNum},\
|
|
|
|
{"GetObjectMpNum", WorldFunctions::GetObjectMpNum},\
|
|
|
|
{"GetObjectCount", WorldFunctions::GetObjectCount},\
|
|
|
|
{"GetObjectCount", WorldFunctions::GetObjectCount},\
|
|
|
|
{"GetObjectCharge", WorldFunctions::GetObjectCharge},\
|
|
|
|
{"GetObjectCharge", WorldFunctions::GetObjectCharge},\
|
|
|
|
|
|
|
|
{"GetObjectEnchantmentCharge", WorldFunctions::GetObjectEnchantmentCharge},\
|
|
|
|
{"GetObjectGoldValue", WorldFunctions::GetObjectGoldValue},\
|
|
|
|
{"GetObjectGoldValue", WorldFunctions::GetObjectGoldValue},\
|
|
|
|
{"GetObjectScale", WorldFunctions::GetObjectScale},\
|
|
|
|
{"GetObjectScale", WorldFunctions::GetObjectScale},\
|
|
|
|
{"GetObjectState", WorldFunctions::GetObjectState},\
|
|
|
|
{"GetObjectState", WorldFunctions::GetObjectState},\
|
|
|
@ -29,6 +30,7 @@
|
|
|
|
{"GetContainerItemRefId", WorldFunctions::GetContainerItemRefId},\
|
|
|
|
{"GetContainerItemRefId", WorldFunctions::GetContainerItemRefId},\
|
|
|
|
{"GetContainerItemCount", WorldFunctions::GetContainerItemCount},\
|
|
|
|
{"GetContainerItemCount", WorldFunctions::GetContainerItemCount},\
|
|
|
|
{"GetContainerItemCharge", WorldFunctions::GetContainerItemCharge},\
|
|
|
|
{"GetContainerItemCharge", WorldFunctions::GetContainerItemCharge},\
|
|
|
|
|
|
|
|
{"GetContainerItemEnchantmentCharge", WorldFunctions::GetContainerItemEnchantmentCharge},\
|
|
|
|
{"GetContainerItemActionCount", WorldFunctions::GetContainerItemActionCount},\
|
|
|
|
{"GetContainerItemActionCount", WorldFunctions::GetContainerItemActionCount},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SetEventCell", WorldFunctions::SetEventCell},\
|
|
|
|
{"SetEventCell", WorldFunctions::SetEventCell},\
|
|
|
@ -40,6 +42,7 @@
|
|
|
|
{"SetObjectMpNum", WorldFunctions::SetObjectMpNum},\
|
|
|
|
{"SetObjectMpNum", WorldFunctions::SetObjectMpNum},\
|
|
|
|
{"SetObjectCount", WorldFunctions::SetObjectCount},\
|
|
|
|
{"SetObjectCount", WorldFunctions::SetObjectCount},\
|
|
|
|
{"SetObjectCharge", WorldFunctions::SetObjectCharge},\
|
|
|
|
{"SetObjectCharge", WorldFunctions::SetObjectCharge},\
|
|
|
|
|
|
|
|
{"SetObjectEnchantmentCharge", WorldFunctions::SetObjectEnchantmentCharge},\
|
|
|
|
{"SetObjectGoldValue", WorldFunctions::SetObjectGoldValue},\
|
|
|
|
{"SetObjectGoldValue", WorldFunctions::SetObjectGoldValue},\
|
|
|
|
{"SetObjectScale", WorldFunctions::SetObjectScale},\
|
|
|
|
{"SetObjectScale", WorldFunctions::SetObjectScale},\
|
|
|
|
{"SetObjectState", WorldFunctions::SetObjectState},\
|
|
|
|
{"SetObjectState", WorldFunctions::SetObjectState},\
|
|
|
@ -54,6 +57,7 @@
|
|
|
|
{"SetContainerItemRefId", WorldFunctions::SetContainerItemRefId},\
|
|
|
|
{"SetContainerItemRefId", WorldFunctions::SetContainerItemRefId},\
|
|
|
|
{"SetContainerItemCount", WorldFunctions::SetContainerItemCount},\
|
|
|
|
{"SetContainerItemCount", WorldFunctions::SetContainerItemCount},\
|
|
|
|
{"SetContainerItemCharge", WorldFunctions::SetContainerItemCharge},\
|
|
|
|
{"SetContainerItemCharge", WorldFunctions::SetContainerItemCharge},\
|
|
|
|
|
|
|
|
{"SetContainerItemEnchantmentCharge", WorldFunctions::SetContainerItemEnchantmentCharge},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"AddWorldObject", WorldFunctions::AddWorldObject},\
|
|
|
|
{"AddWorldObject", WorldFunctions::AddWorldObject},\
|
|
|
|
{"AddContainerItem", WorldFunctions::AddContainerItem},\
|
|
|
|
{"AddContainerItem", WorldFunctions::AddContainerItem},\
|
|
|
@ -148,6 +152,14 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static int GetObjectCharge(unsigned int i) noexcept;
|
|
|
|
static int GetObjectCharge(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Get the enchantment charge of the object at a certain index in the read event's object changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param i The index of the object.
|
|
|
|
|
|
|
|
* \return The enchantment charge.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static int GetObjectEnchantmentCharge(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the gold value of the object at a certain index in the read event's object
|
|
|
|
* \brief Get the gold value of the object at a certain index in the read event's object
|
|
|
|
* changes.
|
|
|
|
* changes.
|
|
|
@ -287,6 +299,16 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static int GetContainerItemCharge(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
static int GetContainerItemCharge(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Get the enchantment charge of the container item at a certain itemIndex in the container changes
|
|
|
|
|
|
|
|
* of the object at a certain objectIndex in the read event's object changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
|
|
|
|
* \return The enchantment charge.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static int GetContainerItemEnchantmentCharge(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the action count of the container item at a certain itemIndex in the container
|
|
|
|
* \brief Get the action count of the container item at a certain itemIndex in the container
|
|
|
|
* changes of the object at a certain objectIndex in the read event's object changes.
|
|
|
|
* changes of the object at a certain objectIndex in the read event's object changes.
|
|
|
@ -384,6 +406,16 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SetObjectCharge(int charge) noexcept;
|
|
|
|
static void SetObjectCharge(int charge) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set the enchantment charge of the temporary world object stored on the server.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Object durabilities are set through this value.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param charge The enchantment charge.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetObjectEnchantmentCharge(int enchantmentCharge) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Set the gold value of the temporary world object stored on the server.
|
|
|
|
* \brief Set the gold value of the temporary world object stored on the server.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -504,6 +536,14 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SetContainerItemCharge(int charge) noexcept;
|
|
|
|
static void SetContainerItemCharge(int charge) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set the enchantment charge of the temporary container item stored on the server.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param charge The enchantment charge.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetContainerItemEnchantmentCharge(int enchantmentCharge) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Add a copy of the server's temporary world object to the server's temporary event.
|
|
|
|
* \brief Add a copy of the server's temporary world object to the server's temporary event.
|
|
|
|
*
|
|
|
|
*
|
|
|
|