![]() |
Superfighters Deluxe
|
ExplosionHitCallback.Event explosion hit argument for one object More...
Public Member Functions | |
| ExplosionHitArg (int objectID, IObject hitObject, bool isPlayer, Vector2 hitPosition, ExplosionHitType hitType, float damage, Vector2 forceDirection, float impactPercentage) | |
Public Attributes | |
| readonly float | Damage |
| Gets the taken damage caused by the explosion after modifiers and distance to the center. More... | |
| readonly Vector2 | ForceDirection |
| Gets the explosion force direction vector. More... | |
| readonly IObject | HitObject |
| Gets the hit object. More... | |
| readonly Vector2 | HitPosition |
| Gets the registered hit position. More... | |
| readonly ExplosionHitType | HitType |
| Gets the explosion hit type. More... | |
| readonly float | ImpactPercentage |
| The explosion impact percentage power in the range [0.0 - 1.0] More... | |
| readonly bool | IsPlayer |
| Gets if the affected object is a player. More... | |
| readonly int | ObjectID |
| Gets the affected object ID. More... | |
ExplosionHitCallback.Event explosion hit argument for one object
| ExplosionHitArg | ( | int | objectID, |
| IObject | hitObject, | ||
| bool | isPlayer, | ||
| Vector2 | hitPosition, | ||
| ExplosionHitType | hitType, | ||
| float | damage, | ||
| Vector2 | forceDirection, | ||
| float | impactPercentage | ||
| ) |
| objectID | |
| hitObject | |
| isPlayer | |
| hitPosition | |
| hitType | |
| damage | |
| forceDirection | |
| impactPercentage |
| readonly float Damage |
Gets the taken damage caused by the explosion after modifiers and distance to the center.
| readonly Vector2 ForceDirection |
Gets the explosion force direction vector.
| readonly IObject HitObject |
Gets the hit object.
| readonly Vector2 HitPosition |
Gets the registered hit position.
| readonly ExplosionHitType HitType |
Gets the explosion hit type.
| readonly float ImpactPercentage |
The explosion impact percentage power in the range [0.0 - 1.0]
| readonly bool IsPlayer |
Gets if the affected object is a player.
| readonly int ObjectID |
Gets the affected object ID.