make proto compatible to c++

This commit is contained in:
open-trade
2022-01-17 16:53:17 +08:00
parent 02cbc0d407
commit 92a1bb04e9
5 changed files with 19 additions and 14 deletions

View File

@@ -59,6 +59,7 @@ message RegisterPk {
message RegisterPkResponse {
enum Result {
UNKNOWN = 0;
OK = 1;
UUID_MISMATCH = 2;
ID_EXISTS = 3;
@@ -74,6 +75,7 @@ message PunchHoleResponse {
bytes socket_addr = 1;
bytes pk = 2;
enum Failure {
UNKNOWN = 0;
ID_NOT_EXIST = 1;
OFFLINE = 2;
LICENSE_MISMATCH = 3;