PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
Loading...
Searching...
No Matches
proofps_dd::MsgServerInfoFromServer Struct Reference

Detailed Description

Definition at line 95 of file PRooFPS-dd-packet.h.

#include <PRooFPS-dd-packet.h>

Static Public Member Functions

static bool initPkt (pge_network::PgePacket &pkt, const unsigned int &nMaxFps, const unsigned int &nTickrate, const unsigned int &nPhysicsRateMin, const unsigned int &nClientUpdateRate, const GameModeType &iGameModeType, const unsigned int &nScoreLimit, const unsigned int &nTimeLimitSecs, const unsigned int &nTimeRemainingMillisecs, const int &nFallDamageMultiplier, const unsigned int &nRespawnTimeSecs, const unsigned int &nRespawnInvulnerabilityTimeSecs, const bool &bFriendlyFire)
 

Public Attributes

unsigned int m_nMaxFps
 
unsigned int m_nTickrate
 
unsigned int m_nPhysicsRateMin
 
unsigned int m_nClientUpdateRate
 
GameModeType m_iGameModeType
 
unsigned int m_nScoreLimit
 Either frag limit or round win limit, depending on game mode.
 
unsigned int m_nTimeLimitSecs
 
unsigned int m_nTimeRemainingMillisecs
 
int m_nFallDamageMultiplier
 
unsigned int m_nRespawnTimeSecs
 
unsigned int m_nRespawnInvulnerabilityTimeSecs
 
bool m_bFriendlyFire
 

Static Public Attributes

static const PRooFPSappMsgId id = PRooFPSappMsgId::ServerInfoFromServer
 

Member Function Documentation

◆ initPkt()

static bool proofps_dd::MsgServerInfoFromServer::initPkt ( pge_network::PgePacket & pkt,
const unsigned int & nMaxFps,
const unsigned int & nTickrate,
const unsigned int & nPhysicsRateMin,
const unsigned int & nClientUpdateRate,
const GameModeType & iGameModeType,
const unsigned int & nScoreLimit,
const unsigned int & nTimeLimitSecs,
const unsigned int & nTimeRemainingMillisecs,
const int & nFallDamageMultiplier,
const unsigned int & nRespawnTimeSecs,
const unsigned int & nRespawnInvulnerabilityTimeSecs,
const bool & bFriendlyFire )
inlinestatic

Definition at line 99 of file PRooFPS-dd-packet.h.

Member Data Documentation

◆ id

const PRooFPSappMsgId proofps_dd::MsgServerInfoFromServer::id = PRooFPSappMsgId::ServerInfoFromServer
static

Definition at line 97 of file PRooFPS-dd-packet.h.

◆ m_bFriendlyFire

bool proofps_dd::MsgServerInfoFromServer::m_bFriendlyFire

Definition at line 164 of file PRooFPS-dd-packet.h.

◆ m_iGameModeType

GameModeType proofps_dd::MsgServerInfoFromServer::m_iGameModeType

Definition at line 154 of file PRooFPS-dd-packet.h.

◆ m_nClientUpdateRate

unsigned int proofps_dd::MsgServerInfoFromServer::m_nClientUpdateRate

Definition at line 152 of file PRooFPS-dd-packet.h.

◆ m_nFallDamageMultiplier

int proofps_dd::MsgServerInfoFromServer::m_nFallDamageMultiplier

Definition at line 159 of file PRooFPS-dd-packet.h.

◆ m_nMaxFps

unsigned int proofps_dd::MsgServerInfoFromServer::m_nMaxFps

Definition at line 149 of file PRooFPS-dd-packet.h.

◆ m_nPhysicsRateMin

unsigned int proofps_dd::MsgServerInfoFromServer::m_nPhysicsRateMin

Definition at line 151 of file PRooFPS-dd-packet.h.

◆ m_nRespawnInvulnerabilityTimeSecs

unsigned int proofps_dd::MsgServerInfoFromServer::m_nRespawnInvulnerabilityTimeSecs

Definition at line 162 of file PRooFPS-dd-packet.h.

◆ m_nRespawnTimeSecs

unsigned int proofps_dd::MsgServerInfoFromServer::m_nRespawnTimeSecs

Definition at line 161 of file PRooFPS-dd-packet.h.

◆ m_nScoreLimit

unsigned int proofps_dd::MsgServerInfoFromServer::m_nScoreLimit

Either frag limit or round win limit, depending on game mode.

Definition at line 155 of file PRooFPS-dd-packet.h.

◆ m_nTickrate

unsigned int proofps_dd::MsgServerInfoFromServer::m_nTickrate

Definition at line 150 of file PRooFPS-dd-packet.h.

◆ m_nTimeLimitSecs

unsigned int proofps_dd::MsgServerInfoFromServer::m_nTimeLimitSecs

Definition at line 156 of file PRooFPS-dd-packet.h.

◆ m_nTimeRemainingMillisecs

unsigned int proofps_dd::MsgServerInfoFromServer::m_nTimeRemainingMillisecs

Definition at line 157 of file PRooFPS-dd-packet.h.


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