mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
more ISL code: join, leave, and userMessage work on both sides
This commit is contained in:
parent
5963c2239c
commit
0ae18d7b2e
16 changed files with 363 additions and 112 deletions
19
common/serverinfo_user_container.h
Normal file
19
common/serverinfo_user_container.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef SERVERINFO_USER_CONTAINER
|
||||
#define SERVERINFO_USER_CONTAINER
|
||||
|
||||
class ServerInfo_User;
|
||||
|
||||
class ServerInfo_User_Container {
|
||||
protected:
|
||||
ServerInfo_User *userInfo;
|
||||
public:
|
||||
ServerInfo_User_Container(ServerInfo_User *_userInfo = 0);
|
||||
ServerInfo_User_Container(const ServerInfo_User &_userInfo);
|
||||
ServerInfo_User_Container(const ServerInfo_User_Container &other);
|
||||
virtual ~ServerInfo_User_Container();
|
||||
ServerInfo_User *getUserInfo() const { return userInfo; }
|
||||
void setUserInfo(const ServerInfo_User &_userInfo);
|
||||
ServerInfo_User copyUserInfo(bool complete, bool moderatorInfo = false) const;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue