ORK Framework  2.22.0
API Documentation
ORKFramework.Armor Class Reference
Inheritance diagram for ORKFramework.Armor:
ORKFramework.Equipment ORKFramework.IContent ORKFramework.BaseLanguageData ORKFramework.IContentSimple ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 Armor (string name)
 
override bool CanCombatantEquip (int eID, Combatant combatant)
 
IContentSimple GetTypeContent ()
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
string GetInfo (Combatant c)
 
- Public Member Functions inherited from ORKFramework.Equipment
 Equipment (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
string GetName (int lvl)
 
GUIContent GetContent (int lvl)
 
GameObject GetPrefab (int lvl, bool isPrefabView)
 
GameObject GetPrefabInstance (int lvl, ref Vector3 offset, bool isPrefabView)
 
GameObject GetViewerPrefab (int lvl, bool isPrefabView)
 
GameObject GetViewerPrefabInstance (Transform parent, int lvl, bool isPrefabView)
 
Material GetViewerMaterial (int lvl, bool isPrefabView)
 
bool IsSingle ()
 
bool IsMulti ()
 
bool IsEquipable (bool[] ep)
 
bool CanEquip (int eID, Combatant combatant)
 
bool CheckLockedParts (int partID, Combatant combatant)
 
bool CheckAllowUnequip (int partID)
 
void GetBlockedViewers (ref List< int > blocked)
 
IPortrait GetPortrait (int typeID, int level)
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
- 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...
 

Properties

int ID [get]
 
int TypeID [get]
 
- Properties inherited from ORKFramework.Equipment
int QuantityLimit [get]
 
int StackLimit [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Additional Inherited Members

- Public Attributes inherited from ORKFramework.Equipment
int itemType = 0
 
GameObject prefab
 
GameObject prefabViewPrefab
 
Vector3 spawnOffset = Vector3.zero
 
GameObject viewerPrefab
 
GameObject prefabViewViewerPrefab
 
string viewerName = ""
 
Vector3 viewerPosOff = Vector3.zero
 
Vector3 viewerRotOff = Vector3.zero
 
bool viewerLocalRotation = false
 
Material viewerMaterial
 
Material prefabViewMaterial
 
bool dropable = false
 
bool stealable = false
 
float sympathyChange = 0
 
bool oneTimeEquip = false
 
float inventorySpace = 1
 
bool inventorySpacePerStack = false
 
bool ownLimitQuantity = false
 
bool limitQuantity = false
 
int quantityLimit = 99
 
bool ownStackLimitQuantity = false
 
bool limitStackQuantity = false
 
int stackQuantityLimit = 99
 
bool overrideInventoryAddType = false
 
InventoryAddType inventoryAddType = InventoryAddType.Add
 
bool ownSelection = false
 
int selectionID = 0
 
PriceSettings price = new PriceSettings()
 
EquipRequirements equipRequirements = new EquipRequirements()
 
EquipType equipType = EquipType.Single
 
bool[] equipPart = new bool[ORK.EquipmentParts.Count]
 
bool[] blockPart = new bool[ORK.EquipmentParts.Count]
 
bool[] blockViewer = new bool[ORK.EquipmentParts.Count]
 
LevelUpType lvlType = LevelUpType.None
 
int expID = 0
 
bool ownNotifications = false
 
InventoryNotification addedNotification
 
InventoryNotification removedNotification
 
DurabilityNotification incrDurabNotification
 
DurabilityNotification decrDurabNotification
 
DurabilityNotification outwornNotification
 
bool ownConsoleLevelUp = false
 
ConsoleTextLevelUp consoleLevelUp
 
bool ownConsoleAdd = false
 
ConsoleTextInventory consoleAdd
 
bool ownConsoleRemove = false
 
ConsoleTextInventory consoleRemove
 
bool ownConsoleIncrDurab = false
 
ConsoleTextDurability consoleIncreaseDurability
 
bool ownConsoleDecrDurab = false
 
ConsoleTextDurability consoleDecreaseDurability
 
bool ownConsoleOutworn = false
 
ConsoleTextDurability consoleOutworn
 
TypePrefabViewPortrait[] portrait = new TypePrefabViewPortrait[0]
 
EquipmentLevel[] level = new EquipmentLevel[] {new EquipmentLevel(true)}
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo[] languageInfo
 
- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0