ORK Framework  2.24.0
API Documentation
ORKFramework.AI.AICollectionHandler Class Reference
Inheritance diagram for ORKFramework.AI.AICollectionHandler:
ORKFramework.ISaveData

Public Member Functions

 AICollectionHandler (Inventory inventory)
 
void Clear ()
 
void CheckDataChanged ()
 
void MarkDataChanged (bool fireChanged)
 
List< int > GetAIBehaviourTypes (int parentType)
 
bool HasNewAIBehaviourTypes (bool checkParent, List< int > types)
 
bool HasAIBehaviourType (bool checkParent, int typeID, bool checkNewContent)
 
List< int > GetAIRulesetTypes (int parentType)
 
bool HasNewAIRulesetTypes (bool checkParent, List< int > types)
 
bool HasAIRulesetType (bool checkParent, int typeID, bool checkNewContent)
 
void GetAIBehaviourItemTypes (int parentType, ref List< int > list, bool onlySellable)
 
bool HasAIBehaviourItemType (bool checkParent, int itemTypeID, bool onlySellable, bool checkNewContent)
 
bool HasNewAIBehaviourItemTypes (bool checkParent, List< int > types, bool onlySellable)
 
void GetAIRulesetItemTypes (int parentType, ref List< int > list, bool onlySellable)
 
bool HasAIRulesetItemType (bool checkParent, int itemTypeID, bool onlySellable, bool checkNewContent)
 
bool HasNewAIRulesetItemTypes (bool checkParent, List< int > types, bool onlySellable)
 
void AddAIBehaviourType (int typeID, bool checkParent, int quantity, bool showNotification, bool showConsole)
 
void AddAIBehaviour (int aiBehaviourID, int quantity, bool showNotification, bool showConsole, bool markNew)
 
void RemoveAllAIBehaviours ()
 
void RemoveAIBehaviourType (int typeID, bool checkParent, int quantity, bool showNotification, bool showConsole)
 
void RemoveAIBehaviour (int aiBehaviourID, int quantity, bool showNotification, bool showConsole)
 
int GetAIBehaviourQuantity (int aiBehaviourID)
 
int GetEquippedAIBehaviourQuantity (int aiBehaviourID)
 
bool HasAIBehaviour (int aiBehaviourID, int quantity)
 
void GetAIBehaviour (int aiBehaviourID, int quantity, ref List< IShortcut > list)
 
bool GetEquipAIBehaviour (int aiBehaviourID)
 
List< AIBehaviourShortcutGetAIBehavioursByType (int typeID, bool checkParent)
 
void GetAIBehavioursByType (int typeID, bool checkParent, ref List< AIBehaviourShortcut > list)
 
void GetAIBehavioursByItemType (int itemTypeID, bool checkParent, ref List< IShortcut > list)
 
void GetAIBehavioursByItemType (int itemTypeID, bool checkParent, ref List< IInventoryShortcut > list)
 
void AddAIRulesetType (int typeID, bool checkParent, int quantity, bool showNotification, bool showConsole)
 
void AddAIRuleset (int aiRulesetID, int quantity, bool showNotification, bool showConsole, bool markNew)
 
void RemoveAllAIRulesets ()
 
void RemoveAIRulesetType (int typeID, bool checkParent, int quantity, bool showNotification, bool showConsole)
 
void RemoveAIRuleset (int aiRulesetID, int quantity, bool showNotification, bool showConsole)
 
int GetAIRulesetQuantity (int aiRulesetID)
 
int GetEquippedAIRulesetQuantity (int aiBehaviourID)
 
bool HasAIRuleset (int aiRulesetID, int quantity)
 
void GetAIRuleset (int aiRulesetID, int quantity, ref List< IShortcut > list)
 
bool GetEquipAIRuleset (int aiRulesetID)
 
List< AIRulesetShortcutGetAIRulesetsByType (int typeID, bool checkParent)
 
void GetAIRulesetsByType (int typeID, bool checkParent, ref List< AIRulesetShortcut > list)
 
void GetAIRulesetsByItemType (int itemTypeID, bool checkParent, ref List< IShortcut > list)
 
void GetAIRulesetsByItemType (int itemTypeID, bool checkParent, ref List< IInventoryShortcut > list)
 
bool HasSellableAIBehaviours (List< int > itemTypes)
 
bool HasSellableAIBehaviours (int itemTypeID, bool checkParent)
 
bool HasSellableAIRulesets (List< int > itemTypes)
 
bool HasSellableAIRulesets (int itemTypeID, bool checkParent)
 
void GetSellableAIBehaviours (ref List< ShopWrapperShortcut > list, List< int > itemTypes)
 
void GetSellableAIRulesets (ref List< ShopWrapperShortcut > list, List< int > itemTypes)
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Properties

bool IsEmpty [get]
 
int Count [get]
 

Member Function Documentation

void ORKFramework.AI.AICollectionHandler.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

DataObject ORKFramework.AI.AICollectionHandler.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.