Commit 0c283e9a authored by Chunchi Che's avatar Chunchi Che

fix sort_card

parent fb92cd6f
Pipeline #21054 passed with stage
in 20 seconds
...@@ -168,6 +168,9 @@ message CtosGameMsgResponse { ...@@ -168,6 +168,9 @@ message CtosGameMsgResponse {
message SelectCounterResponse { message SelectCounterResponse {
repeated int32 selected_count = 1; // 后端传给端上的每个Option都要返回选择值 repeated int32 selected_count = 1; // 后端传给端上的每个Option都要返回选择值
} }
message SortCardResponse {
repeated int32 sorted_index = 1; // 排序后的index
}
oneof gameMsgResponse { oneof gameMsgResponse {
SelectIdleCmdResponse select_idle_cmd = 1; SelectIdleCmdResponse select_idle_cmd = 1;
...@@ -180,11 +183,11 @@ message CtosGameMsgResponse { ...@@ -180,11 +183,11 @@ message CtosGameMsgResponse {
SelectBattleCmdResponse select_battle_cmd = 8; SelectBattleCmdResponse select_battle_cmd = 8;
SelectUnselectCardResponse select_unselect_card = 9; SelectUnselectCardResponse select_unselect_card = 9;
SelectCounterResponse select_counter_response = 10; SelectCounterResponse select_counter_response = 10;
SortCardResponse sort_card = 11;
} }
} }
// ----- STOC ----- // ----- STOC -----
// 服务端告诉前端/客户端已成功加入房间, // 服务端告诉前端/客户端已成功加入房间,
// 附带上对局的信息 // 附带上对局的信息
message StocJoinGame { message StocJoinGame {
......
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