R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
client_session.hpp File Reference

The client's session with the server: TCP login, then UDP binding (RFC section 3). More...

#include <aegis2d/core/clock.hpp>
#include <aegis2d/ecs/components.hpp>
#include <aegis2d/net/binary.hpp>
#include <aegis2d/net/context.hpp>
#include <aegis2d/net/endpoint.hpp>
#include <aegis2d/net/packet.hpp>
#include <aegis2d/net/reliability.hpp>
#include <aegis2d/net/rtt.hpp>
#include <aegis2d/net/tcp_connection.hpp>
#include <aegis2d/net/traffic.hpp>
#include <aegis2d/net/udp_socket.hpp>
#include <rtype/chat_log.hpp>
#include <rtype/client_world.hpp>
#include <rtype/input.hpp>
#include <rtype/login.hpp>
#include <rtype/network_stats.hpp>
#include <rtype/rooms.hpp>
#include <rtype/scores.hpp>
#include <rtype/ship_prediction.hpp>
#include <rtype/snapshot_decoder.hpp>
#include <rtype/tuning.hpp>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  rtype::ClientSettings
 What the client needs to join a server. More...
 
class  rtype::ClientSession
 The client side of a session (RFC section 3). More...
 

Namespaces

namespace  rtype
 R-Type game code, built on the Aegis2D engine.
 

Enumerations

enum class  rtype::ClientState : std::uint8_t {
  rtype::Idle , rtype::Connecting , rtype::LoggingIn , rtype::Lobby ,
  rtype::InRoom , rtype::Binding , rtype::InGame , rtype::Failed ,
  rtype::Lost , rtype::Closed
}
 Where the client is in its session. More...
 

Functions

std::string_view rtype::to_string (ClientState state) noexcept
 Short name of a state, for logs.
 

Detailed Description

The client's session with the server: TCP login, then UDP binding (RFC section 3).