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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
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 EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

int lvlPoints = 0
 
AssetSource< ORKGameEventinitGameEvent = new AssetSource<ORKGameEvent>()
 
AssetSource< ORKGameEventequipGameEvent = new AssetSource<ORKGameEvent>()
 
AssetSource< ORKGameEventunequipGameEvent = new AssetSource<ORKGameEvent>()
 
bool ownDescription = false
 
string [] description
 
bool ownPrefab = false
 
EquipmentPrefabSettings prefabSettings
 
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]
 
DefenceAttributeSelection [] setDefAttribute = new DefenceAttributeSelection[0]
 
BonusSettings bonus = new BonusSettings()
 
AutoEffects autoEffects = new AutoEffects()
 
EquipmentAbility [] equipmentAbility = new EquipmentAbility[0]
 
Sound [] battleSound = new Sound[0]
 
bool variableUsePrevious = true
 
ShortcutVariableChanges variableSettings = new ShortcutVariableChanges()
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.