![]() |
Superfighters Deluxe
|
ProjectileHitCallback.Event arguments More...
Public Member Functions | |
ProjectileHitArgs (int hitObjectID, bool isPlayer, float damage, bool isCrit, Vector2 hitPosition, Vector2 hitNormal) | |
ProjectileHitArgs (int hitObjectID, bool isPlayer, float damage, bool isCrit, Vector2 hitPosition, Vector2 hitNormal, bool removeFlag) | |
ProjectileHitArgs (int hitObjectID, bool isPlayer, float damage, bool isCrit, Vector2 hitPosition, Vector2 hitNormal, bool removeFlag, bool isDeflection, Vector2 deflectionNormal) | |
Public Attributes | |
readonly float | Damage |
Gets the dealt damage amount from the projectile, affected by modifiers and other stats. More... | |
readonly Vector2 | DeflectionNormal |
Gets the deflection normal if this is a deflection. Check HitObjectID what this is deflected on. Returns Vector2.Zero if it's not a deflection. More... | |
readonly Vector2 | HitNormal |
Gets the hit normal. More... | |
readonly int | HitObjectID |
Gets the hit object UniqueID. More... | |
readonly Vector2 | HitPosition |
Gets the hit position. More... | |
readonly bool | IsCrit |
Gets if the projectile was a crit. Applicable against alive players. More... | |
readonly bool | IsDeflection |
Gets if this is a deflection. Check HitObjectID what this is deflected on. More... | |
readonly bool | IsPlayer |
Gets if the hit object is a player instance. More... | |
readonly bool | RemoveFlag |
Gets if the projectile is to be removed due to a hit. When true the projectile will be absorbed and removed by the hit. More... | |
ProjectileHitCallback.Event arguments
readonly float Damage |
Gets the dealt damage amount from the projectile, affected by modifiers and other stats.
readonly Vector2 DeflectionNormal |
Gets the deflection normal if this is a deflection. Check HitObjectID what this is deflected on. Returns Vector2.Zero if it's not a deflection.
readonly Vector2 HitNormal |
Gets the hit normal.
readonly int HitObjectID |
Gets the hit object UniqueID.
readonly Vector2 HitPosition |
Gets the hit position.
readonly bool IsCrit |
Gets if the projectile was a crit. Applicable against alive players.
readonly bool IsDeflection |
Gets if this is a deflection. Check HitObjectID what this is deflected on.
readonly bool IsPlayer |
Gets if the hit object is a player instance.
readonly bool RemoveFlag |
Gets if the projectile is to be removed due to a hit. When true the projectile will be absorbed and removed by the hit.