Quake II RTX doxygen  1.0 dev
serverslot_t Struct Reference

Public Types

enum  { SLOT_IDLE, SLOT_PENDING, SLOT_ERROR, SLOT_VALID }
 

Public Attributes

enum serverslot_t:: { ... }  status
 
netadr_t address
 
char * hostname
 
int numRules
 
char * rules [MAX_STATUS_RULES]
 
int numPlayers
 
char * players [MAX_STATUS_PLAYERS]
 
unsigned timestamp
 
uint32_t color
 
char name [1]
 

Detailed Description

Definition at line 48 of file servers.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SLOT_IDLE 
SLOT_PENDING 
SLOT_ERROR 
SLOT_VALID 

Definition at line 49 of file servers.c.

49  {
50  SLOT_IDLE,
52  SLOT_ERROR,
54  } status;

Member Data Documentation

◆ address

netadr_t serverslot_t::address

◆ color

uint32_t serverslot_t::color

Definition at line 62 of file servers.c.

Referenced by AddServer(), PingSelected(), UI_ErrorEvent(), and UI_StatusEvent().

◆ hostname

char* serverslot_t::hostname

◆ name

char serverslot_t::name[1]

Definition at line 63 of file servers.c.

Referenced by namecmp(), and pingcmp().

◆ numPlayers

int serverslot_t::numPlayers

◆ numRules

int serverslot_t::numRules

◆ players

char* serverslot_t::players[MAX_STATUS_PLAYERS]

Definition at line 60 of file servers.c.

Referenced by FreeSlot(), UI_StatusEvent(), and UpdateSelection().

◆ rules

char* serverslot_t::rules[MAX_STATUS_RULES]

Definition at line 58 of file servers.c.

Referenced by FreeSlot(), UI_StatusEvent(), and UpdateSelection().

◆ status

◆ timestamp

unsigned serverslot_t::timestamp

Definition at line 61 of file servers.c.

Referenced by AddServer(), PingSelected(), UI_ErrorEvent(), UI_Frame(), and UI_StatusEvent().

serverslot_t::status
enum serverslot_t::@8 status
serverslot_t::SLOT_VALID
@ SLOT_VALID
Definition: servers.c:53
serverslot_t::SLOT_ERROR
@ SLOT_ERROR
Definition: servers.c:52
serverslot_t::SLOT_PENDING
@ SLOT_PENDING
Definition: servers.c:51
serverslot_t::SLOT_IDLE
@ SLOT_IDLE
Definition: servers.c:50