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

#include <PeerThread.h>

Public Types

enum  {
  PEERREQUEST_LOGIN , PEERREQUEST_LOGOUT , PEERREQUEST_MESSAGEPLAYER , PEERREQUEST_MESSAGEROOM ,
  PEERREQUEST_JOINGROUPROOM , PEERREQUEST_LEAVEGROUPROOM , PEERREQUEST_STARTGAMELIST , PEERREQUEST_STOPGAMELIST ,
  PEERREQUEST_CREATESTAGINGROOM , PEERREQUEST_SETGAMEOPTIONS , PEERREQUEST_JOINSTAGINGROOM , PEERREQUEST_LEAVESTAGINGROOM ,
  PEERREQUEST_UTMPLAYER , PEERREQUEST_UTMROOM , PEERREQUEST_STARTGAME , PEERREQUEST_STARTQUICKMATCH ,
  PEERREQUEST_WIDENQUICKMATCHSEARCH , PEERREQUEST_STOPQUICKMATCH , PEERREQUEST_PUSHSTATS , PEERREQUEST_GETEXTENDEDSTAGINGROOMINFO ,
  PEERREQUEST_MAX
}
 

Public Attributes

enum PeerRequest:: { ... }  peerRequestType
 
std::string nick
 
std::wstring text
 
std::string password
 
std::string email
 
std::string id
 
std::string options
 
std::string ladderIP
 
std::string hostPingStr
 
std::string gameOptsMapName
 
std::string gameOptsPlayerNames [MAX_SLOTS]
 
std::vector< boolqmMaps
 
union { 
 
   struct { 
 
      Int   profileID 
 
   }   login 
 
   struct { 
 
      Int   id 
 
   }   groupRoom 
 
   struct { 
 
      Bool   restrictGameList 
 
   }   gameList 
 
   struct { 
 
      Bool   isAction 
 
   }   message 
 
   struct { 
 
      Int   id 
 
   }   stagingRoom 
 
   struct { 
 
      UnsignedInt   exeCRC 
 
      UnsignedInt   iniCRC 
 
      UnsignedInt   gameVersion 
 
      Bool   allowObservers 
 
      Bool   useStats 
 
      UnsignedShort   ladPort 
 
      UnsignedInt   ladPassCRC 
 
      Bool   restrictGameList 
 
   }   stagingRoomCreation 
 
   struct { 
 
      Int   wins [MAX_SLOTS] 
 
      Int   losses [MAX_SLOTS] 
 
      Int   profileID [MAX_SLOTS] 
 
      Int   faction [MAX_SLOTS] 
 
      Int   color [MAX_SLOTS] 
 
      Int   numPlayers 
 
      Int   maxPlayers 
 
      Int   numObservers 
 
   }   gameOptions 
 
   struct { 
 
      Bool   isStagingRoom 
 
   }   UTM 
 
   struct { 
 
      Int   minPointPercentage 
 
      Int   maxPointPercentage 
 
      Int   points 
 
      Int   widenTime 
 
      Int   ladderID 
 
      UnsignedInt   ladderPassCRC 
 
      Int   maxPing 
 
      Int   maxDiscons 
 
      Int   discons 
 
      char   pings [17] 
 
      Int   numPlayers 
 
      Int   botID 
 
      Int   roomID 
 
      Int   side 
 
      Int   color 
 
      Int   NAT 
 
      UnsignedInt   exeCRC 
 
      UnsignedInt   iniCRC 
 
   }   QM 
 
   struct { 
 
      Int   locale 
 
      Int   wins 
 
      Int   losses 
 
      Int   rankPoints 
 
      Int   side 
 
      Bool   preorder 
 
   }   statsToPush 
 
};  
 

Detailed Description

Definition at line 46 of file PeerThread.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PEERREQUEST_LOGIN 
PEERREQUEST_LOGOUT 
PEERREQUEST_MESSAGEPLAYER 
PEERREQUEST_MESSAGEROOM 
PEERREQUEST_JOINGROUPROOM 
PEERREQUEST_LEAVEGROUPROOM 
PEERREQUEST_STARTGAMELIST 
PEERREQUEST_STOPGAMELIST 
PEERREQUEST_CREATESTAGINGROOM 
PEERREQUEST_SETGAMEOPTIONS 
PEERREQUEST_JOINSTAGINGROOM 
PEERREQUEST_LEAVESTAGINGROOM 
PEERREQUEST_UTMPLAYER 
PEERREQUEST_UTMROOM 
PEERREQUEST_STARTGAME 
PEERREQUEST_STARTQUICKMATCH 
PEERREQUEST_WIDENQUICKMATCHSEARCH 
PEERREQUEST_STOPQUICKMATCH 
PEERREQUEST_PUSHSTATS 
PEERREQUEST_GETEXTENDEDSTAGINGROOMINFO 
PEERREQUEST_MAX 

Definition at line 49 of file PeerThread.h.

Member Data Documentation

◆ [union]

union { ... } PeerRequest

◆ allowObservers

Bool PeerRequest::allowObservers

Definition at line 121 of file PeerThread.h.

◆ botID

Int PeerRequest::botID

