Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Enumerations
RoRnet.h File Reference
#include "BitFlags.h"

Go to the source code of this file.

Data Structures

struct  RoRnet::Header
 
struct  RoRnet::StreamRegister
 
struct  RoRnet::ActorStreamRegister
 
struct  RoRnet::StreamUnRegister
 
struct  RoRnet::UserInfo
 
struct  RoRnet::VehicleState
 
struct  RoRnet::ServerInfo
 
struct  RoRnet::LegacyServerInfo
 

Namespaces

namespace  RoRnet
 

Macros

#define RORNET_MAX_PEERS   64
 
#define RORNET_MAX_MESSAGE_LENGTH   8192
 
#define RORNET_LAN_BROADCAST_PORT   13000
 
#define RORNET_MAX_USERNAME_LEN   40
 
#define RORNET_VERSION   "RoRnet_2.45"
 

Enumerations

enum  RoRnet::MessageType
 
enum  RoRnet::UserAuth
 
enum  RoRnet::Netmask
 
enum  RoRnet::Lightmask
 
enum  RoRnet::PeerOptions
 
enum class  RoRnet::UiStreamsHealth
 

Macro Definition Documentation

◆ RORNET_LAN_BROADCAST_PORT

#define RORNET_LAN_BROADCAST_PORT   13000

port used to send the broadcast announcement in LAN mode

Definition at line 32 of file RoRnet.h.

◆ RORNET_MAX_MESSAGE_LENGTH

#define RORNET_MAX_MESSAGE_LENGTH   8192

maximum size of a RoR message. 8192 bytes = 8 kibibytes

Definition at line 31 of file RoRnet.h.

◆ RORNET_MAX_PEERS

#define RORNET_MAX_PEERS   64

maximum clients connected at the same time

Definition at line 30 of file RoRnet.h.

◆ RORNET_MAX_USERNAME_LEN

#define RORNET_MAX_USERNAME_LEN   40

bytes.

Definition at line 33 of file RoRnet.h.

◆ RORNET_VERSION

#define RORNET_VERSION   "RoRnet_2.45"

Definition at line 35 of file RoRnet.h.