Module airmash_protocol::server[][src]

Structs

Ack

TODO: Figure out what this does.

Backup

Acknowledge successful receipt of a Backup packet.

ChatPublic
ChatSay
ChatTeam
ChatVoteMutePassed

A player has been votemuted

ChatVoteMuted

The current player has been votemuted.

ChatWhisper
CommandReply

Reply to a Command.

Error

The client has carried out an invalid action, been ratelimited, or is banned.

EventBoost

A predator has begun/stopped boosting

EventBounce

A player has run into a wall

EventLeaveHorizon

Event for when a player goes beyond the event horizon.

EventRepel

Event triggered when something (player or missile) is deflected by a goliath repel.

EventRepelMob

A projectile has been repelled by a goliath

EventRepelPlayer

A player has been repelled by a goliath.

EventStealth

A prowler has entered/exited stealth mode

GameFirewall

Update the "Wall of Fire" in BTR

GameFlag

Update position of flag in CTF

GamePlayersAlive

Info on the number of players currently alive

GameSpectate

Update which player the client is spectating.

Login

Initial Login packet sent to the server

LoginPlayer

Initial data passed in for a player when the server starts.

MobDespawn

A mob despawned This is used when a powerup despawns and when a missile despawns without hitting anything. It does not cause an explosion to be shown at the location.

MobDespawnCoords

A missile despawned with an explosion This is used when a missile collides with a mountain to generate an explosion client-side

MobUpdate
MobUpdateStationary

Update for powerups

Ping

A ping request by the server.

PingResult

Resulting ping data sent back from the server.

PlayerFire

Packet for whan a player fires missiles.

PlayerFireProjectile

Data on a projectile fired by a plane.

PlayerFlag

Packet for when a player changes their flag.

PlayerHit

Event for when players have been hit by a missile.

PlayerHitPlayer

Data on a player that has been hit by a shot fired by another player.

PlayerKill
PlayerLeave

Packet for when a player leaves.

PlayerLevel

Assign a level to a player. Either the player levelled up, or the server is updating their level for all clients.

PlayerNew

Data for a newly-joined player.

PlayerPowerup

The current player picked up a powerup.

PlayerRespawn

Packet for when a player respawns.

PlayerReteam

Packet for when players change teams

PlayerReteamPlayer

Details about a player that has switched teams.

PlayerType

A player has switched planes.

PlayerUpdate

Movement update for a player.

PlayerUpgrade

A player has upgraded themselves.

ScoreBoard

Leaderboard + Global player positions

ScoreBoardData

Leaderboard data, part of the ScoreBoard packet.

ScoreBoardRanking

Low-res player positions, part of the ScoreBoard packet.

ScoreDetailedBTR
ScoreDetailedBTREntry

Per-player data for detailed (tab) menu in BTR.

ScoreDetailedCTF

Detailed score menu (tab) data for CTF.

ScoreDetailedCTFEntry

Per-player data for detailed (tab) menu in CTF.

ScoreDetailedFFA

Detailed score menu (tab) data for FFA.

ScoreDetailedFFAEntry

Per-player data for detailed (tab) menu in FFA.

ScoreUpdate

Stats for the current player

ServerCustom

End of game packet for CTF and BTR.

ServerMessage

Server banned message