6 const string NWNX_ItemProperty =
"NWNX_ItemProperty";
46 NWNXPushItemProperty(ip);
47 NWNXCall(NWNX_ItemProperty,
"UnpackIP");
49 n.
sID = NWNXPopString();
50 n.nProperty = NWNXPopInt();
51 n.nSubType = NWNXPopInt();
52 n.nCostTable = NWNXPopInt();
53 n.nCostTableValue = NWNXPopInt();
54 n.nParam1 = NWNXPopInt();
55 n.nParam1Value = NWNXPopInt();
56 n.nUsesPerDay = NWNXPopInt();
57 n.nChanceToAppear = NWNXPopInt();
58 n.bUsable = NWNXPopInt();
59 n.nSpellId = NWNXPopInt();
60 n.oCreator = NWNXPopObject();
61 n.sTag = NWNXPopString();
67 NWNXPushString(n.
sTag);
79 NWNXCall(NWNX_ItemProperty,
"PackIP");
80 return NWNXPopItemProperty();
86 NWNXPushObject(oItem);
87 NWNXCall(NWNX_ItemProperty,
"GetActiveProperty");
90 n.nSubType = NWNXPopInt();
91 n.nCostTable = NWNXPopInt();
92 n.nCostTableValue = NWNXPopInt();
93 n.nParam1 = NWNXPopInt();
94 n.nParam1Value = NWNXPopInt();
95 n.nUsesPerDay = NWNXPopInt();
96 n.nChanceToAppear = NWNXPopInt();
97 n.bUsable = NWNXPopInt();
98 n.sTag = NWNXPopString();
itemproperty NWNX_ItemProperty_PackIP(struct NWNX_IPUnpacked ip)
Convert unpacked itemproperty structure to native type.
struct NWNX_IPUnpacked NWNX_ItemProperty_UnpackIP(itemproperty ip)
Convert native itemproperty type to unpacked structure.
struct NWNX_IPUnpacked NWNX_ItemProperty_GetActiveProperty(object oItem, int nIndex)
Gets the active item property at the index.
An unpacked itemproperty.