|
|
|
@ -13,6 +13,7 @@
|
|
|
|
|
{"GetObjectMpNum", WorldFunctions::GetObjectMpNum},\
|
|
|
|
|
{"GetObjectCount", WorldFunctions::GetObjectCount},\
|
|
|
|
|
{"GetObjectCharge", WorldFunctions::GetObjectCharge},\
|
|
|
|
|
{"GetObjectEnchantmentCharge", WorldFunctions::GetObjectEnchantmentCharge},\
|
|
|
|
|
{"GetObjectGoldValue", WorldFunctions::GetObjectGoldValue},\
|
|
|
|
|
{"GetObjectScale", WorldFunctions::GetObjectScale},\
|
|
|
|
|
{"GetObjectState", WorldFunctions::GetObjectState},\
|
|
|
|
@ -29,6 +30,7 @@
|
|
|
|
|
{"GetContainerItemRefId", WorldFunctions::GetContainerItemRefId},\
|
|
|
|
|
{"GetContainerItemCount", WorldFunctions::GetContainerItemCount},\
|
|
|
|
|
{"GetContainerItemCharge", WorldFunctions::GetContainerItemCharge},\
|
|
|
|
|
{"GetContainerItemEnchantmentCharge", WorldFunctions::GetContainerItemEnchantmentCharge},\
|
|
|
|
|
{"GetContainerItemActionCount", WorldFunctions::GetContainerItemActionCount},\
|
|
|
|
|
\
|
|
|
|
|
{"SetEventCell", WorldFunctions::SetEventCell},\
|
|
|
|
@ -40,6 +42,7 @@
|
|
|
|
|
{"SetObjectMpNum", WorldFunctions::SetObjectMpNum},\
|
|
|
|
|
{"SetObjectCount", WorldFunctions::SetObjectCount},\
|
|
|
|
|
{"SetObjectCharge", WorldFunctions::SetObjectCharge},\
|
|
|
|
|
{"SetObjectEnchantmentCharge", WorldFunctions::SetObjectEnchantmentCharge},\
|
|
|
|
|
{"SetObjectGoldValue", WorldFunctions::SetObjectGoldValue},\
|
|
|
|
|
{"SetObjectScale", WorldFunctions::SetObjectScale},\
|
|
|
|
|
{"SetObjectState", WorldFunctions::SetObjectState},\
|
|
|
|
@ -54,6 +57,7 @@
|
|
|
|
|
{"SetContainerItemRefId", WorldFunctions::SetContainerItemRefId},\
|
|
|
|
|
{"SetContainerItemCount", WorldFunctions::SetContainerItemCount},\
|
|
|
|
|
{"SetContainerItemCharge", WorldFunctions::SetContainerItemCharge},\
|
|
|
|
|
{"SetContainerItemEnchantmentCharge", WorldFunctions::SetContainerItemEnchantmentCharge},\
|
|
|
|
|
\
|
|
|
|
|
{"AddWorldObject", WorldFunctions::AddWorldObject},\
|
|
|
|
|
{"AddContainerItem", WorldFunctions::AddContainerItem},\
|
|
|
|
@ -148,6 +152,14 @@ public:
|
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
|
* changes.
|
|
|
|
@ -287,6 +299,16 @@ public:
|
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
|
* 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;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \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.
|
|
|
|
|
*
|
|
|
|
@ -504,6 +536,14 @@ public:
|
|
|
|
|
*/
|
|
|
|
|
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.
|
|
|
|
|
*
|
|
|
|
|