GC-Proto/proto/GCGDuel.proto

48 lines
1.7 KiB
Protocol Buffer

// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
import "GCGCard.proto";
import "GCGControllerShowInfo.proto";
import "GCGCostReviseInfo.proto";
import "GCGDuelChallenge.proto";
import "GCGGameBusinessType.proto";
import "GCGPVEIntention.proto";
import "GCGPhase.proto";
import "GCGPlayerField.proto";
option java_package = "emu.grasscutter.net.proto";
message GCGDuel {
uint32 server_seq = 3;
repeated GCGPlayerField field_list = 7;
GCGGameBusinessType business_type = 14;
repeated GCGDuelChallenge challenge_list = 5;
uint32 game_id = 11;
uint32 controller_id = 13;
uint32 round = 15;
uint32 cur_controller_id = 12;
repeated GCGPVEIntention intetion_list = 1;
GCGCostReviseInfo cost_revise = 10;
repeated uint32 card_id_list = 4;
repeated GCGCard card_list = 9;
repeated GCGControllerShowInfo show_info_list = 6;
uint32 game_type = 2;
GCGPhase phase = 8;
}