|
|
@ -175,15 +175,14 @@ public:
|
|
|
|
static unsigned char GetObjectListContainerSubAction() noexcept;
|
|
|
|
static unsigned char GetObjectListContainerSubAction() noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the refId of the object at a certain index in the read object list's object changes.
|
|
|
|
* \brief Get the refId of the object at a certain index in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \return The refId.
|
|
|
|
* \return The refId.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static const char *GetObjectRefId(unsigned int i) noexcept;
|
|
|
|
static const char *GetObjectRefId(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the refNum of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the refNum of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The refNum.
|
|
|
|
* \return The refNum.
|
|
|
@ -191,7 +190,7 @@ public:
|
|
|
|
static unsigned int GetObjectRefNum(unsigned int i) noexcept;
|
|
|
|
static unsigned int GetObjectRefNum(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the mpNum of the object at a certain index in the read object list's object changes.
|
|
|
|
* \brief Get the mpNum of the object at a certain index in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The mpNum.
|
|
|
|
* \return The mpNum.
|
|
|
@ -199,7 +198,7 @@ public:
|
|
|
|
static unsigned int GetObjectMpNum(unsigned int i) noexcept;
|
|
|
|
static unsigned int GetObjectMpNum(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the count of the object at a certain index in the read object list's object changes.
|
|
|
|
* \brief Get the count of the object at a certain index in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The object count.
|
|
|
|
* \return The object count.
|
|
|
@ -207,7 +206,7 @@ public:
|
|
|
|
static int GetObjectCount(unsigned int i) noexcept;
|
|
|
|
static int GetObjectCount(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the charge of the object at a certain index in the read object list's object changes.
|
|
|
|
* \brief Get the charge of the object at a certain index in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The charge.
|
|
|
|
* \return The charge.
|
|
|
@ -215,7 +214,7 @@ 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 object list's object changes.
|
|
|
|
* \brief Get the enchantment charge of the object at a certain index in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The enchantment charge.
|
|
|
|
* \return The enchantment charge.
|
|
|
@ -223,8 +222,7 @@ public:
|
|
|
|
static double GetObjectEnchantmentCharge(unsigned int i) noexcept;
|
|
|
|
static double GetObjectEnchantmentCharge(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the gold value of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the gold value of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* This is used solely to get the gold value of gold. It is not used for other objects.
|
|
|
|
* This is used solely to get the gold value of gold. It is not used for other objects.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -234,8 +232,7 @@ public:
|
|
|
|
static int GetObjectGoldValue(unsigned int i) noexcept;
|
|
|
|
static int GetObjectGoldValue(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the object scale of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the object scale of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The object scale.
|
|
|
|
* \return The object scale.
|
|
|
@ -243,8 +240,7 @@ public:
|
|
|
|
static double GetObjectScale(unsigned int i) noexcept;
|
|
|
|
static double GetObjectScale(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the object state of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the object state of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The object state.
|
|
|
|
* \return The object state.
|
|
|
@ -252,8 +248,7 @@ public:
|
|
|
|
static bool GetObjectState(unsigned int i) noexcept;
|
|
|
|
static bool GetObjectState(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the door state of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the door state of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The door state.
|
|
|
|
* \return The door state.
|
|
|
@ -261,8 +256,7 @@ public:
|
|
|
|
static int GetObjectDoorState(unsigned int i) noexcept;
|
|
|
|
static int GetObjectDoorState(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the lock level of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the lock level of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The lock level.
|
|
|
|
* \return The lock level.
|
|
|
@ -270,8 +264,8 @@ public:
|
|
|
|
static int GetObjectLockLevel(unsigned int i) noexcept;
|
|
|
|
static int GetObjectLockLevel(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Check whether the object at a certain index in the read object list's object changes
|
|
|
|
* \brief Check whether the object at a certain index in the read object list is a
|
|
|
|
* is a summon.
|
|
|
|
* summon.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Only living actors can be summoned.
|
|
|
|
* Only living actors can be summoned.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -280,8 +274,7 @@ public:
|
|
|
|
static bool GetObjectSummonState(unsigned int i) noexcept;
|
|
|
|
static bool GetObjectSummonState(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the summon duration of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the summon duration of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Note: Returns -1 if indefinite.
|
|
|
|
* Note: Returns -1 if indefinite.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -291,8 +284,8 @@ public:
|
|
|
|
static double GetObjectSummonDuration(unsigned int i) noexcept;
|
|
|
|
static double GetObjectSummonDuration(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Check whether the object at a certain index in the read object list's object changes
|
|
|
|
* \brief Check whether the object at a certain index in the read object list has a player
|
|
|
|
* has a player as its summoner.
|
|
|
|
* as its summoner.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Only living actors can be summoned.
|
|
|
|
* Only living actors can be summoned.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -303,7 +296,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the player ID of the summoner of the object at a certain index in the read object
|
|
|
|
* \brief Get the player ID of the summoner of the object at a certain index in the read object
|
|
|
|
* list's object changes.
|
|
|
|
* list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The player ID of the summoner.
|
|
|
|
* \return The player ID of the summoner.
|
|
|
@ -312,7 +305,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the refId of the actor summoner of the object at a certain index in the read object
|
|
|
|
* \brief Get the refId of the actor summoner of the object at a certain index in the read object
|
|
|
|
* list's object changes.
|
|
|
|
* list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The refId of the summoner.
|
|
|
|
* \return The refId of the summoner.
|
|
|
@ -321,7 +314,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the refNum of the actor summoner of the object at a certain index in the read object
|
|
|
|
* \brief Get the refNum of the actor summoner of the object at a certain index in the read object
|
|
|
|
* list's object changes.
|
|
|
|
* list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The refNum of the summoner.
|
|
|
|
* \return The refNum of the summoner.
|
|
|
@ -329,8 +322,7 @@ public:
|
|
|
|
static unsigned int GetObjectSummonerRefNum(unsigned int i) noexcept;
|
|
|
|
static unsigned int GetObjectSummonerRefNum(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the mpNum of the actor summoner of the object at a certain index in the read object list's
|
|
|
|
* \brief Get the mpNum of the actor summoner of the object at a certain index in the read object list.
|
|
|
|
* object changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The mpNum of the summoner.
|
|
|
|
* \return The mpNum of the summoner.
|
|
|
@ -338,8 +330,7 @@ public:
|
|
|
|
static unsigned int GetObjectSummonerMpNum(unsigned int i) noexcept;
|
|
|
|
static unsigned int GetObjectSummonerMpNum(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the X position of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the X position of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The X position.
|
|
|
|
* \return The X position.
|
|
|
@ -347,8 +338,7 @@ public:
|
|
|
|
static double GetObjectPosX(unsigned int i) noexcept;
|
|
|
|
static double GetObjectPosX(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the Y position of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the Y position of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The Y position.
|
|
|
|
* \return The Y position.
|
|
|
@ -356,7 +346,7 @@ public:
|
|
|
|
static double GetObjectPosY(unsigned int i) noexcept;
|
|
|
|
static double GetObjectPosY(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the Z position at a certain index in the read object list's object changes.
|
|
|
|
* \brief Get the Z position at a certain index in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The Z position.
|
|
|
|
* \return The Z position.
|
|
|
@ -364,8 +354,7 @@ public:
|
|
|
|
static double GetObjectPosZ(unsigned int i) noexcept;
|
|
|
|
static double GetObjectPosZ(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the X rotation of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the X rotation of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The X rotation.
|
|
|
|
* \return The X rotation.
|
|
|
@ -373,8 +362,7 @@ public:
|
|
|
|
static double GetObjectRotX(unsigned int i) noexcept;
|
|
|
|
static double GetObjectRotX(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the Y rotation of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the Y rotation of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The Y rotation.
|
|
|
|
* \return The Y rotation.
|
|
|
@ -382,8 +370,7 @@ public:
|
|
|
|
static double GetObjectRotY(unsigned int i) noexcept;
|
|
|
|
static double GetObjectRotY(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the Z rotation of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the Z rotation of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The Z rotation.
|
|
|
|
* \return The Z rotation.
|
|
|
@ -391,8 +378,7 @@ public:
|
|
|
|
static double GetObjectRotZ(unsigned int i) noexcept;
|
|
|
|
static double GetObjectRotZ(unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the videoFilename of the object at a certain index in the read object list's object
|
|
|
|
* \brief Get the videoFilename of the object at a certain index in the read object list.
|
|
|
|
* changes.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \return The videoFilename.
|
|
|
|
* \return The videoFilename.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -400,7 +386,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the number of container item indexes of the object at a certain index in the
|
|
|
|
* \brief Get the number of container item indexes of the object at a certain index in the
|
|
|
|
* read object list's object changes.
|
|
|
|
* read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \param i The index of the object.
|
|
|
|
* \return The number of container item indexes.
|
|
|
|
* \return The number of container item indexes.
|
|
|
@ -409,7 +395,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the refId of the container item at a certain itemIndex in the container changes
|
|
|
|
* \brief Get the refId of the container item at a certain itemIndex in the container changes
|
|
|
|
* of the object at a certain objectIndex in the read object list's object changes.
|
|
|
|
* of the object at a certain objectIndex in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
@ -419,7 +405,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the item count of the container item at a certain itemIndex in the container
|
|
|
|
* \brief Get the item count of the container item at a certain itemIndex in the container
|
|
|
|
* changes of the object at a certain objectIndex in the read object list's object changes.
|
|
|
|
* changes of the object at a certain objectIndex in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
@ -429,7 +415,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the charge of the container item at a certain itemIndex in the container changes
|
|
|
|
* \brief Get the charge of the container item at a certain itemIndex in the container changes
|
|
|
|
* of the object at a certain objectIndex in the read object list's object changes.
|
|
|
|
* of the object at a certain objectIndex in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
@ -439,7 +425,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Get the enchantment charge of the container item at a certain itemIndex in the container changes
|
|
|
|
* \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 object list's object changes.
|
|
|
|
* of the object at a certain objectIndex in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
@ -449,7 +435,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \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 object list's object changes.
|
|
|
|
* changes of the object at a certain objectIndex in the read object list.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param objectIndex The index of the object.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
@ -458,8 +444,7 @@ public:
|
|
|
|
static int GetContainerItemActionCount(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
static int GetContainerItemActionCount(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Check whether the object at a certain index in the read object list's object
|
|
|
|
* \brief Check whether the object at a certain index in the read object list has a container.
|
|
|
|
* changes has a container.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Note: Only ObjectLists from ObjectPlace packets contain this information. Objects from
|
|
|
|
* Note: Only ObjectLists from ObjectPlace packets contain this information. Objects from
|
|
|
|
* received ObjectSpawn packets can always be assumed to have a container.
|
|
|
|
* received ObjectSpawn packets can always be assumed to have a container.
|
|
|
|