Readme
Provide various utility functions to manipulate builtin itemproperty type
◆ NWNX_ItemProperty_UnpackIP()
Convert native itemproperty type to unpacked structure.
- Parameters
-
ip | The itemproperty to convert. |
- Returns
- A constructed NWNX_IPUnpacked.
Definition at line 45 of file nwnx_itemprop.nss.
◆ NWNX_ItemProperty_PackIP()
Convert unpacked itemproperty structure to native type.
- Parameters
-
- Returns
- The itemproperty.
Definition at line 71 of file nwnx_itemprop.nss.
◆ NWNX_ItemProperty_GetActiveProperty()
struct NWNX_IPUnpacked NWNX_ItemProperty_GetActiveProperty |
( |
object |
oItem, |
|
|
int |
nIndex |
|
) |
| |
Gets the active item property at the index.
- Parameters
-
oItem | - the item with the property |
nIndex | - the index such as returned by some Item Events |
- Returns
- A constructed NWNX_IPUnpacked, except for creator, and spell id.
Definition at line 92 of file nwnx_itemprop.nss.