ORK Framework  2.29.3
API Documentation
ORKFramework.InventoryAccessSettings Class Reference
Inheritance diagram for ORKFramework.InventoryAccessSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void GetItemTypes (IInventoryExchange inventory, int parentType, ref List< int > list, bool onlySellable)
 
bool HasItemType (IInventoryExchange inventory, bool checkParent, int typeID, bool onlySellable, bool checkNewContent)
 
bool HasNewItemTypes (IInventoryExchange inventory, bool checkParent, List< int > types, bool onlySellable)
 
void GetAll (Inventory inventory, int typeID, bool checkParent, ref List< IShortcut > list)
 
void GetAll (IInventoryExchange inventory, int typeID, bool checkParent, ref List< IInventoryShortcut > list)
 
void CheckDataChanged (IInventoryExchange inventory)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool addMoney = false
 
bool addEmptyMoney = true
 
bool addItems = true
 
bool addWeapons = true
 
bool addArmors = true
 
bool addAIBehaviours = false
 
bool addAIRulesets = false
 
bool addCraftingRecipes = false
 

Member Function Documentation

◆ SetData()

override void ORKFramework.InventoryAccessSettings.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.