get rid of pianoverse.ServerMessage.Join and fix roles
This commit is contained in:
parent
0799979fd2
commit
87b903c650
3 changed files with 41 additions and 86 deletions
|
|
@ -55,7 +55,11 @@ message ClientMessage {
|
|||
|
||||
string chown = 15;
|
||||
}
|
||||
|
||||
enum Role {
|
||||
USER = 0;
|
||||
MODERATOR = 1;
|
||||
DEVELOPER = 2;
|
||||
}
|
||||
message ServerMessage {
|
||||
enum EventType {
|
||||
PONG = 0;
|
||||
|
|
@ -115,15 +119,7 @@ message ServerMessage {
|
|||
}
|
||||
|
||||
Profile profile = 10;
|
||||
Join join = 11;
|
||||
message Join {
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
string color = 3;
|
||||
int32 role = 4;
|
||||
float x = 6;
|
||||
float y = 7;
|
||||
}
|
||||
Profile join = 11;
|
||||
string leave = 12;
|
||||
|
||||
int32 rateLimit = 13;
|
||||
|
|
@ -137,7 +133,7 @@ message Profile {
|
|||
string id = 1;
|
||||
string name = 2;
|
||||
string color = 3;
|
||||
string sound = 4;
|
||||
Role role = 4;
|
||||
bool muted = 5;
|
||||
float x = 6;
|
||||
float y = 7;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue