ORK Framework  2.34.0
API Documentation
ORKFramework.Behaviours.DamageDealer Class Reference
Inheritance diagram for ORKFramework.Behaviours.DamageDealer:
ORKFramework.Behaviours.DamageBase

Public Member Functions

virtual void SetAudioClip (AudioClip a, PlayAudioSettings aset)
 
virtual void SetAudioType (int typeID, PlayAudioSettings aset)
 
virtual void SetPrefab (GameObject prefab, bool mountPrefab, float destroyAfterTime, float emitTime)
 
virtual void SetAction (BaseAction a)
 
virtual void SetDamageActive (bool dmg, string[] tags)
 
virtual void SetDamageActive (bool dmg, List< string > tags)
 
virtual bool CheckOrigin (Transform t)
 
virtual void CustomDamage (GameObject gameObject, Vector3 position, Quaternion rotation)
 

Public Attributes

DamageDealerType type = DamageDealerType.TriggerEnter
 
bool changeCollider = false
 
float expand = 0
 
bool alwaysOn = false
 
int alwaysOnAbilityID = 0
 
bool alwaysOnConsumeCosts = false
 
bool setCombatant = false
 
int factionID = 0
 
CombatantInit combatantSetting
 
bool destroyAfterTime = false
 
float destroyTime = 0
 
bool destroyOnDamage = false
 
bool destroyOnCollision = false
 
bool zoneFromChildren = false
 
bool zoneFromParent = false
 
bool autoField = false
 
bool autoTurnBased = false
 
bool autoActiveTime = false
 
bool autoRealTime = false
 
bool autoPhase = false
 
Consider autoGridBattles = Consider.Ignore
 
bool oneTimeDamage = false
 
bool oneTarget = false
 
bool resetTargets = false
 
float targetResetTime = 1
 
float damageEvery = 0
 
bool baseAttack = false
 
bool counterAttack = false
 
int [] abilityID = new int[0]
 
int [] itemID = new int[0]
 
string [] activationTag = new string[0]
 

Protected Member Functions

override void Init ()
 
virtual bool CheckTags (string[] tags)
 
virtual bool CheckTags (List< string > tags)
 
virtual void DoDamage (GameObject obj, Vector3 position, Quaternion rotation)
 
virtual void Update ()
 
virtual void OnTriggerEnter (Collider other)
 
virtual void OnTriggerExit (Collider other)
 
virtual void OnTriggerStay (Collider other)
 
virtual void OnTriggerEnter2D (Collider2D other)
 
virtual void OnTriggerExit2D (Collider2D other)
 
virtual void OnTriggerStay2D (Collider2D other)
 
virtual void OnCollisionEnter (Collision collisionInfo)
 
virtual void OnCollisionExit (Collision collisionInfo)
 
virtual void OnCollisionStay (Collision collisionInfo)
 
virtual void OnParticleCollision (GameObject other)
 
virtual void OnCollisionEnter2D (Collision2D collisionInfo)
 
virtual void OnCollisionExit2D (Collision2D collisionInfo)
 
virtual void OnCollisionStay2D (Collision2D collisionInfo)
 
virtual void OnDrawGizmos ()
 
- Protected Member Functions inherited from ORKFramework.Behaviours.DamageBase
virtual IEnumerator ReInit ()
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Behaviours.DamageBase
Combatant combatant
 
- Properties inherited from ORKFramework.Behaviours.DamageBase
Combatant Combatant [get, set]