Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (32 sloc) 917 Bytes
#ifndef __WHOLIST_H__
#define __WHOLIST_H__
namespace UOX
{
class cWhoList
{
private:
bool needsUpdating; // true if the list needs updating (new player online, new char made)
int gmCount; // number of GMs already in it
bool online;
SERLIST whoMenuData;
STRINGLIST one, two; // replacement for entries1, entries2
void Update( void ); // force the list to update
void ResetUpdateFlag( void );
void AddSerial( SERIAL toAdd );
void Delete( void );
void Command( CSocket *toSendTo, UI08 type, UI16 buttonPressed );
public:
cWhoList( bool trulyOnline = true );
~cWhoList();
void FlagUpdate( void );
void SendSocket( CSocket *toSendTo );
void GMEnter( void );
void GMLeave( void );
void ButtonSelect( CSocket *toSendTo, UI16 buttonPressed, UI08 type );
void ZeroWho( void );
void SetOnline( bool newValue );
};
extern cWhoList *WhoList;
extern cWhoList *OffList;
}
#endif
Something went wrong with that request. Please try again.