\ManiaControl\Callbacks\Structures\ShootManiaOnNearMissStructure

Structure Class for the OnNearMiss Structure Callback

Summary

Methods
Properties
Constants
getTime()
getWeapon()
getShooterPosition()
getVictimPosition()
getShooter()
getVictim()
getDistance()
getPlainJsonObject()
getUsageInformation()
toJson()
No public properties found
No constants found
__construct()
$maniaControl
N/A
No private methods found
$time
$weapon
$shooterPosition
$victimPosition
$shooter
$victim
$distance
$plainJsonObject
N/A

Properties

$weapon

$weapon : 

Type

$shooterPosition

$shooterPosition : 

Type

$victimPosition

$victimPosition : 

Type

$shooter

$shooter : 

Type

$victim

$victim : 

Type

$distance

$distance : 

Type

$plainJsonObject

$plainJsonObject : 

Type

Methods

getTime()

getTime() : integer

< Server time when the event occured

Returns

integer

getWeapon()

getWeapon() : integer

< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]

Returns

integer

getDistance()

getDistance() : float

Distance Between Shooter and Victim at the time of the Event

Returns

float

getPlainJsonObject()

getPlainJsonObject() 

Gets the Plain Json

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

toJson()

toJson() 

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl,   $data) 

BaseStructure constructor.

Parameters

\ManiaControl\ManiaControl $maniaControl
$data