\ManiaControl\Callbacks\Structures\ShootManiaOnShotDenyStructure

Structure Class for the OnShotDeny Structure Callback

Summary

Methods
Properties
Constants
__construct()
getTime()
getPlainJsonObject()
getUsageInformation()
toJson()
getShooter()
getVictim()
getShooterWeapon()
getVictimWeapon()
No public properties found
No constants found
No protected methods found
$time
$maniaControl
N/A
No private methods found
$plainJsonObject
$shooterWeapon
$victimWeapon
$shooter
$victim
N/A

Properties

$time

$time : 

Type

$plainJsonObject

$plainJsonObject : 

Type

$shooterWeapon

$shooterWeapon : 

Type

$victimWeapon

$victimWeapon : 

Type

$shooter

$shooter : 

Type

$victim

$victim : 

Type

Methods

__construct()

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

Construct a new On Hit Structure

Parameters

\ManiaControl\ManiaControl $maniaControl
array $data

getTime()

getTime() : integer

Gets the Server Time the Callback was sent

Returns

integer —

Time since Serverstart

getPlainJsonObject()

getPlainJsonObject() 

Gets the Plain Json

getUsageInformation()

getUsageInformation() 

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

toJson()

toJson() 

getShooterWeapon()

getShooterWeapon() : integer

Gets the Shooter Weapon

Returns

integer —

Weapon

getVictimWeapon()

getVictimWeapon() : integer

Get the Victim Weapon

Returns

integer