add private to welcome + bump to v2.0.3
This commit is contained in:
parent
68af1998d4
commit
b9aa613e1d
4 changed files with 10 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
"name": "pianoverse",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"version": "v2.0.2",
|
||||
"version": "v2.0.3",
|
||||
"license": "GPL-3.0-only",
|
||||
"homepage": "https://git.sad.ovh/sophie/pianoverse",
|
||||
"bugs": "https://git.sad.ovh/sophie/pianoverse/issues",
|
||||
|
|
2
pb.js
2
pb.js
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
// PV version = 6202927ae53e43bafd8b8fd3be1ffcaaa45426a3
|
||||
// PV version = 9f40d6b9a23fc72f42529f25f4844b283ea7c20b
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
|
@ -101,6 +101,7 @@ message ServerMessage {
|
|||
string owner = 5;
|
||||
repeated Chat chat = 6;
|
||||
Role role = 7;
|
||||
bool private = 8;
|
||||
}
|
||||
Move move = 7;
|
||||
Press press = 8;
|
||||
|
|
|
@ -762,6 +762,11 @@ export class ServerMessage_Welcome extends Message<ServerMessage_Welcome> {
|
|||
*/
|
||||
role = Role.USER;
|
||||
|
||||
/**
|
||||
* @generated from field: bool private = 8;
|
||||
*/
|
||||
private = false;
|
||||
|
||||
constructor(data?: PartialMessage<ServerMessage_Welcome>) {
|
||||
super();
|
||||
proto3.util.initPartial(data, this);
|
||||
|
@ -777,6 +782,7 @@ export class ServerMessage_Welcome extends Message<ServerMessage_Welcome> {
|
|||
{ no: 5, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
||||
{ no: 6, name: "chat", kind: "message", T: ServerMessage_Chat, repeated: true },
|
||||
{ no: 7, name: "role", kind: "enum", T: proto3.getEnumType(Role) },
|
||||
{ no: 8, name: "private", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
||||
]);
|
||||
|
||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerMessage_Welcome {
|
||||
|
|
Loading…
Reference in a new issue