UFO: Alien Invasion
Loading...
Searching...
No Matches
SrvPlayer Class Reference

#include <game.h>

Collaboration diagram for SrvPlayer:
Collaboration graph

Public Member Functions

bool isInUse () const
void setInUse (bool inuse)
int getNum (void) const
void setNum (int num)
bool isReady () const
void setReady (bool ready)

Data Fields

bool inuse
int num
bool ready

Detailed Description

Definition at line 45 of file game.h.

Member Function Documentation

◆ getNum()

int SrvPlayer::getNum ( void ) const
inline

Definition at line 58 of file game.h.

References num.

Referenced by SV_PlayerPrintf().

◆ isInUse()

bool SrvPlayer::isInUse ( ) const
inline

Definition at line 52 of file game.h.

References inuse.

◆ isReady()

bool SrvPlayer::isReady ( ) const
inline

Definition at line 64 of file game.h.

References ready.

◆ setInUse()

void SrvPlayer::setInUse ( bool inuse)
inline

Definition at line 55 of file game.h.

References inuse.

Referenced by SV_DropClient().

◆ setNum()

void SrvPlayer::setNum ( int num)
inline

Definition at line 61 of file game.h.

References num.

◆ setReady()

void SrvPlayer::setReady ( bool ready)
inline

Definition at line 67 of file game.h.

References ready.

Field Documentation

◆ inuse

bool SrvPlayer::inuse

Definition at line 48 of file game.h.

Referenced by isInUse(), and setInUse().

◆ num

int SrvPlayer::num

communicated by server to clients

Definition at line 49 of file game.h.

Referenced by getNum(), and setNum().

◆ ready

bool SrvPlayer::ready

the player agreed to start the party

Definition at line 50 of file game.h.

Referenced by isReady(), and setReady().


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