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

Public Member Functions

void FireHUDUpdate ()
override bool IsDynamicCombat ()
override bool CanChoose (Combatant combatant)
override bool CanDecreaseActionTime (Combatant combatant)
override float GetDefendActionCost (Combatant user)
override float GetEscapeActionCost (Combatant user)
override float GetNoneActionCost (Combatant user)
override float GetChangeMemberActionCost (Combatant user)
override float GetGridMoveActionCost (Combatant user)
override void StartBattle (bool changed)
override void Tick ()
override bool UseControlMap ()
override bool DoCombatantTick ()
override void PerformingAction (BaseAction action)
IEnumerator ActionFinished2 (BaseAction action)
override void ActionFinished (BaseAction action)
override void EndBattle ()
- Public Member Functions inherited from ORKFramework.BaseBattle
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void SetDecisionTime (Combatant combatant)
virtual void BattleMenuCanceled (Combatant user)
virtual bool CombatantClicked (Combatant combatant)
virtual void RemoveFromOrder (Combatant combatant)
virtual void OrderChange (Combatant combatant, int change)
virtual void CombatantChanged (Combatant oldCombatant, Combatant newCombatant)
virtual void ActionAdded (BaseAction action)
virtual void ActionUnshifted (BaseAction action)
void PerformAction (BaseAction action)
void SetGroupAuto (Combatant combatant)
bool IsGroupAuto (Combatant combatant)
- 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 dynamicCombat = false
float minTimeBetween = 0
int timeFormulaID = 0
float initialValueTime = 0
int startFormulaID = 0
float initialValueStart = 0
float menuBorder = 1000
float actionBorder = 1000
float maxTimebar = 1000
float tickInterval = 0.05f
bool menuPause = true
bool menuPauseCastTime = false
bool choosingPause = false
bool choosingPauseCastTime = false
bool actionPause = false
bool actionPauseCastTime = false
bool multiChoice = false
bool useAllActions = false
UseTimebarAction useTimebarAction = UseTimebarAction.ActionBorder
bool autoCallBattleMenu = true
int battleMenuKey = 0
bool battleMenuCancelCloses = false
bool battleMenuKeyCloses = false
bool battleMenuKeyEndsTurn = false
bool canCounter = true
bool defeatPlayerDead = false
bool deathImmediately = false
bool endImmediately = false
bool defendFirst = false
bool selectingControlMap = false
bool itemEndTurn = true
float itemTimebarUse = 1000
bool defendEndTurn = true
float defendTimebarUse = 1000
bool escapeEndTurn = true
float escapeTimebarUse = 1000
bool noneEndTurn = true
float noneTimebarUse = 1000
bool changeEndTurn = true
float changeTimebarUse = 1000
bool gridMoveEndTurn = true
float gridMoveTimebarUse = 1000
bool canAutoAttack = true
bool blockAutoAttackMenu = false
ActionTimeSettings actionTime = new ActionTimeSettings()
- Public Attributes inherited from ORKFramework.BaseBattle
BattleControlBlock playerControl = BattleControlBlock.None
AllowTurnControl playerControlAllowTurn = AllowTurnControl.None
bool playerBattleMenu = false
bool transferPlayerControl = false
BattleControlBlock cameraControl = BattleControlBlock.None
AllowTurnControl cameraControlAllowTurn = AllowTurnControl.None
bool cameraBattleMenu = false
AIDecisionTime aiDecisionTime = new AIDecisionTime()
bool allowMoveAI = false
bool blockInBattleMoveAI = false
bool allowInTurnMoveAI = false
bool useMoveAIRange = true
Range moveAIRange = new Range(50)
AssetSource< ORKBattleStartEventstartEvent = new AssetSource<ORKBattleStartEvent>()
AssetSource< ORKBattleEndEventvictoryEvent = new AssetSource<ORKBattleEndEvent>()
AssetSource< ORKBattleEndEventescapeEvent = new AssetSource<ORKBattleEndEvent>()
AssetSource< ORKBattleEndEventdefeatEvent = new AssetSource<ORKBattleEndEvent>()
AssetSource< ORKBattleEndEventleaveArenaEvent = new AssetSource<ORKBattleEndEvent>()
bool useLeaveArena = false
Range leaveArenaRange = new Range(20)
bool gainsUseInventoryAddType = true
bool gainsCollectImmediately = false
CollectBattleGainsSettings collectGains
bool gainsDropItems = false
bool gainsDropAI = false
bool gainsDropRecipes = false
bool gainsDropMoney = false
AutoGridMoveType playerAutoGridMove = AutoGridMoveType.None
bool gridTurnEndOrientation = false
BattleBonuses bonuses = new BattleBonuses()

Protected Member Functions

void TimeTick ()
void TickGroup (List< Combatant > group)
void ActionTick ()
override void PerformNextAction3 ()
- Protected Member Functions inherited from ORKFramework.BaseBattle
void PerformNextAction ()
IEnumerator PerformNextAction2 ()

Protected Attributes

float time = 0
int currentTick = 0
int blockTickCount = 0
bool timeRunning = false
bool performingActions = false
List< CombatantselectingCombatant = new List<Combatant>()
- Protected Attributes inherited from ORKFramework.BaseBattle
List< CombatantgroupAuto


Notify UpdateHUD
override bool CanCounter [get]
override bool DeathImmediately [get]
override bool EndImmediately [get]
override bool DefeatOnPlayerDeath [get]
override bool DefendFirst [get]
override Combatant SelectingCombatant [get, set]
override bool MenuBlockAutoAttack [get]
override bool CanAutoAttack [get]
bool BlockTick [get, set]
override bool IsCastTimeTick [get]
bool CanTick [get]
- Properties inherited from ORKFramework.BaseBattle
virtual bool CanCounter [get]
virtual bool DeathImmediately [get]
virtual bool EndImmediately [get]
virtual bool IsMenuBackAllowed [get]
virtual bool MenuBlockAutoAttack [get]
virtual bool CanAutoAttack [get]
virtual bool DefeatOnPlayerDeath [get]
virtual bool DefendFirst [get]
virtual bool IsCastTimeTick [get]
virtual Combatant SelectingCombatant [get, set]