|
|
|
@ -176,7 +176,7 @@ namespace ObjectFunctions
|
|
|
|
|
*
|
|
|
|
|
* \return The number of indexes.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectListSize() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectListSize() noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the origin of the read object list.
|
|
|
|
@ -185,7 +185,7 @@ namespace ObjectFunctions
|
|
|
|
|
* CLIENT_DIALOGUE, 3 for CLIENT_SCRIPT_LOCAL, 4 for CLIENT_SCRIPT_GLOBAL,
|
|
|
|
|
* 5 for SERVER_SCRIPT).
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL char GetObjectListOrigin() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned char CDECL GetObjectListOrigin() noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the client script that the read object list originated from.
|
|
|
|
@ -194,21 +194,21 @@ namespace ObjectFunctions
|
|
|
|
|
*
|
|
|
|
|
* \return The ID of the client script.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetObjectListClientScript() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetObjectListClientScript() noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the action type used in the read object list.
|
|
|
|
|
*
|
|
|
|
|
* \return The action type (0 for SET, 1 for ADD, 2 for REMOVE, 3 for REQUEST).
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL char GetObjectListAction() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned char CDECL GetObjectListAction() noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the container subaction type used in the read object list.
|
|
|
|
|
*
|
|
|
|
|
* \return The action type (0 for NONE, 1 for DRAG, 2 for DROP, 3 for TAKE_ALL).
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL char GetObjectListContainerSubAction() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned char CDECL GetObjectListContainerSubAction() noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Check whether the object at a certain index in the read object list is a
|
|
|
|
@ -241,7 +241,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The refId.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetObjectRefId(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetObjectRefId(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the refNum of the object at a certain index in the read object list.
|
|
|
|
@ -249,7 +249,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The refNum.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectRefNum(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectRefNum(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the mpNum of the object at a certain index in the read object list.
|
|
|
|
@ -257,7 +257,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The mpNum.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectMpNum(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectMpNum(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the count of the object at a certain index in the read object list.
|
|
|
|
@ -289,7 +289,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The soul.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetObjectSoul(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetObjectSoul(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the gold value of the object at a certain index in the read object list.
|
|
|
|
@ -358,7 +358,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The refId of the activating actor.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetObjectActivatingRefId(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetObjectActivatingRefId(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the refNum of the actor activating the object at a certain index in the read
|
|
|
|
@ -367,7 +367,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The refNum of the activating actor.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectActivatingRefNum(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectActivatingRefNum(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the mpNum of the actor activating the object at a certain index in the read
|
|
|
|
@ -376,7 +376,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The mpNum of the activating actor.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectActivatingMpNum(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectActivatingMpNum(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the name of the actor activating the object at a certain index in the read
|
|
|
|
@ -385,7 +385,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The name of the activating actor.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetObjectActivatingName(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetObjectActivatingName(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Check whether the object at a certain index in the read object list is a
|
|
|
|
@ -434,7 +434,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The refId of the summoner.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetObjectSummonerRefId(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetObjectSummonerRefId(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the refNum of the actor summoner of the object at a certain index in the read object
|
|
|
|
@ -443,7 +443,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The refNum of the summoner.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectSummonerRefNum(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectSummonerRefNum(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the mpNum of the actor summoner of the object at a certain index in the read object list.
|
|
|
|
@ -451,7 +451,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The mpNum of the summoner.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectSummonerMpNum(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectSummonerMpNum(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the X position of the object at a certain index in the read object list.
|
|
|
|
@ -506,7 +506,7 @@ namespace ObjectFunctions
|
|
|
|
|
*
|
|
|
|
|
* \return The videoFilename.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetVideoFilename(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetVideoFilename(unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the number of container item indexes of the object at a certain index in the
|
|
|
|
@ -515,7 +515,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param index The index of the object.
|
|
|
|
|
* \return The number of container item indexes.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetContainerChangesSize(unsigned int objectIndex) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetContainerChangesSize(unsigned int objectIndex) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the refId of the container item at a certain itemIndex in the container changes
|
|
|
|
@ -525,7 +525,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
|
* \return The refId.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetContainerItemRefId(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetContainerItemRefId(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the item count of the container item at a certain itemIndex in the container
|
|
|
|
@ -565,7 +565,7 @@ namespace ObjectFunctions
|
|
|
|
|
* \param itemIndex The index of the container item.
|
|
|
|
|
* \return The soul.
|
|
|
|
|
*/
|
|
|
|
|
EXPORT_APIFUNCTION const CDECL char *GetContainerItemSoul(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION const char *CDECL GetContainerItemSoul(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Get the action count of the container item at a certain itemIndex in the container
|
|
|
|
@ -1076,11 +1076,11 @@ namespace ObjectFunctions
|
|
|
|
|
EXPORT_APIFUNCTION void CDECL InitializeObjectList(unsigned short pid) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION void CDECL InitializeEvent(unsigned short pid) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION void CDECL CopyLastObjectListToStore() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectChangesSize() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL char GetEventAction() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL char GetEventContainerSubAction() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectRefNumIndex(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned CDECL int GetObjectSummonerRefNumIndex(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectChangesSize() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned char CDECL GetEventAction() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned char CDECL GetEventContainerSubAction() noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectRefNumIndex(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION unsigned int CDECL GetObjectSummonerRefNumIndex(unsigned int index) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION void CDECL SetEventCell(const char* cellDescription) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION void CDECL SetEventAction(unsigned char action) noexcept;
|
|
|
|
|
EXPORT_APIFUNCTION void CDECL SetEventConsoleCommand(const char* consoleCommand) noexcept;
|
|
|
|
|