ORK Framework  2.22.0
API Documentation
ORKFramework.GridMoveAction Class Reference
Inheritance diagram for ORKFramework.GridMoveAction:
ORKFramework.BaseAction ORKFramework.Events.IEventStarter

Public Member Functions

 GridMoveAction (Combatant user, Combatant target, List< BattleGridCellComponent > path, float moveCost, float actionCost, GridMoveShortcut gridMoveShortcut)
 
override bool IsType (ActionType t)
 
override bool CanUse ()
 
override void ActionAdded ()
 
override void Calculate (List< Combatant > ts, float damageFactor, bool animate)
 
- Public Member Functions inherited from ORKFramework.BaseAction
virtual string GetName ()
 
void CheckActionAffiliation ()
 
virtual void SetTarget (Combatant t)
 
virtual void SetTargets (List< Combatant > t)
 
virtual bool AutoTarget (List< Combatant > preferredTargets, List< Combatant > allies, List< Combatant > enemies)
 
virtual bool ForceFoundTargets (List< Combatant > preferredTargets, List< Combatant > allies, List< Combatant > enemies)
 
virtual bool SetGroupTarget ()
 
virtual bool SetIndividualTarget ()
 
virtual void ConsumeCosts ()
 
virtual bool CanTarget (Combatant combatant)
 
virtual bool IsCasting ()
 
virtual bool CanCancelCasting ()
 
virtual bool CancelCasting ()
 
virtual void SetRandomTarget ()
 
void UpdateTargets ()
 
void PerformCheckTargets ()
 
virtual bool TargetNone ()
 
bool HasTargets ()
 
bool HasTargets (List< Combatant > list)
 
bool HasOutOfRangeTargets ()
 
Combatant GetNearestTarget ()
 
void CheckTargetAggressive ()
 
void CheckBestiary (List< Combatant > list)
 
List< CombatantGetTargetsWithAffectRange (AffectRangeType type, TargetSettings targetSettings, List< Combatant > targets)
 
void CheckCanTarget ()
 
bool InRange ()
 
virtual bool InRange (Combatant t)
 
virtual bool InRange (Vector3 position)
 
bool InBattleRange ()
 
void MoveAITick ()
 
virtual System.Object GetSelectedData ()
 
virtual void PerformAction ()
 
virtual void EventEnded ()
 
void StopAction ()
 
void ClearEvents ()
 
void Tick ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
virtual void AutoActivateUserDamageDealers (bool activate)
 
virtual bool CheckDamageDealer (DamageDealer dealer)
 
virtual string[] GetActivationTags ()
 
virtual DamageDealerActivation GetDamageDealerActivation ()
 
void AddSubAction (BaseAction action, bool shareVariables, bool shareFoundObjects)
 
void SubActionFinished (BaseAction action)
 
void ShowTooltip ()
 
void RemoveTooltip ()
 

Protected Member Functions

override void ActionStartSetup ()
 
override void ActionEndSetup ()
 
- Protected Member Functions inherited from ORKFramework.BaseAction
virtual void CreateStatusChangeInfos ()
 
void GetNextEvent ()
 

Properties

override IShortcut Shortcut [get]
 
- Properties inherited from ORKFramework.BaseAction
Combatant User [get]
 
virtual IShortcut Shortcut [get]
 
float ActionCost [get]
 
bool ConsumeTime [get, set]
 
GridPath GridPath [get, set]
 
CombatantAffiliationType ActionAffiliation [get]
 
virtual bool ConsumeDone [get, set]
 
VariableHandler Variables [get, set]
 
SelectedDataHandler SelectedData [get, set]
 
Dictionary< string, List< GameObject > > FoundObjects [get, set]
 
Consider TargetDead [get]
 
virtual float CastTime [get, set]
 
virtual float CastTimeMax [get]
 
virtual bool CastMove [get]
 
virtual bool IsCasted [get, set]
 
GameObject GameObject [get]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from ORKFramework.BaseAction
static AbilityAction CreateAbility (Combatant user, AbilityShortcut ability, int lvl)
 
- Public Attributes inherited from ORKFramework.BaseAction
bool forceFoundTargets = false
 
bool moveToTarget = false
 
bool blockBattleCamera = false
 
List< Combatanttarget
 
List< CombatantoutOfRange
 
List< Combatantcounter = new List<Combatant>()
 
ActionResults results
 
ActionFinished finishedCallback
 
ActionFinished subActionFinishedCallback
 
bool autoAttackFlag = false
 
bool isPerforming = false
 
bool notifiedFinished = false
 
bool endPhaseFlag = false
 
TargetRaycast targetRaycast = new TargetRaycast()
 
bool rayTargetSet = false
 
Vector3 rayPoint = Vector3.zero
 
bool rayObjectCreated = false
 
GameObject rayObject = null
 
float damageMultiplier = 1
 
- Protected Attributes inherited from ORKFramework.BaseAction
Combatant user
 
GridPath gridPath
 
Dictionary< Combatant, StatusChangeInformationstatusChangesTarget
 
float castTime = -2
 
float castTimeMax = -1
 
bool castMove = true
 
bool isCasted = false
 
List< BattleEventevents
 
BattleEvent activeEvent
 
VariableHandler variableHandler
 
SelectedDataHandler selectedData
 
Dictionary< string, List< GameObject > > foundObjects
 
List< BaseActionsubAction
 
bool userConsumeDone = false
 
Consider targetDead = Consider.No
 
bool consumeTime = true
 
float actionCost = 0
 
bool tooltipDisplayed = false