\ManiaControl\Callbacks\Structures\ShootManiaOnShootStructure

Structure Class for the OnShoot Structure Callback

Summary

Methods
Properties
Constants
__construct()
getTime()
getPlainJsonObject()
getUsageInformation()
toJson()
getWeapon()
getShooter()
$weapon
No constants found
No protected methods found
$time
$maniaControl
N/A
No private methods found
$plainJsonObject
$shooterLogin
N/A

Properties

$weapon

$weapon : 

Type

$time

$time : 

Type

$plainJsonObject

$plainJsonObject : 

Type

Methods

__construct()

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

BaseResponseStructure constructor.

Parameters

\ManiaControl\ManiaControl $maniaControl
$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() 

getWeapon()

getWeapon() : integer

Gets the Weapon

Returns

integer