Class ActionHandler
Description of ActionHandler
- ManiaLib\Utils\Singleton
- ManiaLive\Gui\ActionHandler implements ManiaLive\DedicatedApi\Callback\Listener
protected
|
|
public
|
|
public
|
|
public
|
#
onPlayerManialinkPageAnswer( integer $playerUid, string $login, integer $answer, array $entries )
Method called when a Answer to a Manialink Page difference with previous TM: this is not called if the player doesn't answer, and thus '0' is also a valid answer. |
public
|
#
onPlayerConnect( string $login, boolean $isSpectator )
Method called when a Player join the server |
public
|
|
public
|
#
onPlayerChat( integer $playerUid, string $login, string $text, boolean $isRegistredCmd )
Method called when a Player chat on the server |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
onEndMatch( SPlayerRanking[] $rankings, integer|SMapInfo $winnerTeamOrMap )
Method called when the Race Ended struct of SPlayerRanking is a part of the structure of DedicatedApi\Structures\Player object struct SPlayerRanking { string Login; string NickName; int PlayerId; int Rank; [for legacy TrackMania modes also: int BestTime; int[] BestCheckpoints; int Score; int NbrLapsFinished; double LadderScore; ] } |
public
|
#
onBeginMap( SMapInfo $map, boolean $warmUp, boolean $matchContinuation )
Method called when a map begin |
public
|
|
public
|
|
public
|
|
public
|
#
onStatusChanged( integer $statusCode, string $statusName )
Method called when the server status change |
public
|
#
onPlayerCheckpoint( integer $playerUid, string $login, integer $timeOrScore, integer $curLap, integer $checkpointIndex )
Method called when a player cross a checkPoint |
public
|
#
onPlayerFinish( integer $playerUid, string $login, integer $timeOrScore )
Method called when a player finish a round |
public
|
#
onPlayerIncoherence( integer $playerUid, string $login )
Method called when there is an incoherence with a player data |
public
|
#
onBillUpdated( integer $billId, integer $state, string $stateName, integer $transactionId )
Method called when a bill is updated |
public
|
#
onTunnelDataReceived( integer $playerUid, string $login, base64 $data )
Method called server receive data |
public
|
#
onMapListModified( integer $curMapIndex, integer $nextMapIndex, boolean $isListModified )
Method called when the map list is modified |
public
|
|
public
|
|
public
|
#
onVoteUpdated( string $stateName, string $login, string $cmdName, string $cmdParam )
Method called when a vote change of State |
public
|
__clone(),
getInstance()
|
float |
NONE
|
0xFFFFFFFF |
protected
array
|
$callbacks | array() |
|
protected
integer
|
$lastAction | 0 |
$instances
|