85 char nick[PI_NICK_MAX_LEN];
88 peerNickErrorCallback nickErrorCallback;
89 gsi_time lastChatPing;
93 unsigned int publicIP;
94 unsigned int privateIP;
96 char title[PI_TITLE_MAX_LEN];
99 unsigned short title_W[PI_TITLE_MAX_LEN];
100 unsigned short nick_W[PI_NICK_MAX_LEN];
101 unsigned short names_W[NumRooms][PI_NAME_MAX_LEN];
102 unsigned short rooms_W[NumRooms][PI_ROOM_MAX_LEN];
107 char rooms[NumRooms][PI_ROOM_MAX_LEN];
108 PEERBool enteringRoom[NumRooms];
109 PEERBool inRoom[NumRooms];
110 char names[NumRooms][PI_NAME_MAX_LEN];
111 int oldFlags[NumRooms];
113 char titleRoomChannel[PI_ROOM_MAX_LEN];
114 PEERBool stayInTitleRoom;
119 int numPlayers[NumRooms];
120 PEERBool alwaysRequestPlayerInfo;
126 PEERBool pingRoom[NumRooms];
127 PEERBool xpingRoom[NumRooms];
129 unsigned int lastXpingSend;
133 qr2_t queryReporting;
134 char qrSecretKey[64];
135 PEERBool natNegotiate;
136 int reportingOptions;
137 int reportingGroupID;
144 PEERBool passwordedRoom;
153 char sbName[PI_SB_LEN];
154 char sbSecretKey[PI_SB_LEN];
157 PEERBool sbInitialized;
158 SBServerList gameList;
159 SBServerList groupList;
160 SBQueryEngine gameEngine;
161 peerListingGamesCallback gameListCallback;
162 void * gameListParam;
163 PEERBool initialGameList;
172 DArray operationList;
173 int operationsStarted;
174 int operationsFinished;
187 char awayReason[PI_AWAY_MAX_LEN];
191 HashTable globalWatchKeys[NumRooms];
192 HashTable roomWatchKeys[NumRooms];
193 HashTable globalWatchCache;
194 HashTable roomWatchCache[NumRooms];
198 PEERAutoMatchStatus autoMatchStatus;
199 SBServerList autoMatchList;
200 SBQueryEngine autoMatchEngine;
201 PEERBool autoMatchBrowsing;
203 qr2_t autoMatchReporting;
204 char * autoMatchFilter;
205 PEERBool autoMatchSBFailed;
206 PEERBool autoMatchQRFailed;
214void piSendChannelUTM(PEER peer,
const char * channel,
const char * command,
const char * parameters, PEERBool authenticate);
215void piSendPlayerUTM(PEER peer,
const char * nick,
const char * command,
const char * parameters, PEERBool authenticate);