R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
RType::Messages::S2C Namespace Reference

Server-to-Client messages. More...

Classes

class  EntityDestroyed
 Entity destruction notification. More...
 
class  EntityState
 State of a single entity. More...
 
class  GameOver
 Game over notification. More...
 
struct  Gamerule
 A single gamerule key-value pair. More...
 
class  GamerulePacket
 Packet containing gamerule updates from server to client. More...
 
class  GameStart
 Game start notification from server to client. More...
 
class  GameState
 Complete snapshot of the game world. More...
 
class  JoinedRoom
 
class  LeftRoom
 Notification that a player has left a room. More...
 
class  LoginResponse
 Server response to login request. More...
 
struct  MapConfig
 Map background configuration sent to client. More...
 
struct  PlayerData
 
class  RegisterResponse
 Server response to registration request. More...
 
class  RoomCreated
 
struct  RoomInfoData
 
class  RoomList
 
class  RoomState
 
class  S2CChatMessage
 Chat message sent from server to clients. More...
 

Enumerations

enum class  LeftRoomReason : uint8_t { VOLUNTARY_LEAVE = 0 , KICKED = 1 , ROOM_CLOSED = 2 , SERVER_SHUTDOWN = 3 }
 Reason why a player left a room. More...
 

Detailed Description

Server-to-Client messages.

All messages that flow from server to client.

Enumeration Type Documentation

◆ LeftRoomReason

enum class RType::Messages::S2C::LeftRoomReason : uint8_t
strong

Reason why a player left a room.

Enumerator
VOLUNTARY_LEAVE 
KICKED 
ROOM_CLOSED 
SERVER_SHUTDOWN 

Definition at line 23 of file LeftRoom.hpp.