Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::net::LoginResponsePayload Struct Reference

Login response data sent by server for LoginResponse Server OpCode. More...

#include <Packet.hpp>

Collaboration diagram for rtp::net::LoginResponsePayload:

Public Attributes

uint8_t success
 Login success flag.
 
char username [32]
 Player username.
 

Detailed Description

Login response data sent by server for LoginResponse Server OpCode.

Definition at line 216 of file Packet.hpp.

Member Data Documentation

◆ success

uint8_t rtp::net::LoginResponsePayload::success

Login success flag.

Definition at line 217 of file Packet.hpp.

Referenced by rtp::client::NetworkSyncSystem::onLoginResponse(), and rtp::server::AuthSystem::sendLoginResponse().

◆ username

char rtp::net::LoginResponsePayload::username[32]

Player username.

Definition at line 218 of file Packet.hpp.

Referenced by rtp::client::NetworkSyncSystem::onLoginResponse().


The documentation for this struct was generated from the following file: