Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LANPlayer Class Reference

#include <LANPlayer.h>

Public Member Functions

 LANPlayer ()
 
UnicodeString getName (void)
 
void setName (UnicodeString name)
 
UnicodeString getLogin (void)
 
void setLogin (UnicodeString name)
 
void setLogin (AsciiString name)
 
UnicodeString getHost (void)
 
void setHost (UnicodeString name)
 
void setHost (AsciiString name)
 
UnsignedInt getLastHeard (void)
 
void setLastHeard (UnsignedInt lastHeard)
 
LANPlayergetNext (void)
 
void setNext (LANPlayer *next)
 
UnsignedInt getIP (void)
 
void setIP (UnsignedInt IP)
 

Protected Attributes

UnicodeString m_name
 Player name.
 
UnicodeString m_login
 login name
 
UnicodeString m_host
 machine name
 
UnsignedInt m_lastHeard
 The last time we heard from this player (for timeout purposes)
 
LANPlayerm_next
 Linked list pointer.
 
UnsignedInt m_IP
 Player's IP.
 

Detailed Description

LAN player class. This is for players sitting in the lobby. Players are uniquely identified by their IP addresses.

Definition at line 39 of file LANPlayer.h.

Constructor & Destructor Documentation

◆ LANPlayer()

LANPlayer::LANPlayer ( )
inline

Definition at line 42 of file LANPlayer.h.

Member Function Documentation

◆ getHost()

UnicodeString LANPlayer::getHost ( void )
inline

Definition at line 50 of file LANPlayer.h.

◆ getIP()

UnsignedInt LANPlayer::getIP ( void )
inline

Definition at line 57 of file LANPlayer.h.

◆ getLastHeard()

UnsignedInt LANPlayer::getLastHeard ( void )
inline

Definition at line 53 of file LANPlayer.h.

◆ getLogin()

UnicodeString LANPlayer::getLogin ( void )
inline

Definition at line 47 of file LANPlayer.h.

◆ getName()

UnicodeString LANPlayer::getName ( void )
inline

Definition at line 45 of file LANPlayer.h.

◆ getNext()

LANPlayer * LANPlayer::getNext ( void )
inline

Definition at line 55 of file LANPlayer.h.

◆ setHost() [1/2]

void LANPlayer::setHost ( AsciiString name)
inline

Definition at line 52 of file LANPlayer.h.

◆ setHost() [2/2]

void LANPlayer::setHost ( UnicodeString name)
inline

Definition at line 51 of file LANPlayer.h.

◆ setIP()

void LANPlayer::setIP ( UnsignedInt IP)
inline

Definition at line 58 of file LANPlayer.h.

◆ setLastHeard()

void LANPlayer::setLastHeard ( UnsignedInt lastHeard)
inline

Definition at line 54 of file LANPlayer.h.

◆ setLogin() [1/2]

void LANPlayer::setLogin ( AsciiString name)
inline

Definition at line 49 of file LANPlayer.h.

◆ setLogin() [2/2]

void LANPlayer::setLogin ( UnicodeString name)
inline

Definition at line 48 of file LANPlayer.h.

◆ setName()

void LANPlayer::setName ( UnicodeString name)
inline

Definition at line 46 of file LANPlayer.h.

◆ setNext()

void LANPlayer::setNext ( LANPlayer * next)
inline

Definition at line 56 of file LANPlayer.h.

Member Data Documentation

◆ m_host

UnicodeString LANPlayer::m_host
protected

machine name

Definition at line 63 of file LANPlayer.h.

◆ m_IP

UnsignedInt LANPlayer::m_IP
protected

Player's IP.

Definition at line 66 of file LANPlayer.h.

◆ m_lastHeard

UnsignedInt LANPlayer::m_lastHeard
protected

The last time we heard from this player (for timeout purposes)

Definition at line 64 of file LANPlayer.h.

◆ m_login

UnicodeString LANPlayer::m_login
protected

login name

Definition at line 62 of file LANPlayer.h.

◆ m_name

UnicodeString LANPlayer::m_name
protected

Player name.

Definition at line 61 of file LANPlayer.h.

◆ m_next

LANPlayer* LANPlayer::m_next
protected

Linked list pointer.

Definition at line 65 of file LANPlayer.h.


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