Superfighters Deluxe
PlayerMeleeHitArg Struct Reference

PlayerMeleeActionCallback.Event arguments More...

Public Member Functions

 PlayerMeleeHitArg (int objectID, IObject hitObject, Vector2 hitPosition, bool isPlayer, float hitDamage)
 

Public Attributes

readonly float HitDamage
 Gets the hit damage done. More...
 
readonly IObject HitObject
 Gets the hit object. More...
 
readonly Vector2 HitPosition
 Gets the hit position. More...
 
readonly bool IsPlayer
 Gets if the HitObject is a player. More...
 
readonly int ObjectID
 Gets the hit object ID. More...
 

Detailed Description

PlayerMeleeActionCallback.Event arguments

Constructor & Destructor Documentation

◆ PlayerMeleeHitArg()

PlayerMeleeHitArg ( int  objectID,
IObject  hitObject,
Vector2  hitPosition,
bool  isPlayer,
float  hitDamage 
)

Parameters
objectID
hitObject
hitPosition
isPlayer
hitDamage

Member Data Documentation

◆ HitDamage

readonly float HitDamage

Gets the hit damage done.

◆ HitObject

readonly IObject HitObject

Gets the hit object.

◆ HitPosition

readonly Vector2 HitPosition

Gets the hit position.

◆ IsPlayer

readonly bool IsPlayer

Gets if the HitObject is a player.

◆ ObjectID

readonly int ObjectID

Gets the hit object ID.