Definition at line 155 of file PeerThread.h.

◆ color

Int PeerRequest::color

Definition at line 134 of file PeerThread.h.

◆ discons

Int PeerRequest::discons

Definition at line 152 of file PeerThread.h.

◆ email

std::string PeerRequest::email

Definition at line 77 of file PeerThread.h.

◆ exeCRC

UnsignedInt PeerRequest::exeCRC

Definition at line 118 of file PeerThread.h.

◆ faction

Int PeerRequest::faction[MAX_SLOTS]

Definition at line 133 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::gameList

◆ [struct]

struct { ... } PeerRequest::gameOptions

◆ gameOptsMapName

std::string PeerRequest::gameOptsMapName

Definition at line 84 of file PeerThread.h.

◆ gameOptsPlayerNames

std::string PeerRequest::gameOptsPlayerNames[MAX_SLOTS]

Definition at line 85 of file PeerThread.h.

◆ gameVersion

UnsignedInt PeerRequest::gameVersion

Definition at line 120 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::groupRoom

◆ hostPingStr

std::string PeerRequest::hostPingStr

Definition at line 83 of file PeerThread.h.

◆ id [1/2]

std::string PeerRequest::id

Definition at line 78 of file PeerThread.h.

◆ id [2/2]

Int PeerRequest::id

Definition at line 98 of file PeerThread.h.

◆ iniCRC

UnsignedInt PeerRequest::iniCRC

Definition at line 119 of file PeerThread.h.

◆ isAction

Bool PeerRequest::isAction

Definition at line 108 of file PeerThread.h.

◆ isStagingRoom

Bool PeerRequest::isStagingRoom

Definition at line 142 of file PeerThread.h.

◆ ladderID

Int PeerRequest::ladderID

Definition at line 149 of file PeerThread.h.

◆ ladderIP

std::string PeerRequest::ladderIP

Definition at line 82 of file PeerThread.h.

◆ ladderPassCRC

UnsignedInt PeerRequest::ladderPassCRC

Definition at line 150 of file PeerThread.h.

◆ ladPassCRC

UnsignedInt PeerRequest::ladPassCRC

Definition at line 124 of file PeerThread.h.

◆ ladPort

UnsignedShort PeerRequest::ladPort

Definition at line 123 of file PeerThread.h.

◆ locale

Int PeerRequest::locale

Definition at line 166 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::login

◆ losses

Int PeerRequest::losses

Definition at line 131 of file PeerThread.h.

◆ maxDiscons

Int PeerRequest::maxDiscons

Definition at line 152 of file PeerThread.h.

◆ maxPing

Int PeerRequest::maxPing

Definition at line 151 of file PeerThread.h.

◆ maxPlayers

Int PeerRequest::maxPlayers

Definition at line 136 of file PeerThread.h.

◆ maxPointPercentage

Int PeerRequest::maxPointPercentage

Definition at line 147 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::message

◆ minPointPercentage

Int PeerRequest::minPointPercentage

Definition at line 147 of file PeerThread.h.

◆ NAT

Int PeerRequest::NAT

Definition at line 159 of file PeerThread.h.

◆ nick

std::string PeerRequest::nick

Definition at line 74 of file PeerThread.h.

◆ numObservers

Int PeerRequest::numObservers

Definition at line 137 of file PeerThread.h.

◆ numPlayers

Int PeerRequest::numPlayers

Definition at line 135 of file PeerThread.h.

◆ options

std::string PeerRequest::options

Definition at line 81 of file PeerThread.h.

◆ password

std::string PeerRequest::password

Definition at line 76 of file PeerThread.h.

◆ []

enum { ... } PeerRequest::peerRequestType

◆ pings

char PeerRequest::pings[17]

Definition at line 153 of file PeerThread.h.

◆ points

Int PeerRequest::points

Definition at line 147 of file PeerThread.h.

◆ preorder

Bool PeerRequest::preorder

Definition at line 171 of file PeerThread.h.

◆ profileID

Int PeerRequest::profileID[MAX_SLOTS]

Definition at line 93 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::QM

◆ qmMaps

std::vector<bool> PeerRequest::qmMaps

Definition at line 87 of file PeerThread.h.

◆ rankPoints

Int PeerRequest::rankPoints

Definition at line 169 of file PeerThread.h.

◆ restrictGameList

Bool PeerRequest::restrictGameList

Definition at line 103 of file PeerThread.h.

◆ roomID

Int PeerRequest::roomID

Definition at line 156 of file PeerThread.h.

◆ side

Int PeerRequest::side

Definition at line 157 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::stagingRoom

◆ [struct]

struct { ... } PeerRequest::stagingRoomCreation

◆ [struct]

struct { ... } PeerRequest::statsToPush

◆ text

std::wstring PeerRequest::text

Definition at line 75 of file PeerThread.h.

◆ useStats

Bool PeerRequest::useStats

Definition at line 122 of file PeerThread.h.

◆ [struct]

struct { ... } PeerRequest::UTM

◆ widenTime

Int PeerRequest::widenTime

Definition at line 148 of file PeerThread.h.

◆ wins

Int PeerRequest::wins

Definition at line 130 of file PeerThread.h.


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