ORK Framework  2.22.0
API Documentation
ORKFramework.EquipmentLevel Class Reference
Inheritance diagram for ORKFramework.EquipmentLevel:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 EquipmentLevel (bool init)
 
EquipmentLevel GetCopy ()
 
void GetRandomStatusValueBonus (ref int[] sv)
 
void GetRandomAttackAttributeBonus (ref AttributeChange[] attr)
 
void GetRandomDefenceAttributeBonus (ref AttributeChange[] attr)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

int lvlPoints = 0
 
ORKGameEvent equipGameEvent
 
ORKGameEvent unequipGameEvent
 
bool ownDescription = false
 
string[] description
 
bool ownPrefab = false
 
GameObject prefab
 
GameObject prefabViewPrefab
 
Vector3 spawnOffset = Vector3.zero
 
bool ownViewerPrefab = false
 
GameObject viewerPrefab
 
GameObject prefabViewViewerPrefab
 
string viewerName = ""
 
Vector3 viewerPosOff = Vector3.zero
 
Vector3 viewerRotOff = Vector3.zero
 
bool viewerLocalRotation = false
 
Material viewerMaterial
 
Material prefabViewMaterial
 
bool ownPrice = false
 
PriceSettings price
 
bool ownEquipRequirements = false
 
EquipRequirements equipRequirements
 
bool useDurability = false
 
bool autoInitDurability = false
 
EquipmentDurabilityType durabilityType = EquipmentDurabilityType.NoBonuses
 
FloatValue maxDurability
 
AddRandomBonus svBonusType = AddRandomBonus.All
 
int svBonusCount = 1
 
bool svBonusAddPrevious = true
 
RandomStatusValueBonus[] randomSVBonus = new RandomStatusValueBonus[0]
 
AddRandomBonus atkAttrBonusType = AddRandomBonus.All
 
int atkAttrBonusCount = 1
 
bool atkAttrBonusAddPrevious = true
 
RandomAttackAttributeBonus[] randomAtkAttrBonus = new RandomAttackAttributeBonus[0]
 
AddRandomBonus defAttrBonusType = AddRandomBonus.All
 
int defAttrBonusCount = 1
 
bool defAttrBonusAddPrevious = true
 
RandomDefenceAttributeBonus[] randomDefAttrBonus = new RandomDefenceAttributeBonus[0]
 
int[] addEquipmentPart = new int[0]
 
int[] blockedEquipmentPart = new int[0]
 
AttributeSetter[] setDefenceAttribute
 
BonusSettings bonus = new BonusSettings()
 
AutoEffects autoEffects = new AutoEffects()
 
EquipmentAbility[] equipmentAbility = new EquipmentAbility[0]
 
Sound[] battleSound = new Sound[0]
 
bool variableUsePrevious = true
 
bool variableSave = true
 
bool variableUseWhenLoading = true
 
bool useVariableDescription = false
 
VariableSetter variableChanges = new VariableSetter()