Commit 85788b6a authored by Chunchi Che's avatar Chunchi Che

add StocErrorMsg

parent d6c01dd8
Pipeline #23125 passed with stage
in 24 seconds
......@@ -95,6 +95,7 @@ message YgoStocMsg {
StocDuelStart stoc_duel_start = 11;
StocGameMessage stoc_game_msg = 12;
StocTimeLimit stoc_time_limit = 13;
StocErrorMsg stoc_error_msg = 14;
}
}
......@@ -215,6 +216,20 @@ message StocChat {
string msg = 2;
}
// 错误信息
message StocErrorMsg {
enum ErrorType {
UNKNOWN = 0;
JOINERROR = 1; // 加入房间错误
DECKERROR = 2; // 卡组错误
SIDEERROR = 3; // 副卡组错误
VERSIONERROR = 4; // 版本错误
}
ErrorType error_type = 1; // 错误类型
int32 error_code = 2; // 错误码
}
// 有玩家进入房间
message StocHsPlayerEnter {
string name = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment