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::LoginPayload Struct Reference

#include <Packet.hpp>

Collaboration diagram for rtp::net::LoginPayload:

Public Attributes

char username [32]
 Player username.
 
char password [32]
 Player password.
 
uint8_t weaponKind
 Selected weapon kind.
 

Detailed Description

Definition at line 193 of file Packet.hpp.

Member Data Documentation

◆ password

char rtp::net::LoginPayload::password[32]

Player password.

Definition at line 195 of file Packet.hpp.

Referenced by rtp::server::AuthSystem::handleLoginRequest(), and rtp::client::NetworkSyncSystem::tryLogin().

◆ username

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

Player username.

Definition at line 194 of file Packet.hpp.

Referenced by rtp::server::AuthSystem::handleLoginRequest(), and rtp::client::NetworkSyncSystem::tryLogin().

◆ weaponKind

uint8_t rtp::net::LoginPayload::weaponKind

Selected weapon kind.

Definition at line 196 of file Packet.hpp.

Referenced by rtp::server::AuthSystem::handleLoginRequest(), and rtp::client::NetworkSyncSystem::tryLogin().


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