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

Public Member Functions

 ChanceDisplay (string text)
string GetValueText (bool hasChance, float chance)
- 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

bool showNoChance = false
bool useMinChance = false
float minChance = 0
bool useMaxChance = false
float maxChance = 100
string [] infoText = ArrayHelper.CreateArray(ORK.Languages.Count, "")