GC-Proto/proto/CoopChapter.proto

28 lines
617 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2023-08-22 20:09:33 +03:00
option java_package = "emu.grasscutter.net.proto";
2023-08-22 20:23:37 +03:00
import "CoopCg.proto";
2022-11-06 15:30:21 +03:00
import "CoopPoint.proto";
import "CoopReward.proto";
message CoopChapter {
2023-08-22 20:09:33 +03:00
uint32 id = 1;
State state = 2;
repeated uint32 lock_reason_list = 3;
repeated CoopPoint coop_point_list = 4;
repeated CoopReward coop_reward_list = 5;
repeated CoopCg coop_cg_list = 6;
uint32 total_end_count = 7;
uint32 finished_end_count = 8;
map<uint32, uint32> seen_ending_map = 9;
repeated uint32 finish_dialog_list = 10;
2023-08-22 20:23:37 +03:00
enum State {
STATE_CLOSE = 0;
STATE_COND_NOT_MEET = 1;
STATE_COND_MEET = 2;
STATE_ACCEPT = 3;
}
2022-11-06 15:30:21 +03:00
}