Method Custom
Custom(int, int, int, int)
Creates a custom item property by specifying raw table indices.
public static ItemProperty Custom(int type, int subType = -1, int costTableValue = -1, int param1Value = -1)
Parameters
typeintItemPropertyTable row index.
subTypeintItemPropertySubTypeTable row index, or -1.
costTableValueintItemPropertyCostTable row index, or -1.
param1ValueintItemPropertyParamTable row index, or -1.
Returns
- ItemProperty
The created item property.
Custom(ItemPropertyTableEntry, ItemPropertySubTypeTableEntry?, ItemPropertyCostTableEntry?, ItemPropertyParamTableEntry?)
Creates a custom item property using strongly typed table entries.
public static ItemProperty Custom(ItemPropertyTableEntry property, ItemPropertySubTypeTableEntry? subType = null, ItemPropertyCostTableEntry? costTableValue = null, ItemPropertyParamTableEntry? paramTableValue = null)
Parameters
propertyItemPropertyTableEntryThe base property entry.
subTypeItemPropertySubTypeTableEntryOptional subtype entry.
costTableValueItemPropertyCostTableEntryOptional cost table entry.
paramTableValueItemPropertyParamTableEntryOptional parameter table entry.
Returns
- ItemProperty
The created item property.