Jazz2/Multiplayer/PacketTypes.h file

Namespaces

namespace Jazz2
Root namespace of Jazz² Resurrection.
namespace Jazz2::Multiplayer
Multiplayer-related classes, compiled only if WITH_MULTIPLAYER

Enums

enum class BroadcastPacketType { Null, DiscoveryRequest, DiscoveryResponse }
Packet type broadcasted on the local network.
enum class ClientPacketType { Null, Ping, Reserved, Auth, LevelReady, ChatMessage, PlayerReady = 30, PlayerUpdate, PlayerKeyPress, PlayerChangeWeaponRequest }
Packet type going from client to server.
enum class ServerPacketType { Null, Pong, Reserved, PeerStateChanged, LoadLevel = 10, LevelSetProperty, LevelResetProperties, ShowInGameLobby, FadeOut, PlaySfx, PlayCommonSfx, ShowAlert, ChatMessage, SyncTileMap, SetTrigger, AdvanceTileAnimation, RevertTileAnimation, CreateControllablePlayer = 30, CreateRemoteActor, CreateMirroredActor, DestroyRemoteActor, UpdateAllActors, MarkRemoteActorAsPlayer, PlayerSetProperty = 50, PlayerResetProperties, PlayerRespawn, PlayerMoveInstantly, PlayerAckWarped, PlayerActivateForce, PlayerEmitWeaponFlare, PlayerChangeWeapon, PlayerTakeDamage, PlayerActivateSpring, PlayerWarpIn }
Packet type going from server to client.
enum class LevelPropertyType { Unknown, State = 1, GameMode, LevelText = 10, Count }
Level property type from ServerPacketType::LevelSetProperty.
enum class PlayerPropertyType { Unknown, Lives = 1, Health, Controllable, Invulnerable, Modifier, DizzyTime, WeaponAmmo = 10, WeaponUpgrades, Coins = 20, Gems, Points = 30, Deaths, Kills, Laps, TreasureCollected, Count }
Player property type from ServerPacketType::PlayerSetProperty.