private void stripProperties(CLRScriptBase script, uint item) { for (ItemProperty ip = script.GetFirstItemProperty(item); script.GetIsItemPropertyValid(ip) == CLRScriptBase.TRUE; ip = script.GetNextItemProperty(item)) { script.RemoveItemProperty(item, ip); } }
public Int32 GetItemPropertyParam1Value(NWItemProperty iProp) { return ScriptHost.ExecuteActionService_772_1_GetItemPropertyParam1Value(iProp); }
public Int32 GetItemPropertyCostTableValue(NWItemProperty iProp) { return ScriptHost.ExecuteActionService_770_1_GetItemPropertyCostTableValue(iProp); }
public Int32 GetItemPropertySubType(NWItemProperty iProperty) { return ScriptHost.ExecuteActionService_734_1_GetItemPropertySubType(iProperty); }
public Int32 GetItemPropertyDurationType(NWItemProperty ip) { return ScriptHost.ExecuteActionService_615_1_GetItemPropertyDurationType(ip); }
public Int32 GetIsItemPropertyValid(NWItemProperty ipProperty) { return ScriptHost.ExecuteActionService_611_1_GetIsItemPropertyValid(ipProperty); }
public void RemoveItemProperty(UInt32 oItem, NWItemProperty ipProperty) { ScriptHost.ExecuteActionService_610_2_RemoveItemProperty(oItem, ipProperty); }
public void AddItemProperty(Int32 nDurationType, NWItemProperty ipProperty, UInt32 oItem, float fDuration) { ScriptHost.ExecuteActionService_609_4_AddItemProperty(nDurationType, ipProperty, oItem, (Single)fDuration); }