ORK Framework  2.34.0
API Documentation
ORKFramework.CombatantEventSettings Class Reference
Inheritance diagram for ORKFramework.CombatantEventSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
KeyFactionEventSetting GetCustomEvent (string eventKey)
 
- 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

bool ownInitEvents = false
 
FactionEventSetting initEvents
 
bool ownSpawnEvents = false
 
FactionEventSetting spawnEvents
 
bool ownTurnStartEvents = false
 
FactionEventSetting turnStartEvents
 
bool ownTurnEndEvents = false
 
FactionEventSetting turnEndEvents
 
bool replaceCustomEvents = false
 
KeyFactionEventSetting [] customEvents = new KeyFactionEventSetting[0]
 
bool replaceSVChangeEvents = false
 
CombatantStatusValueChangeEvent [] svChangeEvent = new CombatantStatusValueChangeEvent[0]
 

Properties

FactionEventSettingInitEvents [get]
 
FactionEventSettingSpawnEvents [get]
 
FactionEventSettingTurnStartEvents [get]
 
FactionEventSettingTurnEndEvents [get]
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.