ORK Framework  2.26.1
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 ()
 
virtual 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 ()
 
virtual void UpdateTargets ()
 
virtual void PerformCheckTargets ()
 
virtual bool TargetNone ()
 
virtual bool HasTargets ()
 
virtual bool HasTargets (List< Combatant > list)
 
virtual bool HasOutOfRangeTargets ()
 
virtual Combatant GetNearestTarget ()
 
virtual void CheckTargetAggressive ()
 
virtual void CheckBestiary (List< Combatant > list)
 
virtual List< CombatantGetTargetsWithAffectRange (AffectRangeType type, TargetSettings targetSettings, List< Combatant > targets)
 
virtual void CheckCanTarget ()
 
virtual bool InRange ()
 
virtual bool InRange (Combatant t)
 
virtual bool InRange (Vector3 position)
 
virtual bool InBattleRange ()
 
virtual void MoveAITick ()
 
virtual void PerformAction ()
 
virtual void EventEnded ()
 
virtual void StopAction ()
 
virtual void ClearEvents ()
 
virtual void Tick ()
 
virtual void DontDestroy ()
 
virtual void OnSceneLoaded ()
 
virtual void AutoActivateUserDamageDealers (bool activate)
 
virtual bool CheckDamageDealer (DamageDealer dealer)
 
virtual string [] GetActivationTags ()
 
virtual DamageDealerActivation GetDamageDealerActivation ()
 
virtual void AddSubAction (BaseAction action, bool shareVariables, bool shareFoundObjects)
 
virtual void SubActionFinished (BaseAction action)
 
virtual void ShowTooltip ()
 
virtual void RemoveTooltip ()
 

Protected Member Functions

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

Properties

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