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, Rpc, Auth = 10, LevelReady, ChatMessage, ValidateAssetsResponse, ForceResyncActors = 20, PlayerReady = 30, PlayerUpdate, PlayerKeyPress, PlayerChangeWeaponRequest, PlayerSpectate, PlayerAckWarped }
Packet type going from client to server.
enum class ServerPacketType { Null, Pong, Reserved, Rpc, AuthResponse = 70, PeerSetProperty, ValidateAssets, StreamAsset, LoadLevel = 80, LevelSetProperty, LevelResetProperties, ShowInGameLobby, FadeOut, PlaySfx, PlayCommonSfx, ShowAlert, ChatMessage, SyncTileMap, SetTrigger, AdvanceTileAnimation, RevertTileAnimation, CreateDebris, CreateControllablePlayer = 110, CreateRemoteActor, CreateMirroredActor, DestroyRemoteActor, UpdateAllActors, ForceResyncActors, MarkRemoteActorAsPlayer, UpdatePositionsInRound, PlayerSetProperty = 130, PlayerResetProperties, PlayerRespawn, PlayerMoveInstantly, PlayerAckWarped, PlayerActivateForce, PlayerEmitWeaponFlare, PlayerChangeWeapon, PlayerTakeDamage, PlayerActivateSpring, PlayerWarpIn }
Packet type going from server to client.
enum class PeerPropertyType { Unknown, Connected, Disconnected, Roasted, Count }
Peer property type from ServerPacketType::PeerSetProperty.
enum class LevelPropertyType { Unknown, State = 1, GameMode, LevelText = 10, Music, Count }
Level property type from ServerPacketType::LevelSetProperty.
enum class PlayerPropertyType { Unknown, Lives = 1, Health, Controllable, Invulnerable, Modifier, Dizzy, Freeze, Shield, LimitCameraView, OverrideCameraView, ShakeCameraView, WeaponAmmo = 30, WeaponUpgrades, Coins = 60, Gems, Points = 90, PositionInRound, Deaths, Kills, Laps, TreasureCollected, Count }
Player property type from ServerPacketType::PlayerSetProperty.