partey_workadventure/messages/protos/messages.proto

481 lines
11 KiB
Protocol Buffer
Raw Normal View History

syntax = "proto3";
/*********** PARTIAL MESSAGES **************/
message PositionMessage {
int32 x = 1;
int32 y = 2;
enum Direction {
UP = 0;
RIGHT = 1;
DOWN = 2;
LEFT = 3;
}
Direction direction = 3;
bool moving = 4;
}
2020-09-18 17:47:18 +02:00
message PointMessage {
int32 x = 1;
int32 y = 2;
}
message ViewportMessage {
int32 left = 1;
int32 top = 2;
int32 right = 3;
int32 bottom = 4;
}
2020-09-28 18:52:54 +02:00
message SilentMessage {
bool silent = 1;
}
2020-10-20 16:39:23 +02:00
message CharacterLayerMessage {
string url = 1;
string name = 2;
}
2021-04-06 18:54:45 +02:00
message CompanionMessage {
2021-04-02 21:21:11 +02:00
string name = 1;
}
/*********** CLIENT TO SERVER MESSAGES *************/
message PingMessage {
}
message SetPlayerDetailsMessage {
string name = 1;
repeated string characterLayers = 2;
}
message UserMovesMessage {
PositionMessage position = 1;
ViewportMessage viewport = 2;
}
2020-09-29 16:01:22 +02:00
message WebRtcSignalToServerMessage {
int32 receiverId = 1;
string signal = 2;
}
2020-10-12 11:22:41 +02:00
message ReportPlayerMessage {
string reportedUserUuid = 1;
2020-10-12 11:22:41 +02:00
string reportComment = 2;
}
message EmotePromptMessage {
string emote = 2;
}
message EmoteEventMessage {
int32 actorUserId = 1;
string emote = 2;
}
2020-10-16 19:13:26 +02:00
message QueryJitsiJwtMessage {
string jitsiRoom = 1;
string tag = 2; // FIXME: rather than reading the tag from the query, we should read it from the current map!
}
2020-09-28 18:52:54 +02:00
message ClientToServerMessage {
oneof message {
UserMovesMessage userMovesMessage = 2;
SilentMessage silentMessage = 3;
ViewportMessage viewportMessage = 4;
ItemEventMessage itemEventMessage = 5;
SetPlayerDetailsMessage setPlayerDetailsMessage = 6;
2020-09-29 16:01:22 +02:00
WebRtcSignalToServerMessage webRtcSignalToServerMessage = 7;
WebRtcSignalToServerMessage webRtcScreenSharingSignalToServerMessage = 8;
PlayGlobalMessage playGlobalMessage = 9;
StopGlobalMessage stopGlobalMessage = 10;
2020-10-12 11:22:41 +02:00
ReportPlayerMessage reportPlayerMessage = 11;
2020-10-16 19:13:26 +02:00
QueryJitsiJwtMessage queryJitsiJwtMessage = 12;
EmotePromptMessage emotePromptMessage = 13;
VariableMessage variableMessage = 14;
2020-09-28 18:52:54 +02:00
}
}
2020-09-24 17:24:37 +02:00
/************ BI-DIRECTIONAL MESSAGES **************/
message ItemEventMessage {
int32 itemId = 1;
string event = 2;
string stateJson = 3;
string parametersJson = 4;
}
message VariableMessage {
string name = 1;
string value = 2;
}
/**
* A variable, along the tag describing who it is targeted at
*/
message VariableWithTagMessage {
string name = 1;
string value = 2;
string readableBy = 3;
}
message PlayGlobalMessage {
string id = 1;
string type = 2;
string message = 3;
}
message StopGlobalMessage {
string id = 1;
}
/*********** SERVER TO CLIENT MESSAGES *************/
message UserMovedMessage {
int32 userId = 1;
PositionMessage position = 2;
}
message SubMessage {
oneof message {
UserMovedMessage userMovedMessage = 1;
2020-09-24 10:05:16 +02:00
GroupUpdateMessage groupUpdateMessage = 2;
GroupDeleteMessage groupDeleteMessage = 3;
2020-09-24 14:50:28 +02:00
UserJoinedMessage userJoinedMessage = 4;
2020-09-24 16:11:47 +02:00
UserLeftMessage userLeftMessage = 5;
2020-09-24 17:24:37 +02:00
ItemEventMessage itemEventMessage = 6;
EmoteEventMessage emoteEventMessage = 7;
VariableMessage variableMessage = 8;
ErrorMessage errorMessage = 9;
}
}
message BatchMessage {
string event = 1;
repeated SubMessage payload = 2;
}
2020-09-18 17:47:18 +02:00
message GroupUpdateMessage {
int32 groupId = 1;
PointMessage position = 2;
int32 groupSize = 3;
2020-09-18 17:47:18 +02:00
}
message GroupDeleteMessage {
int32 groupId = 1;
}
2020-09-24 14:50:28 +02:00
message UserJoinedMessage {
int32 userId = 1;
string name = 2;
2020-10-20 16:39:23 +02:00
repeated CharacterLayerMessage characterLayers = 3;
2020-09-24 14:50:28 +02:00
PositionMessage position = 4;
2021-04-06 18:54:45 +02:00
CompanionMessage companion = 5;
string visitCardUrl = 6;
string userUuid = 7;
2020-09-24 14:50:28 +02:00
}
2020-09-24 16:11:47 +02:00
message UserLeftMessage {
int32 userId = 1;
}
2020-09-28 18:52:54 +02:00
message ErrorMessage {
string message = 1;
}
message ItemStateMessage {
int32 itemId = 1;
string stateJson = 2;
}
message RoomJoinedMessage {
//repeated UserJoinedMessage user = 1;
//repeated GroupUpdateMessage group = 2;
2020-09-28 18:52:54 +02:00
repeated ItemStateMessage item = 3;
int32 currentUserId = 4;
repeated string tag = 5;
repeated VariableMessage variable = 6;
2020-09-28 18:52:54 +02:00
}
2020-09-29 16:01:22 +02:00
message WebRtcStartMessage {
int32 userId = 1;
bool initiator = 3;
string webrtcUserName = 4;
string webrtcPassword = 5;
2020-09-29 16:01:22 +02:00
}
2020-09-28 18:52:54 +02:00
2020-09-29 16:01:22 +02:00
message WebRtcDisconnectMessage {
int32 userId = 1;
}
2020-09-28 18:52:54 +02:00
2020-09-29 16:01:22 +02:00
message WebRtcSignalToClientMessage {
int32 userId = 1;
string signal = 2;
string webrtcUserName = 4;
string webrtcPassword = 5;
2020-09-29 16:01:22 +02:00
}
2020-09-28 18:52:54 +02:00
message TeleportMessageMessage{
string map = 1;
}
2020-10-16 19:13:26 +02:00
message SendJitsiJwtMessage {
string jitsiRoom = 1;
string jwt = 2;
}
message SendUserMessage{
string type = 1;
string message = 2;
}
message WorldFullWarningMessage{
}
message WorldFullWarningToRoomMessage{
string roomId = 1;
}
message RefreshRoomPromptMessage{
string roomId = 1;
}
message RefreshRoomMessage{
string roomId = 1;
int32 versionNumber = 2;
}
message WorldFullMessage{
}
Squashed commit of the following: commit 41748a403686cffd5008be966f7cb04e6ca3e45a Merge: 3b1d4d63 4991a70b Author: grégoire parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 21:38:37 2021 +0200 Merge pull request #1327 from thecodingmachine/hotFixErrorCardBack Fix error generated commit 4991a70bba40121b14650bc0baba3552cca1a09e Author: Gregoire Parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 21:34:03 2021 +0200 Fix error generated Don't generate error if file is Invalid commit 3b1d4d630cc1c7ce21ac50e169463aeb7d5d3811 Merge: f52b4598 02e5860e Author: grégoire parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 21:03:18 2021 +0200 Merge pull request #1326 from thecodingmachine/HotFixCreateMapFeature Hot fix create map feature commit 02e5860e43eba0283f7c055d12bbf2e916e10b9a Author: Gregoire Parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 20:59:13 2021 +0200 HotFix redirect on production domain of WorkAdventure - Update domain `ADMIN_URL` by `workadventu.re` commit f52b4598723331ff68d7526cdc32f1eff15a0d8a Merge: 3d657b4a 3ab069d6 Author: grégoire parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 11:23:16 2021 +0200 Merge pull request #1324 from thecodingmachine/develop Release v1.4.11 commit 3ab069d650d94aecd42bebea8b27bf8ac93ed81b Merge: 2b748138 9d4ffe54 Author: Kharhamel <Kharhamel@users.noreply.github.com> Date: Fri Jul 30 15:51:07 2021 +0200 Merge pull request #1323 from thecodingmachine/openIDPoc FIX: bomp the node version of pusher commit 9d4ffe542c9c0a094a78e1d6c8c8b11641052a10 Author: kharhamel <oognic@gmail.com> Date: Fri Jul 30 15:50:30 2021 +0200 FIX: bomp the node version of pusher commit 2b7481383f6f3f085c4c145394b3d63b75eed239 Merge: 74975ac9 9c803a69 Author: Kharhamel <Kharhamel@users.noreply.github.com> Date: Fri Jul 30 15:48:56 2021 +0200 Merge pull request #1251 from thecodingmachine/openIDPoc POC for the openID connect commit 9c803a69ffb8a1a06a1cdd4d86f15d2a7cdfcd08 Author: kharhamel <oognic@gmail.com> Date: Tue Jul 27 16:37:01 2021 +0200 FEATURE: users can now login via an openID client commit 74975ac9d81f224d30fe3b3eec180b3ef895cbeb Merge: 315fe7ca ebdcf880 Author: Kharhamel <Kharhamel@users.noreply.github.com> Date: Fri Jul 30 14:54:33 2021 +0200 Merge pull request #1322 from thecodingmachine/improveCapacityWarning FEATURE: improved the room capacity warning visuals commit ebdcf8804d7ab72a51bac10eeb476467caa16f43 Author: kharhamel <oognic@gmail.com> Date: Fri Jul 30 14:08:27 2021 +0200 added admin link to the warning container commit 41ac51f2918b743da445a2ba3b89bd8f66e08e06 Author: kharhamel <oognic@gmail.com> Date: Thu Jul 29 18:02:36 2021 +0200 FEATURE: improved the room capacity warning visuals commit 315fe7ca82b3674d07136d7a96233d827804d177 Author: David Négrier <d.negrier@thecodingmachine.com> Date: Thu Jul 29 17:49:51 2021 +0200 Adding a "font-family" property for text objects. (#1311) - Tiled displays your system fonts. - Computers have different sets of fonts. Therefore, browsers never rely on system fonts - Which means if you select a font in Tiled, it is quite unlikely it will render properly in WorkAdventure To circumvent this problem, in your text object in Tiled, you can now add an additional property: `font-family`. The `font-family` property can contain any "web-font" that can be loaded by your browser. This allows us to use the "Press Start 2P" 8px font in text objects, which renders way better than the default "Sans serif" font of your browser. commit 7ffe564e8eddcfdc0ef8c20d09f43405934e83f9 Author: GRL78 <80678534+GRL78@users.noreply.github.com> Date: Thu Jul 29 17:42:16 2021 +0200 Graphic upgrade of the global message console (#1287) * Graphic upgrade of the global message console Fix: error if LoginScene doesn't exist * Rework graphic of global message console * Rework graphic of global message console * Remove console.log commit 2a1af2a131f72ad5a00b6f4a4990a12fcedb0342 Author: grégoire parant <g.parant@thecodingmachine.com> Date: Thu Jul 29 16:42:31 2021 +0200 PWA service workers (#1319) * PWA services worker - [x] Register service worker of PWA to install WorkAdventure application on desktop and mobile - [x] Create webpage specifique for PWA - [ ] Add register service to save and redirect on a card - [ ] Add possibilities to install PWA for one World (with register token if existing) * Finish PWA strategy to load last map visited * Fix feedback @Kharhamel * Fix feedback @Kharhamel
2021-08-02 22:06:24 +02:00
message TokenExpiredMessage{
}
message WorldConnexionMessage{
string message = 2;
}
2021-01-17 03:07:46 +01:00
message BanUserMessage{
string type = 1;
string message = 2;
}
2020-09-28 18:52:54 +02:00
message ServerToClientMessage {
oneof message {
BatchMessage batchMessage = 1;
ErrorMessage errorMessage = 2;
RoomJoinedMessage roomJoinedMessage = 3;
WebRtcStartMessage webRtcStartMessage = 4;
WebRtcSignalToClientMessage webRtcSignalToClientMessage = 5;
WebRtcSignalToClientMessage webRtcScreenSharingSignalToClientMessage = 6;
WebRtcDisconnectMessage webRtcDisconnectMessage = 7;
PlayGlobalMessage playGlobalMessage = 8;
StopGlobalMessage stopGlobalMessage = 9;
TeleportMessageMessage teleportMessageMessage = 10;
2020-10-16 19:13:26 +02:00
SendJitsiJwtMessage sendJitsiJwtMessage = 11;
SendUserMessage sendUserMessage = 12;
2021-01-17 03:07:46 +01:00
BanUserMessage banUserMessage = 13;
AdminRoomMessage adminRoomMessage = 14;
WorldFullWarningMessage worldFullWarningMessage = 15;
WorldFullMessage worldFullMessage = 16;
RefreshRoomMessage refreshRoomMessage = 17;
WorldConnexionMessage worldConnexionMessage = 18;
EmoteEventMessage emoteEventMessage = 19;
Squashed commit of the following: commit 41748a403686cffd5008be966f7cb04e6ca3e45a Merge: 3b1d4d63 4991a70b Author: grégoire parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 21:38:37 2021 +0200 Merge pull request #1327 from thecodingmachine/hotFixErrorCardBack Fix error generated commit 4991a70bba40121b14650bc0baba3552cca1a09e Author: Gregoire Parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 21:34:03 2021 +0200 Fix error generated Don't generate error if file is Invalid commit 3b1d4d630cc1c7ce21ac50e169463aeb7d5d3811 Merge: f52b4598 02e5860e Author: grégoire parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 21:03:18 2021 +0200 Merge pull request #1326 from thecodingmachine/HotFixCreateMapFeature Hot fix create map feature commit 02e5860e43eba0283f7c055d12bbf2e916e10b9a Author: Gregoire Parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 20:59:13 2021 +0200 HotFix redirect on production domain of WorkAdventure - Update domain `ADMIN_URL` by `workadventu.re` commit f52b4598723331ff68d7526cdc32f1eff15a0d8a Merge: 3d657b4a 3ab069d6 Author: grégoire parant <g.parant@thecodingmachine.com> Date: Mon Aug 2 11:23:16 2021 +0200 Merge pull request #1324 from thecodingmachine/develop Release v1.4.11 commit 3ab069d650d94aecd42bebea8b27bf8ac93ed81b Merge: 2b748138 9d4ffe54 Author: Kharhamel <Kharhamel@users.noreply.github.com> Date: Fri Jul 30 15:51:07 2021 +0200 Merge pull request #1323 from thecodingmachine/openIDPoc FIX: bomp the node version of pusher commit 9d4ffe542c9c0a094a78e1d6c8c8b11641052a10 Author: kharhamel <oognic@gmail.com> Date: Fri Jul 30 15:50:30 2021 +0200 FIX: bomp the node version of pusher commit 2b7481383f6f3f085c4c145394b3d63b75eed239 Merge: 74975ac9 9c803a69 Author: Kharhamel <Kharhamel@users.noreply.github.com> Date: Fri Jul 30 15:48:56 2021 +0200 Merge pull request #1251 from thecodingmachine/openIDPoc POC for the openID connect commit 9c803a69ffb8a1a06a1cdd4d86f15d2a7cdfcd08 Author: kharhamel <oognic@gmail.com> Date: Tue Jul 27 16:37:01 2021 +0200 FEATURE: users can now login via an openID client commit 74975ac9d81f224d30fe3b3eec180b3ef895cbeb Merge: 315fe7ca ebdcf880 Author: Kharhamel <Kharhamel@users.noreply.github.com> Date: Fri Jul 30 14:54:33 2021 +0200 Merge pull request #1322 from thecodingmachine/improveCapacityWarning FEATURE: improved the room capacity warning visuals commit ebdcf8804d7ab72a51bac10eeb476467caa16f43 Author: kharhamel <oognic@gmail.com> Date: Fri Jul 30 14:08:27 2021 +0200 added admin link to the warning container commit 41ac51f2918b743da445a2ba3b89bd8f66e08e06 Author: kharhamel <oognic@gmail.com> Date: Thu Jul 29 18:02:36 2021 +0200 FEATURE: improved the room capacity warning visuals commit 315fe7ca82b3674d07136d7a96233d827804d177 Author: David Négrier <d.negrier@thecodingmachine.com> Date: Thu Jul 29 17:49:51 2021 +0200 Adding a "font-family" property for text objects. (#1311) - Tiled displays your system fonts. - Computers have different sets of fonts. Therefore, browsers never rely on system fonts - Which means if you select a font in Tiled, it is quite unlikely it will render properly in WorkAdventure To circumvent this problem, in your text object in Tiled, you can now add an additional property: `font-family`. The `font-family` property can contain any "web-font" that can be loaded by your browser. This allows us to use the "Press Start 2P" 8px font in text objects, which renders way better than the default "Sans serif" font of your browser. commit 7ffe564e8eddcfdc0ef8c20d09f43405934e83f9 Author: GRL78 <80678534+GRL78@users.noreply.github.com> Date: Thu Jul 29 17:42:16 2021 +0200 Graphic upgrade of the global message console (#1287) * Graphic upgrade of the global message console Fix: error if LoginScene doesn't exist * Rework graphic of global message console * Rework graphic of global message console * Remove console.log commit 2a1af2a131f72ad5a00b6f4a4990a12fcedb0342 Author: grégoire parant <g.parant@thecodingmachine.com> Date: Thu Jul 29 16:42:31 2021 +0200 PWA service workers (#1319) * PWA services worker - [x] Register service worker of PWA to install WorkAdventure application on desktop and mobile - [x] Create webpage specifique for PWA - [ ] Add register service to save and redirect on a card - [ ] Add possibilities to install PWA for one World (with register token if existing) * Finish PWA strategy to load last map visited * Fix feedback @Kharhamel * Fix feedback @Kharhamel
2021-08-02 22:06:24 +02:00
TokenExpiredMessage tokenExpiredMessage = 20;
2020-09-28 18:52:54 +02:00
}
}
/************************** SERVICES **************************/
message JoinRoomMessage {
PositionMessage positionMessage = 1;
string name = 2;
repeated CharacterLayerMessage characterLayer = 3;
string userUuid = 4;
string roomId = 5;
repeated string tag = 6;
2021-01-15 03:19:58 +01:00
string IPAddress = 7;
2021-04-06 18:54:45 +02:00
CompanionMessage companion = 8;
string visitCardUrl = 9;
}
message UserJoinedZoneMessage {
int32 userId = 1;
string name = 2;
repeated CharacterLayerMessage characterLayers = 3;
PositionMessage position = 4;
Zone fromZone = 5;
2021-04-06 18:54:45 +02:00
CompanionMessage companion = 6;
string visitCardUrl = 7;
string userUuid = 8;
}
message UserLeftZoneMessage {
int32 userId = 1;
Zone toZone = 2;
}
message GroupUpdateZoneMessage {
int32 groupId = 1;
PointMessage position = 2;
int32 groupSize = 3;
Zone fromZone = 4;
}
message GroupLeftZoneMessage {
int32 groupId = 1;
Zone toZone = 2;
}
message Zone {
int32 x = 1;
int32 y = 2;
}
message ZoneMessage {
string roomId = 1;
int32 x = 2;
int32 y = 3;
}
2021-07-06 15:30:49 +02:00
message RoomMessage {
string roomId = 1;
}
message PusherToBackMessage {
oneof message {
JoinRoomMessage joinRoomMessage = 1;
UserMovesMessage userMovesMessage = 2;
SilentMessage silentMessage = 3;
2020-12-11 16:47:59 +01:00
ItemEventMessage itemEventMessage = 4;
SetPlayerDetailsMessage setPlayerDetailsMessage = 5;
WebRtcSignalToServerMessage webRtcSignalToServerMessage = 6;
WebRtcSignalToServerMessage webRtcScreenSharingSignalToServerMessage = 7;
PlayGlobalMessage playGlobalMessage = 8;
StopGlobalMessage stopGlobalMessage = 9;
ReportPlayerMessage reportPlayerMessage = 10;
QueryJitsiJwtMessage queryJitsiJwtMessage = 11;
2021-01-17 03:07:46 +01:00
SendUserMessage sendUserMessage = 12;
BanUserMessage banUserMessage = 13;
EmotePromptMessage emotePromptMessage = 14;
VariableMessage variableMessage = 15;
}
}
message BatchToPusherMessage {
repeated SubToPusherMessage payload = 2;
}
message SubToPusherMessage {
oneof message {
UserJoinedZoneMessage userJoinedZoneMessage = 1;
GroupUpdateZoneMessage groupUpdateZoneMessage = 2;
UserMovedMessage userMovedMessage = 3;
GroupLeftZoneMessage groupLeftZoneMessage = 4;
UserLeftZoneMessage userLeftZoneMessage = 5;
ItemEventMessage itemEventMessage = 6;
2020-12-11 12:23:50 +01:00
SendUserMessage sendUserMessage = 7;
2021-01-17 03:07:46 +01:00
BanUserMessage banUserMessage = 8;
EmoteEventMessage emoteEventMessage = 9;
ErrorMessage errorMessage = 10;
}
}
2021-07-06 15:30:49 +02:00
message BatchToPusherRoomMessage {
repeated SubToPusherRoomMessage payload = 2;
}
message SubToPusherRoomMessage {
oneof message {
VariableWithTagMessage variableMessage = 1;
ErrorMessage errorMessage = 2;
2021-07-06 15:30:49 +02:00
}
}
/*message BatchToAdminPusherMessage {
repeated SubToAdminPusherMessage payload = 2;
}*/
/*message SubToAdminPusherMessage {
oneof message {
string userUuidJoinedRoom = 1;
string userUuidLeftRoom = 2;
}
}
message ServerToAdminClientMessage {
repeated SubToAdminPusherMessage payload = 2;
}*/
2021-01-18 15:07:40 +01:00
message UserJoinedRoomMessage {
string uuid = 1;
string ipAddress = 2;
string name = 3;
}
message UserLeftRoomMessage {
string uuid = 1;
}
message ServerToAdminClientMessage {
oneof message {
2021-01-18 15:07:40 +01:00
UserJoinedRoomMessage userJoinedRoom = 1;
UserLeftRoomMessage userLeftRoom = 2;
}
}
message AdminPusherToBackMessage {
oneof message {
string subscribeToRoom = 1;
// TODO ban, unban
}
}
2020-12-11 12:23:50 +01:00
// A message sent by an administrator to a recipient
message AdminMessage {
string message = 1;
string recipientUuid = 2;
string roomId = 3;
2021-03-11 01:25:36 +01:00
string type = 4;
2020-12-11 12:23:50 +01:00
}
// A message sent by an administrator to everyone in a specific room
message AdminRoomMessage {
string message = 1;
string roomId = 2;
}
2020-12-11 12:23:50 +01:00
// A message sent by an administrator to absolutely everybody
message AdminGlobalMessage {
string message = 1;
}
message BanMessage {
string recipientUuid = 1;
string roomId = 2;
2021-03-11 01:25:36 +01:00
string type = 3;
string message = 4;
2020-12-11 12:23:50 +01:00
}
message EmptyMessage {
}
2021-07-06 15:30:49 +02:00
/**
* Service handled by the "back". Pusher servers connect to this service.
*/
service RoomManager {
2021-07-06 15:30:49 +02:00
rpc joinRoom(stream PusherToBackMessage) returns (stream ServerToClientMessage); // Holds a connection between one given client and the back
rpc listenZone(ZoneMessage) returns (stream BatchToPusherMessage); // Connection used to send to a pusher messages related to a given zone of a given room
rpc listenRoom(RoomMessage) returns (stream BatchToPusherRoomMessage); // Connection used to send to a pusher messages related to a given room
rpc adminRoom(stream AdminPusherToBackMessage) returns (stream ServerToAdminClientMessage);
2020-12-11 12:23:50 +01:00
rpc sendAdminMessage(AdminMessage) returns (EmptyMessage);
rpc sendGlobalAdminMessage(AdminGlobalMessage) returns (EmptyMessage);
rpc ban(BanMessage) returns (EmptyMessage);
rpc sendAdminMessageToRoom(AdminRoomMessage) returns (EmptyMessage);
rpc sendWorldFullWarningToRoom(WorldFullWarningToRoomMessage) returns (EmptyMessage);
rpc sendRefreshRoomPrompt(RefreshRoomPromptMessage) returns (EmptyMessage);
}