Anvil
Anvil.API.ItemPropertyItemMapTableEntry Class Reference
+ Inheritance diagram for Anvil.API.ItemPropertyItemMapTableEntry:
+ Collaboration diagram for Anvil.API.ItemPropertyItemMapTableEntry:

Public Member Functions

bool IsItemPropertyValidForItem (NwBaseItem item)
 Gets if this item property is valid for the specified base item type. More...
 
bool IsItemPropertyValidForItem (NwItem item)
 Gets if this item property is valid for the specified item. More...
 

Properties

string? Label [get]
 Gets the label of the item property. More...
 
int RowIndex [get]
 
StrRefStrRef [get]
 Gets the StrRef of the item property. More...
 
IReadOnlyDictionary< NwBaseItem, bool > ValidItems = null! [get]
 Gets a dictionary mapping each base item type to a boolean indicating if the property is valid. More...
 
- Properties inherited from Anvil.API.ITwoDimArrayEntry
int RowIndex [get]
 

Member Function Documentation

◆ IsItemPropertyValidForItem() [1/2]

bool Anvil.API.ItemPropertyItemMapTableEntry.IsItemPropertyValidForItem ( NwBaseItem  item)
inline

Gets if this item property is valid for the specified base item type.

Parameters
itemThe item type to check.
Returns
True if the item is valid for this property, otherwise false.

◆ IsItemPropertyValidForItem() [2/2]

bool Anvil.API.ItemPropertyItemMapTableEntry.IsItemPropertyValidForItem ( NwItem  item)
inline

Gets if this item property is valid for the specified item.

Parameters
itemThe item to check.
Returns
True if the item is valid for this property, otherwise false.

Property Documentation

◆ Label

string? Anvil.API.ItemPropertyItemMapTableEntry.Label
get

Gets the label of the item property.

◆ StrRef

StrRef? Anvil.API.ItemPropertyItemMapTableEntry.StrRef
get

Gets the StrRef of the item property.

◆ ValidItems

IReadOnlyDictionary<NwBaseItem, bool> Anvil.API.ItemPropertyItemMapTableEntry.ValidItems = null!
get

Gets a dictionary mapping each base item type to a boolean indicating if the property is valid.


The documentation for this class was generated from the following file: