\ManiaControl\Callbacks\Structures\ShootManiaOnScoresStructure

Structure Class for the Shootmania OnScores Structure Callback

Summary

Methods
Properties
Constants
__construct()
getWinnerPlayer()
getSection()
getUseTeams()
getWinnerTeamId()
getTeamScores()
getPlayerScores()
getResponseId()
getPlainJsonObject()
getUsageInformation()
toJson()
No public properties found
No constants found
No protected methods found
$section
$useTeams
$winnerTeam
$winnerPlayer
$teamScores
$playerScores
$responseId
$maniaControl
N/A
No private methods found
$plainJsonObject
N/A

Properties

$section

$section : 

Type

$useTeams

$useTeams : 

Type

$winnerTeam

$winnerTeam : 

Type

$winnerPlayer

$winnerPlayer : 

Type

$teamScores

$teamScores : 

Type

$playerScores

$playerScores : 

Type

$responseId

$responseId : 

Type

$plainJsonObject

$plainJsonObject : 

Type

Methods

__construct()

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

OnScoresStructure constructor.

Parameters

\ManiaControl\ManiaControl $maniaControl
$data

getSection()

getSection() : string

< Current progress of the match. Can be "" | "EndRound" | "EndMap" | "EndMatch"

Returns

string

getUseTeams()

getUseTeams() : boolean

Returns if the GameMode uses Teams or not

Returns

boolean

getWinnerTeamId()

getWinnerTeamId() : integer

Get the Winner Team Id

Returns

integer

getResponseId()

getResponseId() : string

Get the Response Id

Returns

string

getPlainJsonObject()

getPlainJsonObject() 

Gets the Plain Json

getUsageInformation()

getUsageInformation() 

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

toJson()

toJson()