added deprecated to mp3 callbacks
This commit is contained in:
parent
aecc7b6e45
commit
3014bc2202
@ -104,56 +104,125 @@ interface Callbacks {
|
|||||||
const BEGINMAP = 'Callbacks.BeginMap';
|
const BEGINMAP = 'Callbacks.BeginMap';
|
||||||
|
|
||||||
//OLD Callbacks
|
//OLD Callbacks
|
||||||
/** BeginMatch Callback: MatchNumber */
|
/** BeginMatch Callback: MatchNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINMATCH = 'Callbacks.BeginMatch';
|
const BEGINMATCH = 'Callbacks.BeginMatch';
|
||||||
/** LoadingMap Callback: MapNumber */
|
/** LoadingMap Callback: MapNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const LOADINGMAP = 'Callbacks.LoadingMap';
|
const LOADINGMAP = 'Callbacks.LoadingMap';
|
||||||
|
|
||||||
/** BeginSubMatch Callback: SubmatchNumber */
|
/** BeginSubMatch Callback: SubmatchNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINSUBMATCH = 'Callbacks.BeginSubmatch';
|
const BEGINSUBMATCH = 'Callbacks.BeginSubmatch';
|
||||||
/** BeginRound Callback: RoundNumber */
|
/** BeginRound Callback: RoundNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINROUND = 'Callbacks.BeginRound';
|
const BEGINROUND = 'Callbacks.BeginRound';
|
||||||
/** BeginTurn Callback: TurnNumber */
|
/** BeginTurn Callback: TurnNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINTURN = 'Callbacks.BeginTurn';
|
const BEGINTURN = 'Callbacks.BeginTurn';
|
||||||
/** BeginTurnStop Callback: TurnNumber */
|
/** BeginTurnStop Callback: TurnNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINTURNSTOP = 'Callbacks.BeginTurnStop';
|
const BEGINTURNSTOP = 'Callbacks.BeginTurnStop';
|
||||||
/** BeginPlaying Callback */
|
/** BeginPlaying Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINPLAYING = 'Callbacks.BeginPlaying';
|
const BEGINPLAYING = 'Callbacks.BeginPlaying';
|
||||||
/** EndPlaying Callback */
|
/** EndPlaying Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDPLAYING = 'Callbacks.EndPlaying';
|
const ENDPLAYING = 'Callbacks.EndPlaying';
|
||||||
/** EndTurn Callback: TurnNumber */
|
/** EndTurn Callback: TurnNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDTURN = 'Callbacks.EndTurn';
|
const ENDTURN = 'Callbacks.EndTurn';
|
||||||
/** EndTurnStop Callback: TurnNumber */
|
/** EndTurnStop Callback: TurnNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDTURNSTOP = 'Callbacks.EndTurnStop';
|
const ENDTURNSTOP = 'Callbacks.EndTurnStop';
|
||||||
/** EndRound Callback: RoundNumber */
|
/** EndRound Callback: RoundNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDROUND = 'Callbacks.EndRound';
|
const ENDROUND = 'Callbacks.EndRound';
|
||||||
/** EndRound Callback: RoundNumber */
|
/** EndRound Callback: RoundNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDROUNDSTOP = 'Callbacks.EndRoundStop';
|
const ENDROUNDSTOP = 'Callbacks.EndRoundStop';
|
||||||
/** EndSubmatch Callback: SubmatchNumber */
|
/** EndSubmatch Callback: SubmatchNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDSUBMATCH = 'Callbacks.EndSubmatch';
|
const ENDSUBMATCH = 'Callbacks.EndSubmatch';
|
||||||
/** EndMap Callback: Map */
|
/** EndMap Callback: Map
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDMAP = 'Callbacks.EndMap';
|
const ENDMAP = 'Callbacks.EndMap';
|
||||||
/** BeginPodium Callback */
|
/** BeginPodium Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINPODIUM = 'Callbacks.BeginPodium';
|
const BEGINPODIUM = 'Callbacks.BeginPodium';
|
||||||
/** EndPodium Callback */
|
/** EndPodium Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDPODIUM = 'Callbacks.EndPodium';
|
const ENDPODIUM = 'Callbacks.EndPodium';
|
||||||
/** UnloadingMap Callback */
|
/** UnloadingMap Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const UNLOADINGMAP = 'Callbacks.UnloadingMap';
|
const UNLOADINGMAP = 'Callbacks.UnloadingMap';
|
||||||
/** EndMatch Callback: MatchNumber */
|
/** EndMatch Callback: MatchNumber
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDMATCH = 'Callbacks.EndMatch';
|
const ENDMATCH = 'Callbacks.EndMatch';
|
||||||
|
|
||||||
/** BeginWarmup Callback */
|
/** BeginWarmup Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const BEGINWARMUP = 'Callbacks.BeginWarmUp';
|
const BEGINWARMUP = 'Callbacks.BeginWarmUp';
|
||||||
/** EndWarmup Callback */
|
/** EndWarmup Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ENDWARMUP = 'Callbacks.EndWarmUp';
|
const ENDWARMUP = 'Callbacks.EndWarmUp';
|
||||||
|
|
||||||
/** Scores Callback (returned after LibXmlRpc_PlayerRanking): Scores */
|
/** Scores Callback (returned after LibXmlRpc_PlayerRanking): Scores
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const SCORESREADY = 'Callbacks.ScoresReady';
|
const SCORESREADY = 'Callbacks.ScoresReady';
|
||||||
|
|
||||||
/** Scores Callback (returned after LibXmlRpc_PlayerRanking in SM, or LibXmlRpc_TeamsScores in Trackmania): Scores */
|
/** Scores Callback (returned after LibXmlRpc_PlayerRanking in SM, or LibXmlRpc_TeamsScores in Trackmania): Scores
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const SCORES = 'Callbacks.Scores';
|
const SCORES = 'Callbacks.Scores';
|
||||||
|
|
||||||
/** Rankings Callback */
|
/** Rankings Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const RANKINGS = 'Callbacks.Rankings';
|
const RANKINGS = 'Callbacks.Rankings';
|
||||||
|
|
||||||
/** PlayerRanking Callback, returned after LibXmlRpc_PlayerRanking
|
/** PlayerRanking Callback, returned after LibXmlRpc_PlayerRanking
|
||||||
@ -161,54 +230,108 @@ interface Callbacks {
|
|||||||
* param1 Player $player
|
* param1 Player $player
|
||||||
* param2 int $rank
|
* param2 int $rank
|
||||||
* param3 int $currentPoints
|
* param3 int $currentPoints
|
||||||
* param4 int AFKStatus */
|
* param4 int AFKStatus
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const PLAYERRANKING = 'Callbacks.PlayerRanking';
|
const PLAYERRANKING = 'Callbacks.PlayerRanking';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ShootMania Callbacks
|
* ShootMania Callbacks
|
||||||
*/
|
*/
|
||||||
/** RankingsUpdated Callback: SortedRankings */
|
/** RankingsUpdated Callback: SortedRankings
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const RANKINGSUPDATED = 'Callbacks.RankingsUpdated';
|
const RANKINGSUPDATED = 'Callbacks.RankingsUpdated';
|
||||||
|
|
||||||
/** Returns the AFKStatus of an Player, returned after param1 Scores */ //returned after TODO
|
/** Returns the AFKStatus of an Player, returned after param1 Scores
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const AFKSTATUS = 'Callbacks.AfkStatus';
|
const AFKSTATUS = 'Callbacks.AfkStatus';
|
||||||
/** Returns if the GameMode has Warmup activated, returned after param1 Scores */ //returned after TODO
|
/** Returns if the GameMode has Warmup activated, returned after param1 Scores
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const WARMUPSTATUS = 'Callbacks.WarmupStatus';
|
const WARMUPSTATUS = 'Callbacks.WarmupStatus';
|
||||||
|
|
||||||
/** OnShoot Callback: Player, WeaponNumber (see Weapons Structure) */
|
/** OnShoot Callback: Player, WeaponNumber (see Weapons Structure)
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONSHOOT = 'Callbacks.OnShoot';
|
const ONSHOOT = 'Callbacks.OnShoot';
|
||||||
|
|
||||||
/** OnHit Callback: PlayerHitStructure */
|
/** OnHit Callback: PlayerHitStructure
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONHIT = 'Callbacks.OnHit';
|
const ONHIT = 'Callbacks.OnHit';
|
||||||
/** OnNearMiss Callback: NearMissStructure */
|
/** OnNearMiss Callback: NearMissStructure
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONNEARMISS = 'Callbacks.OnNearMiss';
|
const ONNEARMISS = 'Callbacks.OnNearMiss';
|
||||||
/** OnArmorEmpty Callback: ArmorEmptyStructure */
|
/** OnArmorEmpty Callback: ArmorEmptyStructure
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONARMOREMPTY = 'Callbacks.OnArmorEmpty';
|
const ONARMOREMPTY = 'Callbacks.OnArmorEmpty';
|
||||||
/** OnCapture Callback: CaptureStructure */
|
/** OnCapture Callback: CaptureStructure
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONCAPTURE = 'Callbacks.OnCapture';
|
const ONCAPTURE = 'Callbacks.OnCapture';
|
||||||
/** OnPlayerRequestRespawn Callback: Player */
|
/** OnPlayerRequestRespawn Callback: Player
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONPLAYERREQUESTRESPAWN = 'Callbacks.OnPlayerRequestRespawn';
|
const ONPLAYERREQUESTRESPAWN = 'Callbacks.OnPlayerRequestRespawn';
|
||||||
|
|
||||||
/** Elite OnBeginTurn Callback: EliteBeginTurnStructure */
|
/** Elite OnBeginTurn Callback: EliteBeginTurnStructure
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ELITE_ONBEGINTURN = "Callbacks.EliteOnBeginTurn";
|
const ELITE_ONBEGINTURN = "Callbacks.EliteOnBeginTurn";
|
||||||
/** Elite OnEndTurn Callback: integer (VictoryTypes) */
|
/** Elite OnEndTurn Callback: integer (VictoryTypes)
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ELITE_ONENDTURN = "Callbacks.EliteOnEndTurn";
|
const ELITE_ONENDTURN = "Callbacks.EliteOnEndTurn";
|
||||||
|
|
||||||
/** Joust Selected Players */
|
/** Joust Selected Players
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const JOUST_SELECTEDPLAYERS = "Callbacks.JoustSelectedPlayers";
|
const JOUST_SELECTEDPLAYERS = "Callbacks.JoustSelectedPlayers";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TrackMania Callbacks
|
* TrackMania Callbacks
|
||||||
*/
|
*/
|
||||||
/** OnStartLine Callback */
|
/** OnStartLine Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONSTARTLINE = 'Callbacks.StartLine';
|
const ONSTARTLINE = 'Callbacks.StartLine';
|
||||||
/** OnWayPoint Callback */
|
/** OnWayPoint Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONWAYPOINT = 'Callbacks.WayPoint';
|
const ONWAYPOINT = 'Callbacks.WayPoint';
|
||||||
/** OnGiveUp Callback */
|
/** OnGiveUp Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONGIVEUP = 'Callbacks.GiveUp';
|
const ONGIVEUP = 'Callbacks.GiveUp';
|
||||||
/** OnRespawn Callback */
|
/** OnRespawn Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONRESPAWN = 'Callbacks.Respawn';
|
const ONRESPAWN = 'Callbacks.Respawn';
|
||||||
/** OnStunt Callback */
|
/** OnStunt Callback
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
const ONSTUNT = 'Callbacks.Stunt';
|
const ONSTUNT = 'Callbacks.Stunt';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user