Core GameKit  3.2.9.0
The ultimate pooling / combat / spawning / variable plugin!
DarkTonic.CoreGameKit.KillableListener Class Reference

This class is used to listen to key events in a Killable. Always make a subclass so you can have different Listeners for different Killables. More...

Inheritance diagram for DarkTonic.CoreGameKit.KillableListener:

Public Member Functions

virtual void SpawnerDestroyed ()
 This method gets called when the Killable's spawner gets destroyed. More...
 
virtual void Despawning (TriggeredSpawner.EventType eType)
 This method gets called when the Killable is about to despawn (before Despawned). Will not get automatically called by PoolBoss.Despawn. More...
 
virtual void Despawned ()
 This method gets called when the Killable's spawner is despawning (after Despawning). More...
 
virtual void TakingDamage (int pointsDamage, Killable enemyHitBy)
 This method gets called when the Killable is taking damage. More...
 
virtual void DamagePrevented (int pointsDamage, Killable enemyHitBy)
 This method gets called when the Killable is prevented taking damage by invicibility. More...
 
virtual void DamagePrefabSpawned (Transform damagePrefab)
 This method gets called when damage prefabs are spawned. More...
 
virtual void DamagePrefabFailedToSpawn (Transform damagePrefab)
 This method gets called when damage prefabs fail to spawn. More...
 
virtual void DeathDelayStarted (float delayTime)
 This method gets called when the delay before death begins. More...
 
virtual void DeathPrefabSpawned (Transform deathPrefab)
 This method gets called when death prefabs are spawned. More...
 
virtual void DeathPrefabFailedToSpawn (Transform deathPrefab)
 This method gets called when death prefabs fail to spawn. More...
 
virtual void ModifyingDamageWorldVariables (List< WorldVariableModifier > variableModifiers)
 This method gets called when Damage World Variables are about to be modified. You can change the modifiers here if you like, permanently. More...
 
virtual void ModifyingDeathWorldVariables (List< WorldVariableModifier > variableModifiers)
 This method gets called when Death World Variables are about to be modified. You can change the modifiers here if you like, permanently. More...
 
virtual void WaitingToDestroyKillable (Killable deadKillable)
 This method gets called when the death timer starts. More...
 
virtual void DestroyingKillable (Killable deadKillable)
 This method gets called when the Killable is destroyed. More...
 
virtual string DeterminingScenario (Killable deadKillable, string scenario)
 This method gets called when the Scenario is about to be decided. You can add logic to decide the Scenario here. More...
 
virtual void Spawned (Killable newKillable)
 This method gets called when the Killable is spawned. More...
 
virtual void StartedInScene (Killable newKillable)
 This method gets called when the Killable starts already in a Scene and Spawned would not be called. More...
 

Detailed Description

This class is used to listen to key events in a Killable. Always make a subclass so you can have different Listeners for different Killables.

Member Function Documentation

virtual void DarkTonic.CoreGameKit.KillableListener.DamagePrefabFailedToSpawn ( Transform  damagePrefab)
virtual

This method gets called when damage prefabs fail to spawn.

virtual void DarkTonic.CoreGameKit.KillableListener.DamagePrefabSpawned ( Transform  damagePrefab)
virtual

This method gets called when damage prefabs are spawned.

virtual void DarkTonic.CoreGameKit.KillableListener.DamagePrevented ( int  pointsDamage,
Killable  enemyHitBy 
)
virtual

This method gets called when the Killable is prevented taking damage by invicibility.

virtual void DarkTonic.CoreGameKit.KillableListener.DeathDelayStarted ( float  delayTime)
virtual

This method gets called when the delay before death begins.

virtual void DarkTonic.CoreGameKit.KillableListener.DeathPrefabFailedToSpawn ( Transform  deathPrefab)
virtual

This method gets called when death prefabs fail to spawn.

virtual void DarkTonic.CoreGameKit.KillableListener.DeathPrefabSpawned ( Transform  deathPrefab)
virtual

This method gets called when death prefabs are spawned.

virtual void DarkTonic.CoreGameKit.KillableListener.Despawned ( )
virtual

This method gets called when the Killable's spawner is despawning (after Despawning).

virtual void DarkTonic.CoreGameKit.KillableListener.Despawning ( TriggeredSpawner.EventType  eType)
virtual

This method gets called when the Killable is about to despawn (before Despawned). Will not get automatically called by PoolBoss.Despawn.

virtual void DarkTonic.CoreGameKit.KillableListener.DestroyingKillable ( Killable  deadKillable)
virtual

This method gets called when the Killable is destroyed.

virtual string DarkTonic.CoreGameKit.KillableListener.DeterminingScenario ( Killable  deadKillable,
string  scenario 
)
virtual

This method gets called when the Scenario is about to be decided. You can add logic to decide the Scenario here.

virtual void DarkTonic.CoreGameKit.KillableListener.ModifyingDamageWorldVariables ( List< WorldVariableModifier >  variableModifiers)
virtual

This method gets called when Damage World Variables are about to be modified. You can change the modifiers here if you like, permanently.

virtual void DarkTonic.CoreGameKit.KillableListener.ModifyingDeathWorldVariables ( List< WorldVariableModifier >  variableModifiers)
virtual

This method gets called when Death World Variables are about to be modified. You can change the modifiers here if you like, permanently.

virtual void DarkTonic.CoreGameKit.KillableListener.Spawned ( Killable  newKillable)
virtual

This method gets called when the Killable is spawned.

virtual void DarkTonic.CoreGameKit.KillableListener.SpawnerDestroyed ( )
virtual

This method gets called when the Killable's spawner gets destroyed.

virtual void DarkTonic.CoreGameKit.KillableListener.StartedInScene ( Killable  newKillable)
virtual

This method gets called when the Killable starts already in a Scene and Spawned would not be called.

virtual void DarkTonic.CoreGameKit.KillableListener.TakingDamage ( int  pointsDamage,
Killable  enemyHitBy 
)
virtual

This method gets called when the Killable is taking damage.

virtual void DarkTonic.CoreGameKit.KillableListener.WaitingToDestroyKillable ( Killable  deadKillable)
virtual

This method gets called when the death timer starts.


The documentation for this class was generated from the following file: