\ManiaControl\Callbacks\Structures\ShootManiaOnActionCustomEventStructure

Structure Class for the OnCustomEvent Structure Callback

Summary

Methods
Properties
Constants
__construct()
getPlainJsonObject()
getUsageInformation()
toJson()
getTime()
getActionId()
getShooter()
getVictim()
getParam1()
getParam2()
No public properties found
No constants found
No protected methods found
$maniaControl
N/A
No private methods found
$plainJsonObject
$time
$actionId
$shooter
$victim
$param1
$param2
N/A

Properties

$plainJsonObject

$plainJsonObject : 

Type

$time

$time : 

Type

$actionId

$actionId : 

Type

$shooter

$shooter : 

Type

$victim

$victim : 

Type

$param1

$param1 : 

Type

$param2

$param2 : 

Type

Methods

__construct()

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

OnActionCustomEventStructure constructor.

Parameters

\ManiaControl\ManiaControl $maniaControl
$data

getPlainJsonObject()

getPlainJsonObject() 

Gets the Plain Json

getUsageInformation()

getUsageInformation() 

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

toJson()

toJson() 

getTime()

getTime() : integer

Returns Server time when the event occured

Returns

integer

getActionId()

getActionId() : string

< Id of the action that triggered the event

Returns

string

getParam1()

getParam1() : string

< First custom param of the event

Returns

string

getParam2()

getParam2() : array

< Second custom param of the event

Returns

array