Support entering of passworded rooms.

This commit is contained in:
Charles Lohr
2006-07-21 22:31:55 +00:00
parent 8921458276
commit 636dbcabcc
2 changed files with 52 additions and 10 deletions
+5
View File
@@ -13,13 +13,16 @@ public:
void SetName( const RString& name ) { m_name = name; }
void SetDescription( const RString& desc ) { m_description = desc; }
void SetState(unsigned int state) { m_state = state; }
void SetFlags( unsigned int iFlags ) { m_iFlags = iFlags; }
inline RString Name() { return m_name; }
inline RString Description() { return m_description; }
inline unsigned int State() { return m_state; }
inline unsigned int GetFlags() { return m_iFlags; }
private:
RString m_name;
RString m_description;
unsigned int m_state;
unsigned int m_iFlags;
};
class ScreenNetRoom : public ScreenNetSelectBase
@@ -53,6 +56,8 @@ private:
vector < RoomData > m_Rooms;
int m_iRoomPlace;
string m_sLastPickedRoom;
RString m_newRoomName, m_newRoomDesc, m_newRoomPass;
RoomWheel m_RoomWheel;