Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
server_remoteuserinterface.h
Go to the documentation of this file.
1
#ifndef SERVER_REMOTEUSERINTERFACE_H
2
#define SERVER_REMOTEUSERINTERFACE_H
3
4
#include "
server_abstractuserinterface.h
"
5
6
class
Server
;
7
class
ServerInfo_User_Container
;
8
9
class
Server_RemoteUserInterface
:
public
Server_AbstractUserInterface
10
{
11
public
:
12
Server_RemoteUserInterface
(
Server
*_server,
const
ServerInfo_User_Container
&_userInfoContainer)
13
:
Server_AbstractUserInterface
(_server, _userInfoContainer)
14
{
15
}
16
17
int
getLastCommandTime
()
const
18
{
19
return
0;
20
}
21
bool
addSaidMessageSize
(
int
/*size*/
)
22
{
23
return
true
;
24
}
25
26
void
sendProtocolItem
(
const
Response
&item);
27
void
sendProtocolItem
(
const
SessionEvent
&item);
28
void
sendProtocolItem
(
const
GameEventContainer
&item);
29
void
sendProtocolItem
(
const
RoomEvent
&item);
30
};
31
32
#endif
ServerInfo_User_Container
Definition
serverinfo_user_container.h:7
ServerInfo_User_Container::ServerInfo_User_Container
ServerInfo_User_Container(ServerInfo_User *_userInfo=nullptr)
Definition
serverinfo_user_container.cpp:5
Server_AbstractUserInterface::Server_AbstractUserInterface
Server_AbstractUserInterface(Server *_server)
Definition
server_abstractuserinterface.h:36
Server_RemoteUserInterface::addSaidMessageSize
bool addSaidMessageSize(int)
Definition
server_remoteuserinterface.h:21
Server_RemoteUserInterface::Server_RemoteUserInterface
Server_RemoteUserInterface(Server *_server, const ServerInfo_User_Container &_userInfoContainer)
Definition
server_remoteuserinterface.h:12
Server_RemoteUserInterface::sendProtocolItem
void sendProtocolItem(const Response &item)
Definition
server_remoteuserinterface.cpp:7
Server_RemoteUserInterface::getLastCommandTime
int getLastCommandTime() const
Definition
server_remoteuserinterface.h:17
Server
Definition
server.h:48
server_abstractuserinterface.h
GameEventContainer
Definition
game_event_container.proto:4
Response
Definition
response.proto:11
RoomEvent
Definition
room_event.proto:2
SessionEvent
Definition
session_event.proto:2
libcockatrice_network
libcockatrice
network
server
remote
server_remoteuserinterface.h
Generated by
1.18.0