mirror of
https://git.xeondev.com/LR/S.git
synced 2026-02-04 06:55:06 +01:00
Release 0.1.0
This commit is contained in:
1077
proto/pb/battle.proto
Normal file
1077
proto/pb/battle.proto
Normal file
File diff suppressed because it is too large
Load Diff
669
proto/pb/common.proto
Normal file
669
proto/pb/common.proto
Normal file
@@ -0,0 +1,669 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "beyond-go/proto/pbcommon;pbcommon";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
enum CLIENT_PLATFORM_TYPE {
|
||||
DEFAULT = 0;
|
||||
ANDRIOD = 1;
|
||||
IOS = 2;
|
||||
WINDOWS = 3;
|
||||
PLAYSTATION = 4;
|
||||
HARMONYOS = 5;
|
||||
MAX = 6;
|
||||
}
|
||||
enum MOVE_OBJECT_TYPE {
|
||||
INVALID = 0;
|
||||
ROLE = 1;
|
||||
NPC = 2;
|
||||
MONSTER = 3;
|
||||
CHARACTER = 4;
|
||||
INTERACTIVE = 5;
|
||||
SUMMON = 6;
|
||||
}
|
||||
enum ITEM_FLAG {
|
||||
ItemNormal = 0;
|
||||
ItemLock = 1;
|
||||
ItemTrash = 2;
|
||||
}
|
||||
enum ITEM_MOVE_MODE {
|
||||
Normal = 0;
|
||||
BatchItemId = 1;
|
||||
Grid = 2;
|
||||
HalfGrid = 3;
|
||||
AutoBatch = 4;
|
||||
}
|
||||
enum INTERACTIVE_PROPERTY_VALUE_TYPE {
|
||||
Bool = 0;
|
||||
Int = 1;
|
||||
Float = 2;
|
||||
String = 3;
|
||||
}
|
||||
enum UID_TYPE {
|
||||
Common = 0;
|
||||
Char = 2;
|
||||
Monster = 3;
|
||||
Interactive = 4;
|
||||
Npc = 5;
|
||||
Summon = 6;
|
||||
PayOrder = 7;
|
||||
}
|
||||
enum UID_TYPE_EXTEND {
|
||||
InvalidPlaceholder = 0;
|
||||
TriggerVolume = 8;
|
||||
}
|
||||
enum CHAR_TYPE {
|
||||
default_type = 0;
|
||||
trial_type = 1;
|
||||
}
|
||||
enum TEAM_CHAR_ID_TYPE {
|
||||
obj_id = 0;
|
||||
preset_char_id = 1;
|
||||
}
|
||||
enum GENDER {
|
||||
GEN_INVALID = 0;
|
||||
GEN_MALE = 1;
|
||||
GEN_FEMALE = 2;
|
||||
GEN_TOTAL = 3;
|
||||
}
|
||||
enum FRIEND_SPACESHIP_HELP_STATUS {
|
||||
FRIEND_SPACESHIP_HELP_STATUS_INVALID = 0;
|
||||
FRIEND_SPACESHIP_HELP_STATUS_CAN_HELP = 1;
|
||||
FRIEND_SPACESHIP_HELP_STATUS_HELPED = 2;
|
||||
}
|
||||
enum FRIEND_USER_INFO_TYPE {
|
||||
FRIEND_USER_INFO_TYPE_SPACESHIP_DEFAULT = 0;
|
||||
FRIEND_USER_INFO_TYPE_NONE = 1;
|
||||
}
|
||||
enum PSN_AUTHCODE_QUERY_TYPE {
|
||||
PSN_BLACKLIST_UPDATE = 0;
|
||||
PSN_FRIENDLIST_UPDATE = 1;
|
||||
}
|
||||
enum RegionStatus {
|
||||
RegionStatus_UnLocked = 0;
|
||||
RegionStatus_Explored = 1;
|
||||
RegionStatus_ExpeditionInProgress = 2;
|
||||
}
|
||||
enum ExpeditionStatus {
|
||||
ExpeditionStatus_Available = 0;
|
||||
ExpeditionStatus_InProgress = 1;
|
||||
ExpeditionStatus_Completed = 2;
|
||||
}
|
||||
enum SpaceshipExtraReportType {
|
||||
SpaceshipExtraReportType_None = 0;
|
||||
SpaceshipExtraReportType_Expedition = 1;
|
||||
}
|
||||
enum BRIEF_BP_STATUS {
|
||||
BRIEF_BP_STATUS_NONE = 0;
|
||||
BRIEF_BP_STATUS_EXIST = 1;
|
||||
BRIEF_BP_STATUS_INVALID = 2;
|
||||
}
|
||||
enum FRIEND_CHAT_MSG_TYPE {
|
||||
FRIEND_CHAT_MSG_TYPE_PRESET_TEXT = 0;
|
||||
FRIEND_CHAT_MSG_TYPE_EMOJI = 1;
|
||||
FRIEND_CHAT_MSG_TYPE_SOCIAL_BUILDING = 2;
|
||||
FRIEND_CHAT_MSG_TYPE_BLUE_PRINT = 3;
|
||||
}
|
||||
enum HG_THIRD_ACCOUNT_TYPE {
|
||||
ACCOUNT_TYPE_DEFAULT = 0;
|
||||
ACCOUNT_TYPE_PSN = 1;
|
||||
}
|
||||
message VECTOR {
|
||||
float X = 1;
|
||||
float Y = 2;
|
||||
float Z = 3;
|
||||
}
|
||||
message DYNAMIC_PARAMETER {
|
||||
int32 value_type = 1;
|
||||
int32 real_type = 2;
|
||||
repeated bool value_bool_list = 3;
|
||||
repeated int64 value_int_list = 4;
|
||||
repeated float value_float_list = 5;
|
||||
repeated string value_string_list = 6;
|
||||
}
|
||||
message SKILL_INFO {
|
||||
repeated SKILL_LEVEL_INFO level_info = 1;
|
||||
string normal_skill = 2;
|
||||
string ultimate_skill = 3;
|
||||
string combo_skill = 4;
|
||||
string disp_normal_attack_skill = 5;
|
||||
}
|
||||
message EQUIP_ATTR {
|
||||
int32 attr_type = 1;
|
||||
int32 modifier_type = 2;
|
||||
double modifier_value = 3;
|
||||
int32 modify_attribute_type = 4;
|
||||
}
|
||||
message ATTR_ENHANCE_FAILED_DATA {
|
||||
map<int32, int32> enhance_failed_times_by_level = 1;
|
||||
}
|
||||
message EQUIP_ENHANCE_DATA {
|
||||
map<int32, ATTR_ENHANCE_FAILED_DATA> enhance_failed_data_by_attr_index = 1;
|
||||
}
|
||||
message EQUIP_DATA {
|
||||
uint64 equipid = 1;
|
||||
int32 templateid = 2;
|
||||
uint64 equip_char_id = 3;
|
||||
map<int32, int32> enhance = 8;
|
||||
EQUIP_ENHANCE_DATA equip_enhance_data = 9;
|
||||
}
|
||||
message GEM_DATA {
|
||||
uint64 gemId = 1;
|
||||
int32 template_id = 2;
|
||||
int32 total_cost = 3;
|
||||
repeated GEM_TERM terms = 4;
|
||||
uint64 weapon_id = 5;
|
||||
int32 domain_id = 6;
|
||||
}
|
||||
message GEM_TERM {
|
||||
int32 term_num_id = 1;
|
||||
int32 cost = 2;
|
||||
}
|
||||
message ITEM_BUNDLE {
|
||||
string id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message INST_ITEM_BUNDLE {
|
||||
string id = 1;
|
||||
int32 count = 2;
|
||||
uint64 inst_id = 3;
|
||||
}
|
||||
message WEAPON_DATA {
|
||||
uint64 inst_id = 1;
|
||||
int32 template_id = 2;
|
||||
uint64 exp = 3;
|
||||
uint32 weapon_lv = 4;
|
||||
uint32 refine_lv = 5;
|
||||
uint32 breakthrough_lv = 6;
|
||||
uint64 equip_char_id = 7;
|
||||
uint64 attach_gem_id = 8;
|
||||
}
|
||||
message ITEM_INST {
|
||||
uint64 inst_id = 1;
|
||||
bool is_lock = 101;
|
||||
bool is_new = 102;
|
||||
ITEM_FLAG item_flag = 103;
|
||||
int64 expire_ts = 104;
|
||||
oneof inst_impl {
|
||||
EQUIP_DATA equip = 2;
|
||||
GEM_DATA gem = 3;
|
||||
WEAPON_DATA weapon = 4;
|
||||
ITEM_INST_EMPTY empty = 31;
|
||||
}
|
||||
}
|
||||
message ITEM_INST_EMPTY {
|
||||
}
|
||||
message SCD_ITEM_GRID {
|
||||
int32 grid_index = 1;
|
||||
string id = 2;
|
||||
int32 count = 3;
|
||||
ITEM_INST inst = 4;
|
||||
}
|
||||
message ITEM_GRID {
|
||||
int32 id = 1;
|
||||
int32 count = 2;
|
||||
ITEM_INST inst = 3;
|
||||
int32 index = 4;
|
||||
}
|
||||
message SUBMIT_ITEM {
|
||||
string item_id = 1;
|
||||
uint32 count = 2;
|
||||
bool is_inst = 3;
|
||||
uint64 inst_id = 4;
|
||||
}
|
||||
message BATTLE_INFO {
|
||||
double hp = 1;
|
||||
float ultimatesp = 2;
|
||||
}
|
||||
message SEND_MAIL_DEF {
|
||||
MAIL_CONTENT mail_content = 1;
|
||||
repeated REWARD_ITEM item_list = 2;
|
||||
int64 send_time = 3;
|
||||
int64 expire_time = 4;
|
||||
int32 mail_type = 5;
|
||||
int32 mail_sub_type = 6;
|
||||
bool is_global = 7;
|
||||
bool is_star = 8;
|
||||
bool ignore_cap_check = 9;
|
||||
string gm_unique_task_id = 10;
|
||||
}
|
||||
message GAME_CONDITION {
|
||||
string condition_id = 1;
|
||||
int32 condition_type = 2;
|
||||
repeated string params = 3;
|
||||
int32 compare_operator = 4;
|
||||
int32 progress_to_compare = 5;
|
||||
repeated int32 sub_condition_id_logics = 6;
|
||||
repeated GAME_CONDITION sub_conditions = 7;
|
||||
int32 scope_mask = 8;
|
||||
bool use_current_scope = 9;
|
||||
}
|
||||
message SEND_SYSTEM_MAIL_DEF {
|
||||
uint64 mail_id = 1;
|
||||
GAME_CONDITION condition = 2;
|
||||
repeated REWARD_ITEM completed_item_list = 3;
|
||||
int64 expire_time = 4;
|
||||
bool is_star = 5;
|
||||
string unique_id = 6;
|
||||
int64 mail_expire_in = 7;
|
||||
int64 mail_expire_at = 8;
|
||||
bool has_attachment = 9;
|
||||
int32 mail_sub_type = 10;
|
||||
int64 task_expire_at = 11;
|
||||
int32 channel_id = 12;
|
||||
}
|
||||
message COST_ITEM_LIST_DEF {
|
||||
repeated SUBMIT_ITEM itemList = 1;
|
||||
}
|
||||
message MAIL_CONTENT {
|
||||
string template_id = 1;
|
||||
string title = 2;
|
||||
string content = 3;
|
||||
string senderName = 4;
|
||||
string senderIcon = 5;
|
||||
map<string, string> params = 6;
|
||||
}
|
||||
message REWARD_ITEM {
|
||||
string id = 1;
|
||||
int64 count = 2;
|
||||
ITEM_INST inst = 3;
|
||||
int32 item_opt = 4;
|
||||
}
|
||||
message SKILL_LEVEL_INFO {
|
||||
string skill_id = 1;
|
||||
int32 skill_level = 2;
|
||||
int32 skill_max_level = 3;
|
||||
int32 skill_enhanced_level = 4;
|
||||
}
|
||||
message TALENT {
|
||||
string latest_break_node = 1;
|
||||
repeated string attr_nodes = 2;
|
||||
repeated string latest_passive_skill_nodes = 3;
|
||||
repeated string latest_factory_skill_nodes = 4;
|
||||
}
|
||||
message ROLE_BASE_INFO {
|
||||
uint64 leader_char_id = 1;
|
||||
VECTOR leader_position = 2;
|
||||
VECTOR leader_rotation = 3;
|
||||
string sceneName = 4;
|
||||
uint64 server_ts = 11;
|
||||
}
|
||||
message TEMP_TEAM_CHAR_SAVE_DATA {
|
||||
TRIAL_CHAR_DATA trial_char_data = 1;
|
||||
int32 hp = 2;
|
||||
int32 ultimate_sp = 3;
|
||||
}
|
||||
message TRIAL_CHAR_DATA {
|
||||
uint32 trial_char_type = 1;
|
||||
int32 equip_medicine_num = 2;
|
||||
}
|
||||
message TEAM_CHAR_ID {
|
||||
TEAM_CHAR_ID_TYPE id_type = 1;
|
||||
oneof char_id {
|
||||
uint64 obj_id = 2;
|
||||
string preset_char_id = 3;
|
||||
}
|
||||
}
|
||||
message PASS_THROUGH_DATA {
|
||||
repeated string str_args = 1;
|
||||
repeated int64 int_args = 2;
|
||||
}
|
||||
message SCENE_TRACK_POINT {
|
||||
string inst_id = 1;
|
||||
}
|
||||
message SCENE_STATIC_MAP_MARK {
|
||||
int32 index = 1;
|
||||
}
|
||||
message WALLET_MONEY_RECORD {
|
||||
int32 record_type = 1;
|
||||
string money_id = 2;
|
||||
oneof record_data {
|
||||
WALLET_DAILY_SOURCE_MONEY_RECORD daily_source_data = 5;
|
||||
}
|
||||
}
|
||||
message WALLET_DAILY_SOURCE_MONEY_RECORD {
|
||||
repeated WALLET_DAILY_SOURCE_MONEY_BOOK books = 1;
|
||||
}
|
||||
message WALLET_DAILY_SOURCE_MONEY_BOOK {
|
||||
int64 ts = 1;
|
||||
repeated int64 record = 2;
|
||||
}
|
||||
message SCENE_DYNAMIC_MAP_MARK {
|
||||
uint32 id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
VECTOR pos = 3;
|
||||
string note = 4;
|
||||
uint32 typ = 5;
|
||||
int32 tier_index = 6;
|
||||
int32 tier_id = 7;
|
||||
}
|
||||
message ATTACH_USER_INFO {
|
||||
uint64 original_role_id = 1;
|
||||
string original_user_id = 2;
|
||||
uint64 target_role_id = 3;
|
||||
string target_user_id = 4;
|
||||
}
|
||||
message REMOTE_ROLE_BASE {
|
||||
string userid = 1;
|
||||
string name = 2;
|
||||
uint32 create_time = 3;
|
||||
}
|
||||
message DOMAIN_DEVELOPMENT {
|
||||
string chapter_id = 1;
|
||||
string version = 3;
|
||||
DOMAIN_DEVELOPMENT_DEGREE dev_degree = 2;
|
||||
}
|
||||
message DOMAIN_DEVELOPMENT_DEGREE {
|
||||
uint64 exp = 1;
|
||||
uint32 level = 2;
|
||||
uint64 rewarded_level = 3;
|
||||
repeated uint64 source = 4;
|
||||
}
|
||||
message SPACESHIP_PUBLIC_DATA {
|
||||
SPACESHIP_HELP_RECORD help_record = 1;
|
||||
bool unlock_guest_room = 3;
|
||||
SPACESHIP_GUEST_ROOM_CLUE_LOGIC_EXTRA_RECORD clue_logic_record = 4;
|
||||
}
|
||||
message SPACESHIP_HELP_RECORD {
|
||||
map<string, ROOM_HELP_RECORD> room_help_record = 1;
|
||||
int64 ttl = 2;
|
||||
}
|
||||
message ROOM_HELP_RECORD {
|
||||
int32 control_center = 1;
|
||||
int32 manufacturing_station = 2;
|
||||
map<int32, int32> grow_cabin = 3;
|
||||
int32 command_center = 4;
|
||||
int32 control_center_left = 6;
|
||||
int32 manufacturing_station_left = 7;
|
||||
map<int32, int32> grow_cabin_left = 8;
|
||||
int32 command_center_left = 9;
|
||||
int32 can_be_helped_flag = 5;
|
||||
repeated int32 can_be_helped_grow_cabin_box = 10;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_CLUE_LOGIC_EXTRA_RECORD {
|
||||
uint64 info_exchange_inst_id = 1;
|
||||
int64 info_exchange_expire_ts = 2;
|
||||
map<uint64, bool> role_map = 3;
|
||||
map<int32, int64> host_clue_status = 4;
|
||||
int32 clue_extension_room_level = 5;
|
||||
int64 last_owner_update_ts = 7;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_CLUE {
|
||||
string clue_id = 1;
|
||||
uint64 inst_id = 2;
|
||||
uint64 from_role_id = 3;
|
||||
int64 expire_ts = 4;
|
||||
map<int32, bool> char_num_id_to_prob_acc = 5;
|
||||
int64 generate_ts = 6;
|
||||
bool is_read = 7;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_VISITOR_RECORD {
|
||||
int32 day_count = 1;
|
||||
repeated VISIT_OP_RECORD visit_op_record = 2;
|
||||
int32 recved_credit_cnt = 3;
|
||||
int32 total_credit_cnt = 4;
|
||||
}
|
||||
message VISIT_OP_RECORD {
|
||||
uint64 role_id = 1;
|
||||
int64 start_ts = 2;
|
||||
int64 last_ts = 3;
|
||||
bool joined_info_exchange = 4;
|
||||
map<int32, int64> money_id_to_sold_price = 5;
|
||||
repeated VISIT_RECORD_PROD_SUPPORT_INFO prod_support_list = 6;
|
||||
}
|
||||
message VISIT_RECORD_PROD_SUPPORT_INFO {
|
||||
int32 room_type = 1;
|
||||
int32 room_number = 2;
|
||||
}
|
||||
message VALUE_DATA {
|
||||
oneof val {
|
||||
bool v_bool = 1;
|
||||
int64 v_int = 2;
|
||||
float v_float = 3;
|
||||
string v_string = 4;
|
||||
}
|
||||
}
|
||||
message DYNAMIC_PARAMETER_DATA {
|
||||
int32 value_type = 1;
|
||||
int32 real_type = 2;
|
||||
repeated VALUE_DATA details = 3;
|
||||
}
|
||||
message PROPERTY_RECORD_DATA {
|
||||
map<int32, DYNAMIC_PARAMETER_DATA> common_properties = 1;
|
||||
bytes bool_properties = 2;
|
||||
}
|
||||
message FRIEND_PERSONAL_DATA {
|
||||
int32 user_avatar_id = 1;
|
||||
int32 User_avatar_frame_id = 2;
|
||||
int32 business_card_topic_id = 3;
|
||||
string signature = 4;
|
||||
repeated uint64 char_list = 5;
|
||||
bool business_card_expand_flag = 20;
|
||||
bool psn_only = 30;
|
||||
}
|
||||
message SROLE_DATA_DOMAIN_DEV {
|
||||
string domain_id = 1;
|
||||
uint32 level = 2;
|
||||
}
|
||||
message SROLE_DATA_DOMAIN_DEV_SYSTEM {
|
||||
repeated SROLE_DATA_DOMAIN_DEV domains = 1;
|
||||
}
|
||||
message SROLE_DATA_ACHIEVEMENT {
|
||||
map<int32, int32> display = 1;
|
||||
repeated SROLE_DATA_ACHIEVEMENT_INFO info_list = 2;
|
||||
}
|
||||
message SROLE_DATA_ACHIEVEMENT_INFO {
|
||||
int32 achieve_num_id = 1;
|
||||
int32 level = 2;
|
||||
bool is_plated = 3;
|
||||
}
|
||||
message SROLE_DATA_STATISTIC {
|
||||
uint32 char_num = 1;
|
||||
uint32 weapon_num = 2;
|
||||
uint32 doc_num = 3;
|
||||
}
|
||||
message SROLE_DATA_CHAR {
|
||||
string templateId = 1;
|
||||
uint32 level = 2;
|
||||
uint32 exp = 3;
|
||||
uint32 potential_level = 4;
|
||||
map<int32, EQUIP_DATA> equip = 5;
|
||||
map<uint64, GEM_DATA> gem = 6;
|
||||
WEAPON_DATA weapon = 7;
|
||||
SKILL_INFO skill_info = 8;
|
||||
int32 equip_medicine_id = 9;
|
||||
TALENT talent = 10;
|
||||
map<int32, string> potential_cg = 11;
|
||||
}
|
||||
message SROLED_DOMAIN_SHOP_GOODS {
|
||||
string shop_id = 1;
|
||||
int64 unlock_time = 2;
|
||||
repeated string shop_goods_id = 3;
|
||||
}
|
||||
message SROLE_DATA_DOMAIN_SHOP {
|
||||
repeated SROLED_DOMAIN_SHOP_GOODS shop_goods = 1;
|
||||
}
|
||||
message SROLE_DATA_DOMAIN_DEPOT {
|
||||
map<uint64, int64> delegate_inst_id_to_timeout_ts = 1;
|
||||
}
|
||||
message FRIEND_BASE_USER_INFO {
|
||||
uint64 role_id = 1;
|
||||
string name = 3;
|
||||
string short_id = 4;
|
||||
int64 last_login_time = 5;
|
||||
int64 last_logout_time = 6;
|
||||
bool online = 7;
|
||||
uint32 adventure_level = 8;
|
||||
string signature = 9;
|
||||
GENDER gender = 10;
|
||||
int32 business_card_topic_id = 11;
|
||||
int32 user_avatar_id = 12;
|
||||
int32 user_avatar_frame_id = 13;
|
||||
repeated FRIEND_CHAR_INFO char_data = 14;
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 31;
|
||||
THIRD_ACCOUNT_DATA third_account_data = 32;
|
||||
}
|
||||
message FRIEND_CHAR_INFO {
|
||||
string templateId = 1;
|
||||
uint32 level = 2;
|
||||
uint32 potential_level = 3;
|
||||
}
|
||||
message FRIEND_SPACESHIP_DEFAULT_DATA {
|
||||
bool help_flag = 1;
|
||||
bool clue_flag = 2;
|
||||
bool unlock_guest_room = 3;
|
||||
FRIEND_SPACESHIP_HELP_STATUS help_status = 4;
|
||||
bool unlock_clue_room = 5;
|
||||
}
|
||||
message FRIEND_STRANGER_USER_INFO {
|
||||
FRIEND_BASE_USER_INFO base_data = 1;
|
||||
}
|
||||
message FRIEND_FRIEND_USER_INFO {
|
||||
FRIEND_USER_INFO_TYPE data_type = 1;
|
||||
FRIEND_BASE_USER_INFO base_data = 2;
|
||||
oneof extra_data {
|
||||
FRIEND_SPACESHIP_DEFAULT_DATA spaceship_default = 3;
|
||||
}
|
||||
}
|
||||
message FRIEND_FRIEND_INFO {
|
||||
FRIEND_FRIEND_USER_INFO friend_user_info = 1;
|
||||
int64 create_time = 2;
|
||||
string remark_name = 3;
|
||||
}
|
||||
message FRIEND_BLACK_LIST_INFO {
|
||||
uint64 role_id = 1;
|
||||
string name = 3;
|
||||
string short_id = 4;
|
||||
bool online = 5;
|
||||
int64 last_logout_time = 6;
|
||||
uint32 adventure_level = 7;
|
||||
int32 business_card_topic_id = 8;
|
||||
int32 user_avatar_id = 9;
|
||||
int32 user_avatar_frame_id = 10;
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 31;
|
||||
THIRD_ACCOUNT_DATA third_account_data = 32;
|
||||
}
|
||||
message FRIEND_REQUEST_INFO {
|
||||
FRIEND_STRANGER_USER_INFO stranger_user_info = 1;
|
||||
int64 create_time = 2;
|
||||
}
|
||||
message FRIEND_FRIEND_S_INFO {
|
||||
uint64 role_id = 1;
|
||||
int64 create_time = 2;
|
||||
string remark_name = 3;
|
||||
}
|
||||
message FRIEND_REQUEST_S_INFO {
|
||||
uint64 role_id = 1;
|
||||
int64 create_time = 2;
|
||||
}
|
||||
message FRIEND_BLACK_S_INFO {
|
||||
uint64 role_id = 1;
|
||||
int64 create_time = 2;
|
||||
}
|
||||
message DOMAIN_DEPOT_DELIVER_PEER_ROLE_INFO {
|
||||
uint64 role_id = 1;
|
||||
string name = 2;
|
||||
uint32 user_avatar_id = 3;
|
||||
uint32 user_avatar_frame_id = 4;
|
||||
int32 adventure_level = 5;
|
||||
string short_id = 6;
|
||||
bool is_delete = 7;
|
||||
int32 business_card_topic_id = 8;
|
||||
}
|
||||
message DOMAIN_DEPOT_BUYER_INFO {
|
||||
int32 deliver_num_id = 1;
|
||||
int32 buyer_num_id = 2;
|
||||
int64 reward_value = 3;
|
||||
bool is_critical = 4;
|
||||
int32 price_cfg_idx = 5;
|
||||
}
|
||||
message DOMAIN_DEPOT_DELIVER_DATA {
|
||||
int32 package_type = 1;
|
||||
int32 package_progress = 2;
|
||||
uint64 original_role_id = 3;
|
||||
uint64 inst_id = 4;
|
||||
int32 cargo_integrity = 5;
|
||||
int32 domain_depot_num_id = 6;
|
||||
int64 expire_ts = 7;
|
||||
int64 original_price = 8;
|
||||
int32 deliver_pack_type = 9;
|
||||
int32 deliver_item_type = 10;
|
||||
repeated DOMAIN_DEPOT_BUYER_INFO buyer_list = 11;
|
||||
DOMAIN_DEPOT_DELIVER_PEER_ROLE_INFO peer_role_info = 12;
|
||||
uint64 delegate_role_id = 13;
|
||||
string deliver_redis_key = 14;
|
||||
int64 final_payment_value = 15;
|
||||
}
|
||||
message BRIEF_BP_DATA {
|
||||
string share_code = 1;
|
||||
string name = 2;
|
||||
repeated int32 tags = 3;
|
||||
string icon = 4;
|
||||
int32 base_color = 5;
|
||||
BRIEF_BP_STATUS status = 6;
|
||||
int32 share_idx = 7;
|
||||
uint64 bp_uid = 8;
|
||||
}
|
||||
message FRIEND_CHAT_MSG_DATA_PRESET_TEXT {
|
||||
int32 num_id = 1;
|
||||
}
|
||||
message FRIEND_CHAT_MSG_DATA_EMOJI {
|
||||
int32 num_id = 1;
|
||||
}
|
||||
message FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING {
|
||||
uint64 creator_id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
uint32 node_id = 3;
|
||||
int32 template_id = 4;
|
||||
VECTOR pos = 5;
|
||||
int32 dir_y = 6;
|
||||
VECTOR world_pos = 7;
|
||||
VECTOR world_rot = 8;
|
||||
uint64 like = 9;
|
||||
oneof extra_data {
|
||||
FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING_SIGN sign_data = 20;
|
||||
}
|
||||
}
|
||||
message FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING_SIGN {
|
||||
repeated int32 signs = 1;
|
||||
}
|
||||
message FRIEND_CHAT_MSG_DATA_BLUE_PRINT {
|
||||
string shared_code = 1;
|
||||
}
|
||||
message FRIEND_CHAT_MSG_DATA {
|
||||
int64 ts = 1;
|
||||
uint64 owner_id = 2;
|
||||
FRIEND_CHAT_MSG_TYPE type = 3;
|
||||
oneof extra_data {
|
||||
FRIEND_CHAT_MSG_DATA_PRESET_TEXT preset_text_data = 4;
|
||||
FRIEND_CHAT_MSG_DATA_EMOJI emoji_data = 5;
|
||||
FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING social_building_data = 6;
|
||||
FRIEND_CHAT_MSG_DATA_BLUE_PRINT blue_print_data = 7;
|
||||
}
|
||||
}
|
||||
message THIRD_ACCOUNT_DATA_PSN {
|
||||
string account_id = 1;
|
||||
string online_id = 2;
|
||||
}
|
||||
message THIRD_ACCOUNT_DATA {
|
||||
HG_THIRD_ACCOUNT_TYPE third_account_data_type = 1;
|
||||
oneof data {
|
||||
THIRD_ACCOUNT_DATA_PSN third_account_psn = 2;
|
||||
}
|
||||
}
|
||||
message DEVICE_INFO {
|
||||
string device_id = 1;
|
||||
string os = 2;
|
||||
string os_ver = 3;
|
||||
string brand = 4;
|
||||
string model = 5;
|
||||
string simulator = 6;
|
||||
string network = 7;
|
||||
string carrier = 8;
|
||||
string language = 9;
|
||||
string country_iso_code = 10;
|
||||
int64 ipv4 = 11;
|
||||
string client_res_version = 12;
|
||||
}
|
||||
41
proto/pb/cs_achieve.proto
Normal file
41
proto/pb/cs_achieve.proto
Normal file
@@ -0,0 +1,41 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SCD_ACHIEVE_CONDITIONS {
|
||||
map<string, int32> condition_values = 1;
|
||||
}
|
||||
message SCD_ACHIEVE_PUBLIC_INFO {
|
||||
int32 achieve_num_id = 1;
|
||||
int64 open_time = 2;
|
||||
int64 close_time = 3;
|
||||
}
|
||||
message SCD_ACHIEVE_PERSONAL_INFO {
|
||||
int32 achieve_num_id = 1;
|
||||
int32 level = 2;
|
||||
bool is_plated = 3;
|
||||
int64 obtain_time_ts = 4;
|
||||
SCD_ACHIEVE_CONDITIONS achieve_conditions = 5;
|
||||
}
|
||||
message SCD_ACHIEVE_DISPLAY_INFO {
|
||||
map<int32, int32> display = 1;
|
||||
repeated int32 display_depot = 2;
|
||||
}
|
||||
message SC_ACHIEVE_SYNC {
|
||||
repeated SCD_ACHIEVE_PUBLIC_INFO achieve_public_infos = 1;
|
||||
repeated SCD_ACHIEVE_PERSONAL_INFO achieve_personal_infos = 2;
|
||||
SCD_ACHIEVE_DISPLAY_INFO achieve_display_info = 3;
|
||||
}
|
||||
message SC_ACHIEVE_SYNC_PUBLIC_INFO {
|
||||
repeated SCD_ACHIEVE_PUBLIC_INFO achieve_public_infos = 1;
|
||||
}
|
||||
message SC_ACHIEVE_SYNC_PERSONAL_INFO {
|
||||
repeated SCD_ACHIEVE_PERSONAL_INFO achieve_personal_infos = 1;
|
||||
}
|
||||
message CS_ACHIEVE_DISPLAY_INFO_CHANGE {
|
||||
map<int32, int32> display = 1;
|
||||
repeated int32 display_depot = 2;
|
||||
}
|
||||
message SC_ACHIEVE_DISPLAY_INFO_CHANGE {
|
||||
}
|
||||
155
proto/pb/cs_activity.proto
Normal file
155
proto/pb/cs_activity.proto
Normal file
@@ -0,0 +1,155 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
message SC_ACTIVITY_SYNC {
|
||||
repeated ACTIVITY_INFO info = 1;
|
||||
}
|
||||
message SC_ACTIVITY_MODIFY {
|
||||
repeated ACTIVITY_INFO info = 1;
|
||||
}
|
||||
message SC_ACTIVITY_PROGRESS_CHANGE {
|
||||
string id = 1;
|
||||
SCD_ACTIVITY_CONDITIONS conditions = 2;
|
||||
}
|
||||
message SCD_ACTIVITY_CONDITIONS {
|
||||
map<string, int32> values = 1;
|
||||
map<string, bool> flags = 2;
|
||||
}
|
||||
message ACTIVITY_INFO {
|
||||
bool is_enable = 1;
|
||||
string id = 2;
|
||||
int64 start_time = 3;
|
||||
int64 end_time = 4;
|
||||
int32 typ = 5;
|
||||
ACTIVITY_INFO_SPECIFIED data = 6;
|
||||
bool is_completed = 7;
|
||||
bool is_unlocked = 8;
|
||||
int32 status = 9;
|
||||
bool reward_all = 11;
|
||||
SCD_ACTIVITY_CONDITIONS conditions = 10;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED {
|
||||
oneof data {
|
||||
ACTIVITY_INFO_SPECIFIED_CHECKIN checkin = 15;
|
||||
ACTIVITY_INFO_SPECIFIED_BASE_MULTI_STAGE base_multi_stage = 16;
|
||||
ACTIVITY_INFO_SPECIFIED_CONDITIONAL_MULTI_STAGE conditional_multi_stage = 17;
|
||||
ACTIVITY_INFO_SPECIFIED_GAME_ENTRANCE game_entrance = 18;
|
||||
ACTIVITY_INFO_SPECIFIED_CHAR_TRIAL char_trial = 19;
|
||||
ACTIVITY_INFO_SPECIFIED_REFLOW reflow = 20;
|
||||
ACTIVITY_INFO_SPECIFIED_WEEKLY_TASK weekly_task = 21;
|
||||
}
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_CHECKIN {
|
||||
int32 login_days = 1;
|
||||
repeated uint64 reward_days = 2;
|
||||
}
|
||||
message CS_DAILY_CHECKIN {
|
||||
string id = 1;
|
||||
repeated uint32 days = 2;
|
||||
}
|
||||
message SC_DAILY_CHECKIN {
|
||||
string id = 1;
|
||||
repeated uint32 days = 2;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_BASE_MULTI_STAGE {
|
||||
repeated int32 receive_stage_list = 1;
|
||||
repeated int32 complete_stage_list = 2;
|
||||
}
|
||||
message CS_BASE_MULTI_STAGE_ACTIVITY_RECEIVE_REWARD {
|
||||
string id = 1;
|
||||
int32 stage = 2;
|
||||
repeated int32 stage_list = 3;
|
||||
}
|
||||
message SC_BASE_MULTI_STAGE_ACTIVITY_RECEIVE_REWARD {
|
||||
string id = 1;
|
||||
repeated int32 stage_list = 2;
|
||||
string reward_id = 3;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_GAME_ENTRANCE {
|
||||
bool complete_intro_mission = 2;
|
||||
repeated GAME_ENTRANCE_ACTIVITY_SERIES_INFO series_infos = 1;
|
||||
}
|
||||
message GAME_ENTRANCE_ACTIVITY_SERIES_INFO {
|
||||
string series_id = 1;
|
||||
int64 open_time = 2;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_CHAR_TRIAL {
|
||||
map<string, bool> dungeon_status = 1;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_REFLOW {
|
||||
int64 start_time = 1;
|
||||
int64 end_time = 2;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_WEEKLY_TASK {
|
||||
int32 cur_week_score = 1;
|
||||
repeated ACTIVITY_CONDITIONAL_STAGE_INFO task_info = 2;
|
||||
repeated ACTIVITY_WEEKLY_TASK_MILESTONE milestone_info = 3;
|
||||
}
|
||||
message ACTIVITY_INFO_SPECIFIED_CONDITIONAL_MULTI_STAGE {
|
||||
bool complete_intro_mission = 1;
|
||||
bool complete_finale_mission = 2;
|
||||
repeated ACTIVITY_CONDITIONAL_STAGE_INFO stage_list = 3;
|
||||
repeated string show_preview_stage_list = 4;
|
||||
oneof extra_data {
|
||||
ACTIVITY_INFO_CONDITIONAL_MULTI_STAGE_EXTRA_DATA_PHOTO_TAKING photo_taking = 15;
|
||||
}
|
||||
}
|
||||
message ACTIVITY_CONDITIONAL_STAGE_INFO {
|
||||
string id = 1;
|
||||
int32 status = 2;
|
||||
SCD_ACTIVITY_CONDITIONS conditions = 3;
|
||||
}
|
||||
message ACTIVITY_INFO_CONDITIONAL_MULTI_STAGE_EXTRA_DATA_PHOTO_TAKING {
|
||||
}
|
||||
message SC_ACTIVITY_CONDITIONAL_MULTI_STAGE_BASE_CHANGE {
|
||||
repeated SCD_ACTIVITY_CONDITIONAL_MULTI_STAGE_BASE changes = 1;
|
||||
}
|
||||
message SCD_ACTIVITY_CONDITIONAL_MULTI_STAGE_BASE {
|
||||
string id = 1;
|
||||
bool complete_intro_mission = 2;
|
||||
bool complete_finale_mission = 3;
|
||||
repeated ACTIVITY_CONDITIONAL_STAGE_INFO stage_list = 4;
|
||||
}
|
||||
message CS_CONDITIONAL_MULTI_STAGE_ACTIVITY_GAIN_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string stage_id_list = 2;
|
||||
}
|
||||
message SC_CONDITIONAL_MULTI_STAGE_ACTIVITY_GAIN_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string stage_id_list = 2;
|
||||
}
|
||||
message SC_ACTIVITY_CONDITIONAL_STAGE_PROGRESS_CHANGE {
|
||||
string stage_id = 1;
|
||||
SCD_ACTIVITY_CONDITIONS conditions = 2;
|
||||
}
|
||||
message CS_ACTIVITY_CHAR_TRIAL_CLAIM_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string dungeon_id_list = 2;
|
||||
}
|
||||
message CS_ACTIVITY_READ_NOTIFY {
|
||||
string activity_id = 1;
|
||||
}
|
||||
message ACTIVITY_WEEKLY_TASK_MILESTONE {
|
||||
string id = 1;
|
||||
bool rewarded = 2;
|
||||
}
|
||||
message CS_ACTIVITY_WEEKLY_TASK_TASK_GAIN_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string task_id_list = 2;
|
||||
}
|
||||
message SC_ACTIVITY_WEEKLY_TASK_TASK_GAIN_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string task_id_list = 2;
|
||||
}
|
||||
message CS_ACTIVITY_WEEKLY_TASK_MILESTONE_GAIN_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string milestone_id_list = 2;
|
||||
}
|
||||
message SC_ACTIVITY_WEEKLY_TASK_MILESTONE_GAIN_REWARD {
|
||||
string activity_id = 1;
|
||||
repeated string milestone_id_list = 2;
|
||||
}
|
||||
26
proto/pb/cs_adventure.proto
Normal file
26
proto/pb/cs_adventure.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_ADVENTURE_TAKE_REWARD_ALL {
|
||||
}
|
||||
message SC_ADVENTURE_LEVEL_MODIFY {
|
||||
int32 level = 1;
|
||||
int64 exp = 2;
|
||||
}
|
||||
message SC_ADVENTURE_SYNC_ALL {
|
||||
int32 level = 1;
|
||||
int64 exp = 2;
|
||||
int32 world_level = 3;
|
||||
int32 unlock_world_level = 4;
|
||||
int64 last_set_world_level_ts = 5;
|
||||
}
|
||||
message CS_ADVENTURE_SET_WORLD_LEVEL {
|
||||
int32 world_level = 1;
|
||||
}
|
||||
message SC_ADVENTURE_WORLD_LEVEL_MODIFY {
|
||||
int32 world_level = 1;
|
||||
int32 unlock_world_level = 2;
|
||||
int64 last_set_world_level_ts = 3;
|
||||
}
|
||||
39
proto/pb/cs_adventure_book.proto
Normal file
39
proto/pb/cs_adventure_book.proto
Normal file
@@ -0,0 +1,39 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message ADVENTURE_TASK {
|
||||
string task_id = 1;
|
||||
int32 progress = 2;
|
||||
int32 state = 3;
|
||||
}
|
||||
message SC_ADVENTURE_BOOK_SYNC {
|
||||
int32 adventure_book_stage = 1;
|
||||
repeated ADVENTURE_TASK tasks = 2;
|
||||
int32 daily_activation = 3;
|
||||
repeated int32 daily_activation_gathered_reward_ids = 4;
|
||||
}
|
||||
message SC_DAILY_ACTIVATION_MODIFY {
|
||||
int32 daily_activation = 1;
|
||||
repeated int32 daily_activation_gathered_reward_ids = 2;
|
||||
}
|
||||
message CS_TAKE_ADVENTURE_TASK_REWARD {
|
||||
string task_id = 1;
|
||||
}
|
||||
message CS_TAKE_ALL_ACTIVATION_REWARD {
|
||||
}
|
||||
message CS_TAKE_ALL_ADVENTURE_TASK_REWARD {
|
||||
int32 task_type = 1;
|
||||
}
|
||||
message SC_ADVENTURE_TASK_MODIFY {
|
||||
repeated ADVENTURE_TASK tasks = 1;
|
||||
}
|
||||
message CS_TAKE_ADVENTURE_BOOK_STAGE_REWARD {
|
||||
int32 adventure_book_stage = 1;
|
||||
}
|
||||
message SC_ADVENTURE_BOOK_STAGE_MODIFY {
|
||||
int32 adventure_book_stage = 1;
|
||||
}
|
||||
message SC_RESET_DAILY_ADVENTURE_TASK {
|
||||
}
|
||||
48
proto/pb/cs_anti_cheat.proto
Normal file
48
proto/pb/cs_anti_cheat.proto
Normal file
@@ -0,0 +1,48 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
enum ANTI_CHEAT_SDK_TYPE {
|
||||
ANTI_CHEAT_SDK_TYPE_NONE = 0;
|
||||
ANTI_CHEAT_SDK_TYPE_PC = 1;
|
||||
ANTI_CHEAT_SDK_TYPE_MOBILE = 2;
|
||||
}
|
||||
message CS_ANTI_CHEAT_UPLOAD_DATA {
|
||||
bytes data = 1;
|
||||
}
|
||||
message SC_ANTI_CHEAT_SYNC_DATA {
|
||||
bytes data = 1;
|
||||
}
|
||||
message SC_ANTI_CHEAT_TICKET {
|
||||
string ticket = 1;
|
||||
int32 zone_id = 2;
|
||||
}
|
||||
message CS_ANTI_CHEAT_SEND_ANTI_DATA1 {
|
||||
bytes data = 1;
|
||||
}
|
||||
message CS_ANTI_CHEAT_SEND_ANTI_DATA2 {
|
||||
bytes data = 1;
|
||||
}
|
||||
message CS_ANTI_CHEAT_SEND_ANTI_DATA4 {
|
||||
bytes data = 1;
|
||||
}
|
||||
message SC_ANTI_CHEAT_SEND_ANTI_DATA4 {
|
||||
string result = 1;
|
||||
}
|
||||
message CS_ANTI_CHEAT_GET_LIGHT_FEATURE {
|
||||
int32 cpu_arch = 1;
|
||||
}
|
||||
message SC_ANTI_CHEAT_GET_LIGHT_FEATURE {
|
||||
bytes name_buf = 1;
|
||||
bytes sig_buf = 2;
|
||||
uint32 sig_crc = 3;
|
||||
}
|
||||
message SC_ANTI_CHEAT_CREDIT_WARNING {
|
||||
int32 record_duration = 1;
|
||||
}
|
||||
message SC_ANTI_CHEAT_CREDIT_ZERO {
|
||||
int64 last_credit_zero_ts = 1;
|
||||
}
|
||||
80
proto/pb/cs_battle.proto
Normal file
80
proto/pb/cs_battle.proto
Normal file
@@ -0,0 +1,80 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "battle.proto";
|
||||
import "common.proto";
|
||||
|
||||
message CS_DEV_CLEAR_BATTLE_INFO {
|
||||
}
|
||||
message CS_BATTLE_OP {
|
||||
BATTLE_CLIENT_DATA client_data = 1;
|
||||
}
|
||||
message SC_SPAWN_ENEMY {
|
||||
uint32 client_key = 1;
|
||||
repeated uint64 enemy_inst_ids = 2;
|
||||
}
|
||||
message SPAWN_SERVER_SUMMON_DATA {
|
||||
uint64 owner_inst_id = 1;
|
||||
uint64 summon_inst_id = 2;
|
||||
}
|
||||
message SC_ENTITY_PROPERTY_CHANGE {
|
||||
uint64 inst_id = 1;
|
||||
BATTLE_INFO info = 2;
|
||||
}
|
||||
message SC_BATTLE_DEBUG_INFO {
|
||||
string msg = 1;
|
||||
int32 reason = 2;
|
||||
}
|
||||
message SC_BATTLE_GENERATION_CHANGE {
|
||||
uint64 inst_id = 1;
|
||||
uint32 generation = 2;
|
||||
}
|
||||
message SC_RESET_BATTLE_STATUS {
|
||||
uint64 inst_id = 1;
|
||||
uint64 battle_inst_id = 2;
|
||||
BATTLE_MGR_INFO battle_info = 3;
|
||||
BATTLE_RESET_REASON reason = 4;
|
||||
}
|
||||
message SC_ATTACH_SERVER_SKILL {
|
||||
uint64 inst_id = 1;
|
||||
repeated SERVER_SKILL skills = 2;
|
||||
uint32 generation = 3;
|
||||
}
|
||||
message SC_UPDATE_SERVER_SKILL {
|
||||
uint64 inst_id = 1;
|
||||
repeated SERVER_SKILL skills = 2;
|
||||
uint32 generation = 3;
|
||||
}
|
||||
message SC_DETACH_SERVER_SKILL {
|
||||
uint64 inst_id = 1;
|
||||
repeated uint64 del_inst_ids = 2;
|
||||
uint32 generation = 3;
|
||||
}
|
||||
message SC_ADD_SERVER_BUFF {
|
||||
uint64 inst_id = 1;
|
||||
repeated SERVER_BUFF buffs = 2;
|
||||
uint32 generation = 3;
|
||||
}
|
||||
message SC_REMOVE_SERVER_BUFF {
|
||||
uint64 inst_id = 1;
|
||||
repeated uint64 del_inst_ids = 2;
|
||||
uint32 generation = 3;
|
||||
}
|
||||
message SC_BATTLE_SYNC_SEQ_ID {
|
||||
int32 last_max_seq_id = 1;
|
||||
}
|
||||
message GLOBAL_BUFF_INFO {
|
||||
int32 global_buff_num_id = 1;
|
||||
BATTLE_BLACKBOARD assigned_items = 2;
|
||||
}
|
||||
message SC_BATTLE_SYNC_GLOBAL_BUFF_INFO {
|
||||
repeated GLOBAL_BUFF_INFO global_buff_info = 1;
|
||||
}
|
||||
message SC_BATTLE_ADD_GLOBAL_BUFF {
|
||||
GLOBAL_BUFF_INFO global_buff_info = 1;
|
||||
}
|
||||
message SC_BATTLE_REMOVE_GLOBAL_BUFF {
|
||||
int32 global_buff_num_id = 1;
|
||||
}
|
||||
39
proto/pb/cs_bitset.proto
Normal file
39
proto/pb/cs_bitset.proto
Normal file
@@ -0,0 +1,39 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
message SC_SYNC_ALL_BITSET {
|
||||
repeated BITSET_DATA bitset = 1;
|
||||
}
|
||||
message BITSET_DATA {
|
||||
int32 type = 1;
|
||||
repeated uint64 value = 2;
|
||||
}
|
||||
message CS_BITSET_ADD {
|
||||
int32 type = 1;
|
||||
repeated uint32 value = 2;
|
||||
}
|
||||
message CS_BITSET_REMOVE_ALL {
|
||||
int32 type = 1;
|
||||
}
|
||||
message CS_BITSET_REMOVE {
|
||||
int32 type = 1;
|
||||
repeated uint32 value = 2;
|
||||
}
|
||||
message SC_BITSET_ADD {
|
||||
int32 type = 1;
|
||||
repeated uint32 value = 2;
|
||||
int32 source = 3;
|
||||
}
|
||||
message SC_BITSET_REMOVE {
|
||||
int32 type = 1;
|
||||
repeated uint32 value = 2;
|
||||
int32 source = 3;
|
||||
}
|
||||
message SC_BITSET_REMOVE_ALL {
|
||||
int32 type = 1;
|
||||
int32 source = 2;
|
||||
}
|
||||
132
proto/pb/cs_bp.proto
Normal file
132
proto/pb/cs_bp.proto
Normal file
@@ -0,0 +1,132 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
enum BP_TASK_STATE {
|
||||
NOT_ACCEPT = 0;
|
||||
IN_PROCESSING = 1;
|
||||
HAS_COMPLETED = 2;
|
||||
TAKE_REWARD = 3;
|
||||
DISABLE = 4;
|
||||
}
|
||||
enum BP_VISIBLE_CONDS_OBJ_TYPE {
|
||||
TASK = 0;
|
||||
TASK_GROUP = 1;
|
||||
TASK_LABEL = 2;
|
||||
}
|
||||
enum BP_TRACK_ACTIVE_TYPE {
|
||||
BTAT_FREE = 0;
|
||||
BTAT_PAY = 1;
|
||||
BTAT_TICKET = 2;
|
||||
}
|
||||
message CSD_BP_TRACK_REWARD {
|
||||
string bp_track_id = 1;
|
||||
repeated int32 level = 2;
|
||||
}
|
||||
message CS_BP_TAKE_TRACK_REWARD {
|
||||
repeated CSD_BP_TRACK_REWARD take_track_reward = 1;
|
||||
}
|
||||
message SC_BP_TAKE_TRACK_REWARD {
|
||||
repeated CSD_BP_TRACK_REWARD failed_reward = 1;
|
||||
repeated ITEM_BUNDLE items = 2;
|
||||
}
|
||||
message CS_BP_TAKE_TASK_REWARD {
|
||||
repeated string task_ids = 1;
|
||||
}
|
||||
message SC_BP_TASK_STATE_MODIFY {
|
||||
map<string, BP_TASK_STATE> task_state = 1;
|
||||
}
|
||||
message CS_BP_BUY_LEVEL {
|
||||
int32 target_level = 1;
|
||||
}
|
||||
message CS_BP_BUY_ORIGINIUM_TRACK {
|
||||
}
|
||||
message SCD_BP_CLOSE_STATUS {
|
||||
bool is_close = 1;
|
||||
int32 close_reason = 2;
|
||||
}
|
||||
message SCD_BP_SEASON_DATA {
|
||||
string season_id = 1;
|
||||
int32 abscent_cnt = 2;
|
||||
int64 open_time = 3;
|
||||
int64 close_time = 4;
|
||||
SCD_BP_CLOSE_STATUS close_status = 5;
|
||||
int64 can_buy_level_tms = 6;
|
||||
}
|
||||
message SC_BP_SYNC_ALL {
|
||||
SCD_BP_SEASON_DATA season_data = 1;
|
||||
SCD_BP_LEVEL_DATA level_data = 2;
|
||||
SCD_BP_TRACK_MGR bp_track_mgr = 3;
|
||||
SCD_BP_TASK_MGR bp_task_mgr = 4;
|
||||
}
|
||||
message SCD_BP_LEVEL_DATA {
|
||||
int32 cur_level = 1;
|
||||
int32 cur_exp = 2;
|
||||
}
|
||||
message SC_BP_LEVEL_MODIFY {
|
||||
SCD_BP_LEVEL_DATA level_data = 1;
|
||||
}
|
||||
message SCD_BP_TRACK_REWARD_DATA {
|
||||
string bp_track_id = 1;
|
||||
repeated uint64 reward_state = 2;
|
||||
int32 recurring_times = 3;
|
||||
BP_TRACK_ACTIVE_TYPE active_type = 4;
|
||||
}
|
||||
message SCD_BP_TRACK_MGR {
|
||||
repeated SCD_BP_TRACK_REWARD_DATA track_data = 1;
|
||||
}
|
||||
message SC_BP_TRACK_MGR_MODIFY {
|
||||
SCD_BP_TRACK_MGR bp_track_mgr = 1;
|
||||
}
|
||||
message SCD_BP_TASK {
|
||||
string task_id = 1;
|
||||
repeated SCD_BP_CONDITION_DATA visible_conditions = 2;
|
||||
repeated SCD_BP_CONDITION_DATA complete_conditions = 3;
|
||||
int64 visible_tms = 4;
|
||||
BP_TASK_STATE task_state = 5;
|
||||
SCD_BP_CLOSE_STATUS close_status = 6;
|
||||
}
|
||||
message SCD_BP_TASK_GROUP {
|
||||
string task_group_id = 1;
|
||||
repeated SCD_BP_CONDITION_DATA visible_conditions = 2;
|
||||
int64 visible_tms = 3;
|
||||
int64 disable_tms = 4;
|
||||
repeated SCD_BP_TASK tasks = 5;
|
||||
SCD_BP_CLOSE_STATUS close_status = 6;
|
||||
}
|
||||
message SCD_BP_TASK_LABEL {
|
||||
string task_label_id = 1;
|
||||
repeated SCD_BP_CONDITION_DATA visible_conditions = 2;
|
||||
int64 visible_tms = 3;
|
||||
repeated SCD_BP_TASK_GROUP groups = 4;
|
||||
SCD_BP_CLOSE_STATUS close_status = 5;
|
||||
}
|
||||
message SCD_BP_TASK_MGR {
|
||||
repeated SCD_BP_TASK_LABEL labels = 1;
|
||||
}
|
||||
message SCD_BP_CONDITION_DATA {
|
||||
string cond_id = 1;
|
||||
int32 value = 2;
|
||||
bool flag = 3;
|
||||
}
|
||||
message SC_BP_SYNC_VISIBLE_CONDITION {
|
||||
BP_VISIBLE_CONDS_OBJ_TYPE obj_type = 1;
|
||||
string id = 2;
|
||||
repeated SCD_BP_CONDITION_DATA conditions = 3;
|
||||
}
|
||||
message SC_BP_SYNC_TASK_COMPLETE_CONDITION {
|
||||
string task_id = 1;
|
||||
repeated SCD_BP_CONDITION_DATA conditions = 2;
|
||||
}
|
||||
message SC_BP_ABSCENT_COUNT_MODIFY {
|
||||
int32 abscent_cnt = 1;
|
||||
}
|
||||
message SC_BP_SYNC_TASK_LABEL_MODIFY {
|
||||
repeated SCD_BP_TASK_LABEL labels = 1;
|
||||
}
|
||||
message SC_BP_BUY_LEVEL {
|
||||
int32 target_level = 1;
|
||||
}
|
||||
162
proto/pb/cs_char_bag.proto
Normal file
162
proto/pb/cs_char_bag.proto
Normal file
@@ -0,0 +1,162 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "battle.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum CHAR_BAG_TEAM_TYPE {
|
||||
CHAR_BAG_TEAM_TYPE_MAIN = 0;
|
||||
CHAR_BAG_TEAM_TYPE_TEMP = 1;
|
||||
}
|
||||
message CHAR_INFO {
|
||||
uint64 objid = 1;
|
||||
string templateid = 2;
|
||||
int32 level = 3;
|
||||
int32 exp = 4;
|
||||
map<int32, uint64> equip_col = 6;
|
||||
string normal_skill = 7;
|
||||
bool is_dead = 8;
|
||||
BATTLE_INFO battle_info = 9;
|
||||
SKILL_INFO skill_info = 10;
|
||||
map<string, int32> equip_suit = 11;
|
||||
uint64 weapon_id = 12;
|
||||
int64 own_time = 13;
|
||||
int32 equip_medicine_id = 14;
|
||||
uint32 potential_level = 15;
|
||||
TALENT talent = 16;
|
||||
BATTLE_MGR_INFO battle_mgr_info = 17;
|
||||
CHAR_TYPE char_type = 18;
|
||||
TRIAL_CHAR_DATA trial_data = 19;
|
||||
map<int32, string> potential_cg = 20;
|
||||
}
|
||||
message CS_CHAR_BAG_SET_TEAM {
|
||||
int32 team_index = 1;
|
||||
repeated uint64 char_team = 2;
|
||||
uint64 leader_id = 3;
|
||||
}
|
||||
message CS_CHAR_BAG_SET_CURR_TEAM_INDEX {
|
||||
int32 team_index = 1;
|
||||
uint64 leader_id = 2;
|
||||
}
|
||||
message CS_CHAR_BAG_SET_TEAM_NAME {
|
||||
int32 team_index = 1;
|
||||
string team_name = 2;
|
||||
}
|
||||
message CS_CHAR_BAG_TEAM_CHANGE_FINISH {
|
||||
uint64 team_change_token = 1;
|
||||
}
|
||||
message CS_CHAR_BAG_SET_TEAM_LEADER {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 team_index = 2;
|
||||
uint64 leaderid = 3;
|
||||
}
|
||||
message CS_CHAR_BAG_CLIENT_LOCAL_TEAM_REPORT {
|
||||
string reason = 1;
|
||||
repeated string team_member_template_ids = 2;
|
||||
string meta = 3;
|
||||
bool enter_local_team = 4;
|
||||
}
|
||||
message CS_CHAR_BAG_RELEASE_NPC_TEAMMATES_FROM_AI_CONTROL {
|
||||
string dungeon_id = 1;
|
||||
string npc_teammate_enter_action_id = 2;
|
||||
string new_leader_preset_id = 3;
|
||||
int32 env_type = 4;
|
||||
string env_id = 5;
|
||||
string new_leader_template_id = 6;
|
||||
}
|
||||
message SC_CHAR_BAG_REMOVE_TRIAL_CHARACTER {
|
||||
int32 scope_name = 1;
|
||||
}
|
||||
message SCD_CHAR_BAG_NPC_TEAMMATE {
|
||||
uint64 obj_id = 1;
|
||||
int32 team_index = 2;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_TEAM {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 team_index = 2;
|
||||
repeated uint64 char_team = 3;
|
||||
int32 scope_name = 4;
|
||||
uint64 leader_id = 5;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_NPC_TEAMMATES {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 team_index = 2;
|
||||
int32 scope_name = 3;
|
||||
repeated uint64 enter_npc_teammate_ids = 4;
|
||||
repeated uint64 leave_npc_teammate_ids = 5;
|
||||
}
|
||||
message CHAR_TEAM_MEMBER_INFO {
|
||||
string normal_skillid = 1;
|
||||
}
|
||||
message CHAR_TEAM_INFO {
|
||||
string team_name = 1;
|
||||
repeated uint64 char_team = 2;
|
||||
uint64 leaderid = 3;
|
||||
}
|
||||
message SC_SYNC_CHAR_BAG_INFO {
|
||||
repeated CHAR_INFO char_info = 1;
|
||||
repeated CHAR_TEAM_INFO team_info = 2;
|
||||
int32 curr_team_index = 3;
|
||||
uint32 max_char_team_member_count = 4;
|
||||
CHAR_TEAM_INFO temp_team_info = 5;
|
||||
CHAR_BAG_TEAM_TYPE team_type = 6;
|
||||
int32 scope_name = 10;
|
||||
bool is_scope_delete = 11;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_CURR_TEAM_INDEX {
|
||||
int32 curr_team_index = 1;
|
||||
int32 scope_name = 2;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_CURR_TEAM_TYPE {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 scope_name = 2;
|
||||
}
|
||||
message SC_CHAR_BAG_ADD_CHAR {
|
||||
CHAR_INFO char = 1;
|
||||
int32 scope_name = 2;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_TEAM_NAME {
|
||||
int32 team_index = 1;
|
||||
string team_name = 2;
|
||||
int32 scope_name = 3;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_TEAM_LEADER {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 team_index = 2;
|
||||
uint64 leaderid = 3;
|
||||
int32 scope_name = 4;
|
||||
}
|
||||
message SC_CHAR_BAG_SET_MAX_TEAM_MEMBER_COUNT {
|
||||
uint32 max_char_team_member_count = 1;
|
||||
int32 scope_name = 2;
|
||||
}
|
||||
message SC_CHAR_BAG_TEAM_LEADER_NOT_MATCH_NTF {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 team_index = 2;
|
||||
uint64 leaderid = 3;
|
||||
int32 scope_name = 4;
|
||||
}
|
||||
message SC_CHAR_BAG_DEL_CHAR {
|
||||
uint64 char_inst_id = 1;
|
||||
int32 scope_name = 2;
|
||||
}
|
||||
message SC_CHAR_BAG_ADD_CHAR_WITH_CONVERSION_NOTIFY {
|
||||
string char_template_id = 1;
|
||||
int32 scope_name = 2;
|
||||
bool is_converted = 3;
|
||||
string converted_item_id = 4;
|
||||
string converted_reward_id = 5;
|
||||
int32 source_reason = 6;
|
||||
}
|
||||
message PERSISTENT_BUFF_INFO {
|
||||
int32 item_num_id = 1;
|
||||
float duration = 2;
|
||||
repeated uint64 char_inst_ids = 3;
|
||||
string stacking_key = 4;
|
||||
}
|
||||
message SC_CHAR_BAG_SYNC_PERSISTENT_BUFFS {
|
||||
repeated PERSISTENT_BUFF_INFO buffs = 1;
|
||||
}
|
||||
72
proto/pb/cs_character.proto
Normal file
72
proto/pb/cs_character.proto
Normal file
@@ -0,0 +1,72 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
message ITEM_INFO {
|
||||
string res_id = 1;
|
||||
int32 res_count = 2;
|
||||
}
|
||||
message CS_CHAR_LEVEL_UP {
|
||||
uint64 charObjID = 1;
|
||||
repeated ITEM_INFO items = 2;
|
||||
}
|
||||
message SC_CHAR_LEVEL_UP {
|
||||
uint64 charObjID = 1;
|
||||
}
|
||||
message SC_CHAR_SYNC_LEVEL_EXP {
|
||||
uint64 charObjID = 1;
|
||||
int32 level = 2;
|
||||
int32 exp = 3;
|
||||
}
|
||||
message SC_CHAR_GAIN_EXP_TOAST {
|
||||
int32 exp = 1;
|
||||
int32 expType = 2;
|
||||
}
|
||||
message SC_CHAR_SYNC_STATUS {
|
||||
uint64 objid = 1;
|
||||
bool is_dead = 2;
|
||||
BATTLE_INFO battle_info = 3;
|
||||
}
|
||||
message CS_CHAR_POTENTIAL_UNLOCK {
|
||||
uint64 char_obj_id = 1;
|
||||
uint32 level = 2;
|
||||
int32 itemId = 3;
|
||||
}
|
||||
message SC_CHAR_POTENTIAL_UNLOCK {
|
||||
uint64 char_obj_id = 1;
|
||||
uint32 level = 2;
|
||||
}
|
||||
message CS_CHAR_SET_POTENTIAL_CG {
|
||||
uint64 char_obj_id = 1;
|
||||
int32 potential_level = 2;
|
||||
string cg_id = 3;
|
||||
}
|
||||
message SC_CHAR_SET_POTENTIAL_CG {
|
||||
uint64 char_obj_id = 1;
|
||||
int32 potential_level = 2;
|
||||
string cg_id = 3;
|
||||
}
|
||||
message SC_CHAR_SKILL_INFOS {
|
||||
uint64 char_obj_id = 1;
|
||||
repeated SKILL_LEVEL_INFO level_infos = 2;
|
||||
}
|
||||
message CS_CHAR_SKILL_LEVEL_UP {
|
||||
uint64 char_obj_id = 1;
|
||||
string skill_id = 2;
|
||||
int32 skill_type = 3;
|
||||
}
|
||||
message SC_CHAR_SKILL_LEVEL_UP {
|
||||
uint64 char_obj_id = 1;
|
||||
SKILL_LEVEL_INFO level_info = 2;
|
||||
}
|
||||
message CS_CHAR_UNLOCK_TALENT_NODE {
|
||||
uint64 char_obj_id = 1;
|
||||
string node_id = 2;
|
||||
}
|
||||
message SC_CHAR_UNLOCK_TALENT_NODE {
|
||||
uint64 char_obj_id = 1;
|
||||
string node_id = 2;
|
||||
}
|
||||
20
proto/pb/cs_collection.proto
Normal file
20
proto/pb/cs_collection.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SCENE_COLLECTION {
|
||||
string scene_name = 1;
|
||||
string prefab_id = 2;
|
||||
int32 count = 3;
|
||||
repeated uint64 detail_obj_id_list = 4;
|
||||
}
|
||||
message SC_SCENE_COLLECTION_SYNC {
|
||||
repeated SCENE_COLLECTION collection_list = 1;
|
||||
}
|
||||
message SC_SCENE_COLLECTION_MODIFY {
|
||||
string scene_name = 1;
|
||||
string prefab_id = 2;
|
||||
int32 count = 3;
|
||||
uint64 new_detail_obj_id = 4;
|
||||
}
|
||||
34
proto/pb/cs_dialog.proto
Normal file
34
proto/pb/cs_dialog.proto
Normal file
@@ -0,0 +1,34 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
import "cs_submit_item.proto";
|
||||
|
||||
enum DialogExtraInfoType {
|
||||
DialogExtraInfoType_NONE = 0;
|
||||
DialogExtraInfoType_SUBMIT_ITEM = 1;
|
||||
}
|
||||
message DIALOG {
|
||||
int32 dialog_id = 1;
|
||||
repeated int32 option_ids = 2;
|
||||
repeated int32 finish_nums = 3;
|
||||
}
|
||||
message CS_FINISH_DIALOG {
|
||||
int32 dialog_id = 1;
|
||||
repeated int32 option_ids = 2;
|
||||
repeated int32 finish_nums = 3;
|
||||
DialogExtraInfoType dialog_extra_info_type = 4;
|
||||
oneof dialog_extra_info {
|
||||
CS_SCENE_SUBMIT_ITEM submit_info = 5;
|
||||
}
|
||||
}
|
||||
message SC_FINISH_DIALOG {
|
||||
int32 dialog_id = 1;
|
||||
repeated int32 option_ids = 2;
|
||||
repeated int32 finish_nums = 3;
|
||||
}
|
||||
message SC_SYNC_ALL_DIALOG {
|
||||
repeated DIALOG dialog_list = 1;
|
||||
}
|
||||
123
proto/pb/cs_domain_depot.proto
Normal file
123
proto/pb/cs_domain_depot.proto
Normal file
@@ -0,0 +1,123 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
message CS_DOMAIN_DEPOT_UNLOCK_REQ {
|
||||
string domain_depot_id = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_UNLOCK_RSP {
|
||||
string domain_depot_id = 1;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_LEVEL_UPGRADE_REQ {
|
||||
string domain_depot_id = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_LEVEL_UPGRADE_RSP {
|
||||
string domain_depot_id = 1;
|
||||
uint32 level = 2;
|
||||
}
|
||||
message CS_REDUCE_CARGO_INTEGRITY_REQ {
|
||||
uint64 deliver_inst_id = 1;
|
||||
int32 reduce_type = 2;
|
||||
}
|
||||
message SC_REDUCE_CARGO_INTEGRITY_RSP {
|
||||
uint64 deliver_inst_id = 1;
|
||||
int32 current_cargo_integrity = 2;
|
||||
int64 reward_value = 3;
|
||||
}
|
||||
message SCD_DELEGATE_INST_STATUS_CHANGE {
|
||||
uint64 deliver_inst_id = 1;
|
||||
bool is_delete = 2;
|
||||
int32 state = 3;
|
||||
int64 expire_ts = 4;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_DAILY_REFRESH_TRIGGER {
|
||||
repeated int32 can_package_domain_depot_num_id_list = 1;
|
||||
repeated SCD_DELEGATE_INST_STATUS_CHANGE status_change_list = 2;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_SYNC_ALL_INFO {
|
||||
repeated DOMAIN_DEPOT_INFO domain_depot_info_list = 1;
|
||||
repeated DOMAIN_DEPOT_DELIVER_DATA domain_depot_deliver_info_list = 2;
|
||||
int32 daily_take_delegate_count = 3;
|
||||
uint64 cur_deliver_inst_id = 4;
|
||||
map<int32, string> version_map = 5;
|
||||
}
|
||||
message DOMAIN_DEPOT_INFO {
|
||||
string domain_depot_id = 1;
|
||||
int32 level = 2;
|
||||
bool can_package = 3;
|
||||
uint64 domain_depot_deliver_inst_id = 4;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_PACK_ITEM_REQ {
|
||||
string domain_depot_id = 1;
|
||||
int32 deliver_pack_type = 2;
|
||||
int32 deliver_item_type = 3;
|
||||
map<string, int64> items = 4;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_PACK_ITEM_RSP {
|
||||
string domain_depot_id = 1;
|
||||
uint64 deliver_inst_id = 2;
|
||||
repeated DOMAIN_DEPOT_BUYER_INFO buyer_candidate_list = 3;
|
||||
int32 pack_type = 4;
|
||||
int32 item_type = 5;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_SELECT_BUYER_REQ {
|
||||
uint64 deliver_inst_id = 1;
|
||||
string buyer_id = 2;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_SELECT_BUYER_RSP {
|
||||
uint64 deliver_inst_id = 1;
|
||||
DOMAIN_DEPOT_BUYER_INFO buyer_info = 2;
|
||||
int64 reward_value = 3;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_FETCH_DELEGATE_REQ {
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_FETCH_DELEGATE_RSP {
|
||||
repeated DOMAIN_DEPOT_DELIVER_DATA delegate_info_list = 1;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_DELEGATE_REQ {
|
||||
uint64 deliver_inst_id = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_DELEGATE_RSP {
|
||||
uint64 deliver_inst_id = 1;
|
||||
int64 expire_ts = 2;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_TAKE_DELEGATE_REQ {
|
||||
uint64 deliver_inst_id = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_TAKE_DELEGATE_RSP {
|
||||
uint64 deliver_inst_id = 1;
|
||||
int32 daily_take_delegate_count = 3;
|
||||
int64 expire_ts = 4;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_RECV_PACKAGE_FOR_DELIVER_REQ {
|
||||
uint64 deliver_inst_id = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_RECV_PACKAGE_FOR_DELIVER_RSP {
|
||||
uint64 deliver_inst_id = 1;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_SEND_PACKAGE_FOR_DELIVER_REQ {
|
||||
uint64 deliver_inst_id = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_SEND_PACKAGE_FOR_DELIVER_RSP {
|
||||
uint64 deliver_inst_id = 1;
|
||||
int64 reward_value = 2;
|
||||
int64 extra_credit_count = 3;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_UPDATE_DELEGATE_INST_STATE {
|
||||
uint64 deliver_inst_id = 1;
|
||||
int32 state = 2;
|
||||
DOMAIN_DEPOT_DELIVER_PEER_ROLE_INFO peer_role_info = 3;
|
||||
int64 expire_ts = 4;
|
||||
int64 final_payment_value = 5;
|
||||
}
|
||||
message CS_DOMAIN_DEPOT_COLLECT_DELEGATE_REWARD_REQ {
|
||||
repeated uint64 deliver_inst_id = 2;
|
||||
}
|
||||
message SC_DOMAIN_DEPOT_COLLECT_DELEGATE_REWARD_RSP {
|
||||
repeated uint64 deliver_inst_id = 2;
|
||||
map<string, int64> money_id_to_add_value = 3;
|
||||
}
|
||||
43
proto/pb/cs_domain_development.proto
Normal file
43
proto/pb/cs_domain_development.proto
Normal file
@@ -0,0 +1,43 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
enum DOMAIN_DEVELOPMENT_READ_VERSION_TYPE {
|
||||
DOMAIN_DEV_SYSTEM = 0;
|
||||
DOMAIN_DEV_KITE_STATION = 1;
|
||||
DOMAIN_DEV_SETTLEMENT = 2;
|
||||
DOMAIN_DEV_DOMAIN_SHOP = 3;
|
||||
DOMAIN_DEV_DOMAIN_DEPOT = 4;
|
||||
}
|
||||
message CS_DOMAIN_DEVELOPMENT_READ_VERSION_INFO {
|
||||
string chapter_id = 1;
|
||||
}
|
||||
message CS_DOMAIN_DEVELOPMENT_TAKE_REWARD {
|
||||
string chapter_id = 1;
|
||||
uint64 rewarded_level = 2;
|
||||
}
|
||||
message SC_DOMAIN_DEVELOPMENT_SYSTEM_SYNC {
|
||||
repeated DOMAIN_DEVELOPMENT domains = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEVELOPMENT_SYNC {
|
||||
DOMAIN_DEVELOPMENT domain = 1;
|
||||
}
|
||||
message SC_DOMAIN_DEVELOPMENT_DEGREE_MODIFY {
|
||||
string chapter_id = 1;
|
||||
DOMAIN_DEVELOPMENT_DEGREE degree = 2;
|
||||
}
|
||||
message SC_DOMAIN_DEVELOPMENT_REWARDED_LEVEL_MODIFY {
|
||||
string chapter_id = 1;
|
||||
uint64 rewarded_level = 2;
|
||||
}
|
||||
message SCD_DOMAIN_DEVELOPMENT_READ_VERSION_INFO_MODIFY {
|
||||
DOMAIN_DEVELOPMENT_READ_VERSION_TYPE data_type = 1;
|
||||
string chapter_id = 2;
|
||||
string version = 3;
|
||||
}
|
||||
message SC_DOMAIN_DEVELOPMENT_READ_VERSION_INFO_MODIFY {
|
||||
repeated SCD_DOMAIN_DEVELOPMENT_READ_VERSION_INFO_MODIFY data = 1;
|
||||
}
|
||||
19
proto/pb/cs_doodad_group.proto
Normal file
19
proto/pb/cs_doodad_group.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_SYNC_ALL_DOODAD_GROUP {
|
||||
repeated DOODAD_GROUP_INFO doodad_group_info_list = 1;
|
||||
}
|
||||
message DOODAD_GROUP_INFO {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 group_id = 2;
|
||||
int64 next_refresh_time = 3;
|
||||
int32 next_refresh_count = 4;
|
||||
int32 max_count = 5;
|
||||
int32 cur_count = 8;
|
||||
}
|
||||
message SC_DOODAD_GROUP_MODIFY {
|
||||
repeated DOODAD_GROUP_INFO doodad_group_info_list = 1;
|
||||
}
|
||||
85
proto/pb/cs_dungeon.proto
Normal file
85
proto/pb/cs_dungeon.proto
Normal file
@@ -0,0 +1,85 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum DUNGEON_COMPLETION_STATUS {
|
||||
DC_STATUS_NONE = 0;
|
||||
DC_STATUS_BEFORE_COMPLETION = 1;
|
||||
DC_STATUS_BEFORE_REWARD = 2;
|
||||
DC_STATUS_AFTER_REWARD = 3;
|
||||
}
|
||||
message CS_ENTER_DUNGEON {
|
||||
repeated TEAM_CHAR_ID char_team = 1;
|
||||
string dungeon_id = 2;
|
||||
oneof enter_param {
|
||||
ENTER_RACING_DUNGEON_PARAM racing_param = 21;
|
||||
ENTER_WEEK_RAID_PARAM week_raid_param = 22;
|
||||
}
|
||||
}
|
||||
message CS_ENTER_TRAIN_DUNGEON {
|
||||
repeated TEAM_CHAR_ID char_team = 1;
|
||||
string dungeon_id = 2;
|
||||
ENTER_RACING_DUNGEON_PARAM racing_param = 10;
|
||||
}
|
||||
message ENTER_RACING_DUNGEON_PARAM {
|
||||
int32 level = 1;
|
||||
string tactics_id = 2;
|
||||
}
|
||||
message ENTER_WEEK_RAID_PARAM {
|
||||
string item_id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message CS_RESTART_DUNGEON {
|
||||
string dungeon_id = 1;
|
||||
DUNGEON_COMPLETION_STATUS completion_status = 2;
|
||||
}
|
||||
message CS_LEAVE_DUNGEON {
|
||||
string dungeon_id = 1;
|
||||
}
|
||||
message CS_DUNGEON_RECOVER_AP {
|
||||
repeated ITEM_BUNDLE items = 1;
|
||||
bool use_money = 2;
|
||||
repeated INST_ITEM_BUNDLE inst_items = 3;
|
||||
int32 expect_money_buy_count = 4;
|
||||
}
|
||||
message CS_DUNGEON_RESTORE_AP {
|
||||
string lunch_box_item_id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message CS_DUNGEON_TOUCH_ENTRANCE {
|
||||
string dungeon_series_id = 1;
|
||||
}
|
||||
message SC_ENTER_DUNGEON {
|
||||
string dungeon_id = 3;
|
||||
string scene_id = 4;
|
||||
}
|
||||
message SC_RESTART_DUNGEON {
|
||||
string dungeon_id = 1;
|
||||
}
|
||||
message SC_LEAVE_DUNGEON {
|
||||
string dungeon_id = 1;
|
||||
}
|
||||
message SC_SYNC_STAMINA {
|
||||
uint32 cur_stamina = 1;
|
||||
uint32 max_stamina = 2;
|
||||
int64 next_recover_time = 3;
|
||||
int32 delta = 4;
|
||||
}
|
||||
message SC_SYNC_FULL_DUNGEON_STATUS {
|
||||
uint32 cur_stamina = 1;
|
||||
uint32 max_stamina = 2;
|
||||
int64 next_recover_time = 3;
|
||||
}
|
||||
message SC_NTF_AP_ITEMS_EXPIRE_AUTO_USE {
|
||||
uint32 cur_stamina = 1;
|
||||
int32 delta = 2;
|
||||
}
|
||||
message SC_DUNGEON_RESTORE_AP_RSP {
|
||||
ITEM_BUNDLE cost_empty_lunch_box_item = 1;
|
||||
int32 cost_stamina = 2;
|
||||
ITEM_BUNDLE reward_full_lunch_box_item = 3;
|
||||
}
|
||||
25
proto/pb/cs_energy_point.proto
Normal file
25
proto/pb/cs_energy_point.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_WORLD_ENERGY_POINT_REQ_GROUP_REWARD {
|
||||
string game_group_id = 1;
|
||||
int32 reward_multiplier = 2;
|
||||
bool without_stamina_reward = 3;
|
||||
bool use_stamina_reduce = 4;
|
||||
bool use_terms = 5;
|
||||
}
|
||||
message SC_WORLD_ENERGY_POINT_REQ_GROUP_REWARD {
|
||||
string game_id = 1;
|
||||
int32 reward_multiplier = 2;
|
||||
bool without_stamina_reward = 3;
|
||||
bool use_stamina_reduce = 4;
|
||||
}
|
||||
message CS_WORLD_ENERGY_POINT_SET_TERMS {
|
||||
string game_group_id = 1;
|
||||
repeated string terms = 2;
|
||||
}
|
||||
message CS_WORLD_ENERGY_POINT_ABANDON_GROUP_REWARD {
|
||||
string game_group_id = 1;
|
||||
}
|
||||
64
proto/pb/cs_equip.proto
Normal file
64
proto/pb/cs_equip.proto
Normal file
@@ -0,0 +1,64 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
message CS_EQUIP_PUTON {
|
||||
uint64 charid = 1;
|
||||
int32 slotid = 2;
|
||||
uint64 equipid = 3;
|
||||
}
|
||||
message SC_EQUIP_PUTON {
|
||||
uint64 charid = 1;
|
||||
int32 slotid = 2;
|
||||
uint64 equipid = 3;
|
||||
map<string, int32> suitinfo = 4;
|
||||
uint64 put_off_charid = 5;
|
||||
map<string, int32> old_owner_suitinfo = 6;
|
||||
}
|
||||
message CS_EQUIP_PUTOFF {
|
||||
uint64 charid = 1;
|
||||
int32 slotid = 2;
|
||||
}
|
||||
message SC_EQUIP_PUTOFF {
|
||||
uint64 charid = 1;
|
||||
int32 slotid = 2;
|
||||
map<string, int32> suitinfo = 3;
|
||||
}
|
||||
message CS_EQUIP_MEDICINE_MODIFY {
|
||||
uint64 char_id = 1;
|
||||
int32 equip_medicine_id = 2;
|
||||
}
|
||||
message SC_EQUIP_MEDICINE_MODIFY {
|
||||
uint64 char_id = 1;
|
||||
int32 equip_medicine_id = 2;
|
||||
}
|
||||
message CS_EQUIP_RECYCLE {
|
||||
repeated uint64 equip_instid_list = 1;
|
||||
int32 scope_name = 2;
|
||||
}
|
||||
message SC_EQUIP_RECYCLE {
|
||||
repeated uint64 equip_instid_list = 1;
|
||||
repeated string item_id = 2;
|
||||
repeated int32 item_count = 3;
|
||||
int32 scope_name = 4;
|
||||
}
|
||||
message CS_EQUIP_ENHANCE {
|
||||
uint64 equip_inst_id = 1;
|
||||
uint64 ingredient_inst_id = 2;
|
||||
int32 attr_index = 3;
|
||||
}
|
||||
message SC_EQUIP_ENHANCE {
|
||||
uint64 equip_inst_id = 1;
|
||||
EQUIP_DATA equip_data = 2;
|
||||
}
|
||||
message CS_EQUIP_PRODUCE {
|
||||
string formula_id = 1;
|
||||
}
|
||||
message SC_EQUIP_PRODUCE {
|
||||
string formula_id = 1;
|
||||
uint64 equip_instid = 2;
|
||||
}
|
||||
300
proto/pb/cs_factory.proto
Normal file
300
proto/pb/cs_factory.proto
Normal file
@@ -0,0 +1,300 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
enum FACTORY_FORMULA_VISIBLE_REASON {
|
||||
VISIBLE_REASON_GET_NEW_ITEM = 0;
|
||||
VISIBLE_REASON_UNLOCK = 1;
|
||||
VISIBLE_REASON_ITEM_VISIBLE = 2;
|
||||
VISIBLE_REASON_NEW_BUILDING = 3;
|
||||
VISIBLE_REASON_NEW_BUILDING_MODE = 4;
|
||||
VISIBLE_REASON_NEW_FORMULA_DONE = 5;
|
||||
}
|
||||
message SCD_FACTORY_STT_NODE {
|
||||
string id = 1;
|
||||
int32 state = 2;
|
||||
map<string, int32> values = 3;
|
||||
map<string, bool> flags = 4;
|
||||
bool hidden = 5;
|
||||
}
|
||||
message SCD_FACTORY_STT_PACKAGE {
|
||||
string id = 1;
|
||||
int32 state = 2;
|
||||
map<string, int32> values = 3;
|
||||
map<string, bool> flags = 4;
|
||||
bool hidden = 5;
|
||||
}
|
||||
message SCD_FACTORY_STT_LAYER {
|
||||
string id = 1;
|
||||
int32 state = 2;
|
||||
}
|
||||
message SCD_FACTORY_STT_CATEGORY {
|
||||
string id = 1;
|
||||
bool hidden = 2;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_STT {
|
||||
repeated SCD_FACTORY_STT_NODE nodes = 1;
|
||||
repeated SCD_FACTORY_STT_PACKAGE packages = 2;
|
||||
repeated SCD_FACTORY_STT_LAYER layers = 3;
|
||||
repeated SCD_FACTORY_STT_CATEGORY categories = 4;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_FORMULA_MAN {
|
||||
repeated string unlocked = 1;
|
||||
repeated string visible = 2;
|
||||
map<string, SCD_FACTORY_SYNC_FORMULA_MODE> modes = 3;
|
||||
repeated string level_up = 4;
|
||||
repeated string product_manual = 5;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_FORMULA_MODE {
|
||||
repeated string building_ids = 1;
|
||||
}
|
||||
message SCD_FACTORY_BUS_FREE_CNT_LIMIT {
|
||||
int32 bus_start_limit = 1;
|
||||
int32 bus_free_limit = 2;
|
||||
}
|
||||
message SCD_FACTORY_PANEL_BUS_FREE_LIMIT {
|
||||
map<int32, SCD_FACTORY_BUS_FREE_CNT_LIMIT> bus_free_panel_limit = 1;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_PROGRESS_STATUS {
|
||||
repeated string building_power_diffuser_enable = 1;
|
||||
repeated string building_power_can_be_wire_start = 2;
|
||||
map<string, SCD_FACTORY_PANEL_BUS_FREE_LIMIT> bus_free_limit = 3;
|
||||
map<string, SCD_FACTORY_BUILDING_DOMAIN_PLACE_LIMIT> domain_place_limit = 4;
|
||||
}
|
||||
message SC_FACTORY_SYNC {
|
||||
SCD_FACTORY_SYNC_FORMULA_MAN formula_man = 1;
|
||||
SCD_FACTORY_SYNC_STT stt = 2;
|
||||
SCD_FACTORY_SYNC_PROGRESS_STATUS progress_status = 3;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_FORMULA_MAN {
|
||||
repeated string new_unlocked = 1;
|
||||
repeated string new_product_manual = 2;
|
||||
repeated string new_level_up = 3;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_STT {
|
||||
repeated SCD_FACTORY_STT_NODE nodes = 1;
|
||||
repeated SCD_FACTORY_STT_PACKAGE packages = 2;
|
||||
repeated SCD_FACTORY_STT_LAYER layers = 3;
|
||||
repeated SCD_FACTORY_STT_CATEGORY categories = 4;
|
||||
}
|
||||
message FACTORY_FORMULA_VISIABLE {
|
||||
repeated string formula_list = 1;
|
||||
repeated string output_list = 2;
|
||||
repeated string source = 3;
|
||||
FACTORY_FORMULA_VISIBLE_REASON reason = 4;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_VISIBLE_FORMULA {
|
||||
FACTORY_FORMULA_VISIABLE new_visible = 1;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_FORMULA_MODE {
|
||||
string mode = 1;
|
||||
repeated string new_building_ids = 2;
|
||||
}
|
||||
message SCD_FACTORY_BUILDING_DOMAIN_PLACE_LIMIT {
|
||||
map<string, int32> building_limit = 1;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_PROGRESS_STATUS {
|
||||
repeated string add_building_power_diffuser_enable = 1;
|
||||
repeated string add_building_power_can_be_wire_start = 3;
|
||||
map<string, SCD_FACTORY_PANEL_BUS_FREE_LIMIT> bus_free_limit = 4;
|
||||
map<string, SCD_FACTORY_BUILDING_DOMAIN_PLACE_LIMIT> domain_place_limit = 5;
|
||||
}
|
||||
message SC_FACTORY_SYNC_SCOPE {
|
||||
int32 scope_name = 1;
|
||||
string current_chapter_id = 2;
|
||||
repeated string active_chapter_ids = 3;
|
||||
SCD_FACTORY_SYNC_HUB_TRANSPORT_ROUTE_MANAGER transport_route = 5;
|
||||
SCD_FACTORY_STATISTIC_BOOKMARK book_mark = 6;
|
||||
SCD_FACTORY_SYNC_PANEL_STORE panel_store = 7;
|
||||
SCD_FACTORY_SYNC_SIGN_MGR sign_mgr = 8;
|
||||
SCD_FACTORY_SYNC_SHARED_MGR shared_mgr = 9;
|
||||
}
|
||||
message CS_FACTORY_STATISTIC_SET_BOOKMARK_ITEM_IDS {
|
||||
repeated string item_ids = 1;
|
||||
bool is_remove = 2;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_STATISTIC_BOOKMARK {
|
||||
SCD_FACTORY_STATISTIC_BOOKMARK book_mark = 1;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message SCD_FACTORY_STATISTIC_BOOKMARK {
|
||||
repeated string bookmark_item_ids = 1;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_HUB_TRANSPORT_ROUTE_MANAGER {
|
||||
int64 update_ts = 1;
|
||||
repeated SCD_FACTORY_HUB_TRANSPORT_ROUTE routes = 2;
|
||||
}
|
||||
message SCD_FACTORY_HUB_TRANSPORT_ROUTE {
|
||||
string chapter_id = 1;
|
||||
int32 index = 2;
|
||||
string target_chapter_id = 3;
|
||||
string item_id = 4;
|
||||
int32 item_num = 5;
|
||||
int32 item_num_max = 6;
|
||||
int32 status = 7;
|
||||
int64 progress = 8;
|
||||
bool lossless = 9;
|
||||
}
|
||||
message CS_FACTORY_HUB_TRANSPORT_ROUTE_SET {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
int32 index = 3;
|
||||
string target_chapter_id = 4;
|
||||
string item_id = 5;
|
||||
int32 item_num_max = 6;
|
||||
bool lossless = 7;
|
||||
}
|
||||
message CS_FACTORY_HUB_TRANSPORT_ROUTE_RESET {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
int32 index = 3;
|
||||
}
|
||||
message CS_FACTORY_HUB_TRANSPORT_ROUTE_RESTART {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
int32 index = 3;
|
||||
}
|
||||
message SC_FACTORY_HUB_TRANSPORT_ROUTE_MODIFY {
|
||||
SCD_FACTORY_SYNC_HUB_TRANSPORT_ROUTE_MANAGER transport_route_modified = 1;
|
||||
}
|
||||
message SC_FACTORY_RELEASE_SCOPE {
|
||||
int32 scope_name = 1;
|
||||
repeated string delete_chapter_id_list = 11;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_SCOPE {
|
||||
int32 scope_name = 1;
|
||||
string current_chapter_id = 2;
|
||||
repeated string delete_chapter_id_list = 11;
|
||||
}
|
||||
message SC_FACTORY_SOIL_RECLAIM {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
bool result = 4;
|
||||
}
|
||||
message SC_FACTORY_SOIL_WATER {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
bool result = 4;
|
||||
}
|
||||
message SC_FACTORY_SOIL_HARVEST {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
bool result = 4;
|
||||
}
|
||||
message CS_FACTORY_SOIL_FERTILIZE {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
string item_id = 4;
|
||||
}
|
||||
message SC_FACTORY_SOIL_FERTILIZE {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
string item_id = 4;
|
||||
bool result = 5;
|
||||
}
|
||||
message CS_FACTORY_STT_UNLOCK_LAYER {
|
||||
string layer_id = 1;
|
||||
}
|
||||
message CS_FACTORY_STT_UNLOCK_NODE {
|
||||
string node_id = 1;
|
||||
}
|
||||
message CS_FACTORY_SOIL_RECLAIM {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
uint64 char_object_id = 4;
|
||||
}
|
||||
message CS_FACTORY_SOIL_WATER {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
uint64 char_object_id = 4;
|
||||
}
|
||||
message CS_FACTORY_SOIL_HARVEST {
|
||||
int32 scope_name = 1;
|
||||
string chapter_id = 2;
|
||||
uint32 node_id = 3;
|
||||
uint64 char_object_id = 4;
|
||||
}
|
||||
message SC_FACTORY_SYNC_OFFLINE_INFO {
|
||||
int64 max_offline_calc_sec = 1;
|
||||
int64 end_offline_calc_ts = 2;
|
||||
int64 offline_sec = 3;
|
||||
int64 miss_offline_sec = 4;
|
||||
}
|
||||
message CS_FACTORY_HUB_WORKSHOP_MAKE {
|
||||
int32 scope_name = 1;
|
||||
uint32 node_id = 2;
|
||||
string formula_id = 3;
|
||||
int32 multi = 4;
|
||||
}
|
||||
message SC_FACTORY_HUB_WORKSHOP_MAKE {
|
||||
bool success = 1;
|
||||
}
|
||||
message CS_FACTORY_PRODUCT_MANUAL_UNLOCK {
|
||||
int32 scope_name = 1;
|
||||
repeated string id_list = 2;
|
||||
}
|
||||
message SC_FACTORY_PRODUCT_MANUAL_UNLOCK {
|
||||
int32 scope_name = 1;
|
||||
repeated string id_list = 2;
|
||||
}
|
||||
message CS_FACTORY_MANUALLY_WORK_EXEC {
|
||||
int32 scope_name = 1;
|
||||
string formula_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message SC_FACTORY_MANUALLY_WORK_EXEC {
|
||||
int32 scope_name = 1;
|
||||
string formula_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message CS_FACTORY_PANEL_STORE_BUY {
|
||||
string id = 1;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_PANEL_STORE {
|
||||
repeated SCD_FACTORY_PANEL_STORE_GOOD goods = 1;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_PANEL_STORE {
|
||||
repeated SCD_FACTORY_PANEL_STORE_GOOD goods = 1;
|
||||
}
|
||||
message SCD_FACTORY_PANEL_STORE_GOOD {
|
||||
string id = 1;
|
||||
int32 state = 2;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_SIGN_MGR {
|
||||
repeated SCD_FACTORY_SIGN_NODE_INFO sign_node = 1;
|
||||
}
|
||||
message SCD_FACTORY_SIGN_NODE_INFO {
|
||||
string chapter_id = 1;
|
||||
uint32 node_id = 2;
|
||||
repeated int32 sign_id = 3;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_SIGN_MGR {
|
||||
int32 scope_name = 1;
|
||||
SCD_FACTORY_SYNC_SIGN_MGR sign_mgr = 2;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_SHARED_MGR {
|
||||
repeated SCD_FACTORY_SHARED_NODE_INFO recevie_shared_nodes = 1;
|
||||
}
|
||||
message SCD_FACTORY_SHARED_NODE_INFO {
|
||||
int32 scene_num_id = 1;
|
||||
uint32 node_id = 2;
|
||||
uint64 owner_id = 3;
|
||||
uint64 shared_role_id = 4;
|
||||
int64 create_timestamp = 5;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_SHARED_MGR {
|
||||
int32 scope_name = 1;
|
||||
SCD_FACTORY_SYNC_SHARED_MGR shared_mgr = 2;
|
||||
bool is_add = 3;
|
||||
}
|
||||
224
proto/pb/cs_factory_blue_print.proto
Normal file
224
proto/pb/cs_factory_blue_print.proto
Normal file
@@ -0,0 +1,224 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "cs_factory_op.proto";
|
||||
import "cs_factory_chapter.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum FACTORY_BP_REVIEW_STATUS {
|
||||
PENDING = 0;
|
||||
IN_PROGRESS = 1;
|
||||
APPROVED = 2;
|
||||
}
|
||||
enum FACTORY_BP_SOURCE_TYPE {
|
||||
FBST_MINE = 0;
|
||||
FBST_SYS = 1;
|
||||
FBST_GIFT = 2;
|
||||
FBST_PRESET = 3;
|
||||
}
|
||||
enum FACTORY_BP_MODIFY_TYPE {
|
||||
FBMT_NONE = 0;
|
||||
FBMT_NAME = 1;
|
||||
FBMT_DESC = 2;
|
||||
FBMT_ICON = 3;
|
||||
FBMT_PROD_ICON = 4;
|
||||
FBMT_BP_TAGS = 5;
|
||||
}
|
||||
message CSD_FACTORY_BLUE_PRINT_SIZE {
|
||||
int32 x_len = 1;
|
||||
int32 z_len = 2;
|
||||
}
|
||||
message CSD_FACTORY_BLUE_PRINT_ICON {
|
||||
string icon = 1;
|
||||
int32 base_color = 2;
|
||||
}
|
||||
message CSD_BLUE_PRINT_TRANSFORM {
|
||||
SCD_VEC3_INT position = 1;
|
||||
SCD_VEC3_INT direction = 2;
|
||||
CSD_FACTORY_INTERACTIVE_PARAM interactive_param = 3;
|
||||
SCD_VEC3_INT direction_in = 6;
|
||||
SCD_VEC3_INT direction_out = 7;
|
||||
repeated SCD_VEC3_INT points = 8;
|
||||
}
|
||||
message CSD_BLUE_PRINT_NODE {
|
||||
string template_id = 1;
|
||||
string product_icon = 2;
|
||||
int32 node_id = 3;
|
||||
CSD_BLUE_PRINT_TRANSFORM transform = 4;
|
||||
repeated CSD_BATCH_PLACE_COM coms = 5;
|
||||
}
|
||||
message CSD_FACTORY_BLUE_PRINT_DATA {
|
||||
string name = 3;
|
||||
string desc = 4;
|
||||
CSD_FACTORY_BLUE_PRINT_SIZE bp_size = 5;
|
||||
CSD_FACTORY_BLUE_PRINT_ICON bp_icon = 7;
|
||||
repeated int32 bp_tags = 8;
|
||||
FACTORY_BP_REVIEW_STATUS review_status = 9;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 10;
|
||||
int32 use_count = 11;
|
||||
uint64 creator_role_id = 12;
|
||||
string creator_user_id = 13;
|
||||
repeated CSD_BLUE_PRINT_NODE nodes = 14;
|
||||
bool is_new = 15;
|
||||
int64 fetch_time = 16;
|
||||
}
|
||||
message CS_FACTORY_SAVE_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_DATA blue_print_data = 2;
|
||||
}
|
||||
message SC_FACTORY_SAVE_BLUE_PRINT {
|
||||
string index = 1;
|
||||
}
|
||||
message CSD_FACTORY_BLUE_PRINT_NODE_PRODUCT_ICON {
|
||||
repeated int32 node_id = 1;
|
||||
repeated string prod_icon = 2;
|
||||
}
|
||||
message CSD_FACTORY_BLUE_PRINT_TAGS {
|
||||
repeated int32 tags = 1;
|
||||
}
|
||||
message FACTORY_BLUE_PRINT_MODIFY_DATA {
|
||||
FACTORY_BP_MODIFY_TYPE modify_type = 1;
|
||||
oneof op_payload {
|
||||
string modify_name = 11;
|
||||
string modify_desc = 12;
|
||||
CSD_FACTORY_BLUE_PRINT_ICON modify_bp_icon = 14;
|
||||
CSD_FACTORY_BLUE_PRINT_NODE_PRODUCT_ICON nodes_prod_icon = 15;
|
||||
CSD_FACTORY_BLUE_PRINT_TAGS modify_tags = 16;
|
||||
}
|
||||
}
|
||||
message CS_FACTORY_MODIFY_BLUE_PRINT {
|
||||
string index = 1;
|
||||
repeated FACTORY_BLUE_PRINT_MODIFY_DATA modify_data = 3;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 4;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_BLUE_PRINT {
|
||||
string index = 1;
|
||||
repeated FACTORY_BLUE_PRINT_MODIFY_DATA modify_data = 3;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 4;
|
||||
}
|
||||
message CS_FACTORY_DEL_BLUE_PRINT {
|
||||
string index = 1;
|
||||
repeated CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 3;
|
||||
}
|
||||
message SC_FACTORY_DEL_BLUE_PRINT {
|
||||
string index = 1;
|
||||
repeated CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 3;
|
||||
}
|
||||
message SC_FACTORY_SYNC_BLUE_PRINT_DATA {
|
||||
CSD_FACTORY_BLUE_PRINT_DATA blue_print_data = 1;
|
||||
}
|
||||
message SCD_FACTORY_SYS_BLUE_PRINT_DATA {
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM sys_bp_param = 1;
|
||||
uint64 bp_uid = 2;
|
||||
int32 use_count = 3;
|
||||
int64 fetch_time = 4;
|
||||
bool is_new = 5;
|
||||
}
|
||||
message SCD_FACTORY_GIFT_BLUE_PRINT_DATA {
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM gift_bp_param = 1;
|
||||
int32 use_count = 2;
|
||||
int64 fetch_time = 3;
|
||||
bool is_new = 4;
|
||||
}
|
||||
message SC_FACTORY_SYNC_BLUE_PRINT_MGR {
|
||||
repeated CSD_FACTORY_BLUE_PRINT_DATA blue_print_info = 1;
|
||||
repeated SCD_FACTORY_SYS_BLUE_PRINT_DATA sys_blue_print = 2;
|
||||
repeated SCD_FACTORY_GIFT_BLUE_PRINT_DATA gift_blue_print = 3;
|
||||
SCD_FACTORY_BP_PUBLIC_STATUS fac_bp_pub_status = 4;
|
||||
}
|
||||
message CSD_FACTORY_GIFT_BLUE_PRINT {
|
||||
uint64 bp_uid = 1;
|
||||
uint64 target_role_id = 2;
|
||||
int32 share_idx = 3;
|
||||
}
|
||||
message CSD_FACTORY_BLUE_PRINT_PARAM {
|
||||
FACTORY_BP_SOURCE_TYPE source_type = 1;
|
||||
oneof op_payload {
|
||||
uint64 my_bp_uid = 11;
|
||||
string sys_bp_key = 12;
|
||||
CSD_FACTORY_GIFT_BLUE_PRINT gift_bp_key = 13;
|
||||
string preset_bp_key = 14;
|
||||
}
|
||||
}
|
||||
message CS_FACTORY_USE_BLUE_PRINT {
|
||||
string index = 1;
|
||||
int32 scope_name = 3;
|
||||
int32 map_id = 4;
|
||||
CSD_FACTORY_AREA_RELATED_POS related_pos = 5;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 6;
|
||||
}
|
||||
message SC_FACTORY_USE_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 2;
|
||||
int32 use_count = 3;
|
||||
}
|
||||
message CS_FACTORY_REVIEW_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 2;
|
||||
}
|
||||
message SC_FACTORY_REVIEW_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 2;
|
||||
FACTORY_BP_REVIEW_STATUS status = 3;
|
||||
}
|
||||
message CS_FACTORY_SHARE_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 2;
|
||||
}
|
||||
message SC_FACTORY_SHARE_BLUE_PRINT {
|
||||
string index = 1;
|
||||
string share_code = 2;
|
||||
}
|
||||
message CS_FACTORY_QUERY_SHARED_BLUE_PRINT {
|
||||
string index = 1;
|
||||
string share_code = 2;
|
||||
}
|
||||
message SC_FACTORY_QUERY_SHARED_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_DATA blue_print_data = 2;
|
||||
}
|
||||
message CS_FACTORY_FETCH_GIFT_BLUE_PRINT {
|
||||
string index = 1;
|
||||
string share_code = 2;
|
||||
}
|
||||
message SC_FACTORY_FETCH_GIFT_BLUE_PRINT {
|
||||
string index = 1;
|
||||
}
|
||||
message CS_FACTORY_REPORT_BLUE_PRINT {
|
||||
string index = 1;
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 2;
|
||||
repeated string reason = 3;
|
||||
string content = 4;
|
||||
}
|
||||
message SC_FACTORY_REPORT_BLUE_PRINT {
|
||||
string index = 1;
|
||||
}
|
||||
message CS_FACTORY_QUERY_GIFT_BLUE_PRINT {
|
||||
string index = 1;
|
||||
repeated CSD_FACTORY_BLUE_PRINT_PARAM bp_params = 2;
|
||||
}
|
||||
message SC_FACTORY_QUERY_GIFT_BLUE_PRINT {
|
||||
string index = 1;
|
||||
repeated CSD_FACTORY_BLUE_PRINT_DATA blue_print_data = 2;
|
||||
}
|
||||
message CSD_FACTORY_SET_BP_FLAG {
|
||||
CSD_FACTORY_BLUE_PRINT_PARAM bp_param = 1;
|
||||
bool is_new = 2;
|
||||
}
|
||||
message CS_FACTORY_SET_BLUE_PRINT_FLAG {
|
||||
string index = 1;
|
||||
repeated CSD_FACTORY_SET_BP_FLAG set_bp_flag = 2;
|
||||
}
|
||||
message SC_FACTORY_SET_BLUE_PRINT_FLAG {
|
||||
string index = 1;
|
||||
repeated CSD_FACTORY_SET_BP_FLAG success_set = 2;
|
||||
}
|
||||
message SCD_FACTORY_BP_PUBLIC_STATUS {
|
||||
bool forbid_share = 1;
|
||||
bool forbid_fetch = 2;
|
||||
}
|
||||
message SC_FACTORY_BP_PUBLIC_STATUS {
|
||||
SCD_FACTORY_BP_PUBLIC_STATUS public_status = 1;
|
||||
}
|
||||
710
proto/pb/cs_factory_chapter.proto
Normal file
710
proto/pb/cs_factory_chapter.proto
Normal file
@@ -0,0 +1,710 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum SCD_FACTORY_HS_CE_EventType {
|
||||
SCD_FACTORY_HS_CE_None = 0;
|
||||
SCD_FACTORY_HS_CE_InPowerUp = 1;
|
||||
SCD_FACTORY_HS_CE_InPowerDown = 2;
|
||||
SCD_FACTORY_HS_CE_FluidHeightChange = 3;
|
||||
SCD_FACTORY_HS_CE_FluidContentChange = 4;
|
||||
SCD_FACTORY_HS_CE_ProducerChangeFormula = 5;
|
||||
SCD_FACTORY_HS_CE_BusLoaderChangeLastPutIn = 6;
|
||||
SCD_FACTORY_HS_CE_BattleEnergyChange = 7;
|
||||
SCD_FACTORY_HS_CE_JoinWorking = 8;
|
||||
SCD_FACTORY_HS_CE_LeaveWorking = 9;
|
||||
SCD_FACTORY_HS_CE_RegionPower = 10;
|
||||
SCD_FACTORY_HS_CE_BlockComponent = 11;
|
||||
SCD_FACTORY_HS_CE_UnBlockComponent = 12;
|
||||
SCD_FACTORY_HS_CE_SubPortBlock = 21;
|
||||
SCD_FACTORY_HS_CE_SubPortUnBlock = 22;
|
||||
SCD_FACTORY_HS_CE_ChangeProduct = 31;
|
||||
SCD_FACTORY_HS_CE_UdPipeChageLastPutIn = 35;
|
||||
}
|
||||
message SCD_VEC3_INT {
|
||||
int32 X = 1;
|
||||
int32 Y = 2;
|
||||
int32 Z = 3;
|
||||
}
|
||||
message SCD_RECT_INT {
|
||||
int32 X = 1;
|
||||
int32 Y = 2;
|
||||
int32 Z = 3;
|
||||
int32 L = 4;
|
||||
int32 W = 5;
|
||||
int32 H = 6;
|
||||
}
|
||||
message SCD_FAC_SUB_PORT {
|
||||
SCD_VEC3_INT position = 1;
|
||||
SCD_VEC3_INT direction = 2;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_ITEM {
|
||||
string id = 1;
|
||||
int32 count = 2;
|
||||
int32 offset = 6;
|
||||
int64 tms = 11;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_BC_ITEM {
|
||||
string id = 1;
|
||||
int32 index = 2;
|
||||
int32 offset = 3;
|
||||
}
|
||||
message SCD_FAC_FLUID_REACTION_FORMULA {
|
||||
string formula_id = 1;
|
||||
int64 current_progress = 2;
|
||||
bool in_block = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_CT {
|
||||
uint32 component_id = 1;
|
||||
repeated uint32 item_in = 2;
|
||||
repeated uint32 item_out = 3;
|
||||
repeated int32 index_in = 4;
|
||||
repeated int32 index_out = 5;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB {
|
||||
uint32 component_id = 1;
|
||||
oneof component_payload {
|
||||
SCD_FACTORY_HS_FB_CACHE cache = 2;
|
||||
SCD_FACTORY_HS_FB_PRODUCER producer = 3;
|
||||
SCD_FACTORY_HS_FB_COLLECTOR collector = 4;
|
||||
SCD_FACTORY_HS_FB_BURN_POWER burn_power = 5;
|
||||
SCD_FACTORY_HS_FB_CACHE_TRANSPORT cache_transport = 6;
|
||||
SCD_FACTORY_HS_FB_GRID_BOX grid_box = 7;
|
||||
SCD_FACTORY_HS_FB_BOX_ROUTER_M1 box_router_m1 = 8;
|
||||
SCD_FACTORY_HS_FB_BOX_BRIDGE box_bridge = 9;
|
||||
SCD_FACTORY_HS_FB_FLUID_BRIDGE fluid_bridge = 12;
|
||||
SCD_FACTORY_HS_FB_FLUID_ROUTER_M1 fluid_router_m1 = 13;
|
||||
SCD_FACTORY_HS_FB_FLUID_CONTAINER fluid_container = 14;
|
||||
SCD_FACTORY_HS_FB_FLUID_PUMP_IN fluid_pump_in = 15;
|
||||
SCD_FACTORY_HS_FB_BATTLE battle = 16;
|
||||
SCD_FACTORY_HS_FB_BATTERY_BURN battery_burn = 17;
|
||||
SCD_FACTORY_HS_FB_FLUID_SPRAY fluid_spray = 18;
|
||||
SCD_FACTORY_HS_FB_FLUID_PUMP_OUT fluid_pump_out = 19;
|
||||
SCD_FACTORY_HS_FB_FLUID_CONSUME fluid_consume = 20;
|
||||
SCD_FACTORY_HS_FB_FLUID_REACTION fluid_reaction = 21;
|
||||
SCD_FACTORY_HS_FB_WATER_COLLECTOR water_collector = 22;
|
||||
SCD_FACTORY_HS_FB_BOX_VALVE box_valve = 23;
|
||||
SCD_FACTORY_HS_FB_FLUID_VALVE fluid_valve = 24;
|
||||
SCD_FACTORY_HS_FB_FLUID_UD_PIPE ud_pipe = 25;
|
||||
}
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_CACHE {
|
||||
repeated uint32 items = 1;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_PRODUCER {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
string formula_id = 2;
|
||||
int64 current_progress = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_COLLECTOR {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_BURN_POWER {
|
||||
int64 progress_decr_per_ms = 1;
|
||||
int64 current_least_progress = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_CACHE_TRANSPORT {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_GRID_BOX {
|
||||
repeated uint32 items = 1;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_BOX_ROUTER_M1 {
|
||||
repeated uint32 items = 1;
|
||||
map<int32, uint32> last_item_in = 2;
|
||||
map<int32, uint32> last_item_out = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_BOX_BRIDGE {
|
||||
repeated uint32 items = 1;
|
||||
uint32 last_item_in = 2;
|
||||
uint32 last_item_out = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_BOX_VALVE {
|
||||
repeated uint32 items = 1;
|
||||
int32 current_passed = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_BRIDGE {
|
||||
repeated uint32 items = 1;
|
||||
uint32 last_item_in = 2;
|
||||
uint32 last_item_out = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_ROUTER_M1 {
|
||||
repeated uint32 items = 1;
|
||||
map<int32, uint32> last_item_in = 2;
|
||||
map<int32, uint32> last_item_out = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_VALVE {
|
||||
repeated uint32 items = 1;
|
||||
int32 current_passed = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_UD_PIPE {
|
||||
int32 last_round_pass_count = 1;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_CONTAINER {
|
||||
repeated uint32 items = 1;
|
||||
bool infinite = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_PUMP_IN {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_PUMP_OUT {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
int32 last_round_pump_count = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_CONSUME {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_REACTION {
|
||||
repeated SCD_FAC_FLUID_REACTION_FORMULA formulas = 1;
|
||||
int64 progress_incr_per_ms = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_BATTLE {
|
||||
int32 energy_current = 1;
|
||||
int32 energy_max = 2;
|
||||
bool in_overloading = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_BATTERY_BURN {
|
||||
int32 energy_loaded = 1;
|
||||
int32 energy_current = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_FLUID_SPRAY {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
int32 last_round_spray_count = 3;
|
||||
}
|
||||
message SCD_FACTORY_HS_FB_WATER_COLLECTOR {
|
||||
int64 progress_incr_per_ms = 1;
|
||||
int64 current_progress = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_CE {
|
||||
SCD_FACTORY_HS_CE_EventType EventType = 1;
|
||||
repeated uint32 EventParam = 2;
|
||||
}
|
||||
message SCD_FACTORY_HS_BB {
|
||||
SCD_FACTORY_HS_BB_POWER power = 1;
|
||||
}
|
||||
message SCD_FACTORY_HS_BB_POWER {
|
||||
bool is_stop_by_power = 1;
|
||||
int64 power_cost_sum = 2;
|
||||
int64 power_save_max = 3;
|
||||
int64 power_save_current = 4;
|
||||
int64 power_gen_last_sec = 5;
|
||||
}
|
||||
message SCD_FAC_COM {
|
||||
uint32 component_id = 1;
|
||||
int32 component_type = 2;
|
||||
oneof component_payload {
|
||||
SCD_FAC_COM_PORT_MANAGER port_manager = 9;
|
||||
SCD_FAC_COM_INVENTORY inventory = 10;
|
||||
SCD_FAC_COM_CACHE cache = 11;
|
||||
SCD_FAC_COM_SELECTOR selector = 12;
|
||||
SCD_FAC_COM_COLLECTOR collector = 13;
|
||||
SCD_FAC_COM_PRODUCER producer = 14;
|
||||
SCD_FAC_COM_BOX_CONVEYOR box_conveyor = 15;
|
||||
SCD_FAC_COM_BOX_ROUTER_M1 box_router_m1 = 16;
|
||||
SCD_FAC_COM_BURN_POWER burn_power = 17;
|
||||
SCD_FAC_COM_CACHE_TRANSPORT cache_transport = 18;
|
||||
SCD_FAC_COM_STABLE_POWER stable_power = 19;
|
||||
SCD_FAC_COM_POWER_POLE power_pole = 20;
|
||||
SCD_FAC_COM_POWER_SAVE power_save = 22;
|
||||
SCD_FAC_COM_BUS_LOADER bus_loader = 23;
|
||||
SCD_FAC_COM_TRAVEL_POLE travel_pole = 24;
|
||||
SCD_FAC_COM_GRID_BOX grid_box = 25;
|
||||
SCD_FAC_COM_BOX_BRIDGE box_bridge = 26;
|
||||
SCD_FAC_COM_BATTLE battle = 27;
|
||||
SCD_FAC_COM_FLUID_CONVEYOR fluid_conveyor = 28;
|
||||
SCD_FAC_COM_FLUID_BRIDGE fluid_bridge = 29;
|
||||
SCD_FAC_COM_FLUID_ROUTER_M1 fluid_router_m1 = 30;
|
||||
SCD_FAC_COM_FORMULA_MAN formula_man = 31;
|
||||
SCD_FAC_COM_FLUID_CONTAINER fluid_container = 32;
|
||||
SCD_FAC_COM_FLUID_PUMP_IN fluid_pump_in = 33;
|
||||
SCD_FAC_COM_BATTERY_BURN battery_burn = 34;
|
||||
SCD_FAC_COM_SUB_HUB sub_hub = 35;
|
||||
SCD_FAC_COM_WATER_COLLECTOR water_collector = 36;
|
||||
SCD_FAC_COM_SOIL soil = 37;
|
||||
SCD_FAC_COM_FLUID_SPRAY fluid_spray = 38;
|
||||
SCD_FAC_COM_FLUID_PUMP_OUT fluid_pump_out = 39;
|
||||
SCD_FAC_COM_FLUID_CONSUME fluid_consume = 40;
|
||||
SCD_FAC_COM_FLUID_REACTION fluid_reaction = 41;
|
||||
SCD_FAC_COM_BOX_VALVE box_valve = 42;
|
||||
SCD_FAC_COM_FLUID_VALVE fluid_valve = 43;
|
||||
SCD_FAC_COM_SOCIAL social_value = 44;
|
||||
SCD_FAC_COM_BUS_FREE bus_free = 45;
|
||||
SCD_FAC_COM_BUS_START bus_start = 46;
|
||||
SCD_FAC_COM_FLUID_UD_PIPE ud_pipe = 47;
|
||||
SCD_FAC_COM_SIGN sign = 48;
|
||||
}
|
||||
}
|
||||
message SCD_FAC_COM_SUB_PORT {
|
||||
int32 index = 1;
|
||||
uint32 owner_com_id = 2;
|
||||
uint32 touch_com_id = 3;
|
||||
bool in_block = 4;
|
||||
}
|
||||
message SCD_FAC_COM_PORT_MANAGER {
|
||||
repeated SCD_FAC_COM_SUB_PORT ports = 1;
|
||||
}
|
||||
message SCD_FAC_COM_INVENTORY {
|
||||
map<uint32, int32> items = 1;
|
||||
}
|
||||
message SCD_FAC_COM_CACHE {
|
||||
repeated SCD_FACTORY_SYNC_ITEM items = 1;
|
||||
int32 size = 2;
|
||||
}
|
||||
message SCD_FAC_COM_SELECTOR {
|
||||
string selected_item_id = 1;
|
||||
}
|
||||
message SCD_FAC_COM_BUS_LOADER {
|
||||
string last_putin_item_id = 1;
|
||||
}
|
||||
message SCD_FAC_COM_COLLECTOR {
|
||||
repeated SCD_FACTORY_SYNC_ITEM items_round = 1;
|
||||
int64 current_progress = 2;
|
||||
bool in_block = 4;
|
||||
}
|
||||
message SCD_FAC_COM_WATER_COLLECTOR {
|
||||
repeated SCD_FACTORY_SYNC_ITEM items_round = 1;
|
||||
int64 current_progress = 2;
|
||||
bool in_block = 4;
|
||||
bool in_produce = 5;
|
||||
}
|
||||
message SCD_FAC_COM_PRODUCER {
|
||||
string formula_id = 1;
|
||||
int64 current_progress = 2;
|
||||
bool in_block = 4;
|
||||
bool in_produce = 5;
|
||||
string last_formula_id = 11;
|
||||
}
|
||||
message SCD_FAC_COM_BURN_POWER {
|
||||
int64 current_least_progress = 1;
|
||||
string current_burn_item_id = 2;
|
||||
int64 power_gen_per_sec = 3;
|
||||
}
|
||||
message SCD_FAC_COM_STABLE_POWER {
|
||||
int64 power_gen_per_sec = 3;
|
||||
}
|
||||
message SCD_FAC_COM_CACHE_TRANSPORT {
|
||||
int64 current_progress = 1;
|
||||
int64 total_progress = 2;
|
||||
bool auto_transport = 3;
|
||||
bool in_use = 5;
|
||||
}
|
||||
message SCD_FAC_COM_BOX_CONVEYOR {
|
||||
repeated SCD_FACTORY_SYNC_ITEM items = 2;
|
||||
repeated SCD_FACTORY_SYNC_BC_ITEM items_v2 = 3;
|
||||
}
|
||||
message SCD_FAC_COM_BOX_BRIDGE {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
}
|
||||
message SCD_FAC_COM_BOX_ROUTER_M1 {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
bool m_in = 2;
|
||||
}
|
||||
message SCD_FAC_COM_BOX_VALVE {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
string selected_item_id = 2;
|
||||
bool valve_enable = 3;
|
||||
int32 valve_passed = 4;
|
||||
int32 current_passed = 5;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_CONVEYOR {
|
||||
string item_id = 1;
|
||||
int32 fluid_height = 2;
|
||||
repeated int64 box_tms_list = 3;
|
||||
repeated int32 box_offset_list = 4;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_BRIDGE {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_ROUTER_M1 {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
bool m_in = 2;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_CONTAINER {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
bool infinite = 2;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_VALVE {
|
||||
SCD_FACTORY_SYNC_ITEM hold_item = 1;
|
||||
string selected_item_id = 2;
|
||||
bool valve_enable = 3;
|
||||
int32 valve_passed = 4;
|
||||
int32 current_passed = 5;
|
||||
}
|
||||
message SCD_FAC_COM_BUS_FREE {
|
||||
bool enabled = 1;
|
||||
}
|
||||
message SCD_FAC_COM_BUS_START {
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_UD_PIPE {
|
||||
uint64 conn_com_id = 1;
|
||||
int32 offset = 2;
|
||||
string last_pass_item_id = 3;
|
||||
bool in_block = 4;
|
||||
}
|
||||
message SCD_FAC_COM_POWER_POLE {
|
||||
}
|
||||
message SCD_FAC_COM_POWER_SAVE {
|
||||
int64 power_save = 1;
|
||||
}
|
||||
message SCD_FAC_COM_TRAVEL_POLE {
|
||||
uint32 default_next = 11;
|
||||
}
|
||||
message SCD_FAC_COM_GRID_BOX {
|
||||
repeated SCD_FACTORY_SYNC_ITEM items = 1;
|
||||
}
|
||||
message SCD_FAC_COM_FORMULA_MAN {
|
||||
repeated string formula_ids = 1;
|
||||
string locked_formula_id = 2;
|
||||
string current_mode = 11;
|
||||
string current_group = 12;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_PUMP_IN {
|
||||
SCD_FACTORY_SYNC_ITEM item_round = 1;
|
||||
int64 current_progress = 2;
|
||||
string source_inst_key = 3;
|
||||
bool in_block = 4;
|
||||
bool in_produce = 5;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_PUMP_OUT {
|
||||
int32 round_count = 1;
|
||||
int64 current_progress = 2;
|
||||
string target_inst_key = 3;
|
||||
bool in_block = 4;
|
||||
bool in_produce = 5;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_CONSUME {
|
||||
int32 round_count = 1;
|
||||
int64 current_progress = 2;
|
||||
bool in_block = 3;
|
||||
bool in_produce = 4;
|
||||
string latest_item_id = 5;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_REACTION {
|
||||
repeated SCD_FAC_FLUID_REACTION_FORMULA formulas = 1;
|
||||
bool in_block = 2;
|
||||
bool in_produce = 3;
|
||||
}
|
||||
message SCD_FAC_COM_BATTLE {
|
||||
int32 energy_current = 1;
|
||||
int32 energy_max = 2;
|
||||
bool in_overloading = 3;
|
||||
}
|
||||
message SCD_FAC_COM_BATTERY_BURN {
|
||||
int32 energy_loaded = 1;
|
||||
int32 energy_current = 2;
|
||||
}
|
||||
message SCD_FAC_COM_SUB_HUB {
|
||||
int32 level = 1;
|
||||
}
|
||||
message SCD_FAC_COM_SOIL {
|
||||
int32 step_cursor = 1;
|
||||
int32 water_got = 2;
|
||||
int32 grow_ms = 4;
|
||||
int32 increased_type = 5;
|
||||
int32 ripen_count = 6;
|
||||
int64 in_grow_tms = 3;
|
||||
}
|
||||
message SCD_FAC_COM_FLUID_SPRAY {
|
||||
int64 current_progress = 1;
|
||||
bool in_produce = 2;
|
||||
int32 last_round_spray_count = 3;
|
||||
bool in_block = 11;
|
||||
}
|
||||
message SCD_FAC_COM_SOCIAL {
|
||||
uint64 owner_id = 1;
|
||||
uint32 social_node_id = 2;
|
||||
uint64 like = 3;
|
||||
int64 last_set_like_ts = 4;
|
||||
int64 expiration_ts = 5;
|
||||
bool preset = 6;
|
||||
}
|
||||
message SCD_FAC_COM_SIGN {
|
||||
repeated int32 sign_id = 1;
|
||||
}
|
||||
message SCD_FAC_NODE {
|
||||
uint32 node_id = 1;
|
||||
int32 node_type = 2;
|
||||
string template_id = 3;
|
||||
SCD_FAC_TRANSFORM transform = 4;
|
||||
bool is_deactive = 5;
|
||||
SCD_FAC_INTERACTIVE_OBJECT interactive_object = 6;
|
||||
SCD_FAC_NODE_POWER power = 8;
|
||||
string inst_key = 9;
|
||||
uint32 flag = 10;
|
||||
map<int32, uint32> component_pos = 11;
|
||||
repeated SCD_FAC_COM components = 12;
|
||||
}
|
||||
message SCD_FAC_TRANSFORM {
|
||||
SCD_VEC3_INT position = 1;
|
||||
SCD_VEC3_INT direction = 2;
|
||||
SCD_FAC_MESH mesh = 3;
|
||||
int32 map_id = 4;
|
||||
VECTOR world_position = 9;
|
||||
VECTOR world_rotation = 10;
|
||||
SCD_FAC_SUB_PORT bc_port_in = 11;
|
||||
SCD_FAC_SUB_PORT bc_port_out = 12;
|
||||
}
|
||||
message SCD_FAC_MESH {
|
||||
int32 mesh_type = 1;
|
||||
repeated SCD_VEC3_INT points = 2;
|
||||
}
|
||||
message SCD_FAC_NODE_POWER {
|
||||
bool in_power = 1;
|
||||
int64 power_cost = 2;
|
||||
bool need_in_power = 11;
|
||||
int64 power_cost_show = 12;
|
||||
}
|
||||
message SCD_FAC_INTERACTIVE_OBJECT {
|
||||
uint64 object_id = 1;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_SCENE {
|
||||
int32 scene_id = 1;
|
||||
SCD_FACTORY_SYNC_SCENE_BANDWIDTH bandwidth = 5;
|
||||
repeated SCD_FACTORY_SYNC_SCENE_PANEL panels = 6;
|
||||
repeated SCD_FACTORY_SYNC_SCENE_PANEL soil_panels = 7;
|
||||
map<string, SCD_FACTORY_SYNC_SCENE_BANDWIDTH> settlements = 10;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_SCENE_PANEL {
|
||||
int32 index = 1;
|
||||
int32 level = 2;
|
||||
repeated SCD_RECT_INT main_mesh = 3;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_SCENE_BANDWIDTH {
|
||||
int32 current = 1;
|
||||
int32 max = 2;
|
||||
int32 travel_pole_current = 3;
|
||||
int32 travel_pole_max = 4;
|
||||
int32 battle_current = 5;
|
||||
int32 battle_max = 6;
|
||||
int32 sp_current = 11;
|
||||
int32 sp_max = 12;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_MAP {
|
||||
int32 map_id = 1;
|
||||
repeated SCD_FACTORY_SYNC_MAP_WIRE wires = 2;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_MAP_WIRE {
|
||||
uint64 index = 1;
|
||||
uint64 from_com_id = 2;
|
||||
uint64 to_com_id = 3;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_BLACKBOARD {
|
||||
uint32 inventory_node_id = 1;
|
||||
SCD_FACTORY_SYNC_BLACKBOARD_POWER power = 11;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_BLACKBOARD_POWER {
|
||||
int64 power_cost = 1;
|
||||
int64 power_gen = 2;
|
||||
int64 power_save_max = 3;
|
||||
int64 power_save_current = 4;
|
||||
bool is_stop_by_power = 5;
|
||||
}
|
||||
message SCD_FACTORY_STATISTIC_LASTDAY {
|
||||
repeated SCD_FACTORY_STATISTIC_LASTDAY_DAY days = 1;
|
||||
}
|
||||
message SCD_FACTORY_STATISTIC_LASTDAY_DAY {
|
||||
int64 day_ts = 1;
|
||||
map<string, int64> from_productivity = 2;
|
||||
}
|
||||
message SCD_FACTORY_STATISTIC_OTHER {
|
||||
int32 power_net_length_sum = 1;
|
||||
int32 in_power_building = 2;
|
||||
float power_net_coverage = 3;
|
||||
}
|
||||
message SCD_FACTORY_STATISTIC_RECORD {
|
||||
int32 rank = 1;
|
||||
repeated int64 points_gen = 2;
|
||||
repeated int64 points_cost = 3;
|
||||
int64 theoretical_gen = 4;
|
||||
int64 theoretical_cost = 5;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_PIN_BOARD {
|
||||
repeated SCD_FACTORY_PIN_CARD cards = 1;
|
||||
}
|
||||
message SCD_FACTORY_PIN_CARD {
|
||||
int32 pos = 1;
|
||||
string str_id = 2;
|
||||
uint64 num_id = 3;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_QUICKBAR {
|
||||
int32 type = 1;
|
||||
repeated string list = 2;
|
||||
}
|
||||
message CSD_BATCH_PLACE_SELECTOR {
|
||||
string selected_item_id = 1;
|
||||
}
|
||||
message CSD_BATCH_PLACE_FORMULA_MAN {
|
||||
string cur_mode = 1;
|
||||
}
|
||||
message CSD_BATCH_PLACE_BOX_VALVE {
|
||||
string selected_item_id = 1;
|
||||
bool valve_enable = 2;
|
||||
int32 valve_passed = 3;
|
||||
}
|
||||
message CSD_BATCH_PLACE_FLUID_VALVE {
|
||||
string selected_item_id = 1;
|
||||
bool valve_enable = 2;
|
||||
int32 valve_passed = 3;
|
||||
}
|
||||
message CSD_BATCH_PLACE_SIGN {
|
||||
repeated int32 sign_ids = 1;
|
||||
}
|
||||
message CSD_BATCH_PLACE_COM {
|
||||
int32 com_type = 1;
|
||||
uint32 com_pos = 2;
|
||||
oneof component_payload {
|
||||
CSD_BATCH_PLACE_SELECTOR selector = 10;
|
||||
CSD_BATCH_PLACE_FORMULA_MAN formula_man = 11;
|
||||
CSD_BATCH_PLACE_BOX_VALVE box_valve = 12;
|
||||
CSD_BATCH_PLACE_FLUID_VALVE fluid_valve = 13;
|
||||
CSD_BATCH_PLACE_SIGN sign = 14;
|
||||
}
|
||||
}
|
||||
message CSD_BATCH_PLACE_COM_LIST {
|
||||
repeated CSD_BATCH_PLACE_COM coms = 1;
|
||||
}
|
||||
message SCD_BATCH_PENDING_BUILDING_DATA {
|
||||
int32 slot_id = 1;
|
||||
map<string, int32> pre_cost_items = 2;
|
||||
repeated SCD_FAC_NODE nodes = 3;
|
||||
map<uint32, CSD_BATCH_PLACE_COM_LIST> com_data = 4;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_PENDING_PLACE {
|
||||
repeated SCD_BATCH_PENDING_BUILDING_DATA pending_place_info = 1;
|
||||
repeated SCD_FAC_NODE conveyor_related_nodes = 2;
|
||||
}
|
||||
message SC_FACTORY_SYNC_CHAPTER {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
repeated SCD_FAC_NODE nodes = 3;
|
||||
repeated SCD_FACTORY_SYNC_SCENE scenes = 4;
|
||||
SCD_FACTORY_SYNC_BLACKBOARD blackboard = 5;
|
||||
SCD_FACTORY_SYNC_PIN_BOARD pin_board = 6;
|
||||
repeated SCD_FACTORY_SYNC_MAP maps = 7;
|
||||
repeated SCD_FACTORY_SYNC_QUICKBAR quickbars = 8;
|
||||
SCD_FACTORY_SYNC_STATISTIC statistic = 9;
|
||||
SCD_FACTORY_SYNC_PENDING_PLACE pending_place = 10;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_CHAPTER_NODES {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
repeated SCD_FAC_NODE nodes = 3;
|
||||
repeated uint32 remove_nodes = 4;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_CHAPTER_COMPONENTS {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
repeated SCD_FAC_COM components = 3;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_CHAPTER_MAP {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
int32 map_id = 3;
|
||||
repeated SCD_FACTORY_SYNC_MAP_WIRE wires = 11;
|
||||
repeated uint64 remove_wires = 12;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_CHAPTER_SCENE {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
int32 scene_id = 3;
|
||||
SCD_FACTORY_SYNC_SCENE_BANDWIDTH bandwidth = 13;
|
||||
repeated SCD_FACTORY_SYNC_SCENE_PANEL panels = 14;
|
||||
repeated SCD_FACTORY_SYNC_SCENE_PANEL soil_panels = 15;
|
||||
map<string, SCD_FACTORY_SYNC_SCENE_BANDWIDTH> settlements = 20;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_CHAPTER_PIN_BOARD {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
repeated SCD_FACTORY_PIN_CARD modified = 3;
|
||||
repeated int32 release_pos = 4;
|
||||
}
|
||||
message SC_FACTORY_SWITCH_CHAPTER {
|
||||
repeated string release_chapter_ids = 1;
|
||||
repeated string active_chapter_ids = 2;
|
||||
}
|
||||
message SC_FACTORY_HS {
|
||||
int64 tms = 1;
|
||||
repeated SCD_FACTORY_HS_CT ctList = 2;
|
||||
repeated SCD_FACTORY_HS_FB fbList = 3;
|
||||
repeated SCD_FACTORY_HS_CE ceList = 4;
|
||||
SCD_FACTORY_HS_BB blackboard = 5;
|
||||
string chapter_id = 11;
|
||||
}
|
||||
message SC_FACTORY_HS_SYNC {
|
||||
int64 tms = 1;
|
||||
repeated SCD_FAC_COM ccList = 2;
|
||||
repeated SCD_FACTORY_HS_FB fbList = 3;
|
||||
SCD_FACTORY_SYNC_BLACKBOARD blackboard = 4;
|
||||
string chapter_id = 11;
|
||||
}
|
||||
message SCD_FACTORY_SYNC_STATISTIC {
|
||||
SCD_FACTORY_STATISTIC_OTHER other = 3;
|
||||
SCD_FACTORY_STATISTIC_LASTDAY last_day = 4;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_STATISTIC {
|
||||
string chapter_id = 1;
|
||||
SCD_FACTORY_STATISTIC_OTHER other = 3;
|
||||
SCD_FACTORY_STATISTIC_LASTDAY last_day = 4;
|
||||
}
|
||||
message SC_FACTORY_STATISTIC_REQUIRE {
|
||||
string chapter = 1;
|
||||
SCD_FACTORY_STATISTIC_RECORD power = 2;
|
||||
map<string, SCD_FACTORY_STATISTIC_RECORD> productivity = 3;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_QUICKBAR {
|
||||
int32 scope_name = 1;
|
||||
repeated SCD_FACTORY_SYNC_QUICKBAR quickbars = 2;
|
||||
string chapter_id = 3;
|
||||
}
|
||||
message SC_FACTORY_SYNC_PENDING_LIST {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
SCD_FACTORY_SYNC_PENDING_PLACE pending_place = 3;
|
||||
}
|
||||
message SC_FACTORY_MODIFY_PENDING_DATA {
|
||||
int64 tms = 1;
|
||||
string chapter_id = 2;
|
||||
int32 slot_id = 3;
|
||||
SCD_BATCH_PENDING_BUILDING_DATA pending_data = 4;
|
||||
}
|
||||
message CS_FACTORY_HS_FB {
|
||||
string chapter_id = 1;
|
||||
repeated uint32 node_id_list = 21;
|
||||
bool undo = 3;
|
||||
}
|
||||
message CS_FACTORY_STATISTIC_REQUIRE {
|
||||
int32 rank_power = 1;
|
||||
int32 rank_productivity = 2;
|
||||
repeated string productivity_item_ids = 3;
|
||||
bool all_productivity = 4;
|
||||
string chapter_id = 12;
|
||||
}
|
||||
message CS_FACTORY_PIN_SET {
|
||||
int32 scope_name = 1;
|
||||
int32 pos = 3;
|
||||
string str_id = 4;
|
||||
uint64 num_id = 5;
|
||||
bool release = 11;
|
||||
}
|
||||
message CS_FACTORY_QUICKBAR_SET_ONE {
|
||||
int32 type = 2;
|
||||
int32 index = 3;
|
||||
string item_id = 4;
|
||||
string chapter_id = 5;
|
||||
}
|
||||
message CS_FACTORY_QUICKBAR_MOVE_ONE {
|
||||
int32 type = 2;
|
||||
int32 from_index = 3;
|
||||
int32 to_index = 4;
|
||||
string chapter_id = 5;
|
||||
}
|
||||
560
proto/pb/cs_factory_op.proto
Normal file
560
proto/pb/cs_factory_op.proto
Normal file
@@ -0,0 +1,560 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
import "cs_factory_chapter.proto";
|
||||
|
||||
enum FACTORY_OP_TYPE {
|
||||
NONE = 0;
|
||||
PLACE = 1;
|
||||
PLACE_CONVEYOR = 2;
|
||||
DISMANTLE = 3;
|
||||
SET_SELECT_TARGET = 5;
|
||||
ENABLE_NODE = 6;
|
||||
MOVE_NODE = 7;
|
||||
DISMANTLE_BOX_CONVEYOR = 8;
|
||||
REPAIR_NODE = 9;
|
||||
MOVE_ITEM_CACHE_TO_CACHE = 10;
|
||||
MOVE_ITEM_BAG_TO_CACHE = 11;
|
||||
MOVE_ITEM_CACHE_TO_BAG = 12;
|
||||
MOVE_ITEM_DEPOT_TO_CACHE = 13;
|
||||
MOVE_ITEM_CACHE_TO_DEPOT = 14;
|
||||
MOVE_ITEM_CONVEYOR_TO_BAG = 15;
|
||||
CACHE_TRANSPORT_TRANSFER = 16;
|
||||
CACHE_TRANSPORT_ENABLE = 17;
|
||||
SET_TRAVEL_POLE_DEFAULT_NEXT = 18;
|
||||
USE_HEAL_TOWER_POINT = 19;
|
||||
BATTLE_REPAIR = 20;
|
||||
ADD_CONNECTION = 21;
|
||||
DEL_CONNECTION = 22;
|
||||
PLACE_SIGN = 23;
|
||||
GRID_BOX_INNER_MOVE = 31;
|
||||
GRID_BOX_INNER_SPLIT = 32;
|
||||
MOVE_ITEM_BAG_TO_GRID_BOX = 33;
|
||||
MOVE_ITEM_GRID_BOX_TO_BAG = 34;
|
||||
MOVE_ITEM_DEPOT_TO_GRID_BOX = 35;
|
||||
MOVE_ITEM_GRID_BOX_TO_DEPOT = 36;
|
||||
MOVE_ALL_CACHE_OUT_ITEM_TO_BAG = 37;
|
||||
QUICK_PUT_BATTERY = 38;
|
||||
CHANGE_PRODUCER_MODE = 41;
|
||||
REVERSE_FLUID_CONVEYOR_DIRECTION = 42;
|
||||
DISMANTLE_BATCH = 43;
|
||||
SET_VALVE_ITEM = 44;
|
||||
SET_VALVE_LIMIT = 45;
|
||||
RESET_VALVE_RECORD = 46;
|
||||
TAKE_OUT_FLUID_FROM_LIQUID_BODY = 51;
|
||||
PUT_IN_FLUID_TO_LIQUID_BODY = 52;
|
||||
FILLING_FLUID_COM_WITH_BAG = 53;
|
||||
FILLING_FLUID_COM_WITH_DEPOT = 54;
|
||||
PLACE_BATCH = 55;
|
||||
MOVE_BATCH = 56;
|
||||
SUBMIT_PENDING_ITEMS = 57;
|
||||
CANCEL_BATCH_PENDING = 58;
|
||||
SET_SOCIAL_LIKE = 59;
|
||||
ADD_UD_PIPE_CONNECTION = 60;
|
||||
DEL_UD_PIPE_CONNECTION = 61;
|
||||
SUBMIT_REPORT_SIGN = 62;
|
||||
}
|
||||
enum FACTORY_OP_RET_CODE {
|
||||
OK = 0;
|
||||
FAIL = 1;
|
||||
UNKNOWN_OP_TYPE = 2;
|
||||
MESH_CONFLICT = 3;
|
||||
MUST_IN_MAIN = 4;
|
||||
NO_BUILDING_ITEM = 5;
|
||||
}
|
||||
enum RET_FLUID_WITH_LIQUID_BODY {
|
||||
RET_FLUID_WITH_LIQUID_BODY_OK = 0;
|
||||
RET_FLUID_WITH_LIQUID_BODY_None = 1;
|
||||
RET_FLUID_WITH_LIQUID_BODY_PartialByBag = 2;
|
||||
RET_FLUID_WITH_LIQUID_BODY_PartialByLiquidBody = 3;
|
||||
}
|
||||
message CS_FACTORY_OP {
|
||||
string index = 1;
|
||||
FACTORY_OP_TYPE op_type = 2;
|
||||
string chapter_id = 3;
|
||||
oneof op_payload {
|
||||
CSD_FACTORY_OP_PLACE place = 11;
|
||||
CSD_FACTORY_OP_PLACE_CONVEYOR place_conveyor = 12;
|
||||
CSD_FACTORY_OP_DISMANTLE dismantle = 13;
|
||||
CSD_FACTORY_OP_SET_SELECT_TARGET set_select_target = 15;
|
||||
CSD_FACTORY_OP_ENABLE_NODE enable_node = 16;
|
||||
CSD_FACTORY_OP_MOVE_NODE move_node = 17;
|
||||
CSD_FACTORY_OP_DISMANTLE_BOX_CONVEYOR dismantle_box_conveyor = 18;
|
||||
CSD_FACTORY_OP_REPAIR_NODE repair_node = 19;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_CACHE_TO_CACHE move_item_cache_to_cache = 20;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_BAG_TO_CACHE move_item_bag_to_cache = 21;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_CACHE_TO_BAG move_item_cache_to_bag = 22;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_DEPOT_TO_CACHE move_item_depot_to_cache = 23;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_CACHE_TO_DEPOT move_item_cache_to_depot = 24;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_CONVEYOR_TO_BAG move_item_conveyor_to_bag = 25;
|
||||
CSD_FACTORY_OP_CACHE_TRANSPORT_TRANSFER cache_transport_transfer = 26;
|
||||
CSD_FACTORY_OP_CACHE_TRANSPORT_ENABLE cache_transport_enable = 27;
|
||||
CSD_FACTORY_OP_SET_TRAVEL_POLE_DEFAULT_NEXT set_travel_pole_default_next = 28;
|
||||
CSD_FACTORY_OP_USE_HEAL_TOWER_POINT use_heal_tower_point = 29;
|
||||
CSD_FACTORY_OP_BATTLE_REPAIR battle_repair = 30;
|
||||
CSD_FACTORY_OP_ADD_CONNECTION add_connection = 31;
|
||||
CSD_FACTORY_OP_DEL_CONNECTION del_connection = 32;
|
||||
CSD_FACTORY_OP_GRID_BOX_INNER_MOVE grid_box_inner_move = 41;
|
||||
CSD_FACTORY_OP_GRID_BOX_INNER_SPLIT grid_box_inner_split = 42;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_BAG_TO_GRID_BOX move_item_bag_to_grid_box = 43;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_GRID_BOX_TO_BAG move_item_grid_box_to_bag = 44;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_DEPOT_TO_GRID_BOX move_item_depot_to_grid_box = 45;
|
||||
CSD_FACTORY_OP_MOVE_ITEM_GRID_BOX_TO_DEPOT move_item_grid_box_to_depot = 46;
|
||||
CSD_FACTORY_OP_MOVE_ALL_CACHE_OUT_ITEM_TO_BAG move_all_cache_out_item_to_bag = 47;
|
||||
CSD_FACTORY_OP_QUICK_PUT_BATTERY quick_put_battery = 48;
|
||||
CSD_FACTORY_OP_CHANGE_PRODUCER_MODE change_producer_mode = 51;
|
||||
CSD_FACTORY_OP_REVERSE_FLUID_CONVEYOR_DIRECTION reverse_fluid_conveyor_direction = 52;
|
||||
CSD_FACTORY_OP_DISMANTLE_BATCH dismantle_batch = 53;
|
||||
CSD_FACTORY_OP_SET_VALVE_ITEM set_valve_item = 54;
|
||||
CSD_FACTORY_OP_SET_VALVE_LIMIT set_valve_limit = 55;
|
||||
CSD_FACTORY_OP_RESET_VALVE_RECORD reset_valve_record = 56;
|
||||
CSD_FACTORY_OP_TAKE_OUT_FLUID_FROM_LIQUID_BODY take_out_fluid_from_liquid_body = 61;
|
||||
CSD_FACTORY_OP_PUT_IN_FLUID_TO_LIQUID_BODY put_in_fluid_to_liquid_body = 62;
|
||||
CSD_FACTORY_OP_FILLING_FLUID_COM_WITH_BAG filling_fluid_com_with_bag = 63;
|
||||
CSD_FACTORY_OP_FILLING_FLUID_COM_WITH_DEPOT filling_fluid_com_with_depot = 64;
|
||||
CSD_FACTORY_OP_BATCH_PLACE batch_place = 65;
|
||||
CSD_FACTORY_OP_BATCH_MOVE batch_move = 66;
|
||||
CSD_FACTORY_OP_SUBMIT_ITEM_TO_PENDING_DATA submit_item_to_pending_data = 67;
|
||||
CSD_FACTORY_OP_CANCEL_ONE_BATCH_PENDING cancel_one_batch_pending = 68;
|
||||
CSD_FACTORY_OP_SET_SOCIAL_LIKE set_social_like = 69;
|
||||
CSD_FACTORY_OP_PLACE_SIGN place_sign = 70;
|
||||
CSD_FACTORY_OP_ADD_UD_PIPE_CONNECTION add_ud_pipe_conn = 71;
|
||||
CSD_FACTORY_OP_DEL_UD_PIPE_CONNECTION del_ud_pipe_conn = 72;
|
||||
CSD_FACTORY_OP_SUBMIT_REPORT_SIGN submit_report_sign = 73;
|
||||
}
|
||||
}
|
||||
message CSD_FACTORY_INTERACTIVE_PARAM {
|
||||
VECTOR position = 1;
|
||||
VECTOR rotation = 2;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_PLACE {
|
||||
string template_id = 1;
|
||||
SCD_VEC3_INT position = 2;
|
||||
SCD_VEC3_INT direction = 3;
|
||||
int32 map_id = 4;
|
||||
CSD_FACTORY_INTERACTIVE_PARAM interactive_param = 5;
|
||||
}
|
||||
message CSD_FACTORY_OP_PLACE_SIGN {
|
||||
CSD_FACTORY_OP_PLACE place = 1;
|
||||
repeated int32 sign_param = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_ADD_UD_PIPE_CONNECTION {
|
||||
uint64 from_com_id = 1;
|
||||
uint64 to_com_id = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_DEL_UD_PIPE_CONNECTION {
|
||||
uint64 from_com_id = 1;
|
||||
uint64 to_com_id = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_SUBMIT_REPORT_SIGN {
|
||||
uint64 node_id = 1;
|
||||
repeated string reason = 3;
|
||||
string content = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_PLACE_CONVEYOR {
|
||||
string template_id = 1;
|
||||
SCD_VEC3_INT direction_in = 2;
|
||||
SCD_VEC3_INT direction_out = 3;
|
||||
repeated SCD_VEC3_INT points = 4;
|
||||
int32 map_id = 5;
|
||||
}
|
||||
message CSD_FACTORY_OP_DISMANTLE {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_DISMANTLE_BATCH {
|
||||
repeated CSD_FACTORY_OP_DISMANTLE dismantles = 1;
|
||||
repeated CSD_FACTORY_OP_DISMANTLE_BOX_CONVEYOR dismantle_conveyors = 2;
|
||||
repeated int32 slot_id = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_DISMANTLE_BOX_CONVEYOR {
|
||||
uint32 node_id = 1;
|
||||
repeated int32 index_list = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_REPAIR_NODE {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_SET_SELECT_TARGET {
|
||||
uint32 component_id = 1;
|
||||
string item_id = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_ENABLE_NODE {
|
||||
uint32 node_id = 1;
|
||||
bool enable = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_NODE {
|
||||
uint32 node_id = 1;
|
||||
SCD_VEC3_INT position = 2;
|
||||
SCD_VEC3_INT direction = 3;
|
||||
CSD_FACTORY_INTERACTIVE_PARAM interactive_param = 5;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_CACHE_TO_CACHE {
|
||||
uint32 from_component_id = 1;
|
||||
uint32 to_component_id = 2;
|
||||
string item_id = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_BAG_TO_CACHE {
|
||||
int32 grid_index = 1;
|
||||
uint32 component_id = 2;
|
||||
int32 cache_grid_index = 3;
|
||||
ITEM_MOVE_MODE mode = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_CACHE_TO_BAG {
|
||||
uint32 component_id = 1;
|
||||
string item_id = 2;
|
||||
bool all = 3;
|
||||
int32 cache_grid_index = 4;
|
||||
int32 grid_index = 5;
|
||||
ITEM_MOVE_MODE mode = 6;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_DEPOT_TO_CACHE {
|
||||
string item_id = 1;
|
||||
uint32 component_id = 2;
|
||||
int32 cache_grid_index = 3;
|
||||
ITEM_MOVE_MODE mode = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_CACHE_TO_DEPOT {
|
||||
uint32 component_id = 1;
|
||||
string item_id = 2;
|
||||
bool all = 3;
|
||||
int32 cache_grid_index = 4;
|
||||
ITEM_MOVE_MODE mode = 5;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_CONVEYOR_TO_BAG {
|
||||
uint32 component_id = 1;
|
||||
int32 index = 2;
|
||||
bool all = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_CACHE_TRANSPORT_TRANSFER {
|
||||
uint32 component_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_CACHE_TRANSPORT_ENABLE {
|
||||
uint32 component_id = 1;
|
||||
bool enable = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_SET_TRAVEL_POLE_DEFAULT_NEXT {
|
||||
uint32 component_id = 1;
|
||||
uint32 default_next = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_USE_HEAL_TOWER_POINT {
|
||||
uint32 component_id = 1;
|
||||
uint32 use_count = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_BATTLE_REPAIR {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_ADD_CONNECTION {
|
||||
int32 map_id = 1;
|
||||
uint64 from_com_id = 4;
|
||||
uint64 to_com_id = 5;
|
||||
}
|
||||
message CSD_FACTORY_OP_DEL_CONNECTION {
|
||||
int32 map_id = 1;
|
||||
uint64 index = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_GRID_BOX_INNER_MOVE {
|
||||
uint32 component_id = 1;
|
||||
int32 from_index = 2;
|
||||
int32 to_index = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_GRID_BOX_INNER_SPLIT {
|
||||
uint32 component_id = 1;
|
||||
int32 from_index = 2;
|
||||
int32 to_index = 3;
|
||||
int32 count = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_BAG_TO_GRID_BOX {
|
||||
int32 bag_grid_index = 1;
|
||||
uint32 component_id = 2;
|
||||
int32 grid_box_index = 3;
|
||||
ITEM_MOVE_MODE mode = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_GRID_BOX_TO_BAG {
|
||||
uint32 component_id = 1;
|
||||
int32 grid_box_index = 2;
|
||||
int32 bag_grid_index = 3;
|
||||
ITEM_MOVE_MODE mode = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_DEPOT_TO_GRID_BOX {
|
||||
string item_id = 1;
|
||||
uint32 component_id = 2;
|
||||
int32 grid_box_index = 3;
|
||||
ITEM_MOVE_MODE mode = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ITEM_GRID_BOX_TO_DEPOT {
|
||||
uint32 component_id = 1;
|
||||
int32 grid_box_index = 2;
|
||||
ITEM_MOVE_MODE mode = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_ALL_CACHE_OUT_ITEM_TO_BAG {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_QUICK_PUT_BATTERY {
|
||||
uint32 com_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_CHANGE_PRODUCER_MODE {
|
||||
uint32 node_id = 1;
|
||||
string to_mode = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_REVERSE_FLUID_CONVEYOR_DIRECTION {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_SET_VALVE_ITEM {
|
||||
uint32 com_id = 1;
|
||||
string item_id = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_SET_VALVE_LIMIT {
|
||||
uint32 com_id = 1;
|
||||
bool enable = 2;
|
||||
int32 limit = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_RESET_VALVE_RECORD {
|
||||
uint32 com_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_TAKE_OUT_FLUID_FROM_LIQUID_BODY {
|
||||
string liquid_body_inst_key = 1;
|
||||
repeated ITEM_BUNDLE bottle_items = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_PUT_IN_FLUID_TO_LIQUID_BODY {
|
||||
string liquid_body_inst_key = 1;
|
||||
repeated ITEM_BUNDLE bottle_water_items = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_FILLING_FLUID_COM_WITH_BAG {
|
||||
uint32 component_id = 1;
|
||||
int32 bag_grid_index = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_FILLING_FLUID_COM_WITH_DEPOT {
|
||||
uint32 component_id = 1;
|
||||
string item_id = 2;
|
||||
}
|
||||
message CSD_BATCH_PLACE_NODE {
|
||||
string template_id = 1;
|
||||
SCD_VEC3_INT position = 2;
|
||||
SCD_VEC3_INT direction = 3;
|
||||
CSD_FACTORY_INTERACTIVE_PARAM interactive_param = 4;
|
||||
repeated CSD_BATCH_PLACE_COM coms = 5;
|
||||
}
|
||||
message CSD_BATCH_PLACE_CONVEYORS {
|
||||
string template_id = 1;
|
||||
SCD_VEC3_INT direction_in = 2;
|
||||
SCD_VEC3_INT direction_out = 3;
|
||||
repeated SCD_VEC3_INT points = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_BATCH_PLACE {
|
||||
int32 map_id = 1;
|
||||
repeated CSD_BATCH_PLACE_NODE nodes = 2;
|
||||
repeated CSD_BATCH_PLACE_CONVEYORS conveyor_nodes = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_MOVE_BOX_CONVEYOR {
|
||||
uint32 node_id = 1;
|
||||
repeated int32 index_list = 2;
|
||||
}
|
||||
message CSD_FACTORY_AREA_RELATED_POS {
|
||||
SCD_VEC3_INT area_start_pos = 1;
|
||||
SCD_VEC3_INT area_offset = 2;
|
||||
SCD_VEC3_INT area_rotate = 3;
|
||||
}
|
||||
message CSD_FACTORY_OP_BATCH_MOVE_NODE {
|
||||
uint32 node_id = 1;
|
||||
CSD_FACTORY_INTERACTIVE_PARAM interactive_param = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_BATCH_MOVE {
|
||||
CSD_FACTORY_AREA_RELATED_POS related_pos = 1;
|
||||
repeated CSD_FACTORY_OP_BATCH_MOVE_NODE move_nodes = 2;
|
||||
repeated CSD_FACTORY_OP_MOVE_BOX_CONVEYOR move_conveyors = 3;
|
||||
repeated int32 slot_id = 4;
|
||||
}
|
||||
message CSD_FACTORY_OP_SUBMIT_ITEM_TO_PENDING_DATA {
|
||||
int32 slot_id = 1;
|
||||
map<string, int32> submit_items = 2;
|
||||
}
|
||||
message CSD_FACTORY_OP_CANCEL_ONE_BATCH_PENDING {
|
||||
int32 slot_id = 1;
|
||||
}
|
||||
message CSD_FACTORY_OP_SET_SOCIAL_LIKE {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message SC_FACTORY_OP_RET {
|
||||
string index = 1;
|
||||
FACTORY_OP_RET_CODE ret_code = 2;
|
||||
FACTORY_OP_TYPE op_type = 3;
|
||||
string err_message = 4;
|
||||
oneof op_payload {
|
||||
SCD_FACTORY_OP_RET_PLACE place = 11;
|
||||
SCD_FACTORY_OP_RET_PLACE_CONVEYOR place_conveyor = 12;
|
||||
SCD_FACTORY_OP_RET_DISMANTLE dismantle = 13;
|
||||
SCD_FACTORY_OP_RET_SET_SELECT_TARGET set_select_target = 15;
|
||||
SCD_FACTORY_OP_RET_ENABLE_NODE enable_node = 16;
|
||||
SCD_FACTORY_OP_RET_MOVE_NODE move_node = 17;
|
||||
SCD_FACTORY_OP_RET_DISMANTLE_BOX_CONVEYOR dismantle_box_conveyor = 18;
|
||||
SCD_FACTORY_OP_RET_REPAIR_NODE repair_node = 19;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_CACHE_TO_CACHE move_item_cache_to_cache = 20;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_BAG_TO_CACHE move_item_bag_to_cache = 21;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_CACHE_TO_BAG move_item_cache_to_bag = 22;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_DEPOT_TO_CACHE move_item_depot_to_cache = 23;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_CACHE_TO_DEPOT move_item_cache_to_depot = 24;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_CONVEYOR_TO_BAG move_item_conveyor_to_bag = 25;
|
||||
SCD_FACTORY_OP_RET_CACHE_TRANSPORT_TRANSFER cache_transport_transfer = 26;
|
||||
SCD_FACTORY_OP_RET_CACHE_TRANSPORT_ENABLE cache_transport_enable = 27;
|
||||
SCD_FACTORY_OP_RET_SET_TRAVEL_POLE_DEFAULT_NEXT set_travel_pole_default_next = 28;
|
||||
SCD_FACTORY_OP_RET_USE_HEAL_TOWER_POINT use_heal_tower_point = 29;
|
||||
SCD_FACTORY_OP_RET_BATTLE_REPAIR battle_repair = 30;
|
||||
SCD_FACTORY_OP_RET_ADD_CONNECTION add_connection = 31;
|
||||
SCD_FACTORY_OP_RET_DEL_CONNECTION del_connection = 32;
|
||||
SCD_FACTORY_OP_RET_GRID_BOX_INNER_MOVE grid_box_inner_move = 41;
|
||||
SCD_FACTORY_OP_RET_GRID_BOX_INNER_SPLIT grid_box_inner_split = 42;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_BAG_TO_GRID_BOX move_item_bag_to_grid_box = 43;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_GRID_BOX_TO_BAG move_item_grid_box_to_bag = 44;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_DEPOT_TO_GRID_BOX move_item_depot_to_grid_box = 45;
|
||||
SCD_FACTORY_OP_RET_MOVE_ITEM_GRID_BOX_TO_DEPOT move_item_grid_box_to_depot = 46;
|
||||
SCD_FACTORY_OP_RET_MOVE_ALL_CACHE_OUT_ITEM_TO_BAG move_all_cache_out_item_to_bag = 47;
|
||||
SCD_FACTORY_OP_RET_QUICK_PUT_BATTERY quick_put_battery = 48;
|
||||
SCD_FACTORY_OP_RET_CHANGE_PRODUCER_MODE change_producer_mode = 51;
|
||||
SCD_FACTORY_OP_RET_REVERSE_FLUID_CONVEYOR_DIRECTION reverse_fluid_conveyor_direction = 52;
|
||||
SCD_FACTORY_OP_RET_DISMANTLE_BATCH dismantle_batch = 53;
|
||||
SCD_FACTORY_OP_RET_SET_VALVE_ITEM set_valve_item = 54;
|
||||
SCD_FACTORY_OP_RET_SET_VALVE_LIMIT set_valve_limit = 55;
|
||||
SCD_FACTORY_OP_RET_RESET_VALVE_RECORD reset_valve_record = 56;
|
||||
SCD_FACTORY_OP_RET_TAKE_OUT_FLUID_FROM_LIQUID_BODY take_out_fluid_from_liquid_body = 61;
|
||||
SCD_FACTORY_OP_RET_PUT_IN_FLUID_TO_LIQUID_BODY put_in_fluid_to_liquid_body = 62;
|
||||
SCD_FACTORY_OP_RET_FILLING_FLUID_COM_WITH_BAG filling_fluid_com_with_bag = 63;
|
||||
SCD_FACTORY_OP_RET_FILLING_FLUID_COM_WITH_DEPOT filling_fluid_com_with_depot = 64;
|
||||
SCD_FACTORY_OP_RET_BATCH_PLACE batch_place = 65;
|
||||
SCD_FACTORY_OP_RET_BATCH_MOVE batch_move = 66;
|
||||
SCD_FACTORY_OP_RET_SUBMIT_ITEM_TO_PENDING_DATA submit_item_to_pending_data = 67;
|
||||
SCD_FACTORY_OP_RET_CANCEL_ONE_BATCH_PENDING cancel_one_batch_pending = 68;
|
||||
SCD_FACTORY_OP_RET_SET_SOCIAL_LIKE set_social_like = 69;
|
||||
SCD_FACTORY_OP_RET_PLACE_SIGN place_sign = 70;
|
||||
SCD_FACTORY_OP_RET_ADD_UD_PIPE_CONNECTION add_ud_pipe_conn = 71;
|
||||
SCD_FACTORY_OP_RET_DEL_UD_PIPE_CONNECTION del_ud_pipe_conn = 72;
|
||||
SCD_FACTORY_OP_SUBMIT_REPORT_SIGN submit_report_sign = 73;
|
||||
}
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_PLACE {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_PLACE_CONVEYOR {
|
||||
repeated uint32 node_id = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_PLACE_SIGN {
|
||||
uint32 node_id = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_DISMANTLE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_DISMANTLE_BATCH {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_DISMANTLE_BOX_CONVEYOR {
|
||||
repeated uint32 node_id = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_REPAIR_NODE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_SET_SELECT_TARGET {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_ENABLE_NODE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_NODE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_CACHE_TO_CACHE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_BAG_TO_CACHE {
|
||||
uint32 to_component_id = 1;
|
||||
int32 to_grid_index = 2;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_CACHE_TO_BAG {
|
||||
repeated int32 to_grid_index = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_DEPOT_TO_CACHE {
|
||||
uint32 to_component_id = 1;
|
||||
int32 to_grid_index = 2;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_CACHE_TO_DEPOT {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_CONVEYOR_TO_BAG {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_CACHE_TRANSPORT_TRANSFER {
|
||||
bool success = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_CACHE_TRANSPORT_ENABLE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_SET_TRAVEL_POLE_DEFAULT_NEXT {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_USE_HEAL_TOWER_POINT {
|
||||
uint32 used_count = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_BATTLE_REPAIR {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_ADD_CONNECTION {
|
||||
uint64 index = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_DEL_CONNECTION {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_GRID_BOX_INNER_MOVE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_GRID_BOX_INNER_SPLIT {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_BAG_TO_GRID_BOX {
|
||||
uint32 to_component_id = 1;
|
||||
repeated int32 to_grid_index = 2;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_GRID_BOX_TO_BAG {
|
||||
repeated int32 to_grid_index = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_DEPOT_TO_GRID_BOX {
|
||||
uint32 to_component_id = 1;
|
||||
repeated int32 to_grid_index = 2;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ITEM_GRID_BOX_TO_DEPOT {
|
||||
bool not_all_success = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_MOVE_ALL_CACHE_OUT_ITEM_TO_BAG {
|
||||
repeated int32 to_grid_index = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_QUICK_PUT_BATTERY {
|
||||
repeated ITEM_BUNDLE cost_items = 1;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_CHANGE_PRODUCER_MODE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_REVERSE_FLUID_CONVEYOR_DIRECTION {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_SET_VALVE_ITEM {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_SET_VALVE_LIMIT {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_RESET_VALVE_RECORD {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_TAKE_OUT_FLUID_FROM_LIQUID_BODY {
|
||||
repeated ITEM_BUNDLE cost_bottle_items = 1;
|
||||
repeated ITEM_BUNDLE gain_bottle_water_items = 2;
|
||||
int32 cost_liquid = 3;
|
||||
RET_FLUID_WITH_LIQUID_BODY ret = 4;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_PUT_IN_FLUID_TO_LIQUID_BODY {
|
||||
repeated ITEM_BUNDLE cost_bottle_water_items = 1;
|
||||
repeated ITEM_BUNDLE gain_bottle_items = 2;
|
||||
int32 gain_liquid = 3;
|
||||
RET_FLUID_WITH_LIQUID_BODY ret = 4;
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_FILLING_FLUID_COM_WITH_BAG {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_FILLING_FLUID_COM_WITH_DEPOT {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_BATCH_PLACE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_BATCH_MOVE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_SUBMIT_ITEM_TO_PENDING_DATA {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_CANCEL_ONE_BATCH_PENDING {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_SET_SOCIAL_LIKE {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_ADD_UD_PIPE_CONNECTION {
|
||||
}
|
||||
message SCD_FACTORY_OP_RET_DEL_UD_PIPE_CONNECTION {
|
||||
}
|
||||
message SCD_FACTORY_OP_SUBMIT_REPORT_SIGN {
|
||||
}
|
||||
26
proto/pb/cs_focus_mode.proto
Normal file
26
proto/pb/cs_focus_mode.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum FOCUS_MODE_LEAVE_REASON {
|
||||
COMPLETE = 0;
|
||||
CLT_QUIT = 1;
|
||||
INTERRUPT = 2;
|
||||
}
|
||||
message CS_FOCUS_MODE_ENTER_REQ {
|
||||
string focus_mode_id = 1;
|
||||
}
|
||||
message CS_FOCUS_MODE_LEAVE_REQ {
|
||||
string focus_mode_id = 1;
|
||||
}
|
||||
message SC_FOCUS_MODE_ENTER_NTF {
|
||||
string focus_mode_id = 1;
|
||||
}
|
||||
message SC_FOCUS_MODE_LEAVE_NTF {
|
||||
string focus_mode_id = 1;
|
||||
FOCUS_MODE_LEAVE_REASON leave_reason = 2;
|
||||
}
|
||||
message SC_FOCUS_MODE_LEAVE_END_NTF {
|
||||
string focus_mode_id = 1;
|
||||
}
|
||||
352
proto/pb/cs_friend.proto
Normal file
352
proto/pb/cs_friend.proto
Normal file
@@ -0,0 +1,352 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
enum FRIEND_SEARCH_NAME_TYPE {
|
||||
FRIEND_SEARCH_NAME_TYPE_DEFAULT = 0;
|
||||
FRIEND_SEARCH_NAME_TYPE_THIRD_LOGIN = 1;
|
||||
}
|
||||
enum FRIEND_REPORT_TYPE {
|
||||
FRT_USER_INVALID = 0;
|
||||
FRT_USER_USR_CARD = 1;
|
||||
FRT_FRIEND_LIST = 2;
|
||||
}
|
||||
enum FRIEND_BUSINESS_CARD_TYPE {
|
||||
STRANGER = 0;
|
||||
FRIEND = 1;
|
||||
}
|
||||
enum SOCIAL_USER_TYPE {
|
||||
SOCIAL_INVALID = 0;
|
||||
SOCIAL_FRIEND = 1;
|
||||
SOCIAL_STRANGER = 2;
|
||||
SOCIAL_BLOCK = 3;
|
||||
}
|
||||
message CS_FRIEND_LIST_SIMPLE_SYNC {
|
||||
}
|
||||
message CS_FRIEND_LIST_QUERY {
|
||||
FRIEND_USER_INFO_TYPE info_type = 1;
|
||||
repeated uint64 role_id_list = 2;
|
||||
}
|
||||
message CS_FRIEND_REQUEST_LIST_SIMPLE_SYNC {
|
||||
}
|
||||
message CS_FRIEND_REQUEST_LIST_QUERY {
|
||||
repeated uint64 role_id_list = 1;
|
||||
}
|
||||
message CS_FRIEND_BLACK_LIST_SYNC {
|
||||
}
|
||||
message CS_SOCIAL_USER_LIST_QUERY {
|
||||
repeated uint64 role_id_list = 1;
|
||||
}
|
||||
message CS_FRIEND_SEARCH_NAME {
|
||||
string name = 1;
|
||||
FRIEND_SEARCH_NAME_TYPE type = 2;
|
||||
}
|
||||
message CS_FRIEND_SEARCH_NAME_QUERY {
|
||||
repeated uint64 role_id_list = 1;
|
||||
}
|
||||
message CS_FRIEND_SEARCH_PLATFORM_ROLE_ID {
|
||||
string platform_role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_STRANGER_RECOMMEND_QUERY {
|
||||
}
|
||||
message CS_FRIEND_BUSINESS_CARD_EXPAND_FLAG_MODIFY {
|
||||
bool flag = 1;
|
||||
}
|
||||
message CS_FRIEND_USER_AVATAR_MODIFY {
|
||||
uint32 user_avatar_id = 1;
|
||||
}
|
||||
message CS_FRIEND_USER_AVATAR_FRAME_MODIFY {
|
||||
uint32 user_avatar_frame_id = 1;
|
||||
}
|
||||
message CS_FRIEND_SIGNATURE_MODIFY {
|
||||
string signature = 1;
|
||||
}
|
||||
message CS_FRIEND_DISPLAY_CHAR_MODIFY {
|
||||
repeated uint64 obj_id_list = 1;
|
||||
}
|
||||
message CS_FRIEND_BUSINESS_CARD_TOPIC_MODIFY {
|
||||
uint32 id = 1;
|
||||
}
|
||||
message CS_FRIEND_BUSINESS_CARD_QUERY {
|
||||
uint64 role_id = 1;
|
||||
FRIEND_BUSINESS_CARD_TYPE type = 2;
|
||||
}
|
||||
message CS_FRIEND_SROLE_CHAR_QUERY {
|
||||
uint64 role_id = 1;
|
||||
repeated string template_id = 3;
|
||||
}
|
||||
message CS_FRIEND_SET_PSN_ONLY {
|
||||
bool psn_only = 1;
|
||||
}
|
||||
message CS_FRIEND_REMARK_NAME_MODIFY {
|
||||
uint64 role_id = 1;
|
||||
string remark_name = 2;
|
||||
}
|
||||
message CS_FRIEND_BLACK_LIST_ADD {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_BLACK_LIST_DELETE {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_REQUEST_ACCEPT {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_REQUEST_REJECT {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_DELETE {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_REQUEST_SUBMIT {
|
||||
uint64 role_id = 1;
|
||||
string ApplyPhaseId = 2;
|
||||
string ApplyPanelId = 3;
|
||||
string social_building_template_id = 11;
|
||||
}
|
||||
message CS_FRIEND_REPORT_USER {
|
||||
uint64 role_id = 1;
|
||||
repeated string reason = 2;
|
||||
string content = 3;
|
||||
FRIEND_REPORT_TYPE report_type = 4;
|
||||
}
|
||||
message CS_FRIEND_VISIT_SPACESHIP {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_PSN_FRIEND_LIST_SIMPLE_SYNC {
|
||||
string auth_code = 1;
|
||||
string psn_env = 2;
|
||||
}
|
||||
message CS_FRIEND_PSN_FRIEND_LIST_QUERY {
|
||||
repeated string account_list = 1;
|
||||
}
|
||||
message CS_FRIEND_PSN_BLACK_LIST_SYNC {
|
||||
string auth_code = 1;
|
||||
string psn_env = 2;
|
||||
}
|
||||
message CS_FRIEND_PSN_AUTHCODE_QUERY {
|
||||
string auth_code = 1;
|
||||
string psn_env = 2;
|
||||
PSN_AUTHCODE_QUERY_TYPE query_type = 3;
|
||||
}
|
||||
message SROLE_INFO {
|
||||
string name = 2;
|
||||
string short_id = 3;
|
||||
uint32 gender = 4;
|
||||
int32 business_card_topic_id = 5;
|
||||
string signature = 6;
|
||||
int32 user_avatar_id = 7;
|
||||
int32 user_avatar_frame_id = 8;
|
||||
uint32 adventure_level = 9;
|
||||
uint32 world_level = 10;
|
||||
string main_mission_id = 11;
|
||||
int64 create_time = 12;
|
||||
string platform_role_id = 21;
|
||||
SROLE_DATA_DOMAIN_DEV_SYSTEM domain_dev = 13;
|
||||
SROLE_DATA_ACHIEVEMENT achievement = 14;
|
||||
SROLE_DATA_STATISTIC statistic = 15;
|
||||
repeated FRIEND_CHAR_INFO char_list = 16;
|
||||
bool business_card_expand_flag = 50;
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 60;
|
||||
THIRD_ACCOUNT_DATA third_account_data = 61;
|
||||
}
|
||||
message FRIEND_BUSINESS_CARD_DATA_FRIEND {
|
||||
SROLE_INFO base_data = 1;
|
||||
string remark_name = 2;
|
||||
}
|
||||
message FRIEND_BUSINESS_CARD_DATA_STRANGER {
|
||||
SROLE_INFO base_data = 1;
|
||||
}
|
||||
message SCD_FRIEND_FRIEND_SIMPLE_INFO {
|
||||
uint64 role_id = 1;
|
||||
int64 last_logout_time = 2;
|
||||
bool online = 3;
|
||||
uint32 adventure_level = 4;
|
||||
int64 create_time = 5;
|
||||
bool help_flag = 6;
|
||||
bool clue_flag = 7;
|
||||
string name = 8;
|
||||
string remark_name = 9;
|
||||
FRIEND_SPACESHIP_HELP_STATUS help_status = 10;
|
||||
bool guest_room_unlock = 11;
|
||||
bool clue_room_unlock = 17;
|
||||
map<int32, int64> host_clue_status = 18;
|
||||
string short_id = 12;
|
||||
string signature = 13;
|
||||
int32 user_avatar_id = 14;
|
||||
int32 user_avatar_frame_id = 15;
|
||||
int32 business_card_topic_id = 16;
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 20;
|
||||
THIRD_ACCOUNT_DATA third_account_data = 21;
|
||||
}
|
||||
message SCD_FRIEND_REQUEST_SIMPLE_INFO {
|
||||
uint64 role_id = 1;
|
||||
int64 create_time = 2;
|
||||
uint32 adventure_level = 3;
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 10;
|
||||
}
|
||||
message SC_FRIEND_LIST_SIMPLE_SYNC {
|
||||
repeated SCD_FRIEND_FRIEND_SIMPLE_INFO friend_list = 1;
|
||||
}
|
||||
message SC_FRIEND_LIST_QUERY {
|
||||
repeated FRIEND_FRIEND_INFO friend_list = 1;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_LIST_LOGIN_NOTIFY {
|
||||
repeated uint64 role_id_list = 1;
|
||||
}
|
||||
message SC_FRIEND_FRIEND_LIST_LOGIN_NOTIFY {
|
||||
repeated uint64 role_id_list = 2;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_LIST_SIMPLE_SYNC {
|
||||
repeated SCD_FRIEND_REQUEST_SIMPLE_INFO friend_request_list = 1;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_LIST_QUERY {
|
||||
repeated FRIEND_REQUEST_INFO friend_request_list = 1;
|
||||
}
|
||||
message SCD_SOCIAL_USER_INFO {
|
||||
SOCIAL_USER_TYPE social_user_type = 1;
|
||||
oneof data {
|
||||
FRIEND_FRIEND_INFO friend_data = 11;
|
||||
FRIEND_STRANGER_USER_INFO stranger_data = 12;
|
||||
FRIEND_BLACK_LIST_INFO black_data = 13;
|
||||
}
|
||||
}
|
||||
message SC_SOCIAL_USER_LIST_QUERY {
|
||||
repeated SCD_SOCIAL_USER_INFO user_list = 1;
|
||||
}
|
||||
message SC_FRIEND_BLACK_LIST_SYNC {
|
||||
repeated FRIEND_BLACK_LIST_INFO black_list = 1;
|
||||
}
|
||||
message SCD_FRIEND_SEARCH_NAME_THIRD_ACCOUNT_DATA {
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 1;
|
||||
THIRD_ACCOUNT_DATA third_account_data = 2;
|
||||
}
|
||||
message SCD_FRIEND_SEARCH_NAME_STRANGER_SIMPLE_INFO {
|
||||
uint64 role_id = 1;
|
||||
FRIEND_SEARCH_NAME_TYPE data_type = 10;
|
||||
oneof extra_data {
|
||||
SCD_FRIEND_SEARCH_NAME_THIRD_ACCOUNT_DATA third_account_data = 11;
|
||||
}
|
||||
}
|
||||
message SC_FRIEND_SEARCH_NAME {
|
||||
repeated SCD_FRIEND_SEARCH_NAME_STRANGER_SIMPLE_INFO stranger_list = 1;
|
||||
}
|
||||
message SC_FRIEND_SEARCH_NAME_QUERY {
|
||||
repeated FRIEND_STRANGER_USER_INFO stranger_list = 1;
|
||||
repeated uint64 deleted_role_id_list = 2;
|
||||
}
|
||||
message SC_FRIEND_SEARCH_PLATFORM_ROLE_ID {
|
||||
FRIEND_STRANGER_USER_INFO stranger = 1;
|
||||
}
|
||||
message SC_FRIEND_STRANGER_RECOMMEND_QUERY {
|
||||
repeated FRIEND_STRANGER_USER_INFO stranger_list = 1;
|
||||
}
|
||||
message SC_FRIEND_BUSINESS_CARD_EXPAND_FLAG_MODIFY {
|
||||
bool flag = 1;
|
||||
}
|
||||
message SC_FRIEND_PERSONAL_DATA_SYNC {
|
||||
FRIEND_PERSONAL_DATA data = 1;
|
||||
}
|
||||
message SC_FRIEND_USER_AVATAR_MODIFY {
|
||||
uint32 user_avatar_id = 1;
|
||||
}
|
||||
message SC_FRIEND_USER_AVATAR_FRAME_MODIFY {
|
||||
uint32 user_avatar_frame_id = 1;
|
||||
}
|
||||
message SC_FRIEND_SIGNATURE_MODIFY {
|
||||
string signature = 1;
|
||||
}
|
||||
message SC_FRIEND_BUSINESS_CARD_TOPIC_MODIFY {
|
||||
uint32 id = 1;
|
||||
}
|
||||
message SC_FRIEND_DISPLAY_CHAR_MODIFY {
|
||||
repeated uint64 obj_id_list = 1;
|
||||
}
|
||||
message SC_FRIEND_BUSINESS_CARD_QUERY {
|
||||
uint64 role_id = 1;
|
||||
FRIEND_BUSINESS_CARD_TYPE type = 2;
|
||||
oneof data {
|
||||
FRIEND_BUSINESS_CARD_DATA_STRANGER stranger_data = 3;
|
||||
FRIEND_BUSINESS_CARD_DATA_FRIEND friend_data = 4;
|
||||
}
|
||||
}
|
||||
message SC_FRIEND_SROLE_CHAR_QUERY {
|
||||
uint64 role_id = 1;
|
||||
repeated SROLE_DATA_CHAR char_data = 3;
|
||||
}
|
||||
message SC_FRIEND_REMARK_NAME_MODIFY {
|
||||
uint64 role_id = 1;
|
||||
string remark_name = 2;
|
||||
}
|
||||
message SC_FRIEND_BLACK_LIST_MODIFY {
|
||||
repeated FRIEND_BLACK_LIST_INFO add_list = 1;
|
||||
repeated uint64 del_list = 2;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_ACCEPT {
|
||||
FRIEND_FRIEND_INFO friend_info = 1;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_REJECT {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message SC_FRIEND_DELETE {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_REJECTED_NOTIFY {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_SUBMIT {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message SC_FRIEND_REQUEST_ADD_NOTIFY {
|
||||
FRIEND_REQUEST_INFO friend_request_info = 1;
|
||||
}
|
||||
message SC_FRIEND_ADD_NOTIFY {
|
||||
FRIEND_FRIEND_INFO friend_info = 1;
|
||||
}
|
||||
message SC_FRIEND_VISIT_SPACESHIP {
|
||||
uint64 role_id = 1;
|
||||
uint64 clue_end_ts = 2;
|
||||
bool control_center_flag = 3;
|
||||
bool manufacturing_station_flag = 4;
|
||||
bool grow_cabin_flag = 5;
|
||||
bool command_center_flag = 6;
|
||||
bool has_joined_info_exchange = 7;
|
||||
bool guest_room_unlock = 8;
|
||||
}
|
||||
message SC_FRIEND_PSN_AUTHCODE_QUERY {
|
||||
PSN_AUTHCODE_QUERY_TYPE query_type = 1;
|
||||
}
|
||||
message SCD_FRIEND_PSN_FRIEND_ROLE_SIMPLE_INFO {
|
||||
uint64 role_id = 1;
|
||||
bool online = 3;
|
||||
int64 last_logout_time = 4;
|
||||
uint32 adventure_level = 5;
|
||||
}
|
||||
message SCD_FRIEND_PSN_FRIEND_SIMPLE_INFO {
|
||||
string account_id = 1;
|
||||
SOCIAL_USER_TYPE friend_type = 2;
|
||||
SCD_FRIEND_PSN_FRIEND_ROLE_SIMPLE_INFO role_info = 3;
|
||||
}
|
||||
message SC_FRIEND_PSN_FRIEND_LIST_SIMPLE_SYNC {
|
||||
repeated SCD_FRIEND_PSN_FRIEND_SIMPLE_INFO friend_list = 1;
|
||||
}
|
||||
message SCD_FRIEND_PSN_FRIEND_INFO {
|
||||
THIRD_ACCOUNT_DATA_PSN psn_data = 1;
|
||||
SCD_SOCIAL_USER_INFO user_info = 2;
|
||||
}
|
||||
message SC_FRIEND_PSN_FRIEND_LIST_QUERY {
|
||||
repeated SCD_FRIEND_PSN_FRIEND_INFO friend_list = 1;
|
||||
}
|
||||
message SCD_FRIEND_PSN_BLACK_LIST_INFO {
|
||||
THIRD_ACCOUNT_DATA_PSN psn_data = 1;
|
||||
bool is_register = 2;
|
||||
FRIEND_BLACK_LIST_INFO role_data = 3;
|
||||
}
|
||||
message SC_FRIEND_PSN_BLACK_LIST_SYNC {
|
||||
repeated SCD_FRIEND_PSN_BLACK_LIST_INFO black_list = 1;
|
||||
}
|
||||
message SC_FRIEND_SET_PSN_ONLY {
|
||||
bool psn_only = 1;
|
||||
}
|
||||
199
proto/pb/cs_friend_chat.proto
Normal file
199
proto/pb/cs_friend_chat.proto
Normal file
@@ -0,0 +1,199 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
enum FRIEND_CHAT_MSG_EXTRA_FLAG {
|
||||
FRIEND_CHAT_MSG_EXTRA_FLAG_NONE = 0;
|
||||
FRIEND_CHAT_MSG_EXTRA_FLAG_EXTERNAL_SHARING = 1;
|
||||
}
|
||||
enum FRIEND_CHAT_LIST_SIMPLE_SYNC_TYPE {
|
||||
CHAT_LIST_SIMPLE_SYNC_DEFAULT = 0;
|
||||
CHAT_LIST_SIMPLE_SYNC_THIRD_LOGIN = 1;
|
||||
}
|
||||
enum BRIEF_SOCIAL_BUILDING_STATUS {
|
||||
BRIEF_SOCIAL_BUILDING_STATUS_NONE = 0;
|
||||
BRIEF_SOCIAL_BUILDING_STATUS_EXIST = 1;
|
||||
BRIEF_SOCIAL_BUILDING_STATUS_INVALID = 2;
|
||||
}
|
||||
enum FRIEND_CHAT_MSG_INSTANT_INFO_TYPE {
|
||||
FRIEND_CHAT_MSG_INSTANT_INFO_TYPE_SOCIAL_BUILDING = 0;
|
||||
FRIEND_CHAT_MSG_INSTANT_INFO_TYPE_BLUE_PRINT = 1;
|
||||
}
|
||||
message CS_FRIEND_CHAT_CREATE {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_CHAT_CLOSE {
|
||||
repeated uint64 role_id = 1;
|
||||
}
|
||||
message CS_FRIEND_CHAT_MSG_QUERY {
|
||||
uint64 target_role_id = 1;
|
||||
uint32 start_index = 2;
|
||||
uint32 end_index = 3;
|
||||
bool all = 4;
|
||||
}
|
||||
message CS_FRIEND_CHAT_MSG_READ {
|
||||
uint64 target_role_id = 1;
|
||||
uint32 read_index = 2;
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_DATA_PRESET_TEXT {
|
||||
int32 num_id = 1;
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_DATA_EMOJI {
|
||||
int32 num_id = 2;
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING {
|
||||
string chapter_id = 1;
|
||||
uint32 node_id = 2;
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_DATA_BLUE_PRINT {
|
||||
string shared_code = 1;
|
||||
}
|
||||
message CS_FRIEND_CHAT_MSG_SEND {
|
||||
uint64 target_role_id = 1;
|
||||
FRIEND_CHAT_MSG_EXTRA_FLAG extra_flag = 2;
|
||||
FRIEND_CHAT_MSG_TYPE type = 10;
|
||||
oneof data {
|
||||
CSD_FRIEND_CHAT_MSG_DATA_PRESET_TEXT preset_text_data = 11;
|
||||
CSD_FRIEND_CHAT_MSG_DATA_EMOJI emoji_data = 12;
|
||||
CSD_FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING social_building_data = 13;
|
||||
CSD_FRIEND_CHAT_MSG_DATA_BLUE_PRINT blue_print_data = 14;
|
||||
}
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY_SOCIAL_BUILDING {
|
||||
uint64 creator_id = 1;
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY_BLUE_PRINT {
|
||||
string shared_code = 1;
|
||||
}
|
||||
message CSD_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY {
|
||||
uint32 msg_index = 1;
|
||||
FRIEND_CHAT_MSG_INSTANT_INFO_TYPE type = 10;
|
||||
oneof data {
|
||||
CSD_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY_SOCIAL_BUILDING social_building_data = 11;
|
||||
CSD_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY_BLUE_PRINT blue_print_data = 12;
|
||||
}
|
||||
}
|
||||
message CS_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY {
|
||||
uint64 target_role_id = 1;
|
||||
repeated CSD_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY query_list = 2;
|
||||
}
|
||||
message CS_FRIEND_CHAT_SOCIAL_BUILDING_RECEIVE {
|
||||
uint64 target_role_id = 1;
|
||||
uint32 msg_index = 2;
|
||||
bool is_replace = 4;
|
||||
uint64 replace_building_owner_id = 5;
|
||||
uint32 replace_building_node_id = 6;
|
||||
int32 replace_building_scene_id = 7;
|
||||
}
|
||||
message CS_FRIEND_CHAT_SOCIAL_BUILDING_CHECK_AREA {
|
||||
string scene_id = 1;
|
||||
VECTOR pos = 2;
|
||||
}
|
||||
message SC_FRIEND_CHAT_SOCIAL_BUILDING_CHECK_AREA {
|
||||
string scene_id = 1;
|
||||
bool is_enable = 2;
|
||||
}
|
||||
message CS_FRIEND_CHAT_LIST_SIMPLE_SYNC {
|
||||
FRIEND_CHAT_LIST_SIMPLE_SYNC_TYPE type = 1;
|
||||
}
|
||||
message SC_FRIEND_CHAT_MSG_READ {
|
||||
uint64 target_role_id = 1;
|
||||
uint32 read_index = 2;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_DATA_PRESET_TEXT {
|
||||
int32 num_id = 1;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_DATA_EMOJI {
|
||||
int32 num_id = 2;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING {
|
||||
uint64 creator_id = 1;
|
||||
uint32 node_id = 2;
|
||||
int32 scene_num_id = 3;
|
||||
int32 template_id = 4;
|
||||
VECTOR pos = 5;
|
||||
int32 dir_y = 6;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_DATA_BLUE_PRINT {
|
||||
string shared_code = 1;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG {
|
||||
uint32 msg_index = 1;
|
||||
uint64 owner_id = 2;
|
||||
int64 ts = 3;
|
||||
FRIEND_CHAT_MSG_TYPE type = 10;
|
||||
oneof data {
|
||||
SCD_FRIEND_CHAT_MSG_DATA_PRESET_TEXT preset_text_data = 11;
|
||||
SCD_FRIEND_CHAT_MSG_DATA_EMOJI emoji_data = 12;
|
||||
SCD_FRIEND_CHAT_MSG_DATA_SOCIAL_BUILDING social_building_data = 13;
|
||||
SCD_FRIEND_CHAT_MSG_DATA_BLUE_PRINT blue_print_data = 14;
|
||||
}
|
||||
}
|
||||
message SC_FRIEND_CHAT_MSG_QUERY {
|
||||
uint64 target_role_id = 1;
|
||||
repeated SCD_FRIEND_CHAT_MSG msg_list = 2;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_INSTANT_INFO {
|
||||
uint32 msg_index = 1;
|
||||
FRIEND_CHAT_MSG_INSTANT_INFO_TYPE type = 10;
|
||||
oneof data {
|
||||
SCD_FRIEND_CHAT_MSG_INSTANT_INFO_SOCIAL_BUILDING social_building_data = 11;
|
||||
SCD_FRIEND_CHAT_MSG_INSTANT_INFO_BLUE_PRINT blue_print_data = 12;
|
||||
}
|
||||
}
|
||||
message SC_FRIEND_CHAT_MSG_INSTANT_INFO_QUERY {
|
||||
uint64 target_role_id = 1;
|
||||
repeated SCD_FRIEND_CHAT_MSG_INSTANT_INFO msg_list = 2;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_INSTANT_INFO_SOCIAL_BUILDING {
|
||||
string name = 1;
|
||||
string short_id = 2;
|
||||
bool is_deleted = 5;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_MSG_INSTANT_INFO_BLUE_PRINT {
|
||||
string name = 1;
|
||||
repeated int32 tags = 2;
|
||||
string icon = 3;
|
||||
int32 base_color = 4;
|
||||
BRIEF_BP_STATUS status = 5;
|
||||
int32 share_idx = 6;
|
||||
uint64 bp_uid = 7;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_LIST_THIRD_ACCOUNT_DATA {
|
||||
HG_THIRD_ACCOUNT_TYPE last_login_type = 1;
|
||||
THIRD_ACCOUNT_DATA third_account_data = 2;
|
||||
}
|
||||
message SC_FRIEND_CHAT_LIST_SIMPLE_SYNC {
|
||||
repeated SCD_FRIEND_CHAT_LIST_DATA data_list = 1;
|
||||
int32 daily_social_building_share_cnt = 2;
|
||||
}
|
||||
message SCD_FRIEND_CHAT_LIST_DATA {
|
||||
uint64 role_id = 1;
|
||||
uint32 read_index = 2;
|
||||
uint32 newest_index = 3;
|
||||
FRIEND_CHAT_LIST_SIMPLE_SYNC_TYPE data_type = 10;
|
||||
oneof extra_data {
|
||||
SCD_FRIEND_CHAT_LIST_THIRD_ACCOUNT_DATA third_account_data = 11;
|
||||
}
|
||||
}
|
||||
message SC_FRIEND_CHAT_LIST_ADD {
|
||||
SCD_FRIEND_CHAT_LIST_DATA data = 1;
|
||||
}
|
||||
message SC_FRIEND_CHAT_LIST_DELETE {
|
||||
repeated uint64 role_id_list = 1;
|
||||
}
|
||||
message SC_FRIEND_CHAT_LIST_TOP {
|
||||
uint64 role_id = 1;
|
||||
}
|
||||
message SC_FRIEND_CHAT_MSG_RECEIVE_NOTIFY {
|
||||
uint64 target_role_id = 1;
|
||||
uint32 newest_index = 2;
|
||||
FRIEND_CHAT_MSG_EXTRA_FLAG extra_flag = 3;
|
||||
bool from_self = 10;
|
||||
}
|
||||
message SC_FRIEND_CHAT_DAILY_SOCIAL_BUILDING_SHARE_CNT_MODIFY {
|
||||
int32 cnt = 1;
|
||||
}
|
||||
115
proto/pb/cs_gacha.proto
Normal file
115
proto/pb/cs_gacha.proto
Normal file
@@ -0,0 +1,115 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
enum GACHA_CONFIRM_REWARD_TYPE {
|
||||
GCRT_ONCE_REWARD = 0;
|
||||
GCRT_INTERVAL_REWARD = 1;
|
||||
}
|
||||
enum CHAR_GACHA_ONCE_AUTO_REWARD_INDEX {
|
||||
CGOAR_INDEX_NONE = 0;
|
||||
CGOAR_INDEX_FREE_TEN_PULL = 1;
|
||||
CGOAR_INDEX_TESTIMONIAL = 2;
|
||||
CGOAR_INDEX_CHOICE_PACK = 3;
|
||||
}
|
||||
message CS_GACHA_SINGLE_PULL_REQ {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
map<string, int32> pull_costs = 3;
|
||||
}
|
||||
message CS_GACHA_TEN_PULL_REQ {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
map<string, int32> pull_costs = 3;
|
||||
bool isFree = 4;
|
||||
}
|
||||
message CS_GACHA_CLAIM_CUMULATIVE_REWARD_REQ {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
repeated int32 reward_indexes = 3;
|
||||
}
|
||||
message CS_GACHA_CONFIRM_REWARD_REQ {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
GACHA_CONFIRM_REWARD_TYPE gacha_reward_type = 3;
|
||||
repeated int32 reward_indexes = 4;
|
||||
}
|
||||
message CS_GACHA_SELECT_CHOICE_PACK_REQ {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
string select_item_id = 3;
|
||||
}
|
||||
message SCD_GACHA_POOL_INFO {
|
||||
string gacha_pool_id = 1;
|
||||
int64 open_time = 2;
|
||||
int64 close_time = 3;
|
||||
bool is_closed = 4;
|
||||
int32 public_close_reason = 5;
|
||||
}
|
||||
message SCD_GACHA_POOL_ROLE_DATA {
|
||||
string gacha_pool_id = 1;
|
||||
bool is_closed = 2;
|
||||
int32 personal_close_reason = 3;
|
||||
int32 total_pull_count = 4;
|
||||
int32 hard_guarantee_progress = 5;
|
||||
int32 soft_guarantee_progress = 6;
|
||||
int32 star5_soft_guarantee_progress = 7;
|
||||
int32 up_got_count = 8;
|
||||
int64 timestamp_to_close = 9;
|
||||
repeated int32 cumulative_reward_list = 10;
|
||||
int32 free_ten_pull_count = 11;
|
||||
map<int32, bool> once_auto_reward_check_map = 12;
|
||||
map<int32, bool> interval_auto_reward_check_map = 13;
|
||||
int32 choice_pack_count = 14;
|
||||
int32 star6_got_count = 15;
|
||||
}
|
||||
message SCD_GACHA_POOL_CATEGORY_ROLE_DATA {
|
||||
int32 gacha_pool_type = 1;
|
||||
int32 total_pull_count = 2;
|
||||
int32 soft_guarantee_progress = 3;
|
||||
int32 star5_soft_guarantee_progress = 4;
|
||||
int32 star6_got_count = 5;
|
||||
}
|
||||
message SCD_GACHA_POOL_MGR {
|
||||
repeated SCD_GACHA_POOL_INFO gacha_pool_infos = 1;
|
||||
repeated SCD_GACHA_POOL_ROLE_DATA gacha_pool_role_datas = 2;
|
||||
repeated SCD_GACHA_POOL_CATEGORY_ROLE_DATA gacha_pool_category_role_datas = 3;
|
||||
}
|
||||
message SC_GACHA_SYNC {
|
||||
SCD_GACHA_POOL_MGR char_gacha_pool = 1;
|
||||
SCD_GACHA_POOL_MGR weapon_gacha_pool = 2;
|
||||
}
|
||||
message SC_GACHA_MODIFY_POOL_INFO {
|
||||
repeated SCD_GACHA_POOL_INFO char_gacha_pools = 1;
|
||||
repeated SCD_GACHA_POOL_INFO weapon_gacha_pools = 2;
|
||||
}
|
||||
message SCD_GACHA_FINAL_RESULT {
|
||||
string item_id = 1;
|
||||
string reward_item_id = 2;
|
||||
repeated string reward_ids = 3;
|
||||
bool is_new = 4;
|
||||
}
|
||||
message SC_GACHA_SYNC_PULL_RESULT {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
repeated string ori_result_ids = 3;
|
||||
repeated SCD_GACHA_FINAL_RESULT final_results = 4;
|
||||
int32 up_got_count = 5;
|
||||
int32 star6_got_count = 6;
|
||||
int32 star5_got_count = 7;
|
||||
}
|
||||
message SC_GACHA_MODIFY_POOL_ROLE_DATA {
|
||||
int32 gacha_type = 1;
|
||||
string gacha_pool_id = 2;
|
||||
SCD_GACHA_POOL_ROLE_DATA gacha_pool_role_data = 3;
|
||||
SCD_GACHA_POOL_CATEGORY_ROLE_DATA gacha_pool_category_role_data = 4;
|
||||
}
|
||||
message SC_GACHA_TESTIMONIAL_CONVERT_NTF {
|
||||
string char_gacha_pool_id = 1;
|
||||
string testimonial_item_id = 2;
|
||||
string convert_to_item_id = 3;
|
||||
int32 convert_count = 4;
|
||||
}
|
||||
131
proto/pb/cs_game_mechanics.proto
Normal file
131
proto/pb/cs_game_mechanics.proto
Normal file
@@ -0,0 +1,131 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_GAME_MECHANICS_REQ_ACTIVE {
|
||||
string game_id = 1;
|
||||
}
|
||||
message CS_GAME_MECHANICS_REQ_REWARD {
|
||||
string game_id = 1;
|
||||
int32 reward_multiplier = 2;
|
||||
bool without_stamina_reward = 3;
|
||||
bool use_stamina_reduce = 4;
|
||||
}
|
||||
message CS_GAME_MECHANICS_NTF_INST_PREPARE_FINISH {
|
||||
string game_id = 1;
|
||||
}
|
||||
message CS_GAME_MECHANICS_REQ_SET_CUSTOM_REWARD_INDEX {
|
||||
string game_id = 1;
|
||||
int32 custom_reward_index = 2;
|
||||
}
|
||||
message CS_GAME_MECHANICS_REQ_START {
|
||||
string game_id = 1;
|
||||
uint64 interactive_obj_id = 2;
|
||||
string npc_proxy_id = 3;
|
||||
uint64 npc_obj_id = 4;
|
||||
}
|
||||
message CS_GAME_MECHANICS_REQ_STOP {
|
||||
string cur_game_id = 1;
|
||||
}
|
||||
message CS_GAME_MECHANICS_CONFIRM_LEAVE_GAME_INST {
|
||||
string game_id = 1;
|
||||
}
|
||||
message SCD_GAME_MECHANICS_GROUP_RECORD {
|
||||
string game_group_id = 1;
|
||||
int64 last_enter_game_group_ts = 2;
|
||||
repeated int32 rewarded_type_list = 3;
|
||||
oneof extra_details {
|
||||
GAME_MECHANICS_WORLD_ENERGY_POINT_GROUP_RECORD world_energy_point = 20;
|
||||
}
|
||||
}
|
||||
message GAME_MECHANICS_WORLD_ENERGY_POINT_GROUP_RECORD {
|
||||
repeated string select_terms = 1;
|
||||
string unreceived_reward_game_id = 2;
|
||||
int32 daily_start_count = 3;
|
||||
}
|
||||
message SCD_GAME_MECHANICS_RECORD {
|
||||
string game_id = 1;
|
||||
int64 last_enter_gameTS = 2;
|
||||
int32 best_pass_time = 3;
|
||||
int64 best_passTS = 4;
|
||||
bool is_pass = 5;
|
||||
bool is_challenged = 6;
|
||||
bool is_active = 7;
|
||||
bool once_reward_got = 8;
|
||||
repeated int32 rewarded_id_list = 9;
|
||||
int32 custom_reward_index = 11;
|
||||
}
|
||||
message SCD_GAME_MECHANICS_UNLOCK_CONDITIONS {
|
||||
string id = 1;
|
||||
int32 unlock_state = 2;
|
||||
map<string, int32> unlock_condition_values = 3;
|
||||
map<string, bool> unlock_condition_flags = 4;
|
||||
}
|
||||
message SCD_GAME_MECHANICS_CATEGORY_UNLOCK_CONDITIONS {
|
||||
string id = 1;
|
||||
int32 unlock_state = 2;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC {
|
||||
repeated SCD_GAME_MECHANICS_UNLOCK_CONDITIONS game_unlock_conditions = 1;
|
||||
repeated SCD_GAME_MECHANICS_RECORD game_records = 2;
|
||||
repeated SCD_GAME_MECHANICS_CATEGORY_UNLOCK_CONDITIONS game_category_unlock_conditions = 3;
|
||||
repeated SCD_GAME_MECHANICS_GROUP_RECORD game_group_records = 4;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_UNLOCK_CONDITION {
|
||||
SCD_GAME_MECHANICS_UNLOCK_CONDITIONS game_unlock_condition = 1;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_CATEGORY_UNLOCK_CONDITION {
|
||||
SCD_GAME_MECHANICS_CATEGORY_UNLOCK_CONDITIONS game_category_unlock_condition = 1;
|
||||
}
|
||||
message SC_GAME_MECHANICS_MODIFY_GROUP_RECORDS {
|
||||
repeated SCD_GAME_MECHANICS_GROUP_RECORD game_group_records = 1;
|
||||
}
|
||||
message SC_GAME_MECHANICS_MODIFY_RECORDS {
|
||||
repeated SCD_GAME_MECHANICS_RECORD game_records = 1;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_CHALLENGE_START {
|
||||
string game_id = 1;
|
||||
int64 challenge_start_ts = 2;
|
||||
int64 challenge_expire_ts = 3;
|
||||
int32 prepare_challenge_seconds = 4;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_CHALLENGE_COMPLETE {
|
||||
string game_id = 1;
|
||||
bool is_pass = 2;
|
||||
int64 force_leave_ts = 3;
|
||||
int32 pass_time = 4;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_COMPLETION_REWARD {
|
||||
string game_id = 1;
|
||||
bool is_pass = 2;
|
||||
int64 force_leave_ts = 3;
|
||||
int32 reward_multiplier = 4;
|
||||
bool without_stamina_reward = 5;
|
||||
bool use_stamina_reduce = 6;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_ENTER_GAME_INST {
|
||||
string game_id = 1;
|
||||
bool is_hunter_mode = 2;
|
||||
string game_inst_id = 3;
|
||||
int64 game_unique_id = 4;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_LEAVE_GAME_INST {
|
||||
string game_id = 1;
|
||||
string game_inst_id = 2;
|
||||
int64 game_unique_id = 3;
|
||||
}
|
||||
message SC_GAME_MECHANICS_SYNC_RESTART_GAME_INST {
|
||||
string game_id = 1;
|
||||
bool is_hunter_mode = 2;
|
||||
string game_inst_id = 3;
|
||||
int64 game_unique_id = 4;
|
||||
}
|
||||
message SCD_GAME_MECHANICS_INST_TIME_FREEZE {
|
||||
int32 time_key = 1;
|
||||
int64 total_freeze_time_in_ms = 2;
|
||||
}
|
||||
message SC_GAME_MECHANICS_MODIFY_INST_TIME_FREEZE {
|
||||
string game_id = 1;
|
||||
repeated SCD_GAME_MECHANICS_INST_TIME_FREEZE time_freeze_infos = 2;
|
||||
}
|
||||
8
proto/pb/cs_game_mode.proto
Normal file
8
proto/pb/cs_game_mode.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_SYNC_GAME_MODE {
|
||||
string mode_id = 1;
|
||||
}
|
||||
18
proto/pb/cs_game_var.proto
Normal file
18
proto/pb/cs_game_var.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_SYNC_ALL_GAME_VAR {
|
||||
map<int32, int64> server_vars = 1;
|
||||
map<int32, int64> client_vars = 2;
|
||||
}
|
||||
message CS_UPDATE_CLIENT_GAME_VAR {
|
||||
int32 key = 1;
|
||||
int64 value = 2;
|
||||
}
|
||||
message SC_UPDATE_GAME_VAR {
|
||||
int32 key = 1;
|
||||
int64 value = 2;
|
||||
int32 type = 3;
|
||||
}
|
||||
37
proto/pb/cs_gem.proto
Normal file
37
proto/pb/cs_gem.proto
Normal file
@@ -0,0 +1,37 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
import "common.proto";
|
||||
|
||||
message CS_GEM_RECAST {
|
||||
string formula_id = 1;
|
||||
int32 count = 2;
|
||||
repeated uint64 cost_gem_inst_ids = 3;
|
||||
}
|
||||
message SC_GEM_RECAST {
|
||||
string formula_id = 1;
|
||||
int32 count = 2;
|
||||
repeated uint64 gem_inst_ids = 3;
|
||||
}
|
||||
message CS_GEM_ENHANCE {
|
||||
uint64 enhance_gem_inst_id = 1;
|
||||
int32 term_id = 2;
|
||||
uint64 cost_gem_inst_id = 3;
|
||||
bool use_enhancement_item = 4;
|
||||
}
|
||||
message SC_GEM_ENHANCE {
|
||||
uint64 gem_inst_id = 1;
|
||||
repeated GEM_TERM terms = 2;
|
||||
bool is_success = 3;
|
||||
REWARD_ITEM refund_item = 4;
|
||||
}
|
||||
message CS_GEM_DISMANTLE {
|
||||
repeated uint64 gem_inst_ids = 1;
|
||||
}
|
||||
message SC_GEM_DISMANTLE {
|
||||
repeated REWARD_ITEM refund_items = 1;
|
||||
repeated REWARD_ITEM refund_money = 2;
|
||||
}
|
||||
28
proto/pb/cs_global_effect.proto
Normal file
28
proto/pb/cs_global_effect.proto
Normal file
@@ -0,0 +1,28 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum GLOBAL_EFFECT_STAMINA_REDUCE_INDEX {
|
||||
GESR_INDEX_GLOBAL_VAR_TYPE = 0;
|
||||
GESR_INDEX_DAILY_MAX_COUNT = 1;
|
||||
GESR_INDEX_REDUCE_AMOUNT = 2;
|
||||
GESR_INDEX_MAX = 3;
|
||||
}
|
||||
message SCD_GLOBAL_EFFECT {
|
||||
int32 effect_type = 1;
|
||||
repeated int32 effect_values = 2;
|
||||
uint32 chapter_id = 3;
|
||||
int64 end_time = 4;
|
||||
int32 source_type = 5;
|
||||
string sub_source_type = 6;
|
||||
string effect_id = 7;
|
||||
}
|
||||
message SC_GLOBAL_EFFECT_SYNC_ALL {
|
||||
repeated SCD_GLOBAL_EFFECT global_effects = 1;
|
||||
}
|
||||
message SC_GLOBAL_EFFECT_MODIFY_SYNC {
|
||||
int32 effect_type = 1;
|
||||
SCD_GLOBAL_EFFECT effect_info = 2;
|
||||
bool is_delete = 3;
|
||||
}
|
||||
32
proto/pb/cs_guide.proto
Normal file
32
proto/pb/cs_guide.proto
Normal file
@@ -0,0 +1,32 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
message GUIDE_GROUP_INFO {
|
||||
string guide_group_id = 1;
|
||||
int32 guide_state = 2;
|
||||
}
|
||||
message CS_COMPLETE_GUIDE_GROUP_KEY_STEP {
|
||||
string guide_group_id = 1;
|
||||
}
|
||||
message CS_COMPLETE_GUIDE_GROUP {
|
||||
string guide_group_id = 1;
|
||||
bool is_close = 2;
|
||||
}
|
||||
message SC_SYNC_ALL_GUIDE {
|
||||
repeated GUIDE_GROUP_INFO guide_group_list = 1;
|
||||
repeated string completed_repeat_accept_guide_group_list = 2;
|
||||
}
|
||||
message SC_ACCEPT_GUIDE_GROUP {
|
||||
string guide_group_id = 1;
|
||||
}
|
||||
message SC_COMPLETE_GUIDE_GROUP_KEY_STEP {
|
||||
string guide_group_id = 1;
|
||||
}
|
||||
message SC_COMPLETE_GUIDE_GROUP {
|
||||
string guide_group_id = 1;
|
||||
bool is_closed = 2;
|
||||
}
|
||||
294
proto/pb/cs_item_bag.proto
Normal file
294
proto/pb/cs_item_bag.proto
Normal file
@@ -0,0 +1,294 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum ITEM_BAG_USE_TYPE {
|
||||
item_bag_use_type_default = 0;
|
||||
item_bag_use_type_trial_char_equip_medicine = 1;
|
||||
item_bag_use_type_bomb = 2;
|
||||
item_bag_use_type_item_case = 3;
|
||||
item_bag_use_type_equip_medicine = 4;
|
||||
item_bag_use_type_map_detector = 5;
|
||||
item_bag_use_type_gem_locked_term_box = 6;
|
||||
item_bag_use_type_fertilize = 7;
|
||||
item_bag_use_type_monthlycard = 8;
|
||||
item_bag_use_type_bp_ticket = 9;
|
||||
}
|
||||
enum E_USE_ITEM_RESULT {
|
||||
E_USE_ITEM_RESULT_OK = 0;
|
||||
E_USE_ITEM_RESULT_UnknownFail = 1;
|
||||
E_USE_ITEM_RESULT_CondiitonFail = 2;
|
||||
}
|
||||
message SCD_ITEM_BAG {
|
||||
int32 grid_limit = 1;
|
||||
repeated SCD_ITEM_GRID grids = 2;
|
||||
}
|
||||
message SCD_ITEM_DEPOT {
|
||||
map<string, int32> stackable_items = 1;
|
||||
repeated SCD_ITEM_GRID inst_list = 2;
|
||||
}
|
||||
message SCD_ITEM_LOST_AND_FOUND {
|
||||
map<string, int32> stackable_items = 1;
|
||||
repeated SCD_ITEM_GRID inst_list = 2;
|
||||
}
|
||||
message SCD_ITEM_BAG_MODIFY {
|
||||
int32 grid_limit = 1;
|
||||
repeated SCD_ITEM_GRID grids = 2;
|
||||
repeated int32 del_list = 3;
|
||||
}
|
||||
message SCD_ITEM_DEPOT_MODIFY {
|
||||
map<string, int32> items = 1;
|
||||
repeated SCD_ITEM_GRID inst_list = 2;
|
||||
repeated uint64 del_inst_list = 3;
|
||||
map<string, bool> infinite_items = 4;
|
||||
}
|
||||
message SCD_ITEM_LOST_AND_FOUND_MODIFY {
|
||||
map<string, int32> items = 1;
|
||||
repeated SCD_ITEM_GRID inst_list = 2;
|
||||
repeated uint64 del_inst_list = 3;
|
||||
}
|
||||
message CS_ITEM_BAG_TIDY_IN_BAG {
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_MOVE_IN_BAG {
|
||||
int32 from_grid = 1;
|
||||
int32 to_grid = 2;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_SPLIT_IN_BAG {
|
||||
int32 from_grid = 1;
|
||||
int32 to_grid = 2;
|
||||
int32 move_count = 3;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_FACTORY_DEPOT_TO_BAG {
|
||||
string item_id = 1;
|
||||
int32 grid_index = 2;
|
||||
int32 count = 3;
|
||||
ITEM_MOVE_MODE mode = 4;
|
||||
int32 scope_name = 11;
|
||||
string chapter_id = 12;
|
||||
}
|
||||
message CS_ITEM_BAG_BAG_TO_FACTORY_DEPOT {
|
||||
repeated int32 grid_list = 1;
|
||||
ITEM_MOVE_MODE mode = 2;
|
||||
int32 scope_name = 11;
|
||||
string chapter_id = 12;
|
||||
}
|
||||
message CS_ITEM_BAG_SET_ITEM_LOCK {
|
||||
repeated ITEM_INST_LOCK_INFO lock_info_list = 1;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_ABANDON_IN_BAG {
|
||||
map<int32, int32> grid_cut = 1;
|
||||
uint64 target_object_id = 2;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_DESTROY_IN_DEPOT {
|
||||
int32 depot = 1;
|
||||
map<string, int32> items = 2;
|
||||
repeated uint64 inst_id_list = 3;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_DESTROY_IN_FACTORY_DEPOT {
|
||||
map<string, int32> items = 1;
|
||||
int32 scope_name = 11;
|
||||
string chapter_id = 12;
|
||||
}
|
||||
message CS_ITEM_BAG_DUMP_BOTTLE_IN_BAG {
|
||||
int32 grid_index = 1;
|
||||
int32 count = 2;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message CS_ITEM_BAG_DUMP_BOTTLE_IN_FACTORY_DEPOT {
|
||||
string item_id = 1;
|
||||
int32 count = 2;
|
||||
int32 scope_name = 11;
|
||||
string chapter_id = 12;
|
||||
}
|
||||
message CS_ITEM_BAG_TAKEOUT_LOST_AND_FOUND {
|
||||
bool all = 1;
|
||||
map<string, int32> items = 2;
|
||||
repeated uint64 inst_id_list = 3;
|
||||
}
|
||||
message CS_ITEM_BAG_USE_ITEM_CASE {
|
||||
string id = 1;
|
||||
int32 count = 2;
|
||||
repeated string select_rewards = 3;
|
||||
}
|
||||
message CS_ITEM_BAG_USE_ITEM {
|
||||
ITEM_BAG_USE_TYPE use_type = 12;
|
||||
int32 grid_index = 1;
|
||||
string item_id = 6;
|
||||
int32 count = 2;
|
||||
uint64 item_inst_id = 7;
|
||||
repeated uint64 char_inst_id_list = 3;
|
||||
uint64 equip_medicine_char_inst_id = 4;
|
||||
repeated string item_use_args = 5;
|
||||
int32 scope_name = 11;
|
||||
oneof specific_info {
|
||||
ITEM_CASE_SPECIFIC_INFO item_case_specific_info = 31;
|
||||
ITEM_CASE_LOCKED_GEM_BOX gem_box = 32;
|
||||
ITEM_CASE_FERTILIZE fertilize = 33;
|
||||
}
|
||||
}
|
||||
message ITEM_CASE_FERTILIZE {
|
||||
string chapter_id = 1;
|
||||
uint32 node_id = 2;
|
||||
}
|
||||
message ITEM_CASE_SPECIFIC_INFO {
|
||||
repeated string select_rewards = 1;
|
||||
}
|
||||
message ITEM_CASE_LOCKED_GEM_BOX {
|
||||
repeated string locked_term = 1;
|
||||
}
|
||||
message CS_ITEM_BAG_CHG_SPACESHIP_CHAPTER {
|
||||
string spaceship_chapter_id = 1;
|
||||
}
|
||||
message CS_ITEM_BAG_SET_BATCH_MOVE_FLAG {
|
||||
int64 batch_move_flag = 1;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message SCD_ITEM_BAG_SYNC_QUICK_BAR {
|
||||
repeated string item_id = 1;
|
||||
int32 pos = 2;
|
||||
}
|
||||
message SC_ITEM_BAG_COMMON_SYNC {
|
||||
SCD_ITEM_LOST_AND_FOUND lost_and_found = 1;
|
||||
repeated SCD_ITEM_BAG_LT_ITEM_EXPIRE_RECORD lt_item_expire_records = 2;
|
||||
}
|
||||
message SC_ITEM_BAG_COMMON_MODIFY {
|
||||
SCD_ITEM_LOST_AND_FOUND_MODIFY lost_and_found = 1;
|
||||
}
|
||||
message SC_ITEM_BAG_SCOPE_SYNC {
|
||||
SCD_ITEM_BAG bag = 1;
|
||||
map<string, SCD_ITEM_DEPOT> factory_depot = 2;
|
||||
map<int32, SCD_ITEM_DEPOT> depot = 3;
|
||||
SCD_ITEM_BAG_SYNC_QUICK_BAR quick_bar = 4;
|
||||
SCD_ITEM_BAG_SCOPE_ASSISTANT assistant = 5;
|
||||
int32 scope_name = 11;
|
||||
string current_chapter_id = 12;
|
||||
string spaceship_chapter_id = 13;
|
||||
}
|
||||
message SC_TRIAL_CHARACTER_EQUIP_MEDICINE_MODIFY {
|
||||
uint64 trial_obj_id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message SC_ITEM_BAG_TRIAL_CHAR_DEPOT_MODIFY {
|
||||
int32 scope_name = 1;
|
||||
SCD_ITEM_DEPOT_MODIFY trial_char_depot = 2;
|
||||
}
|
||||
message SC_ITEM_BAG_TRIAL_CHAR_DEPOT_CLEAR {
|
||||
int32 scope_name = 1;
|
||||
}
|
||||
message SC_ITEM_BAG_SCOPE_MODIFY {
|
||||
SCD_ITEM_BAG_MODIFY bag = 1;
|
||||
map<string, SCD_ITEM_DEPOT_MODIFY> factory_depot = 2;
|
||||
map<int32, SCD_ITEM_DEPOT_MODIFY> depot = 3;
|
||||
SCD_ITEM_BAG_SYNC_QUICK_BAR quick_bar = 4;
|
||||
SCD_ITEM_BAG_SCOPE_ASSISTANT_MODIFY assistant = 5;
|
||||
int32 scope_name = 11;
|
||||
string current_chapter_id = 12;
|
||||
bool is_scope_delete = 14;
|
||||
}
|
||||
message SCD_ITEM_BAG_SCOPE_ASSISTANT {
|
||||
map<string, int32> last_use_time = 1;
|
||||
map<string, bool> cannot_destroy = 2;
|
||||
bool cannot_destroy_all = 3;
|
||||
int64 batch_move_flag = 4;
|
||||
}
|
||||
message SCD_ITEM_BAG_SCOPE_ASSISTANT_MODIFY {
|
||||
map<string, int32> last_use_time = 1;
|
||||
map<string, bool> cannot_destroy = 2;
|
||||
bool cannot_destroy_all = 3;
|
||||
int64 batch_move_flag = 4;
|
||||
}
|
||||
message SC_ITEM_BAG_USE_ITEM {
|
||||
ITEM_BAG_USE_TYPE use_type = 5;
|
||||
E_USE_ITEM_RESULT result = 1;
|
||||
SCD_ITEM_GRID used_item = 2;
|
||||
repeated uint64 char_inst_id_list = 3;
|
||||
uint64 equip_medicine_char_inst_id = 4;
|
||||
int32 scope_name = 11;
|
||||
oneof result_info {
|
||||
USE_ITEM_RESULT_GEM_BOX gem_box = 21;
|
||||
}
|
||||
}
|
||||
message USE_ITEM_RESULT_GEM_BOX {
|
||||
repeated uint64 gem_inst_id = 1;
|
||||
}
|
||||
message SC_ITEM_BAG_SET_QUICK_BAR {
|
||||
repeated string item_id = 1;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message SC_ITEM_BAG_SET_QUICK_BAR_POS {
|
||||
int32 pos = 1;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message ITEM_INST_LOCK_INFO {
|
||||
string item_id = 1;
|
||||
uint64 inst_id = 2;
|
||||
bool is_lock = 3;
|
||||
ITEM_FLAG item_flag = 4;
|
||||
}
|
||||
message SC_ITEM_BAG_SET_ITEM_LOCK {
|
||||
repeated ITEM_INST_LOCK_INFO lock_info_list = 1;
|
||||
int32 scope_name = 11;
|
||||
}
|
||||
message SC_ITEM_BAG_ABANDON_IN_BAG {
|
||||
}
|
||||
message SC_ITEM_BAG_TAKEOUT_LOST_AND_FOUND {
|
||||
bool nothing_got = 1;
|
||||
}
|
||||
message SC_ITEM_BAG_GOT_ITEM_TOAST {
|
||||
map<string, int32> items = 1;
|
||||
}
|
||||
message SC_REWARD_TOAST_BEGIN {
|
||||
int32 reward_source_type = 1;
|
||||
uint64 reward_toast_inst_id = 2;
|
||||
}
|
||||
message SC_REWARD_TOAST_END {
|
||||
repeated REWARD_ITEM reward_virtual_list = 1;
|
||||
uint64 reward_toast_inst_id = 2;
|
||||
}
|
||||
message SC_REWARD_DROP_SP_ITEM_TOAST {
|
||||
string item_id = 1;
|
||||
int64 count = 2;
|
||||
VECTOR pos = 3;
|
||||
int32 reward_source_type = 4;
|
||||
uint64 reward_toast_inst_id = 5;
|
||||
}
|
||||
message SC_ITEM_BAG_USE_ITEM_CASE {
|
||||
string id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message SC_ITEM_BAG_CHG_SPACESHIP_CHAPTER {
|
||||
string spaceship_chapter_id = 1;
|
||||
}
|
||||
message CS_ITEM_BAG_SPRAY_TO_BUILDING {
|
||||
int32 scope_name = 1;
|
||||
string item_id = 3;
|
||||
map<uint32, int32> bullet_to = 11;
|
||||
int32 bullet_waste = 12;
|
||||
oneof liquid_source {
|
||||
uint32 from_building_id = 4;
|
||||
uint64 from_interactive_obj_id = 5;
|
||||
}
|
||||
}
|
||||
message SCD_ITEM_BAG_LT_ITEM_EXPIRE_RECORD {
|
||||
repeated ITEM_BUNDLE items = 1;
|
||||
int32 record_id = 2;
|
||||
}
|
||||
message SC_ITEM_BAG_LT_ITEMS_EXPIRE_NTF {
|
||||
SCD_ITEM_BAG_LT_ITEM_EXPIRE_RECORD record = 1;
|
||||
}
|
||||
message CS_ITEM_BAG_LT_ITEMS_EXPIRE_CONFIRM_REQ {
|
||||
repeated int32 record_id_list = 1;
|
||||
}
|
||||
message SC_ITEM_BAG_LT_ITEMS_EXPIRE_CONFIRM_RSP {
|
||||
repeated int32 record_id_list = 1;
|
||||
}
|
||||
48
proto/pb/cs_kite_station.proto
Normal file
48
proto/pb/cs_kite_station.proto
Normal file
@@ -0,0 +1,48 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum KITE_STATION_ENTRUST_TASK_STATUS {
|
||||
CREATE = 0;
|
||||
PROCESSING = 1;
|
||||
COMPLETED = 2;
|
||||
}
|
||||
message CS_KITE_STATION_LEVEL_UP {
|
||||
string kite_station_id = 1;
|
||||
int32 target_level = 2;
|
||||
}
|
||||
message CS_KITE_STATION_ACCEPT_TASK {
|
||||
string kite_station_id = 1;
|
||||
int32 task_idx = 2;
|
||||
}
|
||||
message SC_KITE_STATION_LEVEL_UP {
|
||||
string kite_station_id = 1;
|
||||
int32 cur_level = 2;
|
||||
}
|
||||
message CS_KITE_STATION_COLLECT_REWARD {
|
||||
string kite_station_id = 1;
|
||||
repeated int32 coll_cnt = 3;
|
||||
}
|
||||
message SCD_KITESTATION_ENTRUST_TASK {
|
||||
int32 sort_idx = 1;
|
||||
KITE_STATION_ENTRUST_TASK_STATUS status = 2;
|
||||
int32 accept_ks_lv = 3;
|
||||
}
|
||||
message SCD_KITE_STATION_DATA {
|
||||
int32 cur_level = 1;
|
||||
uint64 collection_records = 2;
|
||||
uint32 collection_reward = 3;
|
||||
map<int32, KITE_STATION_ENTRUST_TASK_STATUS> cur_entrust_task_idx = 5;
|
||||
map<int32, SCD_KITESTATION_ENTRUST_TASK> cur_entrust_task_data = 6;
|
||||
int64 unlock_tms = 7;
|
||||
}
|
||||
message SC_KITE_STATION_SYNC_ALL {
|
||||
map<string, SCD_KITE_STATION_DATA> kite_stations = 1;
|
||||
map<string, string> version = 2;
|
||||
}
|
||||
message SC_KITE_STATION_MODIFY_KS {
|
||||
map<string, SCD_KITE_STATION_DATA> kite_stations = 2;
|
||||
}
|
||||
message SC_KITE_STATION_REFRESH {
|
||||
}
|
||||
168
proto/pb/cs_login.proto
Normal file
168
proto/pb/cs_login.proto
Normal file
@@ -0,0 +1,168 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum AREA_TYPE {
|
||||
Default = 0;
|
||||
China = 1;
|
||||
Oversea = 2;
|
||||
ChinaPre = 10;
|
||||
OverseaPre = 11;
|
||||
}
|
||||
enum ENV_TYPE {
|
||||
DEV = 0;
|
||||
STABLE = 1;
|
||||
PROD = 2;
|
||||
}
|
||||
message CS_LOGIN {
|
||||
string a14 = 1;
|
||||
string client_res_version = 2;
|
||||
string client_version = 3;
|
||||
string a13 = 4;
|
||||
string uid = 5;
|
||||
string token = 6;
|
||||
bytes client_public_key = 7;
|
||||
CLIENT_PLATFORM_TYPE platform_id = 8;
|
||||
AREA_TYPE area = 9;
|
||||
int32 pay_platform = 10;
|
||||
uint64 last_recv_down_seqid = 11;
|
||||
ENV_TYPE env = 12;
|
||||
int32 a21 = 13;
|
||||
int32 a22 = 14;
|
||||
int32 server_group = 15;
|
||||
int32 client_language = 16;
|
||||
DEVICE_INFO a23 = 17;
|
||||
}
|
||||
message SC_LOGIN {
|
||||
string uid = 1;
|
||||
string f11 = 2;
|
||||
bytes server_public_key = 3;
|
||||
bytes server_encryp_nonce = 4;
|
||||
bool is_client_reconnect = 5;
|
||||
bool is_first_login = 6;
|
||||
bool is_reconnect = 7;
|
||||
int64 server_time = 8;
|
||||
uint64 last_recv_up_seqid = 9;
|
||||
int32 server_time_zone = 10;
|
||||
string f12 = 11;
|
||||
int32 server_area_type = 12;
|
||||
}
|
||||
message SC_DEV_DATA_VERSION_NOTIFY {
|
||||
string changelist = 1;
|
||||
uint64 timestamp = 2;
|
||||
}
|
||||
message CS_CREATE_ROLE {
|
||||
string role_name = 1;
|
||||
GENDER gender = 2;
|
||||
}
|
||||
message SC_CREATE_ROLE {
|
||||
}
|
||||
message SC_SYNC_BASE_DATA {
|
||||
int64 create_ts = 1;
|
||||
bytes client_setting = 2;
|
||||
uint64 roleid = 3;
|
||||
GENDER gender = 4;
|
||||
uint32 level = 5;
|
||||
uint32 exp = 6;
|
||||
string short_id = 7;
|
||||
string role_name = 8;
|
||||
int64 create_ts_display = 9;
|
||||
}
|
||||
message SC_NTF_ERROR_CODE {
|
||||
int32 error_code = 1;
|
||||
string details = 2;
|
||||
}
|
||||
message SC_NTF_CODE {
|
||||
int32 code = 1;
|
||||
string details = 2;
|
||||
repeated string params = 3;
|
||||
}
|
||||
message CS_LOGOUT {
|
||||
}
|
||||
message CS_GM_COMMAND {
|
||||
string command = 1;
|
||||
}
|
||||
message SCD_GM_GACHA_STAT {
|
||||
string gacha_pool_id = 1;
|
||||
int32 gacha_type = 2;
|
||||
int32 total_pull_count = 3;
|
||||
map<int32, int32> up_got_pull_count_map = 4;
|
||||
int32 up_got_count = 5;
|
||||
map<int32, int32> star6_got_pull_count_map = 6;
|
||||
int32 star6_got_count = 7;
|
||||
int32 star6_ge2_got_count = 8;
|
||||
map<int32, int32> star5_got_pull_count_map = 9;
|
||||
int32 star5_got_count = 10;
|
||||
int32 star5_ge2_got_count = 11;
|
||||
map<string, int32> up_item_count_map = 12;
|
||||
map<string, int32> star6_item_count_map = 13;
|
||||
map<string, int32> star5_item_count_map = 14;
|
||||
map<string, int32> starother_item_count_map = 15;
|
||||
int32 rate_index = 16;
|
||||
}
|
||||
message SC_GM_COMMAND {
|
||||
string result = 1;
|
||||
}
|
||||
message CS_PING {
|
||||
uint64 client_ts = 1;
|
||||
uint64 logical_ts = 2;
|
||||
}
|
||||
message SC_PING {
|
||||
uint64 client_ts = 1;
|
||||
uint64 server_ts = 2;
|
||||
}
|
||||
message SC_RECONNECT_INCR {
|
||||
bool is_client_reconnect = 1;
|
||||
}
|
||||
message SC_RECONNECT_FULL {
|
||||
bool is_client_reconnect = 1;
|
||||
}
|
||||
message CS_FLUSH_SYNC {
|
||||
uint64 client_ts = 1;
|
||||
}
|
||||
message SC_FLUSH_SYNC {
|
||||
uint64 client_ts = 1;
|
||||
uint64 server_ts = 2;
|
||||
}
|
||||
message CS_SET_NAME {
|
||||
string name = 1;
|
||||
}
|
||||
message SC_SET_NAME {
|
||||
string name = 1;
|
||||
string short_id = 2;
|
||||
}
|
||||
message CS_SET_GENDER {
|
||||
GENDER gender = 1;
|
||||
bool first_set = 2;
|
||||
}
|
||||
message SC_SET_GENDER {
|
||||
GENDER gender = 1;
|
||||
bool first_set = 2;
|
||||
}
|
||||
message CS_CHECK_NAME {
|
||||
string name = 1;
|
||||
}
|
||||
message SC_CHECK_NAME {
|
||||
string name = 1;
|
||||
bool pass = 2;
|
||||
}
|
||||
message SC_SYNC_FULL_DATA_END {
|
||||
}
|
||||
message CS_SYNC_LOGICAL_TS {
|
||||
uint64 logical_ts = 1;
|
||||
}
|
||||
message CS_SET_CLIENT_SETTING {
|
||||
bytes client_setting_modify = 1;
|
||||
}
|
||||
message SC_SET_CLIENT_SETTING {
|
||||
}
|
||||
message CS_UPDATE_CLIENT_LANGUAGE {
|
||||
int32 client_language = 1;
|
||||
}
|
||||
message SC_SYNC_CLIENT_SWITCH {
|
||||
repeated string client_switch = 1;
|
||||
}
|
||||
66
proto/pb/cs_mail.proto
Normal file
66
proto/pb/cs_mail.proto
Normal file
@@ -0,0 +1,66 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
message CS_MAIL_DEF {
|
||||
int32 mail_type = 1;
|
||||
uint64 mail_id = 2;
|
||||
int64 expire_time = 3;
|
||||
bool is_read = 4;
|
||||
bool is_attachment_got = 5;
|
||||
int64 send_time = 6;
|
||||
MAIL_CONTENT mail_content = 7;
|
||||
repeated REWARD_ITEM item_list = 8;
|
||||
bool is_star = 9;
|
||||
int32 mail_sub_type = 10;
|
||||
}
|
||||
message CS_GET_MAIL {
|
||||
repeated uint64 mail_id_list = 1;
|
||||
}
|
||||
message CS_READ_MAIL {
|
||||
uint64 mail_id = 1;
|
||||
}
|
||||
message CS_DELETE_MAIL {
|
||||
uint64 mail_id = 1;
|
||||
}
|
||||
message CS_DELETE_ALL_MAIL {
|
||||
}
|
||||
message CS_GET_MAIL_ATTACHMENT {
|
||||
uint64 mail_id = 1;
|
||||
}
|
||||
message CS_GET_ALL_MAIL_ATTACHMENT {
|
||||
}
|
||||
message CS_MARK_STAR_MAIL {
|
||||
uint64 mail_id = 1;
|
||||
bool is_star = 2;
|
||||
}
|
||||
message SC_SYNC_ALL_MAIL {
|
||||
repeated uint64 mail_id_list = 1;
|
||||
bool new_mail_tag = 2;
|
||||
bool new_questionnaire_tag = 3;
|
||||
}
|
||||
message SC_READ_MAIL {
|
||||
uint64 mail_id = 1;
|
||||
}
|
||||
message SC_GET_MAIL {
|
||||
repeated CS_MAIL_DEF mail_list = 1;
|
||||
}
|
||||
message SC_GET_MAIL_ATTACHMENT {
|
||||
repeated uint64 success_mail_id_list = 1;
|
||||
repeated uint64 failed_mail_id_list = 2;
|
||||
}
|
||||
message SC_DEL_MAIL_NOTIFY {
|
||||
repeated uint64 mail_id_list = 1;
|
||||
}
|
||||
message SC_NEW_MAIL_NOTIFY {
|
||||
repeated uint64 mail_id_list = 1;
|
||||
bool new_questionnaire_tag = 2;
|
||||
}
|
||||
message SC_MARK_STAR_MAIL {
|
||||
uint64 mail_id = 1;
|
||||
bool is_star = 2;
|
||||
}
|
||||
56
proto/pb/cs_map_mark.proto
Normal file
56
proto/pb/cs_map_mark.proto
Normal file
@@ -0,0 +1,56 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
message CSD_SCENE_STATIC_MAP_MARK_UPDATE {
|
||||
SCENE_STATIC_MAP_MARK mark = 1;
|
||||
bool is_add = 2;
|
||||
}
|
||||
message CS_SCENE_STATIC_MAP_MARK_UPDATE {
|
||||
repeated CSD_SCENE_STATIC_MAP_MARK_UPDATE ops = 1;
|
||||
}
|
||||
message CS_SCENE_SET_TRACK_POINT {
|
||||
SCENE_TRACK_POINT track_point = 1;
|
||||
}
|
||||
message CS_SCENE_DYNAMIC_MAP_MARK_ADD {
|
||||
int32 scene_num_id = 1;
|
||||
VECTOR position = 2;
|
||||
string note = 3;
|
||||
uint32 typ = 4;
|
||||
int32 tier_index = 5;
|
||||
int32 tier_id = 6;
|
||||
}
|
||||
message CS_SCENE_DYNAMIC_MAP_MARK_DELETE {
|
||||
int32 scene_num_id = 1;
|
||||
repeated uint32 id = 2;
|
||||
}
|
||||
message CS_SCENE_DYNAMIC_MAP_MARK_UPDATE {
|
||||
int32 scene_num_id = 1;
|
||||
uint32 id = 2;
|
||||
string note = 3;
|
||||
uint32 typ = 4;
|
||||
}
|
||||
message SC_SCENE_MAP_MARK_SYNC {
|
||||
repeated SCENE_STATIC_MAP_MARK scene_static_map_mark_list = 1;
|
||||
repeated SCENE_DYNAMIC_MAP_MARK scene_dynamic_map_mark_list = 3;
|
||||
repeated uint64 detected_entity_id = 4;
|
||||
SCENE_TRACK_POINT track_point = 2;
|
||||
}
|
||||
message SC_SCENE_STATIC_MAP_MARK_MODIFY {
|
||||
repeated SCENE_STATIC_MAP_MARK added_list = 1;
|
||||
repeated int32 deleted_list = 2;
|
||||
}
|
||||
message SC_SCENE_DYNAMIC_MAP_MARK_MODIFY {
|
||||
repeated SCENE_DYNAMIC_MAP_MARK modified_marks = 1;
|
||||
repeated uint32 deleted_marks = 2;
|
||||
}
|
||||
message SC_SCENE_DETECT_MAP_MARK {
|
||||
repeated uint64 add_entity_id = 1;
|
||||
repeated uint64 del_entity_id = 2;
|
||||
}
|
||||
message SC_SCENE_SET_TRACK_POINT {
|
||||
SCENE_TRACK_POINT track_point = 1;
|
||||
}
|
||||
19
proto/pb/cs_mini_game.proto
Normal file
19
proto/pb/cs_mini_game.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message MINI_GAME_INFO {
|
||||
string mini_game_id = 1;
|
||||
int32 completed_count = 2;
|
||||
}
|
||||
message SC_SYNC_ALL_MINI_GAME {
|
||||
repeated MINI_GAME_INFO completed_mini_game = 1;
|
||||
}
|
||||
message CS_COMPLETE_MINI_GAME {
|
||||
string mini_game_id = 2;
|
||||
}
|
||||
message SC_COMPLETE_MINI_GAME {
|
||||
string mini_game_id = 2;
|
||||
int32 completed_count = 3;
|
||||
}
|
||||
16
proto/pb/cs_misc.proto
Normal file
16
proto/pb/cs_misc.proto
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message ATTR_INFO {
|
||||
int32 attr_type = 1;
|
||||
double basic_value = 2;
|
||||
double value = 3;
|
||||
}
|
||||
message SC_SYNC_ATTR {
|
||||
uint64 objID = 1;
|
||||
repeated ATTR_INFO attr_list = 2;
|
||||
}
|
||||
message SC_NEW_NOTICE_NOTIFY {
|
||||
}
|
||||
141
proto/pb/cs_mission.proto
Normal file
141
proto/pb/cs_mission.proto
Normal file
@@ -0,0 +1,141 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
message QUEST_OBJECTIVE_DETAIL {
|
||||
map<uint64, bool> hashValue = 2;
|
||||
}
|
||||
message QUEST_OBJECTIVE {
|
||||
string condition_id = 1;
|
||||
map<string, QUEST_OBJECTIVE_DETAIL> extra_details = 2;
|
||||
map<string, int32> values = 4;
|
||||
bool is_complete = 3;
|
||||
int32 description_index = 5;
|
||||
}
|
||||
message QUEST {
|
||||
string quest_id = 1;
|
||||
int32 quest_state = 2;
|
||||
repeated QUEST_OBJECTIVE quest_objectives = 4;
|
||||
bool is_pasued = 5;
|
||||
}
|
||||
message MISSION {
|
||||
string mission_id = 1;
|
||||
int32 mission_state = 2;
|
||||
int32 succeed_id = 3;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 4;
|
||||
int32 external_system_type = 5;
|
||||
string external_system_id = 6;
|
||||
int64 acceptTime = 7;
|
||||
bool is_pasued = 8;
|
||||
}
|
||||
message OBJECTIVE_VALUE_OP {
|
||||
string condition_id = 1;
|
||||
int32 value = 2;
|
||||
bool is_add = 3;
|
||||
}
|
||||
message SC_UPDATE_MISSION_PAUSE_STATE {
|
||||
string mission_id = 1;
|
||||
bool is_paused = 2;
|
||||
}
|
||||
message SC_UPDATE_QUEST_PAUSE_STATE {
|
||||
string quest_id = 1;
|
||||
bool is_paused = 2;
|
||||
}
|
||||
message CS_ACCEPT_MISSION {
|
||||
string mission_id = 1;
|
||||
}
|
||||
message CS_FAIL_MISSION {
|
||||
string mission_id = 1;
|
||||
}
|
||||
message CS_TRACK_MISSION {
|
||||
string mission_id = 1;
|
||||
}
|
||||
message CS_STOP_TRACKING_MISSION {
|
||||
}
|
||||
message CS_MISSION_EVENT_TRIGGER {
|
||||
string missionId = 1;
|
||||
string event_name = 2;
|
||||
map<string, DYNAMIC_PARAMETER> properties = 3;
|
||||
}
|
||||
message SC_MISSION_EVENT_TRIGGER {
|
||||
string missionId = 1;
|
||||
string event_name = 2;
|
||||
}
|
||||
message CS_UPDATE_QUEST_OBJECTIVE {
|
||||
string quest_id = 1;
|
||||
repeated OBJECTIVE_VALUE_OP objective_value_ops = 2;
|
||||
}
|
||||
message SC_UPDATE_MISSION_PROPERTY {
|
||||
string mission_id = 1;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 2;
|
||||
}
|
||||
message CS_MISSION_CLIENT_TRIGGER_DONE {
|
||||
string mission_id = 1;
|
||||
string scene_name = 2;
|
||||
string area_id = 3;
|
||||
}
|
||||
message CS_SET_NEW_MISSION_TAG_DONE {
|
||||
repeated NEW_MISSION_TAG new_mission_tags = 5;
|
||||
}
|
||||
message SC_SYNC_ALL_MISSION {
|
||||
string track_mission_id = 1;
|
||||
map<string, MISSION> missions = 2;
|
||||
map<string, QUEST> cur_quests = 3;
|
||||
string daily_mission_id = 4;
|
||||
repeated NEW_MISSION_TAG new_mission_tags = 5;
|
||||
}
|
||||
message NEW_MISSION_TAG {
|
||||
string mission_id = 1;
|
||||
string quest_id = 2;
|
||||
}
|
||||
message SC_DAILY_MISSION_INFO_UPDATE {
|
||||
string daily_mission_id = 1;
|
||||
}
|
||||
message SC_QUEST_STATE_UPDATE {
|
||||
string quest_id = 1;
|
||||
int32 quest_state = 2;
|
||||
bool b_rollback = 3;
|
||||
ROLE_BASE_INFO role_base_info = 10;
|
||||
}
|
||||
message SC_MISSION_STATE_UPDATE {
|
||||
string mission_id = 1;
|
||||
int32 mission_state = 2;
|
||||
int32 succeed_id = 3;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 4;
|
||||
int32 external_system_type = 5;
|
||||
string external_system_id = 6;
|
||||
int64 acceptTime = 7;
|
||||
ROLE_BASE_INFO role_base_info = 10;
|
||||
}
|
||||
message SC_QUEST_FAILED {
|
||||
string quest_id = 1;
|
||||
}
|
||||
message SC_MISSION_FAILED {
|
||||
string mission_id = 1;
|
||||
}
|
||||
message SC_MISSION_DELETED {
|
||||
string mission_id = 1;
|
||||
}
|
||||
message SC_TRACK_MISSION_CHANGE {
|
||||
string mission_id = 1;
|
||||
}
|
||||
message SC_QUEST_OBJECTIVES_UPDATE {
|
||||
string quest_id = 1;
|
||||
repeated QUEST_OBJECTIVE quest_objectives = 4;
|
||||
}
|
||||
message SC_QUEST_ROLLBACK {
|
||||
string quest_id = 1;
|
||||
}
|
||||
message SC_SCENE_TRIGGER_CLIENT_MISSION_EVENT {
|
||||
string mission_id = 1;
|
||||
string event_name = 2;
|
||||
}
|
||||
message SC_QUEST_DESCRIPTION_INDEX_UPDATE {
|
||||
string quest_id = 1;
|
||||
int32 objective_index = 2;
|
||||
int32 description_index = 3;
|
||||
}
|
||||
62
proto/pb/cs_monster_spawner.proto
Normal file
62
proto/pb/cs_monster_spawner.proto
Normal file
@@ -0,0 +1,62 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_SCENE_MONSTER_SPAWNER_START {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
repeated string enabled_hidden_wave_key_list = 3;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_STOP {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_COMPLETE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
}
|
||||
message CS_SCENE_MONSTER_SPAWNER_BEGIN_WAVE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
double client_timestamp = 4;
|
||||
}
|
||||
message CS_SCENE_MONSTER_SPAWNER_WAVE_CONFIRM_COMPLETE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_WAVE_PRE_COMPLETE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_WAVE_COMPLETE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_BEGIN_WAVE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_OBJECT_DATA_BEGIN {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
int32 group_id = 4;
|
||||
}
|
||||
message SC_SCENE_MONSTER_SPAWNER_OBJECT_DATA_END {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 spawner_id = 2;
|
||||
int32 wave_id = 3;
|
||||
int32 group_id = 4;
|
||||
repeated SPAWNER_DETAIL details = 5;
|
||||
}
|
||||
message SPAWNER_DETAIL {
|
||||
uint64 obj_id = 1;
|
||||
int32 action_id = 2;
|
||||
int32 spawn_idx = 3;
|
||||
}
|
||||
17
proto/pb/cs_monthlycard.proto
Normal file
17
proto/pb/cs_monthlycard.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_MONTHLYCARD_SYNC {
|
||||
int32 valid_end_ts = 1;
|
||||
int32 last_reward_ts = 2;
|
||||
repeated SCD_MONTHLYCARD_REWARD_RECORD last_reward_records = 3;
|
||||
}
|
||||
message SCD_MONTHLYCARD_REWARD_RECORD {
|
||||
int32 reward_ts = 1;
|
||||
int32 confirm_ts = 2;
|
||||
}
|
||||
message CS_MONTHLYCARD_CONFIRM_REWARD {
|
||||
int32 target_reward_ts = 1;
|
||||
}
|
||||
1061
proto/pb/cs_msgid.proto
Normal file
1061
proto/pb/cs_msgid.proto
Normal file
File diff suppressed because it is too large
Load Diff
65
proto/pb/cs_npc.proto
Normal file
65
proto/pb/cs_npc.proto
Normal file
@@ -0,0 +1,65 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
enum NPC_CONSTANTS {
|
||||
NC_NONE = 0;
|
||||
NC_META_VALUE_MAX_SIZE = 100;
|
||||
}
|
||||
message SCD_PATROL_NPC_META {
|
||||
map<int32, int32> patrol_meta_kvs = 1;
|
||||
}
|
||||
message CS_NPC_SET_META_DATA_REQ {
|
||||
string proxy_id = 1;
|
||||
map<int32, bytes> meta_kvs = 2;
|
||||
}
|
||||
message SCD_NPC_SET_META_DATA {
|
||||
string proxy_id = 1;
|
||||
map<int32, bytes> meta_kvs = 2;
|
||||
}
|
||||
message CS_NPC_BATCH_SET_META_DATA_REQ {
|
||||
repeated SCD_NPC_SET_META_DATA npc_meta_datas = 1;
|
||||
}
|
||||
message SC_NPC_SET_META_DATA_RSP {
|
||||
string proxy_id = 1;
|
||||
map<int32, bytes> meta_kvs = 2;
|
||||
}
|
||||
message SC_NPC_BATCH_SET_META_DATA_RSP {
|
||||
repeated SCD_NPC_SET_META_DATA npc_meta_datas = 1;
|
||||
}
|
||||
message SCD_NPC_PROXY_INFO {
|
||||
int32 proxy_num_id = 1;
|
||||
map<int32, bytes> meta_kvs = 2;
|
||||
int32 active_cond_index = 3;
|
||||
}
|
||||
message SC_NPC_ENTER_MAP_RESYNC {
|
||||
string map_name = 1;
|
||||
repeated SCD_NPC_PROXY_INFO map_active_npc_infos = 2;
|
||||
}
|
||||
message SC_NPC_ACTIVE_CHANGE_NTF {
|
||||
string map_name = 1;
|
||||
string npc_id = 2;
|
||||
string old_active_npc_proxy_id = 3;
|
||||
SCD_NPC_PROXY_INFO new_active_npc_info = 4;
|
||||
}
|
||||
message SC_NPC_RESET_META_DATA_NTF {
|
||||
repeated int32 proxy_num_ids = 1;
|
||||
}
|
||||
message SCD_NPC_CONFLICT_MULTI_NPC_PROXY {
|
||||
string npc_id = 1;
|
||||
repeated string npc_proxy_ids = 2;
|
||||
}
|
||||
message SCD_NPC_CONFLICT_MULTI_CONDITION {
|
||||
string proxy_id = 1;
|
||||
repeated int32 cond_indexes = 2;
|
||||
}
|
||||
message SC_NPC_CONFLICT_NTF {
|
||||
repeated SCD_NPC_CONFLICT_MULTI_NPC_PROXY conflict_npc_proxies = 1;
|
||||
repeated SCD_NPC_CONFLICT_MULTI_CONDITION conflict_proxy_conditions = 2;
|
||||
}
|
||||
message SC_NPC_ACTIVE_CHANGE_APPLY_NTF {
|
||||
string map_name = 1;
|
||||
}
|
||||
91
proto/pb/cs_pay.proto
Normal file
91
proto/pb/cs_pay.proto
Normal file
@@ -0,0 +1,91 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum PLATFORM_GOODS_LIMIT_TYPE {
|
||||
PGLT_INVALID = 0;
|
||||
PGLT_COMMON = 1;
|
||||
PGLT_ONCE_BONUS = 2;
|
||||
PGLT_GIFT_PACK = 5;
|
||||
}
|
||||
message CS_PAY_CREATE_ORDER {
|
||||
string goods_id = 1;
|
||||
string cash_shop_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message CS_PAY_ACCEPT_ORDER {
|
||||
repeated string order_ids = 1;
|
||||
}
|
||||
message CS_PAY_QUERY_PLATFORM_DATA {
|
||||
}
|
||||
message SC_PAY_CREATE_ORDER {
|
||||
string sign_param = 1;
|
||||
string goods_id = 2;
|
||||
string cash_shop_id = 3;
|
||||
int32 count = 4;
|
||||
}
|
||||
message SC_PAY_ACCEPT_ORDER {
|
||||
repeated string left_order_ids = 1;
|
||||
}
|
||||
message SCD_ORDER_SETTLE {
|
||||
string goods_id = 1;
|
||||
int32 quantity = 2;
|
||||
int32 duplicate_cnt = 3;
|
||||
int32 once_bonus_cnt = 4;
|
||||
bool is_web = 5;
|
||||
string order_id = 6;
|
||||
}
|
||||
message SC_PAY_ORDER_SETTLE {
|
||||
SCD_ORDER_SETTLE order_settle = 1;
|
||||
}
|
||||
message SCD_CASH_SHOP_CONDS {
|
||||
string cond_id = 1;
|
||||
int32 value = 2;
|
||||
bool flag = 3;
|
||||
}
|
||||
message SCD_CASH_SHOP_GOODS {
|
||||
string goods_id = 1;
|
||||
repeated SCD_CASH_SHOP_CONDS goods_conds = 2;
|
||||
int64 open_tms = 3;
|
||||
int64 close_tms = 4;
|
||||
}
|
||||
message SCD_CASH_SHOP_FREQUENCY_LIMIT {
|
||||
string frequency_limit_id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message SCD_REMIND_CB_NTF {
|
||||
repeated SCD_ORDER_SETTLE orders_settle = 1;
|
||||
}
|
||||
message SCD_CASH_SHOP {
|
||||
string cash_shop_id = 1;
|
||||
repeated SCD_CASH_SHOP_CONDS shop_conds = 2;
|
||||
map<string, SCD_CASH_SHOP_GOODS> goods = 3;
|
||||
int64 open_tms = 4;
|
||||
int64 close_tms = 5;
|
||||
}
|
||||
message SCD_CASH_SHOP_MGR {
|
||||
repeated SCD_CASH_SHOP cash_shops = 1;
|
||||
repeated SCD_CASH_SHOP_FREQUENCY_LIMIT fre_limit = 2;
|
||||
}
|
||||
message SC_PAY_SYNC_CASH_SHOPS {
|
||||
SCD_CASH_SHOP_MGR shop_mgr = 1;
|
||||
}
|
||||
message SCD_PLATFORM_GOODS_DATA {
|
||||
string goods_id = 1;
|
||||
PLATFORM_GOODS_LIMIT_TYPE limit_type = 2;
|
||||
int32 limit_count = 3;
|
||||
int32 purchase_count = 4;
|
||||
}
|
||||
message SC_PAY_QUERY_PLATFORM_DATA {
|
||||
repeated SCD_PLATFORM_GOODS_DATA platform_goods_data = 1;
|
||||
}
|
||||
message SC_PAY_CASH_SHOP_MODIFY {
|
||||
SCD_CASH_SHOP shop = 1;
|
||||
}
|
||||
message SC_PAY_CASH_SHOP_GOODS_MODIFY {
|
||||
SCD_CASH_SHOP_GOODS goods = 1;
|
||||
}
|
||||
message SC_PAY_SYNC_REMIND_ORDER {
|
||||
SCD_REMIND_CB_NTF remind_ntf = 1;
|
||||
}
|
||||
19
proto/pb/cs_proto.proto
Normal file
19
proto/pb/cs_proto.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
message CSHead {
|
||||
int32 msgid = 1;
|
||||
uint64 up_seqid = 2;
|
||||
uint64 down_seqid = 3;
|
||||
uint32 total_pack_count = 4;
|
||||
uint32 current_pack_index = 5;
|
||||
bool is_compress = 6;
|
||||
uint32 checksum = 7;
|
||||
}
|
||||
message CS_MERGE_MSG {
|
||||
bytes msg = 1;
|
||||
}
|
||||
17
proto/pb/cs_prts.proto
Normal file
17
proto/pb/cs_prts.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_PRTS_MARK_READ {
|
||||
string prts_id = 1;
|
||||
}
|
||||
message CS_PRTS_MARK_TERMINAL_READ {
|
||||
string terminal_content_id = 1;
|
||||
}
|
||||
message CS_PRTS_RICH_CONTENT_READ {
|
||||
string id = 1;
|
||||
}
|
||||
message CS_PRTS_FINISH_INVESTIGATE {
|
||||
string id = 1;
|
||||
}
|
||||
30
proto/pb/cs_punish.proto
Normal file
30
proto/pb/cs_punish.proto
Normal file
@@ -0,0 +1,30 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum PUNISH_TYPE {
|
||||
PUNISH_NONE = 0;
|
||||
BAN_CHANGE_NAME = 1;
|
||||
BAN_CHANGE_SIGNATURE = 2;
|
||||
BAN_CHANGE_FRIEND_NOTE = 3;
|
||||
BAN_CHANGE_TEAM_NAME = 4;
|
||||
BAN_EDIT_BLUE_PRINT = 5;
|
||||
BAN_SHARE = 6;
|
||||
BAN_FRIEND_REQUEST = 7;
|
||||
BAN_MAP_MARK = 8;
|
||||
BAN_MAP_MARK_EDIT = 9;
|
||||
BAN_FACTORY_SIGN = 10;
|
||||
}
|
||||
message SCD_PUNISH_INFO {
|
||||
int32 punish_type = 1;
|
||||
string reason = 2;
|
||||
int64 begin_time = 3;
|
||||
int64 end_time = 4;
|
||||
}
|
||||
message SC_PUNISH_SYSTEM_SYNC {
|
||||
map<int32, SCD_PUNISH_INFO> punish_infos = 1;
|
||||
}
|
||||
message SC_CLIENT_SOCIAL_SHARE_CONTROL {
|
||||
int64 control = 1;
|
||||
}
|
||||
101
proto/pb/cs_racing_dungeon.proto
Normal file
101
proto/pb/cs_racing_dungeon.proto
Normal file
@@ -0,0 +1,101 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum RACING_ACHIEVEMENT_STATUS {
|
||||
Racing_Status_None = 0;
|
||||
Racing_Status_Active = 1;
|
||||
Racing_Status_Completed = 2;
|
||||
Racing_Status_Received = 3;
|
||||
}
|
||||
message SC_SYNC_RACING_DUNGEON_PASSED_LEVEL {
|
||||
map<string, int32> max_passed_level = 1;
|
||||
}
|
||||
message SC_RACING_DUNGEON_ENTER {
|
||||
string dungeon_id = 1;
|
||||
int32 level = 2;
|
||||
string tactics_id = 3;
|
||||
repeated uint64 char_team = 4;
|
||||
}
|
||||
message SC_SYNC_RACING_DUNGEON_SETTLEMENT {
|
||||
string dungeon_id = 1;
|
||||
int32 level = 2;
|
||||
bool is_passed = 3;
|
||||
int64 total_playtime = 4;
|
||||
float score = 5;
|
||||
int32 battle_pass_exp = 6;
|
||||
repeated int64 completed_room_list = 7;
|
||||
}
|
||||
message SC_SYNC_RACING_DUNGEON_RECONNECT {
|
||||
string dungeon_id = 1;
|
||||
int32 level = 2;
|
||||
int64 total_playtime = 3;
|
||||
repeated string buff_list = 4;
|
||||
string tactics_id = 5;
|
||||
int32 kill_monster_counter = 6;
|
||||
bool paused = 7;
|
||||
repeated int64 completed_room_list = 8;
|
||||
}
|
||||
message CS_RACING_DUNGEON_GET_BATTLE_PASS {
|
||||
string dungeon_id = 1;
|
||||
}
|
||||
message SC_RACING_DUNGEON_GET_BATTLE_PASS {
|
||||
string dungeon_id = 1;
|
||||
int32 battle_pass_exp = 2;
|
||||
repeated int32 received_node_id = 3;
|
||||
repeated int32 unlock_node_id = 4;
|
||||
}
|
||||
message CS_RACING_DUNGEON_BATTLE_PASS_RECEIVE_REWARD {
|
||||
string dungeon_id = 1;
|
||||
bool receive_all = 2;
|
||||
int32 received_node_id = 3;
|
||||
}
|
||||
message SC_RACING_DUNGEON_BATTLE_PASS_RECEIVE_REWARD {
|
||||
string dungeon_id = 1;
|
||||
int32 battle_pass_exp = 2;
|
||||
repeated string receive_rewards = 3;
|
||||
repeated int32 received_node_id = 4;
|
||||
}
|
||||
message CS_RACING_DUNGEON_GET_ACHIEVEMENT {
|
||||
string dungeon_id = 1;
|
||||
}
|
||||
message SC_RACING_DUNGEON_GET_ACHIEVEMENT {
|
||||
string dungeon_id = 1;
|
||||
repeated RACING_DUNGEON_ACHIEVEMENT achievements = 2;
|
||||
}
|
||||
message RACING_DUNGEON_ACHIEVEMENT {
|
||||
int32 node_id = 1;
|
||||
RACING_ACHIEVEMENT_STATUS status = 2;
|
||||
int32 condition_counter = 3;
|
||||
}
|
||||
message CS_RACING_DUNGEON_ACHIEVEMENT_RECEIVE_REWARD {
|
||||
string dungeon_id = 1;
|
||||
bool receive_all = 2;
|
||||
int32 received_achievement = 3;
|
||||
}
|
||||
message SC_RACING_DUNGEON_ACHIEVEMENT_RECEIVE_REWARD {
|
||||
string dungeon_id = 1;
|
||||
repeated string receive_rewards = 2;
|
||||
repeated RACING_DUNGEON_ACHIEVEMENT achievements = 3;
|
||||
}
|
||||
message CS_RACING_DUNGEON_LEAVE {
|
||||
}
|
||||
message SC_SYNC_RACING_DUNGEON_BUFF_MODIFY {
|
||||
repeated string buff_list = 1;
|
||||
string add_buff_id = 2;
|
||||
}
|
||||
message CS_RACING_DUNGEON_UPDATE_BATTLE_INFO {
|
||||
int32 kill_monster_counter = 1;
|
||||
}
|
||||
message SC_SYNC_RACING_DUNGEON_ACHIEVEMENT_MODIFY {
|
||||
int32 achievement_id = 1;
|
||||
}
|
||||
message SC_SYNC_RACING_TIMER_PAUSE {
|
||||
bool paused = 1;
|
||||
int64 server_timestamp = 2;
|
||||
int64 total_playtime = 3;
|
||||
}
|
||||
message SC_SYNC_RACING_DUNGEON_COMPLETE_ROOM {
|
||||
int64 room_id = 1;
|
||||
}
|
||||
25
proto/pb/cs_recycle_bin.proto
Normal file
25
proto/pb/cs_recycle_bin.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message RECYCLE_BIN {
|
||||
string recycle_bin_id = 1;
|
||||
int32 lv = 2;
|
||||
int64 last_collect_time = 3;
|
||||
}
|
||||
message SC_RECYCLE_BIN_SYSTEM_SYNC_ALL {
|
||||
repeated RECYCLE_BIN recycle_bins = 1;
|
||||
}
|
||||
message SC_RECYCLE_BIN_MODIFY {
|
||||
RECYCLE_BIN recycle_bin = 1;
|
||||
}
|
||||
message CS_RECYCLE_BIN_UNLOCK {
|
||||
string recycle_bin_id = 1;
|
||||
}
|
||||
message CS_RECYCLE_BIN_LEVEL_UP {
|
||||
string recycle_bin_id = 1;
|
||||
}
|
||||
message CS_RECYCLE_BIN_COLLECT {
|
||||
string recycle_bin_id = 1;
|
||||
}
|
||||
33
proto/pb/cs_red_dot.proto
Normal file
33
proto/pb/cs_red_dot.proto
Normal file
@@ -0,0 +1,33 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
message REMOVE_ITEM_NEW_DATA {
|
||||
int32 depot_type = 1;
|
||||
repeated uint64 inst_ids = 2;
|
||||
}
|
||||
message CS_REMOVE_ITEM_NEW_TAGS {
|
||||
repeated uint32 item_ids = 1;
|
||||
repeated REMOVE_ITEM_NEW_DATA inst_data = 2;
|
||||
}
|
||||
message SC_REMOVE_ITEM_NEW_TAGS {
|
||||
}
|
||||
message CS_RED_DOT_READ_FORMULA {
|
||||
repeated uint32 formula_ids = 1;
|
||||
}
|
||||
message CS_RED_DOT_READ_CHAR_DOC {
|
||||
repeated uint32 ids = 1;
|
||||
}
|
||||
message CS_RED_DOT_READ_CHAR_VOICE {
|
||||
repeated uint32 ids = 1;
|
||||
}
|
||||
message CS_RED_DOT_READ_EQUIP_FORMULA {
|
||||
uint32 id = 1;
|
||||
repeated uint32 ids = 2;
|
||||
}
|
||||
message CS_RED_DOT_READ_WEEK_RAID_MISSION {
|
||||
repeated uint32 mission_ids = 1;
|
||||
}
|
||||
634
proto/pb/cs_scene.proto
Normal file
634
proto/pb/cs_scene.proto
Normal file
@@ -0,0 +1,634 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "cs_char_bag.proto";
|
||||
import "common.proto";
|
||||
import "battle.proto";
|
||||
import "cs_misc.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum SELF_INFO_REASON_TYPE {
|
||||
SLR_ENTER_SCENE = 0;
|
||||
SLR_REVIVE_DEAD = 1;
|
||||
SLR_REVIVE_REST = 2;
|
||||
SLR_CHANGE_TEAM = 3;
|
||||
SLR_REVIVE_BY_ITEM = 4;
|
||||
SLR_RESET_DUNGEON = 5;
|
||||
SLR_SEAMLESSLY_ENTER_SCENE = 6;
|
||||
SLR_SEAMLESSLY_TOUCH_SCENE = 7;
|
||||
SLR_CHANGE_TEAM_BY_NPC_TEAMMATES = 8;
|
||||
}
|
||||
enum MOTION_STATE {
|
||||
MOTION_NONE = 0;
|
||||
MOTION_STANDBY = 1;
|
||||
MOTION_STANDBY_MOVE = 2;
|
||||
MOTION_WALK = 3;
|
||||
MOTION_RUN = 4;
|
||||
MOTION_CLIMB = 5;
|
||||
MOTION_CLIMB_JUMP = 6;
|
||||
}
|
||||
enum ENTITY_OP_TYPE {
|
||||
ENTITY_OP_TYPE_NONE = 0;
|
||||
ENTITY_OP_TYPE_ID = 2;
|
||||
}
|
||||
enum SCENE_SPAWN_INTERACTIVE_TYPE {
|
||||
SPAWN_ITV_BY_TEMPLATE = 0;
|
||||
SPAWN_ITV_BY_LEVEL_CONFIG = 1;
|
||||
}
|
||||
enum SCENE_SPAWN_MONSTER_TYPE {
|
||||
SPAWN_MST_BY_TEMPLATE = 0;
|
||||
SPAWN_MST_BY_LEVEL_CONFIG = 1;
|
||||
}
|
||||
enum SCENE_CROSS_BORDER_OP {
|
||||
SCENE_CROSS_BORDER_OP_RESET = 0;
|
||||
SCENE_CROSS_BORDER_OP_PREPARE_TO_REPATRIATE = 1;
|
||||
}
|
||||
enum SCENE_CROSS_BORDER_REASON {
|
||||
SCENE_CROSS_BORDER_REASON_NONE = 0;
|
||||
SCENE_CROSS_BORDER_REASON_INVALID_CHUNK = 1;
|
||||
SCENE_CROSS_BORDER_REASON_LOCKED = 2;
|
||||
SCENE_CROSS_BORDER_REASON_EXCEED_Y_AXIS = 3;
|
||||
}
|
||||
enum SERVER_SCRIPT_UNIT_TYPE {
|
||||
SCRIPT_UNIT_TYPE_NONE = 0;
|
||||
SCRIPT_UNIT_TYPE_ACTION = 1;
|
||||
SCRIPT_UNIT_TYPE_CONDITION = 2;
|
||||
SCRIPT_UNIT_TYPE_CUSTOM_EVENT = 3;
|
||||
SCRIPT_UNIT_TYPE_NATIVE_EVENT = 4;
|
||||
}
|
||||
message CS_ENTER_SCENE {
|
||||
int32 scene_num_id = 1;
|
||||
VECTOR position = 2;
|
||||
VECTOR rotation = 3;
|
||||
}
|
||||
message CS_SCENE_LEAVE_PLANE {
|
||||
VECTOR position = 1;
|
||||
VECTOR rotation = 2;
|
||||
}
|
||||
message SCENE_OBJECT_COMMON_INFO {
|
||||
uint64 id = 1;
|
||||
int32 type = 2;
|
||||
string templateid = 3;
|
||||
VECTOR position = 4;
|
||||
VECTOR rotation = 5;
|
||||
uint64 belongLevelScriptId = 6;
|
||||
int32 scene_num_id = 7;
|
||||
double hp = 8;
|
||||
uint32 belongScriptSlotId = 9;
|
||||
bool is_battle_create = 10;
|
||||
}
|
||||
message SCENE_CHARACTER {
|
||||
SCENE_OBJECT_COMMON_INFO common_info = 1;
|
||||
int32 level = 2;
|
||||
string name = 3;
|
||||
repeated ATTR_INFO attrs = 4;
|
||||
BATTLE_MGR_INFO battle_info = 5;
|
||||
}
|
||||
message SCENE_MONSTER {
|
||||
SCENE_OBJECT_COMMON_INFO common_info = 1;
|
||||
uint64 origin_id = 2;
|
||||
int32 level = 3;
|
||||
repeated ATTR_INFO attrs = 4;
|
||||
BATTLE_MGR_INFO battle_info = 5;
|
||||
}
|
||||
message SCENE_INTERACTIVE {
|
||||
SCENE_OBJECT_COMMON_INFO common_info = 1;
|
||||
uint64 origin_id = 2;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 4;
|
||||
int32 meta = 5;
|
||||
BATTLE_MGR_INFO battle_info = 6;
|
||||
uint64 bond_id = 7;
|
||||
}
|
||||
message SCENE_SUMMON {
|
||||
SCENE_OBJECT_COMMON_INFO common_info = 1;
|
||||
repeated ATTR_INFO attrs = 3;
|
||||
BATTLE_MGR_INFO battle_info = 4;
|
||||
string cast_skill_id = 5;
|
||||
BATTLE_BLACKBOARD blackboard = 6;
|
||||
}
|
||||
message SCENE_NPC {
|
||||
SCENE_OBJECT_COMMON_INFO common_info = 1;
|
||||
int64 last_interact_time_stamp = 2;
|
||||
}
|
||||
message SCENE_OBJECT_DETAIL_CONTAINER {
|
||||
repeated SCENE_CHARACTER char_list = 1;
|
||||
repeated SCENE_MONSTER monster_list = 2;
|
||||
repeated SCENE_INTERACTIVE interactive_list = 3;
|
||||
repeated SCENE_NPC npc_list = 4;
|
||||
repeated SCENE_SUMMON summon_list = 5;
|
||||
}
|
||||
message SCD_TRIGGER_VOLUME_INFO {
|
||||
uint64 script_local_id = 1;
|
||||
bool is_hidden = 2;
|
||||
int32 trigger_count = 3;
|
||||
}
|
||||
message CS_SCENE_SET_LEVEL_SCRIPT_ACTIVE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
bool is_active = 3;
|
||||
VECTOR leader_pos = 4;
|
||||
}
|
||||
message CS_SCENE_SET_LEVEL_SCRIPT_START {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
bool is_start = 3;
|
||||
VECTOR leader_pos = 4;
|
||||
}
|
||||
message CS_SCENE_LEVEL_SCRIPT_EVENT_TRIGGER {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
string event_name = 3;
|
||||
map<string, DYNAMIC_PARAMETER> properties = 4;
|
||||
string ctx_token = 5;
|
||||
}
|
||||
message LEVEL_SCRIPT_INFO {
|
||||
uint64 script_id = 1;
|
||||
int32 state = 2;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 3;
|
||||
bool is_done = 4;
|
||||
int32 stage = 5;
|
||||
repeated SCD_TRIGGER_VOLUME_INFO trigger_volume_infos = 6;
|
||||
}
|
||||
message SC_SCENE_UPDATE_LEVEL_SCRIPT_PROPERTY {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 3;
|
||||
bool clientOperate = 4;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_STATE_NOTIFY {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
int32 state = 3;
|
||||
bool is_complete = 4;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_RESET_BEGIN {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_RESET_END {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_TASK_STATE_UPDATE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
string task_id = 3;
|
||||
int32 task_state = 4;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_TASK_PROGRESS_UPDATE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
string task_id = 3;
|
||||
map<string, bool> condition_completed_map = 4;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_TASK_START_FINISH {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
string task_id = 3;
|
||||
}
|
||||
message SC_SCENE_TRIGGER_CLIENT_LEVEL_SCRIPT_EVENT {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
string event_name = 3;
|
||||
string ctx_token = 4;
|
||||
}
|
||||
message SC_SCENE_TRIGGER_CLIENT_INTERACTIVE_EVENT {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
string event_name = 3;
|
||||
}
|
||||
message SCD_SCENE_TEAM_INFO {
|
||||
CHAR_BAG_TEAM_TYPE team_type = 1;
|
||||
int32 team_index = 2;
|
||||
uint64 team_change_token = 3;
|
||||
uint64 cur_leader_id = 4;
|
||||
repeated uint64 enter_npc_teammate_ids = 5;
|
||||
repeated uint64 leave_npc_teammate_ids = 6;
|
||||
string new_npc_teammate_action_id = 7;
|
||||
repeated VECTOR enter_npc_teammate_start_pos_list = 8;
|
||||
repeated VECTOR enter_npc_teammate_start_rot_list = 9;
|
||||
}
|
||||
message SC_SELF_SCENE_INFO {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 scene_id = 2;
|
||||
SCENE_OBJECT_DETAIL_CONTAINER detail = 3;
|
||||
repeated uint64 revive_chars = 7;
|
||||
repeated LEVEL_SCRIPT_INFO level_scripts = 8;
|
||||
int32 self_info_reason = 9;
|
||||
repeated string unlock_area = 10;
|
||||
repeated SCENE_DROP drop_list = 14;
|
||||
SCD_SCENE_TEAM_INFO teamInfo = 16;
|
||||
oneof scene_impl {
|
||||
SCENE_IMPL_DUNGEON dungeon = 11;
|
||||
SCENE_IMPL_EMPTY empty = 12;
|
||||
}
|
||||
}
|
||||
message SCENE_IMPL_DUNGEON {
|
||||
string dungeon_id = 1;
|
||||
int64 challenge_expire_ts = 2;
|
||||
int64 leave_dungeon_ts = 3;
|
||||
bool is_reward = 4;
|
||||
bool is_calc = 5;
|
||||
bool is_pass = 6;
|
||||
}
|
||||
message SCENE_IMPL_EMPTY {
|
||||
}
|
||||
message SC_SCENE_RESET_ENTITY {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
BATTLE_MGR_INFO battle_info = 3;
|
||||
}
|
||||
message SC_OBJECT_ENTER_VIEW {
|
||||
SCENE_OBJECT_DETAIL_CONTAINER detail = 1;
|
||||
bool has_extra_object = 2;
|
||||
}
|
||||
message LEAVE_OBJECT_INFO {
|
||||
int32 obj_type = 1;
|
||||
uint64 obj_id = 2;
|
||||
}
|
||||
message SC_OBJECT_LEAVE_VIEW {
|
||||
repeated LEAVE_OBJECT_INFO obj_list = 1;
|
||||
}
|
||||
message MOTION_INFO {
|
||||
VECTOR position = 1;
|
||||
VECTOR rotation = 2;
|
||||
VECTOR speed = 3;
|
||||
MOTION_STATE state = 4;
|
||||
}
|
||||
message MOVE_OBJECT_MOVE_INFO {
|
||||
uint64 objid = 1;
|
||||
MOTION_INFO motion_info = 2;
|
||||
uint32 server_time = 3;
|
||||
int32 scene_num_id = 4;
|
||||
}
|
||||
message CS_MOVE_OBJECT_MOVE {
|
||||
repeated MOVE_OBJECT_MOVE_INFO move_info = 1;
|
||||
int32 leader_move_tag_mask = 2;
|
||||
int32 leader_index = 3;
|
||||
int32 leader_jump_count = 4;
|
||||
}
|
||||
message SC_MOVE_OBJECT_MOVE {
|
||||
repeated MOVE_OBJECT_MOVE_INFO move_info = 1;
|
||||
bool server_notify = 2;
|
||||
}
|
||||
message SC_CHANGE_SCENE_BEGIN_NOTIFY {
|
||||
int32 scene_num_id = 1;
|
||||
VECTOR position = 2;
|
||||
PASS_THROUGH_DATA pass_through_data = 3;
|
||||
}
|
||||
message SC_ENTER_SCENE_NOTIFY {
|
||||
uint64 role_id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
uint64 scene_id = 3;
|
||||
VECTOR position = 4;
|
||||
PASS_THROUGH_DATA pass_through_data = 5;
|
||||
}
|
||||
message SC_LEAVE_SCENE_NOTIFY {
|
||||
uint64 role_id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
uint64 scene_id = 3;
|
||||
}
|
||||
message SC_SEAMLESS_SCENE_DESTROY_NOTIFY {
|
||||
uint64 role_id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
uint64 scene_id = 3;
|
||||
}
|
||||
message CS_SCENE_LOAD_FINISH {
|
||||
int32 scene_num_id = 1;
|
||||
}
|
||||
message CS_SCENE_SET_LAST_RECORD_CAMPID {
|
||||
uint64 last_camp_id = 1;
|
||||
VECTOR position = 2;
|
||||
VECTOR rotation = 3;
|
||||
int32 scene_num_id = 4;
|
||||
}
|
||||
message SC_SCENE_SET_LAST_RECORD_CAMPID {
|
||||
uint64 last_camp_id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
}
|
||||
message CS_SCENE_INTERACTIVE_EVENT_TRIGGER {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
string event_name = 3;
|
||||
map<string, DYNAMIC_PARAMETER> properties = 4;
|
||||
}
|
||||
message SC_SCENE_UPDATE_INTERACTIVE_PROPERTY {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
map<int32, DYNAMIC_PARAMETER> properties = 3;
|
||||
bool clientOperate = 4;
|
||||
}
|
||||
message CS_SCENE_REST {
|
||||
}
|
||||
message ENTITY_INFO {
|
||||
ENTITY_OP_TYPE entity_op_type = 2;
|
||||
uint64 id = 3;
|
||||
int32 type = 4;
|
||||
}
|
||||
message SC_SCENE_CREATE_ENTITY {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
}
|
||||
message SC_SCENE_DESTROY_ENTITY {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
int32 reason = 3;
|
||||
}
|
||||
message SC_SCENE_CROSS_SCENE_STATUS {
|
||||
uint64 obj_id = 1;
|
||||
int32 scene_num_id = 2;
|
||||
}
|
||||
message CS_SCENE_REVIVAL {
|
||||
}
|
||||
message SC_SCENE_REVIVAL {
|
||||
}
|
||||
message CS_SCENE_SET_STORY_SAFE_ZONE {
|
||||
bool in_zone = 1;
|
||||
}
|
||||
message SC_SCENE_SET_STORY_SAFE_ZONE {
|
||||
bool in_zone = 1;
|
||||
}
|
||||
message CS_SCENE_SET_SAFE_ZONE {
|
||||
bool in_zone = 1;
|
||||
uint64 id = 2;
|
||||
}
|
||||
message SC_SCENE_SET_SAFE_ZONE {
|
||||
bool in_zone = 1;
|
||||
uint64 id = 2;
|
||||
}
|
||||
message CS_SCENE_SPAWN_SUMMON {
|
||||
string summon_id = 1;
|
||||
VECTOR position = 2;
|
||||
VECTOR rotation = 3;
|
||||
string skill_id = 4;
|
||||
BATTLE_BLACKBOARD blackboard = 5;
|
||||
}
|
||||
message SC_SCENE_UNLOCK_AREA {
|
||||
int32 scene_num_id = 1;
|
||||
string area_id = 2;
|
||||
}
|
||||
message CS_SCENE_INTERACT_TREE {
|
||||
string tree_type_id = 1;
|
||||
VECTOR position = 2;
|
||||
bool is_breaked = 3;
|
||||
}
|
||||
message SVR_TP_REASON_GOTO_HUB_DETAIL {
|
||||
uint64 obj_id = 1;
|
||||
}
|
||||
message SVR_TP_REASON_GOTO_CAMP_DETAIL {
|
||||
uint64 camp_id = 1;
|
||||
}
|
||||
message CLT_TP_REASON_SPATIAL_CROSSING_IN_MOVE_DETAIL {
|
||||
uint64 from_space_id = 1;
|
||||
uint64 to_space_id = 2;
|
||||
}
|
||||
message CLT_TP_REASON_CUTSCENE_DETAIL {
|
||||
string cutsceneId = 1;
|
||||
string logicId = 2;
|
||||
}
|
||||
message CLT_TP_REASON_GUIDE_DETAIL {
|
||||
string guideId = 1;
|
||||
}
|
||||
message CS_SCENE_TELEPORT {
|
||||
int32 scene_num_id = 1;
|
||||
VECTOR position = 2;
|
||||
VECTOR rotation = 3;
|
||||
int32 teleport_reason = 4;
|
||||
PASS_THROUGH_DATA pass_through_data = 5;
|
||||
string tp_pos_id = 6;
|
||||
oneof tp_reason_detail {
|
||||
SVR_TP_REASON_GOTO_HUB_DETAIL svr_tp_goto_hub_detail = 21;
|
||||
SVR_TP_REASON_GOTO_CAMP_DETAIL svr_tp_goto_camp_detail = 22;
|
||||
CLT_TP_REASON_SPATIAL_CROSSING_IN_MOVE_DETAIL clt_tp_spatial_crossing_in_move = 121;
|
||||
CLT_TP_REASON_CUTSCENE_DETAIL clt_tp_cutscene = 122;
|
||||
CLT_TP_REASON_GUIDE_DETAIL clt_tp_guide = 123;
|
||||
}
|
||||
}
|
||||
message SC_SCENE_TELEPORT {
|
||||
repeated uint64 obj_id_list = 1;
|
||||
int32 scene_num_id = 2;
|
||||
VECTOR position = 3;
|
||||
VECTOR rotation = 4;
|
||||
uint32 server_time = 5;
|
||||
int32 teleport_reason = 6;
|
||||
uint64 tp_uuid = 7;
|
||||
PASS_THROUGH_DATA pass_through_data = 8;
|
||||
}
|
||||
message CS_SCENE_TELEPORT_FINISH {
|
||||
uint64 tp_uuid = 1;
|
||||
}
|
||||
message CS_SCENE_SUBMIT_ETHER {
|
||||
string domain_id = 1;
|
||||
}
|
||||
message SC_SCENE_SUBMIT_ETHER {
|
||||
int32 level = 1;
|
||||
int32 count = 2;
|
||||
string domain_id = 3;
|
||||
}
|
||||
message AREA_UNLOCK_INFO {
|
||||
string scene_id = 1;
|
||||
repeated string unlock_area_id = 2;
|
||||
}
|
||||
message SUBMIT_ETHER_INFO {
|
||||
int32 level = 1;
|
||||
int32 count = 2;
|
||||
string domain_id = 3;
|
||||
}
|
||||
message SC_SYNC_ALL_ROLE_SCENE {
|
||||
int32 submit_ether_level = 1;
|
||||
int32 submit_ether_count = 2;
|
||||
repeated AREA_UNLOCK_INFO unlock_area_info = 3;
|
||||
repeated SUBMIT_ETHER_INFO ether_info = 4;
|
||||
}
|
||||
message CS_SCENE_SET_LAST_SAFE_ZONE {
|
||||
int32 scene_num_id = 1;
|
||||
VECTOR position = 2;
|
||||
VECTOR rotation = 3;
|
||||
int32 reason = 4;
|
||||
uint64 source_script_id = 5;
|
||||
}
|
||||
message CS_SCENE_REPATRIATE {
|
||||
int32 scene_num_id = 1;
|
||||
int32 repatriate_source = 2;
|
||||
PASS_THROUGH_DATA pass_through_data = 3;
|
||||
}
|
||||
message SC_SCENE_REPATRIATE {
|
||||
int32 scene_num_id = 1;
|
||||
int32 repatriate_source = 2;
|
||||
}
|
||||
message CS_SCENE_SET_BATTLE {
|
||||
bool in_battle = 1;
|
||||
int64 enter_battle_ts = 2;
|
||||
}
|
||||
message SC_SCENE_SET_BATTLE {
|
||||
bool in_battle = 1;
|
||||
}
|
||||
message SC_REWARD_TO_SCENE_BEGIN {
|
||||
int32 reward_source_type = 1;
|
||||
string source_template_id = 2;
|
||||
uint64 source_obj_id = 3;
|
||||
}
|
||||
message SC_REWARD_TO_SCENE_END {
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_EVENT_TRIGGER {
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_SET_DONE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
}
|
||||
message SC_SCENE_LEVEL_SCRIPT_STAGE_CHANGE {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
int32 stage = 3;
|
||||
}
|
||||
message SC_SCENE_INTERACTIVE_EVENT_TRIGGER {
|
||||
}
|
||||
message SCENE_DROP {
|
||||
uint64 drop_id = 1;
|
||||
map<string, int64> stackable_items = 2;
|
||||
repeated SCD_ITEM_GRID inst_list = 3;
|
||||
}
|
||||
message SC_SCENE_DROP_CREATE {
|
||||
SCENE_DROP drop_data = 1;
|
||||
}
|
||||
message SC_SCENE_DROP_DELETE {
|
||||
uint64 drop_id = 1;
|
||||
}
|
||||
message SC_SCENE_DROP_MODIFY {
|
||||
uint64 drop_id = 1;
|
||||
map<string, int64> items = 2;
|
||||
repeated SCD_ITEM_GRID inst_list = 3;
|
||||
repeated uint64 del_inst_list = 4;
|
||||
}
|
||||
message SC_SCENE_CLIENT_ID_INFO {
|
||||
uint32 role_idx = 1;
|
||||
uint64 last_max_idx = 2;
|
||||
}
|
||||
message SC_SCENE_UPDATE_INTERACTIVE_META {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 id = 2;
|
||||
int32 meta = 3;
|
||||
}
|
||||
message CS_SCENE_UPDATE_SCRIPT_TASK_PROGRESS {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
string task_id = 3;
|
||||
repeated SCRIPT_TASK_OBJECTIVE_VALUE_OP objective_value_ops = 4;
|
||||
}
|
||||
message SCRIPT_TASK_OBJECTIVE_VALUE_OP {
|
||||
string condition_id = 1;
|
||||
int32 value = 2;
|
||||
bool is_add = 3;
|
||||
}
|
||||
message CS_SCENE_TOUCH_TRIGGER_VOLUME_REQ {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
uint64 script_local_id = 3;
|
||||
}
|
||||
message SC_SCENE_MODIFY_TRIGGER_VOLUME_SYNC {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 script_id = 2;
|
||||
repeated SCD_TRIGGER_VOLUME_INFO trigger_volume_infos = 3;
|
||||
}
|
||||
message CS_SCENE_GET_UNSTUCK_REQ {
|
||||
int32 scene_num_id = 1;
|
||||
}
|
||||
message SC_SCENE_GET_UNSTUCK_RSP {
|
||||
int32 scene_num_id = 1;
|
||||
int64 last_get_unstuck_exec_ts = 2;
|
||||
}
|
||||
message CS_SCENE_REFRESH_LS_INTERACTIVE_META_REQ {
|
||||
int32 scene_num_id = 1;
|
||||
uint64 entity_id = 2;
|
||||
}
|
||||
message CS_SCENE_INTERACT_NPC {
|
||||
uint64 obj_id = 1;
|
||||
}
|
||||
message SC_SCENE_INTERACT_NPC {
|
||||
uint64 obj_id = 1;
|
||||
}
|
||||
message SC_SCENE_UPDATE_NPC_LAST_INTERACT_TIME {
|
||||
uint64 obj_id = 1;
|
||||
int64 last_interact_time_stamp = 2;
|
||||
}
|
||||
message SCENE_GAMEPLAY_ELECTRIC_NODE {
|
||||
uint64 obj_id = 1;
|
||||
bool has_power = 2;
|
||||
oneof _is_terminal {
|
||||
bool is_terminal = 3;
|
||||
}
|
||||
}
|
||||
message SC_SCENE_GAMEPLAY_ELECTRICITY_DATA_SYNC {
|
||||
int32 scene_num_id = 1;
|
||||
repeated SCENE_GAMEPLAY_ELECTRIC_NODE nodes = 2;
|
||||
}
|
||||
message SC_SCENE_CROSS_BORDER_NOTIFY {
|
||||
SCENE_CROSS_BORDER_OP op = 1;
|
||||
SCENE_CROSS_BORDER_REASON reason = 2;
|
||||
}
|
||||
message SCENE_TRANSFORM {
|
||||
VECTOR position = 1;
|
||||
VECTOR rotation = 2;
|
||||
}
|
||||
message SCENE_LOC {
|
||||
string scene_id = 1;
|
||||
SCENE_TRANSFORM transform = 2;
|
||||
}
|
||||
message SCENE_CHECKPOINT {
|
||||
SCENE_TRANSFORM transform = 1;
|
||||
int32 checkpoint_type = 2;
|
||||
int32 detail_type = 3;
|
||||
uint64 modify_time = 4;
|
||||
uint64 from_script_id = 5;
|
||||
}
|
||||
message SC_SCENE_CHECKPOINT_DEBUG_INFO {
|
||||
int32 move_tag_mask = 1;
|
||||
SCENE_LOC cur_loc = 2;
|
||||
SCENE_LOC last_valid_world_loc = 3;
|
||||
SCENE_LOC save_loc = 4;
|
||||
SCENE_LOC safezone_loc = 5;
|
||||
repeated SCENE_CHECKPOINT sp_checkpoints = 6;
|
||||
}
|
||||
message SC_SCENE_CHECKPOINT_SET_DEBUG_INFO {
|
||||
bool is_set = 1;
|
||||
repeated SCENE_CHECKPOINT sp_checkpoints = 6;
|
||||
}
|
||||
message SC_SCENE_DEBUG_SERVER_SCRIPT {
|
||||
SERVER_SCRIPT_UNIT_TYPE unit_type = 10;
|
||||
string scene_name = 11;
|
||||
uint64 script_id = 12;
|
||||
repeated string error_logs = 13;
|
||||
oneof unit {
|
||||
DEBUG_ACTION_DETAIL action = 1;
|
||||
DEBUG_CONDITION_DETAIL condition = 2;
|
||||
DEBUG_CUSTOM_EVENT_DETAIL custom_event = 3;
|
||||
DEBUG_NATIVE_EVENT_DETAIL native_event = 4;
|
||||
}
|
||||
}
|
||||
message DEBUG_ACTION_DETAIL {
|
||||
string action_id = 1;
|
||||
repeated DYNAMIC_PARAMETER input_parameters = 2;
|
||||
bool invoke_result = 3;
|
||||
}
|
||||
message DEBUG_CONDITION_DETAIL {
|
||||
string condition_id = 1;
|
||||
repeated DYNAMIC_PARAMETER input_parameters = 2;
|
||||
bool invoke_result = 3;
|
||||
int32 left_val = 4;
|
||||
}
|
||||
message DEBUG_CUSTOM_EVENT_DETAIL {
|
||||
string event_name = 1;
|
||||
}
|
||||
message DEBUG_NATIVE_EVENT_DETAIL {
|
||||
string event_name = 1;
|
||||
}
|
||||
message SC_SCENE_SYNC_CUR_MAP_VAR {
|
||||
string map_name = 1;
|
||||
map<int32, int64> map_vars = 2;
|
||||
}
|
||||
message SC_SCENE_UPDATE_MAP_VAR {
|
||||
string map_name = 1;
|
||||
map<int32, int64> map_vars = 2;
|
||||
}
|
||||
10
proto/pb/cs_sensitive.proto
Normal file
10
proto/pb/cs_sensitive.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_CHECK_SENSITIVE {
|
||||
string content = 1;
|
||||
}
|
||||
message SC_CHECK_SENSITIVE {
|
||||
}
|
||||
55
proto/pb/cs_settlement.proto
Normal file
55
proto/pb/cs_settlement.proto
Normal file
@@ -0,0 +1,55 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "options.proto";
|
||||
|
||||
message SETTLEMENT {
|
||||
string settlement_id = 1;
|
||||
int32 level = 2;
|
||||
int64 exp = 3;
|
||||
string officer_char_template_id = 4;
|
||||
int64 unlockTs = 5;
|
||||
int64 remain_money = 6;
|
||||
TD_GAIN_EFFECT active_gain_effect = 10;
|
||||
TD_GAIN_EFFECT active_time_limit_gain_effect = 11;
|
||||
}
|
||||
message TD_GAIN_EFFECT {
|
||||
string active_game_id = 1;
|
||||
float gain_effect = 2;
|
||||
int64 expiration_ts = 3;
|
||||
}
|
||||
message SC_SETTLEMENT_SYNC_ALL {
|
||||
repeated SETTLEMENT settlements = 1;
|
||||
int64 last_tick_time = 2;
|
||||
map<string, string> versions = 3;
|
||||
}
|
||||
message SC_SETTLEMENT_SYNC_MODIFY {
|
||||
repeated SETTLEMENT settlements_modify = 1;
|
||||
int64 last_tick_time = 2;
|
||||
}
|
||||
message CS_SETTLEMENT_SET_OFFICER {
|
||||
string settlement_id = 1;
|
||||
string officer_template_id = 2;
|
||||
}
|
||||
message SC_SETTLEMENT_SET_OFFICER {
|
||||
string settlement_id = 1;
|
||||
string officer_template_id = 2;
|
||||
}
|
||||
message CS_SETTLEMENT_SELL_ITEM {
|
||||
string settlement_id = 1;
|
||||
string item_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message SC_SETTLEMENT_SELL_ITEM {
|
||||
string settlement_id = 1;
|
||||
string sell_item_id = 2;
|
||||
int32 expect_sell_count = 3;
|
||||
int32 real_sell_count = 4;
|
||||
map<string, int64> reward_base = 7;
|
||||
map<string, int64> reward_bonus = 8;
|
||||
}
|
||||
message SC_SETTLEMENT_REMAIN_MONEY_SYNC {
|
||||
map<string, int64> remain_money = 1;
|
||||
}
|
||||
211
proto/pb/cs_shop.proto
Normal file
211
proto/pb/cs_shop.proto
Normal file
@@ -0,0 +1,211 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
enum SHOP_FREQUENCY_TYPE {
|
||||
SFT_TYPE_GOODS = 0;
|
||||
SFT_TYPE_SHOP = 1;
|
||||
SFT_TYPE_SHOP_GROUP = 2;
|
||||
}
|
||||
enum SHOP_RANDOM_TYPE {
|
||||
SHOP_RANDOM_DEFAULT = 0;
|
||||
SHOP_RANDOM_DOMAIN = 1;
|
||||
}
|
||||
message CS_SHOP_BUY {
|
||||
string shop_id = 1;
|
||||
string goods_id = 2;
|
||||
int32 count = 3;
|
||||
int64 timestamp = 4;
|
||||
bool use_weaponbox_ticket = 5;
|
||||
}
|
||||
message CS_SHOP_SWAP_MONEY {
|
||||
string source_money_id = 1;
|
||||
string target_money_id = 2;
|
||||
int64 swap_source_money_num = 3;
|
||||
}
|
||||
message CSD_SHOP_SELL_GOODS {
|
||||
string goods_id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message CS_SHOP_SELL {
|
||||
string shop_id = 1;
|
||||
uint64 role_id = 4;
|
||||
repeated CSD_SHOP_SELL_GOODS sell_goods = 5;
|
||||
int64 timestamp = 6;
|
||||
}
|
||||
message CS_SHOP_DOMAIN_CHANNEL_LEVEL_UP {
|
||||
string shop_group_id = 1;
|
||||
string channel_id = 2;
|
||||
int32 target_level = 3;
|
||||
}
|
||||
message CS_SHOP_QUERY_FRIEND_GOODS_PRICE {
|
||||
string shop_id = 1;
|
||||
string goods_id = 2;
|
||||
repeated uint64 role_ids = 3;
|
||||
}
|
||||
message CS_SHOP_MANUAL_REFRESH {
|
||||
string shop_group_id = 1;
|
||||
string shop_id = 2;
|
||||
}
|
||||
message CS_SHOP_QUERY_FRIEND_SHOP {
|
||||
uint64 friend_role_id = 1;
|
||||
repeated string shop_ids = 2;
|
||||
}
|
||||
message CS_SHOP_SWAP_CHAR_POTENTIAL_UP {
|
||||
repeated ITEM_BUNDLE pu_items = 1;
|
||||
}
|
||||
message SCD_SHOP_DYNAMIC_GOODS {
|
||||
string goods_id = 1;
|
||||
string goods_template_id = 2;
|
||||
}
|
||||
message SCD_SHOP_RANDOM_REFRESH {
|
||||
repeated SCD_SHOP_DYNAMIC_GOODS dynamic_goods = 1;
|
||||
}
|
||||
message SCD_DOMAIN_SHOP_GOODS {
|
||||
string goods_id = 1;
|
||||
repeated int32 history_price = 2;
|
||||
}
|
||||
message SCD_DOMAIN_SHOP_POSITIONS {
|
||||
int64 quantity = 1;
|
||||
int32 avg_price = 2;
|
||||
}
|
||||
message SCD_SHOP_RANDOM_DOMAIN {
|
||||
repeated SCD_DOMAIN_SHOP_GOODS domain_rand_goods = 1;
|
||||
map<string, SCD_DOMAIN_SHOP_POSITIONS> positions = 2;
|
||||
}
|
||||
message SCD_SHOP_DISCOUNT {
|
||||
string goods_id = 1;
|
||||
float discount = 2;
|
||||
}
|
||||
message SCD_SHOP_UNLOCK_CONDITIONS {
|
||||
string id = 1;
|
||||
map<string, int32> unlock_condition_values = 2;
|
||||
map<string, bool> unlock_condition_flags = 3;
|
||||
}
|
||||
message SCD_SHOP_TIME_RANGE {
|
||||
int64 open_tms = 1;
|
||||
int64 close_tms = 2;
|
||||
}
|
||||
message SCD_SHOP {
|
||||
string shop_id = 1;
|
||||
int32 shop_refresh_type = 2;
|
||||
map<string, int32> unlock_condition_values = 3;
|
||||
map<string, bool> unlock_condition_flags = 4;
|
||||
repeated SCD_SHOP_DISCOUNT discounts = 5;
|
||||
repeated SCD_SHOP_UNLOCK_CONDITIONS goods_unlock_conditions = 6;
|
||||
bool is_dynamic_good = 7;
|
||||
bool is_dynamic_discount = 8;
|
||||
map<string, SCD_SHOP_TIME_RANGE> goods_time_range = 10;
|
||||
SHOP_RANDOM_TYPE random_type = 9;
|
||||
oneof refresh_data {
|
||||
SCD_SHOP_RANDOM_REFRESH random_refresh = 21;
|
||||
SCD_SHOP_RANDOM_DOMAIN random_domain = 22;
|
||||
}
|
||||
}
|
||||
message SCD_SHOP_FREQUENCY_LIMIT {
|
||||
string frequency_limit_id = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
message SCD_SHOP_DYN_FREQUENCY_UPLIMIT {
|
||||
string frequency_limit_id = 1;
|
||||
int32 uplimit = 2;
|
||||
}
|
||||
message SCD_SHOP_FREQUENCY_LIMIT_MGR {
|
||||
repeated SCD_SHOP_FREQUENCY_LIMIT use_count = 1;
|
||||
repeated SCD_SHOP_DYN_FREQUENCY_UPLIMIT dyn_uplimit = 2;
|
||||
repeated SCD_SHOP_FREQUENCY_LIMIT manual_refresh_limits = 11;
|
||||
}
|
||||
message SCD_SHOP_DOMAIN_CHANNEL {
|
||||
string domain_id = 1;
|
||||
map<string, int32> channels = 2;
|
||||
string version = 3;
|
||||
}
|
||||
message SCD_SHOP_GROUP_DATA {
|
||||
repeated SCD_SHOP_DOMAIN_CHANNEL domain_channels = 1;
|
||||
}
|
||||
message SC_SHOP_SYNC {
|
||||
repeated SCD_SHOP_UNLOCK_CONDITIONS shop_group_conditions = 1;
|
||||
repeated SCD_SHOP shops = 2;
|
||||
repeated SCD_SHOP_FREQUENCY_LIMIT frequency_limits = 3;
|
||||
repeated SCD_SHOP_FREQUENCY_LIMIT manual_refresh_limits = 4;
|
||||
SCD_SHOP_GROUP_DATA shop_group_data = 5;
|
||||
SCD_SHOP_FREQUENCY_LIMIT_MGR frequency_limit_mgr = 6;
|
||||
}
|
||||
message SC_SHOP_SYNC_SHOP_GROUP_CONDITION {
|
||||
SCD_SHOP_UNLOCK_CONDITIONS shop_group_conditions = 1;
|
||||
}
|
||||
message SC_SHOP_MODIFY_SHOP {
|
||||
repeated SCD_SHOP shops = 1;
|
||||
}
|
||||
message SC_SHOP_SYNC_SHOP_CONDITION {
|
||||
SCD_SHOP_UNLOCK_CONDITIONS shop_conditions = 1;
|
||||
}
|
||||
message SC_SHOP_SYNC_GOODS_CONDITION {
|
||||
SCD_SHOP_UNLOCK_CONDITIONS goods_conditions = 1;
|
||||
}
|
||||
message SC_SHOP_MODIFY_FREQUENCY_LIMIT {
|
||||
repeated SCD_SHOP_FREQUENCY_LIMIT frequency_limits = 1;
|
||||
repeated SCD_SHOP_FREQUENCY_LIMIT manual_refresh_limits = 2;
|
||||
SCD_SHOP_FREQUENCY_LIMIT_MGR frequency_limit_mgr = 3;
|
||||
}
|
||||
message SC_SHOP_DELETE_FREQUENCY_LIMIT {
|
||||
repeated string frequency_limits = 1;
|
||||
repeated string manual_refresh_limits = 2;
|
||||
}
|
||||
message SC_SHOP_BUY_RESP {
|
||||
string shop_id = 1;
|
||||
string goods_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message SC_SHOP_SWAP_MONEY {
|
||||
string source_money_id = 1;
|
||||
string target_money_id = 2;
|
||||
int64 cost_source_money_num = 3;
|
||||
int64 get_target_money_num = 4;
|
||||
}
|
||||
message SC_SHOP_DOMAIN_CHANNEL_LEVEL_UP {
|
||||
string shop_group_id = 1;
|
||||
string channel_id = 2;
|
||||
int32 target_level = 3;
|
||||
}
|
||||
message SC_SHOP_MODIFY_DOMAIN_SHOP_POSITIONS {
|
||||
string shop_id = 1;
|
||||
string goods_id = 2;
|
||||
int32 avg_price = 3;
|
||||
int64 count = 4;
|
||||
}
|
||||
message SC_SHOP_SELL_RESP {
|
||||
string shop_id = 1;
|
||||
string goods_id = 2;
|
||||
int32 count = 3;
|
||||
uint64 role_id = 4;
|
||||
repeated CSD_SHOP_SELL_GOODS sell_goods = 5;
|
||||
}
|
||||
message SCD_GOODS_HIS_PRICE {
|
||||
uint64 role_id = 1;
|
||||
string shop_id = 2;
|
||||
string goods_id = 3;
|
||||
repeated int32 price = 4;
|
||||
}
|
||||
message SC_SHOP_QUERY_FRIEND_GOODS_PRICE {
|
||||
repeated SCD_GOODS_HIS_PRICE his_price = 1;
|
||||
}
|
||||
message SC_SHOP_MANUAL_REFRESH {
|
||||
string shop_group_id = 1;
|
||||
string shop_id = 2;
|
||||
int32 refresh_count = 3;
|
||||
}
|
||||
message SCD_SHOP_GOODS_PRICE {
|
||||
repeated SCD_SHOP_DISCOUNT discounts = 1;
|
||||
}
|
||||
message SC_SHOP_QUERY_FRIEND_SHOP {
|
||||
uint64 friend_role_id = 1;
|
||||
map<string, SCD_SHOP_GOODS_PRICE> shop_goods = 2;
|
||||
repeated SCD_GOODS_HIS_PRICE his_price = 3;
|
||||
}
|
||||
message SC_SHOP_SWAP_CHAR_POTENTIAL_UP {
|
||||
}
|
||||
52
proto/pb/cs_sns.proto
Normal file
52
proto/pb/cs_sns.proto
Normal file
@@ -0,0 +1,52 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum SNS_GET_TYPE {
|
||||
All = 0;
|
||||
Moment = 1;
|
||||
Chat = 2;
|
||||
}
|
||||
message SNS_CHAT_INFO {
|
||||
string chat_id = 1;
|
||||
int32 member_num = 2;
|
||||
int32 signature_id = 3;
|
||||
int64 last_dialog_ts = 4;
|
||||
}
|
||||
message SNS_DIALOG_INFO {
|
||||
string dialog_id = 1;
|
||||
int64 timestamp = 2;
|
||||
int32 cur_content_id = 3;
|
||||
repeated int32 options = 4;
|
||||
int64 finish_timestamp = 5;
|
||||
bool is_unread = 6;
|
||||
}
|
||||
message CS_SNS_GET_LIST {
|
||||
SNS_GET_TYPE sns_type = 1;
|
||||
}
|
||||
message SC_SNS_GET_CHAT_LIST {
|
||||
repeated SNS_CHAT_INFO chat_list = 1;
|
||||
repeated SNS_DIALOG_INFO dialog_list = 2;
|
||||
}
|
||||
message SC_SYNC_SNS_CHAT_MODIFY {
|
||||
SNS_CHAT_INFO chat_info = 1;
|
||||
}
|
||||
message CS_SNS_CHAT_DIALOG_JUMP {
|
||||
string dialog_id = 1;
|
||||
int32 cur_content_id = 2;
|
||||
int32 next_content_id = 3;
|
||||
bool is_set_option = 4;
|
||||
int32 option = 5;
|
||||
}
|
||||
message SC_SYNC_SNS_DIALOG_MODIFY {
|
||||
SNS_CHAT_INFO chat_info = 1;
|
||||
SNS_DIALOG_INFO dialog_info = 2;
|
||||
bool is_set_option = 3;
|
||||
}
|
||||
message CS_SNS_FINISH_DIALOG {
|
||||
string dialog_id = 1;
|
||||
}
|
||||
message CS_SNS_READ_DIALOG {
|
||||
repeated string dialog_ids = 1;
|
||||
}
|
||||
644
proto/pb/cs_spaceship.proto
Normal file
644
proto/pb/cs_spaceship.proto
Normal file
@@ -0,0 +1,644 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "cs_achieve.proto";
|
||||
import "common.proto";
|
||||
import "options.proto";
|
||||
|
||||
message SCD_SPACESHIP_CONTROL_CENTER {
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_MANUFACTURING_STATION {
|
||||
SPACESHIP_MANUFACTURING_ORDER remain_produce_order = 1;
|
||||
map<string, int32> product_map = 2;
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 3;
|
||||
}
|
||||
message SCD_SPACESHIP_COMMAND_CENTER {
|
||||
uint64 in_progress_expedition_instance_id = 1;
|
||||
map<int64, SCD_SPACESHIP_REPORT> report = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_ATTR_SOURCE {
|
||||
string charId = 1;
|
||||
int32 index = 2;
|
||||
string skillId = 3;
|
||||
int32 sourceType = 4;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_ATTR_UNIT {
|
||||
int32 type = 1;
|
||||
float value = 2;
|
||||
bool isNotWorking = 3;
|
||||
SCD_SPACESHIP_ROOM_ATTR_SOURCE source = 4;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_ATTR {
|
||||
float value = 1;
|
||||
float theoreticalValue = 2;
|
||||
repeated SCD_SPACESHIP_ROOM_ATTR_UNIT baseAttrs = 3;
|
||||
repeated SCD_SPACESHIP_ROOM_ATTR_UNIT percentAttrs = 4;
|
||||
repeated SCD_SPACESHIP_ROOM_ATTR_UNIT absAdditionAttrs = 5;
|
||||
repeated SCD_SPACESHIP_ROOM_ATTR_UNIT maxAdditionAttrs = 6;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM {
|
||||
string id = 1;
|
||||
int32 type = 2;
|
||||
int32 level = 3;
|
||||
map<string, int32> level_up_conditon_values = 4;
|
||||
map<string, bool> level_up_condition_flags = 5;
|
||||
repeated string stationed_char_list = 6;
|
||||
map<int32, SCD_SPACESHIP_ROOM_ATTR> attrsMap = 7;
|
||||
bool has_char_working = 8;
|
||||
int32 serial_num = 9;
|
||||
oneof room_data {
|
||||
SCD_SPACESHIP_CONTROL_CENTER control_center = 21;
|
||||
SCD_SPACESHIP_MANUFACTURING_STATION manufacturing_station = 22;
|
||||
SCD_SPACESHIP_GROW_CABIN grow_cabin = 23;
|
||||
SCD_SPACESHIP_COMMAND_CENTER command_center = 24;
|
||||
SCD_SPACESHIP_GUEST_ROOM guest_room = 25;
|
||||
SCD_SPACESHIP_GUEST_ROOM_CLUE_EXTENSION guest_room_clue_extension = 26;
|
||||
}
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_LEVEL_UP {
|
||||
string id = 1;
|
||||
int32 type = 2;
|
||||
int32 level = 3;
|
||||
map<string, int32> level_up_conditon_values = 4;
|
||||
map<string, bool> level_up_condition_flags = 5;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_STATION {
|
||||
string id = 1;
|
||||
int32 type = 2;
|
||||
repeated string stationed_char_list = 3;
|
||||
map<int32, SCD_SPACESHIP_ROOM_ATTR> attrsMap = 4;
|
||||
bool has_char_working = 5;
|
||||
oneof produce_status {
|
||||
SCD_SPACESHIP_MANUFACTURING_STATION_PRODUCE_STATUS manufacturing_station_produce_status = 21;
|
||||
SCD_SPACESHIP_GROW_CABIN_PRODUCE_STATUS grow_cabin_produce_status = 22;
|
||||
SCD_SPACESHIP_GUEST_ROOM_PRODUCE_STATUS guest_room_produce_status = 23;
|
||||
}
|
||||
}
|
||||
message SCD_SPACESHIP_CHAR_SKILL {
|
||||
int32 index = 1;
|
||||
string skillId = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_CHAR {
|
||||
string char_id = 1;
|
||||
float physical_strength = 2;
|
||||
int32 favorability = 3;
|
||||
string stationed_room_id = 4;
|
||||
bool is_working = 5;
|
||||
repeated SCD_SPACESHIP_CHAR_SKILL skills = 6;
|
||||
bool is_presented = 7;
|
||||
int32 recv_gift_cnt = 8;
|
||||
string temp_reward_id = 9;
|
||||
int32 daily_add_favorability = 10;
|
||||
map<int32, int32> present_gift_map = 11;
|
||||
}
|
||||
message SCD_SPACESHIP_CHAR_SKILL_LIST {
|
||||
string charId = 1;
|
||||
repeated SCD_SPACESHIP_CHAR_SKILL skills = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_CHAR_STATION {
|
||||
string charId = 1;
|
||||
string stationedRoomId = 2;
|
||||
bool isWorking = 3;
|
||||
float physical_strength = 4;
|
||||
}
|
||||
message SPACESHIP_MANUFACTURING_ORDER {
|
||||
string formula_id = 1;
|
||||
int32 remain_produce_count = 2;
|
||||
int32 current_progress = 3;
|
||||
}
|
||||
message SC_SPACESHIP_SYNC {
|
||||
repeated SCD_SPACESHIP_ROOM rooms = 1;
|
||||
repeated SCD_SPACESHIP_CHAR chars = 2;
|
||||
map<int32, int32> blackboard_kvs = 3;
|
||||
SCD_SPACESHIP_ASSIST assist_data = 4;
|
||||
map<int32, int32> showcase_info = 5;
|
||||
SCD_SPACESHIP_EXPEDITION expedition_data = 6;
|
||||
}
|
||||
message SC_SPACESHIP_MODIFY_BLACKBOARD {
|
||||
map<int32, int32> kvs = 1;
|
||||
}
|
||||
message SC_SPACESHIP_MODIFY_ROOM {
|
||||
repeated SCD_SPACESHIP_ROOM rooms = 1;
|
||||
}
|
||||
message SC_SPACESHIP_SYNC_ROOM_LEVEL_UP {
|
||||
repeated SCD_SPACESHIP_ROOM_LEVEL_UP room_level_up_infos = 1;
|
||||
}
|
||||
message SC_SPACESHIP_MODIFY_CHAR {
|
||||
repeated SCD_SPACESHIP_CHAR chars = 1;
|
||||
}
|
||||
message SC_SPACESHIP_SYNC_CHAR_SKILL {
|
||||
repeated SCD_SPACESHIP_CHAR_SKILL_LIST char_skills = 1;
|
||||
}
|
||||
message SC_SPACESHIP_SYNC_ROOM_STATION {
|
||||
repeated SCD_SPACESHIP_ROOM_STATION rooms = 1;
|
||||
repeated SCD_SPACESHIP_CHAR_STATION chars = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_SERIAL_NUM_CHANGE {
|
||||
string room_id = 1;
|
||||
int32 serial_num = 2;
|
||||
}
|
||||
message SC_SPACESHIP_ROOM_SERIAL_NUM_CHANGE {
|
||||
repeated SCD_SPACESHIP_ROOM_SERIAL_NUM_CHANGE changes = 1;
|
||||
}
|
||||
message CHAR_PRESENT_GIFT_INFO {
|
||||
string char_id = 1;
|
||||
string reward_id = 2;
|
||||
}
|
||||
message SC_SPACESHIP_PRESENT_CHAR_INFO {
|
||||
repeated CHAR_PRESENT_GIFT_INFO gift_infos = 1;
|
||||
}
|
||||
message SPACESHIP_CHAR_FAVORABILITY_CHANGE_INFO {
|
||||
string char_id = 1;
|
||||
int32 cur_fav = 2;
|
||||
}
|
||||
message SC_SPACESHIP_CHAR_FAVORABILITY_CHANGE {
|
||||
repeated SPACESHIP_CHAR_FAVORABILITY_CHANGE_INFO change_infos = 1;
|
||||
}
|
||||
message SC_SPACESHIP_RECV_GIFT_FROM_CHAR {
|
||||
string char_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_PRESENT_GIFT_TO_CHAR {
|
||||
string char_id = 1;
|
||||
int32 cur_fav = 2;
|
||||
int32 recv_gift_cnt = 3;
|
||||
int32 daily_add_favorability = 4;
|
||||
map<int32, int32> present_gift_map = 5;
|
||||
}
|
||||
message SC_SPACESHIP_MANUFACTURING_STATION_SYNC {
|
||||
string room_id = 1;
|
||||
SPACESHIP_MANUFACTURING_ORDER remain_produce_order = 2;
|
||||
map<string, int32> product_map = 3;
|
||||
}
|
||||
message SC_SPACESHIP_MANUFACTURING_STATION_CANCEL {
|
||||
string room_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_MANUFACTURING_STATION_COLLECT {
|
||||
string room_id = 1;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_CLUE_DATA {
|
||||
repeated SPACESHIP_GUEST_ROOM_CLUE self_clues = 1;
|
||||
repeated SPACESHIP_GUEST_ROOM_CLUE receive_clues = 2;
|
||||
repeated SPACESHIP_GUEST_ROOM_CLUE pre_receive_clues = 3;
|
||||
map<int32, uint64> placed_clue_status = 4;
|
||||
uint64 info_exchange_inst_id = 5;
|
||||
int64 info_exchange_expire_ts = 6;
|
||||
double collect_clue_progress = 7;
|
||||
int32 clue_room_level = 9;
|
||||
int32 base_credit_reward = 10;
|
||||
int32 base_info_reward = 11;
|
||||
int32 join_friend_exchange_cnt = 12;
|
||||
int32 daily_clue_index = 13;
|
||||
map<uint64, int64> joined_info_exchange_role_ids = 14;
|
||||
int32 recv_clue_cnt = 15;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_FURNITURE_DATA {
|
||||
repeated uint32 char_picture_ids = 1;
|
||||
SCD_SPACESHIP_GUEST_ROOM_MUSIC_PLAYER music_player = 2;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_VISIT_RECORD_DATA {
|
||||
repeated SPACESHIP_GUEST_ROOM_VISITOR_RECORD records = 1;
|
||||
repeated uint64 weekly_visit_role_ids = 2;
|
||||
int32 weekly_join_info_exchange_cnt = 3;
|
||||
int32 weekly_prod_support_cnt = 4;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM {
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 1;
|
||||
SPACESHIP_GUEST_ROOM_FURNITURE_DATA furniture_data = 3;
|
||||
SPACESHIP_GUEST_ROOM_VISIT_RECORD_DATA visit_record_data = 4;
|
||||
SPACESHIP_GUEST_ROOM_DISPLAY_DATA display_data = 5;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM_CLUE_EXTENSION {
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 1;
|
||||
SPACESHIP_GUEST_ROOM_CLUE_DATA clue_data = 2;
|
||||
}
|
||||
message SPACESHIP_GUEST_ROOM_DISPLAY_DATA {
|
||||
SCD_SPACESHIP_GUEST_ROOM_WEAPON weapon = 1;
|
||||
SCD_SPACESHIP_GUEST_ROOM_CHAR char = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_GROW_CABIN {
|
||||
repeated SCD_SPACESHIP_GROW_BOX boxes = 1;
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 2;
|
||||
}
|
||||
message SC_SPACESHIP_MODIFY_GROW_CABIN {
|
||||
string id = 1;
|
||||
repeated SCD_SPACESHIP_GROW_BOX boxes = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_GROW_BOX {
|
||||
int32 box_id = 1;
|
||||
string recipe_id = 2;
|
||||
string preview_recipe_id = 3;
|
||||
float progress = 4;
|
||||
bool is_ready = 5;
|
||||
}
|
||||
message SC_SPACESHIP_GROW_CABIN_BREED {
|
||||
repeated ITEM_BUNDLE items = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GROW_CABIN_SOW {
|
||||
}
|
||||
message SC_SPACESHIP_GROW_CABIN_HARVEST {
|
||||
repeated ITEM_BUNDLE items = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GROW_CABIN_CANCEL {
|
||||
}
|
||||
message SCD_SPACESHIP_REPORT {
|
||||
repeated int32 char_work_record = 1;
|
||||
map<int32, int32> output = 2;
|
||||
SpaceshipExtraReportType report_type = 10;
|
||||
oneof report_data {
|
||||
SCD_SPACESHIP_EXPEDITION_REPORT expedition_report = 11;
|
||||
}
|
||||
}
|
||||
message SCD_SPACESHIP_EXPEDITION_REPORT {
|
||||
repeated SCD_SPACESHIP_EXPEDITION_REPORT_DATA report_data = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_EXPEDITION_REPORT_DATA {
|
||||
string region_id = 1;
|
||||
string expedition_id = 2;
|
||||
string room_id = 3;
|
||||
repeated string char_ids = 4;
|
||||
}
|
||||
message SC_SPACESHIP_REPORT_CHAR_WORK_MODIFY {
|
||||
repeated SCD_SPACESHIP_ROOM_REPORT_CHAR_WORK_MODIFY room_char_work_record = 1;
|
||||
}
|
||||
message SC_SPACESHIP_REPORT_OUTPUT_MODIFY {
|
||||
string room_id = 1;
|
||||
map<int64, SCD_SPACESHIP_ROOM_REPORT_OUTPUT> output_report = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_REPORT_CHAR_WORK_MODIFY {
|
||||
string room_id = 1;
|
||||
int64 ts = 2;
|
||||
repeated int32 char_work_record = 3;
|
||||
}
|
||||
message SC_SPACESHIP_REPORT_EXPEDITION_MODIFY {
|
||||
repeated SCD_SPACESHIP_REPORT_EXPEDITION_MODIFY report_data = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_REPORT_EXPEDITION_MODIFY {
|
||||
string region_id = 1;
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_ROOM_REPORT_OUTPUT {
|
||||
map<int32, int32> output = 1;
|
||||
}
|
||||
message SC_SPACESHIP_MANUFACTURING_STATION_START {
|
||||
string room_id = 1;
|
||||
SPACESHIP_MANUFACTURING_ORDER remain_produce_order = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_MANUFACTURING_STATION_PRODUCE_STATUS {
|
||||
SPACESHIP_MANUFACTURING_ORDER remain_produce_order = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_GROW_CABIN_PRODUCE_STATUS {
|
||||
repeated SCD_SPACESHIP_GROW_BOX boxes = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM_PRODUCE_STATUS {
|
||||
double cur_collect_process = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_EXPEDITION {
|
||||
int32 info_tokens = 1;
|
||||
repeated SCD_SPACESHIP_EXPEDITION_DOMAIN domains = 2;
|
||||
repeated SCD_SPACESHIP_EXPEDITION_REGION regions = 3;
|
||||
}
|
||||
message SCD_SPACESHIP_EXPEDITION_DOMAIN {
|
||||
string domain_id = 1;
|
||||
int32 progress = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_EXPEDITION_REGION {
|
||||
string region_id = 1;
|
||||
RegionStatus status = 2;
|
||||
int32 level = 3;
|
||||
repeated SCD_SPACESHIP_EXPEDITION_EXPEDITION expeditions = 4;
|
||||
repeated int64 refresh_expedition_time = 5;
|
||||
int32 upgrade_progress = 6;
|
||||
int32 manual_refresh_count = 7;
|
||||
map<string, int32> limited_expedition_record = 8;
|
||||
map<int64, SCD_SPACESHIP_REPORT> reports = 9;
|
||||
}
|
||||
message SCD_SPACESHIP_EXPEDITION_EXPEDITION {
|
||||
uint64 instance_id = 1;
|
||||
string expedition_id = 2;
|
||||
ExpeditionStatus status = 3;
|
||||
int64 expire_time = 4;
|
||||
string assigned_room_id = 5;
|
||||
float progress = 6;
|
||||
}
|
||||
message CS_SPACESHIP_BUILD_ROOM {
|
||||
string room_id = 1;
|
||||
int32 room_type = 2;
|
||||
}
|
||||
message CS_SPACESHIP_LEVEL_UP_ROOM {
|
||||
string room_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_DECONSTRUCT_ROOM {
|
||||
string room_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_STATION_CHAR {
|
||||
string room_id = 1;
|
||||
repeated string stationed_char_list = 2;
|
||||
}
|
||||
message CS_SPACESHIP_STATION_CHAR_CHANGE_WORK_STATE {
|
||||
string char_id = 1;
|
||||
bool go_to_work = 2;
|
||||
}
|
||||
message CS_SPACESHIP_PRESENT_GIFT_TO_CHAR {
|
||||
string char_id = 1;
|
||||
repeated ITEM_BUNDLE gifts = 2;
|
||||
}
|
||||
message CS_SPACESHIP_RECV_GIFT_FROM_CHAR {
|
||||
string char_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_MANUFACTURING_STATION_COLLECT {
|
||||
string room_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_MANUFACTURING_STATION_START {
|
||||
string room_id = 1;
|
||||
string formula_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message CS_SPACESHIP_MANUFACTURING_STATION_CANCEL {
|
||||
string room_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_MANUFACTURING_STATION_CHANGE_ORDER {
|
||||
string room_id = 1;
|
||||
string formula_id = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message CS_SPACESHIP_GROW_CABIN_BREED {
|
||||
string room_id = 1;
|
||||
string recipe_id = 3;
|
||||
int32 multi = 4;
|
||||
}
|
||||
message CS_SPACESHIP_GROW_CABIN_SOW {
|
||||
string room_id = 1;
|
||||
repeated CSD_SPACESHIP_GROW_CABIN_SOW boxes = 2;
|
||||
}
|
||||
message CSD_SPACESHIP_GROW_CABIN_SOW {
|
||||
string recipe_id = 1;
|
||||
int32 box_id = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GROW_CABIN_CLEAR_PREVIEW_RECIPE {
|
||||
string room_id = 1;
|
||||
int32 box_id = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GROW_CABIN_HARVEST {
|
||||
string room_id = 1;
|
||||
repeated int32 box_id_list = 2;
|
||||
bool all = 3;
|
||||
}
|
||||
message CS_SPACESHIP_GROW_CABIN_CANCEL {
|
||||
string room_id = 1;
|
||||
int32 box_id = 2;
|
||||
}
|
||||
message CS_SPACESHIP_VISIT_REQ {
|
||||
uint64 host_role_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_VISIT_SYNC {
|
||||
uint64 host_role_id = 1;
|
||||
string host_role_name = 2;
|
||||
string host_short_id = 3;
|
||||
repeated SCD_SPACESHIP_ROOM rooms = 4;
|
||||
repeated SCD_SPACESHIP_CHAR chars = 5;
|
||||
map<int32, int32> blackboard_kvs = 6;
|
||||
SCD_SPACESHIP_ASSIST assist_data = 7;
|
||||
map<int32, int32> showcase_info = 8;
|
||||
SCD_SPACESHIP_EXPEDITION expedition_data = 9;
|
||||
SCD_SPACESHIP_VISIT_EXTRA_DATA extra_data = 20;
|
||||
}
|
||||
message CS_SPACESHIP_LEAVE_VISIT_REQ {
|
||||
}
|
||||
message CS_SPACESHIP_HELP_ROOM {
|
||||
string room_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_HELP_ROOM {
|
||||
string room_id = 1;
|
||||
int32 error_code = 2;
|
||||
BeHelpedCount be_helped_count_total = 3;
|
||||
}
|
||||
message CS_SPACESHIP_USE_HELP_CREDIT {
|
||||
string room_id = 1;
|
||||
int32 times = 3;
|
||||
repeated string char_ids = 2;
|
||||
}
|
||||
message SC_SPACESHIP_USE_HELP_CREDIT {
|
||||
string room_id = 1;
|
||||
int32 times = 2;
|
||||
}
|
||||
message SC_SPACESHIP_ASSIST_DATA {
|
||||
SCD_SPACESHIP_ASSIST assist_data = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_ASSIST {
|
||||
int32 help_others_count = 1;
|
||||
repeated HelpOthersRecord help_others_record = 2;
|
||||
repeated BeHelpedRecord be_helped_record = 3;
|
||||
map<string, BeHelpedCount> be_helped_credit_left = 4;
|
||||
map<string, BeHelpedCount> be_helped_count_total = 5;
|
||||
}
|
||||
message HelpOthersRecord {
|
||||
uint64 target = 1;
|
||||
string room_id = 2;
|
||||
int32 room_type = 3;
|
||||
}
|
||||
message BeHelpedRecord {
|
||||
uint64 role_id = 1;
|
||||
string role_name = 2;
|
||||
string room_id = 3;
|
||||
int32 room_type = 4;
|
||||
}
|
||||
message BeHelpedCount {
|
||||
int32 control_center = 1;
|
||||
int32 manufacturing_station = 2;
|
||||
map<int32, int32> grow_cabin = 3;
|
||||
int32 command_center = 4;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_RECV_CLUE {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_RECV_CLUE {
|
||||
SPACESHIP_GUEST_ROOM_CLUE clue = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_AUTO_RECV_CLUE {
|
||||
SPACESHIP_GUEST_ROOM_CLUE clue = 1;
|
||||
int64 credit_reward_cnt = 2;
|
||||
double new_collect_progress = 3;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_RECV_FRIEND_CLUE {
|
||||
repeated uint64 clue_inst_ids = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_RECV_FRIEND_CLUE {
|
||||
repeated uint64 clue_inst_ids = 1;
|
||||
int32 recv_clue_cnt = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_PRESENT_FRIEND_CLUE {
|
||||
uint64 friend_role_id = 1;
|
||||
uint64 clue_inst_id = 2;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_PRESENT_FRIEND_CLUE {
|
||||
uint64 friend_role_id = 1;
|
||||
uint64 clue_inst_id = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_PLACE_CLUE {
|
||||
uint64 clue_inst_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_PLACE_CLUE {
|
||||
map<int32, uint64> placed_clue_status = 1;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_CANCEL_PLACE_CLUE {
|
||||
uint64 clue_inst_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_CANCEL_PLACE_CLUE {
|
||||
map<int32, uint64> placed_clue_status = 1;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_DELETE_SELF_CLUE {
|
||||
uint64 clue_inst_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_DELETE_SELF_CLUE {
|
||||
uint64 clue_inst_id = 1;
|
||||
map<int32, uint64> placed_clue_status = 2;
|
||||
int32 recycle_credit_reward_cnt = 3;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_OPEN_INFO_EXCHANGE {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_OPEN_INFO_EXCHANGE {
|
||||
uint64 info_exchange_inst_id = 1;
|
||||
int64 expire_ts = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_GET_CLUE_INFO {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_GET_CLUE_INFO {
|
||||
SPACESHIP_GUEST_ROOM_CLUE_DATA data = 1;
|
||||
repeated uint64 joined_info_exchange_role_ids = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_SETTLE_INFO_EXCHANGE {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_SETTLE_INFO_EXCHANGE {
|
||||
map<string, int32> base_reward_map = 1;
|
||||
map<string, int32> extra_reward_map = 2;
|
||||
uint64 info_exchange_inst_id = 3;
|
||||
repeated uint64 friend_role_ids = 4;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_JOIN_FRIEND_INFO_EXCHANGE {
|
||||
uint64 friend_role_id = 1;
|
||||
uint64 info_exchange_inst_id = 2;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_JOIN_FRIEND_INFO_EXCHANGE {
|
||||
uint64 friend_role_id = 1;
|
||||
uint64 info_exchange_inst_id = 2;
|
||||
map<uint64, bool> friend_role_map = 3;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_SET_CHAR_PICTURE_LIST {
|
||||
repeated uint32 char_picture_ids = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_SET_CHAR_PICTURE_LIST {
|
||||
repeated uint32 char_picture_ids = 1;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_SET_PLAYING_MUSIC {
|
||||
string music_item_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_MUSIC_PLAYER_MODIFY {
|
||||
SCD_SPACESHIP_GUEST_ROOM_MUSIC_PLAYER music_player = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM_MUSIC_PLAYER {
|
||||
string cur_music_item = 1;
|
||||
repeated string unlock_music_item_list = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_QUERY_VISIT_LIST {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_QUERY_VISIT_LIST {
|
||||
repeated SPACESHIP_GUEST_ROOM_VISITOR_RECORD visit_list = 1;
|
||||
int32 weekly_visit_role_cnt = 2;
|
||||
int32 weekly_be_supported_cnt = 3;
|
||||
int32 weekly_join_info_exchange_cnt = 4;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_RECV_VISIT_LIST_REWARD {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_RECV_VISIT_LIST_REWARD {
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_NEW_VISITOR_OP_NOTIFY {
|
||||
uint64 visitor_role_id = 1;
|
||||
int32 action_type = 2;
|
||||
VISIT_OP_RECORD op_record = 3;
|
||||
}
|
||||
message CS_SPACESHIP_SHOWCASE_MODIFY {
|
||||
int32 showcase_id = 1;
|
||||
int32 item_id = 2;
|
||||
}
|
||||
message SC_SPACESHIP_SHOWCASE_MODIFY {
|
||||
map<int32, int32> showcase_info = 1;
|
||||
}
|
||||
message CS_SPACESHIP_EXPEDITION_START {
|
||||
uint64 expedition_instance_id = 1;
|
||||
string room_id = 2;
|
||||
repeated string char_ids = 3;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_START {
|
||||
uint64 expedition_instance_id = 1;
|
||||
string room_id = 2;
|
||||
repeated string char_ids = 3;
|
||||
}
|
||||
message CS_SPACESHIP_EXPEDITION_CANCEL {
|
||||
uint64 expedition_instance_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_CANCEL {
|
||||
uint64 expedition_instance_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_EXPEDITION_COLLECT {
|
||||
uint64 expedition_instance_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_COLLECT {
|
||||
uint64 expedition_instance_id = 1;
|
||||
}
|
||||
message CS_SPACESHIP_EXPEDITION_REFRESH {
|
||||
string region_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_REFRESH {
|
||||
string region_id = 1;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_INFO_TOKENS_UPDATE {
|
||||
int32 info_tokens = 1;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_REGION_UPDATE {
|
||||
repeated SCD_SPACESHIP_EXPEDITION_DOMAIN domains = 1;
|
||||
repeated SCD_SPACESHIP_EXPEDITION_REGION regions = 2;
|
||||
}
|
||||
message SC_SPACESHIP_EXPEDITION_EXPEDITION_UPDATE {
|
||||
repeated SCD_SPACESHIP_EXPEDITION_EXPEDITION expeditions = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM_WEAPON {
|
||||
map<int32, SCD_SPACESHIP_GUEST_ROOM_WEAPON_DATA_BY_TYPE> weapon_map = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM_WEAPON_DATA_BY_TYPE {
|
||||
repeated uint64 inst_id_list = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_GUEST_ROOM_CHAR {
|
||||
repeated int32 char_template_id_list = 1;
|
||||
}
|
||||
message SCD_SPACESHIP_VISIT_EXTRA_DATA {
|
||||
SCD_SPACESHIP_VISIT_EXTRA_DATA_ACHIEVEMENT achievement = 1;
|
||||
repeated ITEM_INST inst_list = 2;
|
||||
repeated SCD_SPACESHIP_VISIT_EXTRA_DATA_CHAR char_list = 3;
|
||||
}
|
||||
message SCD_SPACESHIP_VISIT_EXTRA_DATA_CHAR {
|
||||
int32 char_template_id = 1;
|
||||
int32 potential_level = 2;
|
||||
}
|
||||
message SCD_SPACESHIP_VISIT_EXTRA_DATA_ACHIEVEMENT {
|
||||
map<int32, int32> display = 1;
|
||||
repeated SCD_ACHIEVE_PERSONAL_INFO info_list = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_WEAPON_CHANGE {
|
||||
int32 type = 1;
|
||||
repeated uint64 weapon_inst_ids = 2;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_WEAPON_CHANGE {
|
||||
int32 type = 1;
|
||||
repeated uint64 weapon_inst_ids = 2;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_CHAR_CHANGE {
|
||||
repeated string char_ids = 1;
|
||||
}
|
||||
message SC_SPACESHIP_GUEST_ROOM_CHAR_CHANGE {
|
||||
repeated string char_ids = 1;
|
||||
}
|
||||
message CS_SPACESHIP_GUEST_ROOM_READ_CLUE {
|
||||
repeated uint64 clue_inst_ids = 1;
|
||||
}
|
||||
25
proto/pb/cs_statistic.proto
Normal file
25
proto/pb/cs_statistic.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_STAT_REQ_INC_STAT {
|
||||
int32 type = 1;
|
||||
int32 param = 2;
|
||||
}
|
||||
message CS_STAT_REQ_SET_STAT {
|
||||
int32 type = 1;
|
||||
int32 param = 2;
|
||||
uint32 value = 3;
|
||||
}
|
||||
message STAT_INFO {
|
||||
int32 type = 1;
|
||||
uint32 value = 2;
|
||||
int32 param = 3;
|
||||
}
|
||||
message SC_SYNC_ALL_STAT {
|
||||
repeated STAT_INFO stats_info = 1;
|
||||
}
|
||||
message SC_SYNC_STAT {
|
||||
STAT_INFO stat_info = 1;
|
||||
}
|
||||
39
proto/pb/cs_submit_item.proto
Normal file
39
proto/pb/cs_submit_item.proto
Normal file
@@ -0,0 +1,39 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
enum SUBMIT_SOURCE_TYPE {
|
||||
SUBMIT_SOURCE_TYPE_NONE = 0;
|
||||
SUBMIT_SOURCE_TYPE_MISSION = 1;
|
||||
SUBMIT_SOURCE_TYPE_INTERACTIVE = 2;
|
||||
SUBMIT_SOURCE_TYPE_ACTIVITY = 3;
|
||||
}
|
||||
message SUBMIT_SOURCE_PARAM_MISSION {
|
||||
string quest_id = 1;
|
||||
}
|
||||
message SUBMIT_SOURCE_PARAM_INTERACTIVE {
|
||||
uint64 obj_id = 2;
|
||||
}
|
||||
message SUBMIT_SOURCE_PARAM_ACTIVITY {
|
||||
string stage_id = 1;
|
||||
}
|
||||
message SUBMIT_TERM {
|
||||
repeated SUBMIT_ITEM submit_item_list = 1;
|
||||
}
|
||||
message CS_SCENE_SUBMIT_ITEM {
|
||||
string submit_id = 1;
|
||||
repeated SUBMIT_TERM submit_item_term_list = 6;
|
||||
SUBMIT_SOURCE_TYPE source_type = 3;
|
||||
oneof submit_source_param {
|
||||
SUBMIT_SOURCE_PARAM_MISSION mission = 4;
|
||||
SUBMIT_SOURCE_PARAM_INTERACTIVE interactive = 5;
|
||||
SUBMIT_SOURCE_PARAM_ACTIVITY activity = 7;
|
||||
}
|
||||
}
|
||||
message SC_SCENE_SUBMIT_ITEM {
|
||||
string submit_id = 1;
|
||||
bool ret = 2;
|
||||
}
|
||||
19
proto/pb/cs_td.proto
Normal file
19
proto/pb/cs_td.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum TD_SETTLEMENT_TYPE {
|
||||
TD_Settlement_None = 0;
|
||||
TD_Settlement_Passed = 1;
|
||||
TD_Settlement_Leave = 2;
|
||||
TD_Settlement_Defeat = 3;
|
||||
}
|
||||
message SC_SYNC_TD_SETTLEMENT {
|
||||
string td_id = 1;
|
||||
TD_SETTLEMENT_TYPE settlement_type = 2;
|
||||
string reward_id = 3;
|
||||
int32 extra_bandwidth = 4;
|
||||
int32 extra_battle_building_limit = 5;
|
||||
int32 extra_travel_pole_limit = 6;
|
||||
}
|
||||
19
proto/pb/cs_time_freeze.proto
Normal file
19
proto/pb/cs_time_freeze.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_GAME_TIME_FREEZE_START_REQ {
|
||||
int32 reason = 1;
|
||||
}
|
||||
message CS_GAME_TIME_FREEZE_END_REQ {
|
||||
int32 reason = 1;
|
||||
}
|
||||
message SC_GAME_TIME_FREEZE_START_RSP {
|
||||
int32 reason = 1;
|
||||
bool in_time_freeze = 2;
|
||||
}
|
||||
message SC_GAME_TIME_FREEZE_END_RSP {
|
||||
int32 reason = 1;
|
||||
bool in_time_freeze = 2;
|
||||
}
|
||||
13
proto/pb/cs_tools.proto
Normal file
13
proto/pb/cs_tools.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_SYNC_CLIENT_REMOTE_TASK {
|
||||
string task_id = 1;
|
||||
string content = 2;
|
||||
}
|
||||
message CS_REPORT_CLIENT_REMOTE_TASK_RET {
|
||||
string task_id = 1;
|
||||
string result = 2;
|
||||
}
|
||||
11
proto/pb/cs_unlock.proto
Normal file
11
proto/pb/cs_unlock.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message SC_SYNC_ALL_UNLOCK {
|
||||
repeated int32 unlock_systems = 1;
|
||||
}
|
||||
message SC_UNLOCK_SYSTEM {
|
||||
int32 unlock_system_type = 1;
|
||||
}
|
||||
26
proto/pb/cs_wallet.proto
Normal file
26
proto/pb/cs_wallet.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
|
||||
message MONEY_INFO {
|
||||
string id = 1;
|
||||
int64 amount = 2;
|
||||
}
|
||||
message CS_WALLET_RECORD_REQUIRE {
|
||||
string id = 1;
|
||||
}
|
||||
message SC_SYNC_WALLET {
|
||||
repeated MONEY_INFO money_list = 1;
|
||||
repeated WALLET_MONEY_RECORD record_mgr = 2;
|
||||
}
|
||||
message SC_SYNC_WALLET_RECORD {
|
||||
WALLET_MONEY_RECORD record = 2;
|
||||
}
|
||||
message SC_WALLET_SYNC_MONEY {
|
||||
string id = 1;
|
||||
int64 amount = 2;
|
||||
int64 op_amount = 3;
|
||||
}
|
||||
59
proto/pb/cs_weapon.proto
Normal file
59
proto/pb/cs_weapon.proto
Normal file
@@ -0,0 +1,59 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
message CS_WEAPON_PUTON {
|
||||
uint64 charid = 1;
|
||||
uint64 weaponid = 2;
|
||||
}
|
||||
message SC_WEAPON_PUTON {
|
||||
uint64 charid = 1;
|
||||
uint64 weaponid = 2;
|
||||
uint64 offweaponid = 3;
|
||||
uint64 put_off_charid = 4;
|
||||
}
|
||||
message CS_WEAPON_BREAKTHROUGH {
|
||||
uint64 weaponid = 1;
|
||||
}
|
||||
message SC_WEAPON_BREAKTHROUGH {
|
||||
uint64 weaponid = 1;
|
||||
uint32 breakthrough_lv = 2;
|
||||
}
|
||||
message CS_WEAPON_REFINE_UPGRADE {
|
||||
uint64 weaponid = 1;
|
||||
uint32 upgrade_refine_lv = 2;
|
||||
repeated uint64 cost_weapon_ids = 3;
|
||||
map<string, uint64> cost_weapon_potential_up_items = 4;
|
||||
}
|
||||
message SC_WEAPON_REFINE_UPGRADE {
|
||||
uint64 weaponid = 1;
|
||||
uint32 refine_lv = 2;
|
||||
}
|
||||
message CS_WEAPON_ADD_EXP {
|
||||
uint64 weaponid = 1;
|
||||
map<string, uint64> cost_item_id2count = 2;
|
||||
repeated uint64 cost_weapon_ids = 3;
|
||||
}
|
||||
message SC_WEAPON_ADD_EXP {
|
||||
uint64 weaponid = 1;
|
||||
uint64 new_exp = 2;
|
||||
uint32 weapon_lv = 3;
|
||||
}
|
||||
message CS_WEAPON_ATTACH_GEM {
|
||||
uint64 weaponid = 1;
|
||||
uint64 gemid = 2;
|
||||
}
|
||||
message SC_WEAPON_ATTACH_GEM {
|
||||
uint64 weaponid = 1;
|
||||
uint64 gemid = 2;
|
||||
uint64 detach_gemid = 3;
|
||||
uint64 detach_gem_weaponid = 4;
|
||||
}
|
||||
message CS_WEAPON_DETACH_GEM {
|
||||
uint64 weaponid = 1;
|
||||
}
|
||||
message SC_WEAPON_DETACH_GEM {
|
||||
uint64 weaponid = 1;
|
||||
uint64 detach_gemid = 2;
|
||||
}
|
||||
115
proto/pb/cs_week_raid.proto
Normal file
115
proto/pb/cs_week_raid.proto
Normal file
@@ -0,0 +1,115 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
import "common.proto";
|
||||
import "cs_submit_item.proto";
|
||||
|
||||
enum WEEK_RAID_DANGER_CHANGE_SOURCE {
|
||||
WRDCS_Normal = 0;
|
||||
WRDCS_Interactive = 1;
|
||||
}
|
||||
message SC_SYNC_WEEK_RAID {
|
||||
string game_id = 1;
|
||||
int32 battle_pass_score = 2;
|
||||
repeated int32 received_node_id = 3;
|
||||
repeated string unlock_tech_id = 4;
|
||||
repeated string unlock_pictorial_id = 5;
|
||||
repeated string scheduled_mission = 6;
|
||||
repeated string random_mission = 7;
|
||||
int32 refresh_count = 8;
|
||||
string pin_mission = 9;
|
||||
string guide_game_id = 10;
|
||||
bool is_complete_guide = 11;
|
||||
}
|
||||
message CS_WEEK_RAID_BATTLE_PASS_RECEIVE_REWARD {
|
||||
string game_id = 1;
|
||||
bool receive_all = 2;
|
||||
int32 received_node_id = 3;
|
||||
}
|
||||
message SC_WEEK_RAID_BATTLE_PASS_RECEIVE_REWARD {
|
||||
string game_id = 1;
|
||||
repeated string receive_rewards = 2;
|
||||
}
|
||||
message SC_SYNC_WEEK_RAID_BATTLE_PASS_MODIFY {
|
||||
string game_id = 1;
|
||||
int32 battle_pass_score = 2;
|
||||
repeated int32 received_node_id = 3;
|
||||
}
|
||||
message CS_WEEK_RAID_PICTORIAL_RECEIVE_REWARD {
|
||||
string pictorial_id = 1;
|
||||
}
|
||||
message SC_WEEK_RAID_PICTORIAL_RECEIVE_REWARD {
|
||||
string pictorial_id = 1;
|
||||
string reward_id = 2;
|
||||
}
|
||||
message SC_WEEK_RAID_PICTORIAL_MODIFY {
|
||||
string game_id = 1;
|
||||
repeated string new_unlock_pictorial_id = 2;
|
||||
}
|
||||
message SC_WEEK_RAID_TECH_MODIFY {
|
||||
string game_id = 1;
|
||||
repeated string new_unlock_tech_id = 2;
|
||||
}
|
||||
message CS_WEEK_RAID_REFRESH_MISSION {
|
||||
string game_id = 1;
|
||||
string mission_id = 2;
|
||||
}
|
||||
message SC_WEEK_RAID_REFRESH_MISSION {
|
||||
string game_id = 1;
|
||||
string org_mission_id = 2;
|
||||
string new_mission_id = 3;
|
||||
int32 refresh_count = 4;
|
||||
}
|
||||
message CS_WEEK_RAID_COMPLETE_MISSION {
|
||||
string game_id = 1;
|
||||
string mission_id = 2;
|
||||
string quest_id = 3;
|
||||
CS_SCENE_SUBMIT_ITEM submit = 4;
|
||||
}
|
||||
message SC_WEEK_RAID_COMPLETE_MISSION {
|
||||
repeated string new_mission_id = 1;
|
||||
}
|
||||
message SC_WEEK_RAID_MISSION_MODIFY {
|
||||
string game_id = 1;
|
||||
repeated string scheduled_mission = 2;
|
||||
repeated string random_mission = 3;
|
||||
string pin_mission = 4;
|
||||
int32 refresh_count = 5;
|
||||
}
|
||||
message CS_WEEK_RAID_SET_PIN_MISSION {
|
||||
string game_id = 1;
|
||||
string pin_mission = 2;
|
||||
bool is_clear = 3;
|
||||
}
|
||||
message CS_WEEK_RAID_TRIGGER_REGION {
|
||||
int32 region_id = 1;
|
||||
bool is_enter = 2;
|
||||
}
|
||||
message SC_SYNC_WEEK_RAID_DANGER_METER_MODIFY {
|
||||
int32 cur_danger_meter = 1;
|
||||
int32 max_danger_meter = 2;
|
||||
int32 cur_danger_level = 3;
|
||||
WEEK_RAID_DANGER_CHANGE_SOURCE source = 4;
|
||||
int64 delay_end_ts = 5;
|
||||
}
|
||||
message SC_SYNC_WEEK_RAID_GAME_START {
|
||||
float convert_rate = 1;
|
||||
}
|
||||
message SC_SYNC_WEEK_RAID_SETTLEMENT {
|
||||
string game_id = 1;
|
||||
int32 bp_score = 2;
|
||||
int32 danger_meter = 3;
|
||||
int64 total_playtime = 4;
|
||||
repeated ITEM_BUNDLE loot_items = 5;
|
||||
repeated WEEK_RAID_SETTLEMENT_CONVERT convert_items = 6;
|
||||
float convert_rate = 7;
|
||||
}
|
||||
message WEEK_RAID_SETTLEMENT_CONVERT {
|
||||
ITEM_BUNDLE loot_item = 1;
|
||||
string convert_gold = 2;
|
||||
int32 count = 3;
|
||||
}
|
||||
message CS_WEEK_RAID_LEAVE {
|
||||
}
|
||||
19
proto/pb/cs_wiki.proto
Normal file
19
proto/pb/cs_wiki.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum WIKI_PIN_ENUM {
|
||||
WIKI_PIN_ENUM_NONE = 0;
|
||||
WIKI_PIN_ENUM_FORMULA = 1;
|
||||
WIKI_PIN_ENUM_BUILDING = 2;
|
||||
}
|
||||
message SC_SYNC_ALL_WIKI {
|
||||
repeated uint32 latest_unlock = 1;
|
||||
}
|
||||
message CS_UNLOCK_WIKI {
|
||||
uint32 wiki_id = 1;
|
||||
}
|
||||
message CS_MARK_WIKI_READ {
|
||||
repeated uint32 wiki_ids = 1;
|
||||
}
|
||||
687
proto/pb/errorcode.proto
Normal file
687
proto/pb/errorcode.proto
Normal file
@@ -0,0 +1,687 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/errorcode";
|
||||
|
||||
enum CODE {
|
||||
errSuccess = 0;
|
||||
errUnknown = -1;
|
||||
errCommonBegin = 1;
|
||||
errCommonUidFailed = 2;
|
||||
errCommonAllocFailed = 3;
|
||||
errCommonParamInvalid = 4;
|
||||
errCommonMsgClosed = 5;
|
||||
errCommonMsgFrequencyBlocked = 6;
|
||||
errCommonSensitive = 7;
|
||||
errCommonGameModeForbid = 14;
|
||||
errCommonActionInvokeFailed = 15;
|
||||
errCommonSystemLocked = 16;
|
||||
errCommonServerOverload = 17;
|
||||
errCommonParamError = 18;
|
||||
errCommonServerInternal = 19;
|
||||
errCommonResCanNotFound = 20;
|
||||
errCommonFeatureForbiddenTmp = 21;
|
||||
errCommonResCheckError = 22;
|
||||
errCommonSensitiveFail = 23;
|
||||
errCommonEnd = 25;
|
||||
errKickSessionBegin = 30;
|
||||
errServerClosed = 31;
|
||||
errCommonServerVersionTooLow = 32;
|
||||
errCommonClientVersionNotEqual = 33;
|
||||
errCommonClientResVersionNotEqual = 34;
|
||||
errCommonGMKickSession = 35;
|
||||
errCommonGMKickRole = 36;
|
||||
errLoginMultipleSession = 37;
|
||||
errArchiveLoadFailed = 38;
|
||||
errLoginFirstPackage = 39;
|
||||
errLoginTokenInvalid = 40;
|
||||
errLoginMsgFormatInvalid = 41;
|
||||
errLoginProcessLogin = 42;
|
||||
errLoginSendMsg = 43;
|
||||
errCommonPlatformInvalid = 44;
|
||||
errKickMinorLimit = 45;
|
||||
errSessionTimeout = 46;
|
||||
errLuaScriptFailed = 47;
|
||||
errDBSaveFailed = 48;
|
||||
errGenShortIdFailed = 49;
|
||||
errMultipleCreateRole = 50;
|
||||
errMsgRateLimit = 51;
|
||||
errLoginQueueTimeout = 52;
|
||||
errLoginQueueFull = 53;
|
||||
errLoginButTransferringGS = 54;
|
||||
errTransferGSFailed = 55;
|
||||
errTransferWorkRoutineFailed = 56;
|
||||
errUnrecoverable = 57;
|
||||
errDuplicateSetGender = 58;
|
||||
errCreateRoleFailed = 59;
|
||||
errMigrateDbFailed = 60;
|
||||
errAfkTimeout = 61;
|
||||
errLoginLocUnmatch = 62;
|
||||
errCheckAreaWhiteListFailed = 63;
|
||||
errBattleDataExpired = 64;
|
||||
errLoginReconnctIncrFailed = 65;
|
||||
errSessionSendMsgFailed = 66;
|
||||
errTransferGSKickByGM = 67;
|
||||
errBanRoleMaliciousCheat = 68;
|
||||
errBanRoleViolation = 69;
|
||||
errBanRolePolicyRequirement = 70;
|
||||
errBanRoleAccountDispute = 71;
|
||||
errBanRoleAbnormalSituation = 72;
|
||||
errBanRoleTemporaryLoginRestriction = 73;
|
||||
errPSNAccountDelete = 74;
|
||||
errRoleDelete = 75;
|
||||
errResourceDataVersionCheckFailed = 76;
|
||||
errBranchVersionCheckFailed = 77;
|
||||
errChannelIdCheckFailed = 78;
|
||||
errServerBusy = 79;
|
||||
errKickSessionEnd = 80;
|
||||
errAchieveBegin = 101;
|
||||
errAchieveAlreadyComplete = 102;
|
||||
errAchieveAlearyTakeReward = 103;
|
||||
errAchieveNotComplete = 104;
|
||||
errAchiveEnd = 109;
|
||||
errCharBagBegin = 110;
|
||||
errCharBagSetTeamFailed = 111;
|
||||
errCharBagFindTeamFailed = 112;
|
||||
errCharBagSetTeamButLeaderDead = 113;
|
||||
errCharBagTeamChanging = 114;
|
||||
errCharBagEnd = 119;
|
||||
errCharBegin = 120;
|
||||
errCharLevelUpLackItem = 121;
|
||||
errCharUnlockTalentNodeLackItem = 122;
|
||||
errCharCanNotUnlockTalentNode = 123;
|
||||
errCharBreakLevelLimit = 124;
|
||||
errCharLevelUpNeedBreak = 125;
|
||||
errCharLevelUpCanNotUseItem = 126;
|
||||
errCharLevelUpExpTypeNotMatch = 127;
|
||||
errCharBreakStageNotNext = 128;
|
||||
errCharNotFound = 129;
|
||||
errCharSkillUpLevelLimit = 130;
|
||||
errCharSkillUpLevelNotGeneric = 131;
|
||||
errCharIsDead = 132;
|
||||
errCharIsInvalidCGId = 133;
|
||||
errCharPotentialLevelInvalid = 134;
|
||||
errCharEnd = 150;
|
||||
errSceneBegin = 201;
|
||||
errSceneRoleNil = 202;
|
||||
errSceneRoleHasInWorld = 203;
|
||||
errSceneAllocFailed = 204;
|
||||
errSceneHasExist = 205;
|
||||
errSceneHasInTargetScene = 206;
|
||||
errSceneRoleNotExist = 207;
|
||||
errSceneRoleHasInScene = 209;
|
||||
errSceneCharNil = 210;
|
||||
errSceneCharHasInScene = 211;
|
||||
errSceneNameNotExist = 212;
|
||||
errSceneHostNotExist = 213;
|
||||
errSceneLevelNotExist = 214;
|
||||
errSceneLevelMonsterNotExist = 215;
|
||||
errSceneLevelMonsterExist = 216;
|
||||
errSceneLevelInteractiveExist = 217;
|
||||
errSceneRecordRepeated = 218;
|
||||
errSceneInteractivePropertyKeyNotExist = 219;
|
||||
errSceneAOIObjectExist = 220;
|
||||
errSceneAOIObjectPosError = 221;
|
||||
errSceneAOIObjectNotExist = 222;
|
||||
errSceneLevelNpcExist = 223;
|
||||
errSceneResNotFound = 224;
|
||||
errSceneLevelInteractiveNotExist = 225;
|
||||
errSceneInteractiveDuplicatedCollected = 226;
|
||||
errSceneNotImpl = 227;
|
||||
errSceneRoleChanging = 228;
|
||||
errSceneLevelNpcNotExist = 229;
|
||||
errSceneCharNotDead = 230;
|
||||
errSceneSpInteractiveOpErr = 231;
|
||||
errSceneInBattle = 232;
|
||||
errSceneTeleportPosInvalid = 233;
|
||||
errSceneAOIUpdateFailed = 234;
|
||||
errSceneInteractiveTriggerCustomEventFailed = 235;
|
||||
errSceneLevelScriptEventRecursionDepth = 236;
|
||||
errSceneInteractivePropertyAccessDeny = 240;
|
||||
errSceneInteractiveTemplateNotExist = 241;
|
||||
errSceneLevelScriptAlreadyDone = 242;
|
||||
errSceneUpdateMonsterDecoFailed = 243;
|
||||
errSceneDecoMonsterFailed = 244;
|
||||
errSceneImplNotFound = 245;
|
||||
errSceneCheckPointInvalid = 246;
|
||||
errSceneDoodadPickBagSpaceNotEnough = 247;
|
||||
errSceneTreeWoodCountOverLimit = 248;
|
||||
errSceneGetUnstuckInCooldown = 249;
|
||||
errSceneLevelScriptTriggerCustomEventFailed = 250;
|
||||
errSceneLevelScriptCustomEventCheckFailed = 251;
|
||||
errSceneLevelNpcInteractFailed = 252;
|
||||
errSceneEtherSubmitGetResFailed = 253;
|
||||
errSceneEtherSubmitNotEnough = 254;
|
||||
errSceneMoveCrossBorder = 255;
|
||||
errScenePoopCowInteractLimitDaily = 256;
|
||||
errSceneCsTeleportIsForbidden = 257;
|
||||
errSceneEnd = 300;
|
||||
errWalletBegin = 301;
|
||||
errMoneyNotEnough = 302;
|
||||
errMoneyChangeOutOfMax = 303;
|
||||
errMoneyChangeUndefineCombi = 304;
|
||||
errMoneyCannotCost = 305;
|
||||
errWalletEnd = 350;
|
||||
errItemBagBegin = 351;
|
||||
errItemBagItemNotEnough = 352;
|
||||
errItemBagBagSpaceNotEnough = 353;
|
||||
errItemBagDepotSpaceNotEnough = 354;
|
||||
errItemBagItemCanNotUse = 355;
|
||||
errItemBagBagGridIsFull = 356;
|
||||
errItemBagItemLocked = 357;
|
||||
errItemBagItemInstNotFound = 358;
|
||||
errItemBagItemCannotDiscard = 359;
|
||||
errItemBagItemCannotCost = 360;
|
||||
errItemBagItemNotFoundInDepot = 361;
|
||||
errItemBagAbandonReject = 362;
|
||||
errAdventureLevelNotEnough = 363;
|
||||
errItemBagBagAndDepotSpaceNotEnough = 364;
|
||||
errItemBagDepotSpaceNotEnoughByDumpFluid = 365;
|
||||
errItemBagBagOverflowToFactoryDepot = 366;
|
||||
errItemBagDestroyOverflowItems = 367;
|
||||
errItemBagMoveNotEntirely = 368;
|
||||
errItemBagSplitToGridNotEmpty = 369;
|
||||
errItemBagSprayFluidItemNotEnough = 370;
|
||||
errItemBagEnd = 400;
|
||||
errFactoryBegin = 501;
|
||||
errFactoryTimeExpired = 502;
|
||||
errFactorySTTCanNotUnlock = 503;
|
||||
errFactoryProductManualCanNotUnlock = 504;
|
||||
errFactoryFormulaNotUnlock = 505;
|
||||
errFactoryPreloadChapterFailed = 506;
|
||||
errFactoryNoMatchBuilding = 520;
|
||||
errFactoryOpFail = 521;
|
||||
errFactoryOpInvalid = 522;
|
||||
errFactoryOpResourceNotEnough = 523;
|
||||
errFactoryOpOverPlaceLimitBuilding = 524;
|
||||
errFactoryOpOverPlaceLimitNode = 525;
|
||||
errFactoryHubTransportRouteSetDomainDevLevelNotEnough = 527;
|
||||
errFactoryHubTransportRouteSetNotUnlockHub = 528;
|
||||
errFactoryHubTransportRouteSetNotUnlockTargetHub = 529;
|
||||
errFactoryHubTransportRouteReSetTargetDepotIsFull = 530;
|
||||
errFactoryOpHasNoBattery = 531;
|
||||
errFactoryOpLiquidNotEqual = 532;
|
||||
errFactoryOpMeshConflict = 533;
|
||||
errFactoryOpLiquidSewageCannotDump = 534;
|
||||
errFactoryOpOverPlaceLimitFluidConveyor = 535;
|
||||
errFactoryOpOverPlaceLimitFluidReapter = 536;
|
||||
errFactoryOpOverPlaceLimitFluidRouter = 537;
|
||||
errFactoryOpCannotMoveToDiffScene = 538;
|
||||
errFactoryBpGenShareCodeFailed = 539;
|
||||
errFactoryBpSharerInBlackList = 540;
|
||||
errFactoryBpCntExceedUplimit = 541;
|
||||
errFactoryBpReviewCntExceedUplimit = 542;
|
||||
errFactoryOpOverPlaceLimitFreeBusStart = 543;
|
||||
errFactoryOpOverPlaceLimitFreeBus = 544;
|
||||
errFactoryOpSetLikeLimit = 545;
|
||||
errFactoryOpInvalidBuilding = 546;
|
||||
errFactoryOpBatchDismantleAllFailed = 547;
|
||||
errFactoryEnd = 550;
|
||||
errMailBegin = 551;
|
||||
errMailNotExist = 552;
|
||||
errMailTimeExpired = 553;
|
||||
errMailEnd = 600;
|
||||
errDialogBegin = 601;
|
||||
errDialogInValid = 602;
|
||||
errDialogEnd = 610;
|
||||
errWeaponBegin = 700;
|
||||
errWeaponNotNeedBreakthrough = 701;
|
||||
errWeaponNotFound = 702;
|
||||
errWeaponRefineLvInvalid = 703;
|
||||
errWeaponResNotFound = 704;
|
||||
errWeaponRefineResNotFound = 705;
|
||||
errWeaponRefineCostInstIdInvalid = 706;
|
||||
errWeaponRefineCostItemNotFound = 707;
|
||||
errWeaponRefineCostWithGem = 708;
|
||||
errWeaponRefineCostWithChar = 709;
|
||||
errWeaponRefineCostNotEnough = 710;
|
||||
errWeaponRefineCostFailed = 711;
|
||||
errWeaponMaxLevel = 712;
|
||||
errWeaponNeedBreakthrough = 713;
|
||||
errWeaponAddExpCostInvalidItem = 714;
|
||||
errWeaponAddExpCostFailed = 715;
|
||||
errWeaponAddExpFailed = 716;
|
||||
errWeaponAddExpCostItSelf = 717;
|
||||
errWeaponRefineCostOverflow = 718;
|
||||
errWeaponRefineCostPUItemInvalid = 719;
|
||||
errWeaponEnd = 750;
|
||||
errRewardBegin = 751;
|
||||
errRewardInValid = 752;
|
||||
errRewardEnd = 760;
|
||||
errInnerTestAccountBegin = 761;
|
||||
errInnerTestAccountBanShareBuilding = 762;
|
||||
errInnerTestAccountEnd = 780;
|
||||
errEquipBegin = 800;
|
||||
errEquipLvNotEnough = 801;
|
||||
errEquipNotFound = 802;
|
||||
errEquipCheckCostFailed = 803;
|
||||
errEquipCannotRecycle = 804;
|
||||
errEquipCostFailed = 805;
|
||||
errEquipEnhanceRarityNotEqual = 806;
|
||||
errEquipEnhancePartTypeNotEqual = 807;
|
||||
errEquipEnhanceLackOfResource = 808;
|
||||
errEquipTechIdInvalid = 809;
|
||||
errEquipPreTechNodeLocked = 810;
|
||||
errEquipTechCostItemNotEnough = 811;
|
||||
errEquipTechCostItemFailed = 812;
|
||||
errEquipTechUnlockFailed = 813;
|
||||
errEquipFormulaInvalid = 814;
|
||||
errEquipTechNodeLocked = 815;
|
||||
errEquipTechConfigInvalid = 816;
|
||||
errEquipMakeCostItemNotEnough = 817;
|
||||
errEquipMakeCostItemFailed = 818;
|
||||
errEquipMakeFailed = 819;
|
||||
errEquipRepeatedTech = 820;
|
||||
errEquipRedeemInvalidTicket = 821;
|
||||
errEquipRedeemInvalidRatio = 822;
|
||||
errEquipRedeemNotEnough = 823;
|
||||
errEquipRedeemCostTicketFailed = 824;
|
||||
errEquipRedeemTicketFailed = 825;
|
||||
errEquipEnhanceAttrRuleNotOk = 827;
|
||||
errEquipEnhanceRarityNotQualified = 828;
|
||||
errEquipEnd = 850;
|
||||
errShopBegin = 851;
|
||||
errShopServerDataRefreshed = 852;
|
||||
errShopGoodsNotInOpenTime = 853;
|
||||
errShopCheckDropPotentialUpRewardFailed = 854;
|
||||
errShopCharNotReachFullLevel = 855;
|
||||
errShopEnd = 880;
|
||||
errDungeonBegin = 901;
|
||||
errDungeonStaminaNotEnough = 902;
|
||||
errDungeonIsNotPass = 903;
|
||||
errDungeonPassButNotGainReward = 904;
|
||||
errDungeonNotMetUnlockCond = 905;
|
||||
errDungeonRecoverApExceedsLimit = 906;
|
||||
errDungeonFullStaminaCapacity = 907;
|
||||
errDungeonFullLunchBoxCountExceedsMax = 909;
|
||||
errDungeonCostItemNotEnough = 910;
|
||||
errDungeonStaminaBuyCountNotMatch = 911;
|
||||
errDungeonIsForbiddenByModuleSwitch = 912;
|
||||
errDungeonEnd = 950;
|
||||
errNameBegin = 1000;
|
||||
errNameLengthIllegal = 1001;
|
||||
errNameIllegalChar = 1002;
|
||||
errNameSensitiveWord = 1003;
|
||||
errNameEmptyString = 1004;
|
||||
errNameLengthTooShort = 1005;
|
||||
errNameLengthTooLong = 1006;
|
||||
errNameCheckSensitiveFail = 1007;
|
||||
errNameAllMarkOrDigital = 1008;
|
||||
errNameAlreadySetName = 1009;
|
||||
errNameDigitExceedLimit = 1010;
|
||||
errNameEnd = 1030;
|
||||
errFriendBegin = 1051;
|
||||
errFriendServerRequestFail = 1052;
|
||||
errFriendRepeatedSubmit = 1053;
|
||||
errFriendSendMsgTooFrequent = 1054;
|
||||
errFriendFriendListFull = 1055;
|
||||
errFriendTargetFriendListFull = 1056;
|
||||
errFriendInFriendList = 1057;
|
||||
errFriendNotInFriendList = 1058;
|
||||
errFriendTargetRequestListFull = 1059;
|
||||
errFriendInTargetRequestList = 1060;
|
||||
errFriendNotInRequestList = 1061;
|
||||
errFriendTargetNotExist = 1062;
|
||||
errFriendSearchUidNotExist = 1063;
|
||||
errFriendBlackListFull = 1064;
|
||||
errFriendInBlackList = 1065;
|
||||
errFriendNotInBlackList = 1066;
|
||||
errFriendInTargetBlackList = 1067;
|
||||
errFriendUserNotExist = 1068;
|
||||
errFriendInTargetFriendList = 1069;
|
||||
errFriendChatMsgSendFailed = 1070;
|
||||
errFriendPSNServerRequestFail = 1071;
|
||||
errTargetRoleDelete = 1072;
|
||||
errFriendReplaceBuildingNotExist = 1073;
|
||||
errFriendGetBuildingRepeated = 1074;
|
||||
errFriendBuildingConflict = 1075;
|
||||
errFriendBuildingNumLimit = 1076;
|
||||
errFriendSearchSelf = 1077;
|
||||
errFriendSocialBuildingLock = 1078;
|
||||
errFriendBuildingAreaConflict = 1079;
|
||||
errFriendServerRequestOngoing = 1080;
|
||||
errFriendShareCurChapterInvalid = 1081;
|
||||
errFriendSharePresetBuilding = 1082;
|
||||
errFriendEnd = 1100;
|
||||
errMiniGameBegin = 1101;
|
||||
errMiniGameCompletedCheckFailed = 1102;
|
||||
errMiniGameEnd = 1110;
|
||||
errRPGDGDungeonIdInvalid = 1200;
|
||||
errRPGDGEquipIdInvalid = 1201;
|
||||
errRPGDGCostNotEnough = 1202;
|
||||
errRPGDGGoldNotEnough = 1203;
|
||||
errRPGDGCostItemFailed = 1204;
|
||||
errRPGDGAddItemFailed = 1205;
|
||||
errRPGDGEquipNotFind = 1206;
|
||||
errRPGDGAddGoldFailed = 1207;
|
||||
errRPGDGEquipSlotInvalid = 1208;
|
||||
errRPGDGPutOnEquipFailed = 1209;
|
||||
errRPGDGAbilitySelectInvalid = 1210;
|
||||
errRPGDGAbilityLevelInvalid = 1211;
|
||||
errRPGDGAbilityNotExist = 1212;
|
||||
errRPGDGNotInDungeon = 1213;
|
||||
errGemRecastRandomFailed = 1251;
|
||||
errGemRecastHasEquiped = 1270;
|
||||
errGemCheckQualityFailed = 1271;
|
||||
errGemUnknownConfig = 1272;
|
||||
errGemCostTooMuch = 1273;
|
||||
errSpaceshipNotInBase = 1252;
|
||||
errSpaceshipCanNotFoundChar = 1253;
|
||||
errSpaceshipHasPresentedGiftToday = 1254;
|
||||
errSpaceshipCanNotFoundRewardId = 1255;
|
||||
errSpaceshipNoCharPresentCnt = 1256;
|
||||
errSpaceshipCharDailyGiftFavorabilityFull = 1257;
|
||||
errSpaceshipPresentGiftToCharNotUnlock = 1258;
|
||||
errSpaceshipPhysicalStrengthNotEnoughToWork = 1259;
|
||||
errSpaceshipPhysicalStrengthTooHighToRest = 1260;
|
||||
errSpaceshipManufacturingStationNoProduct = 1261;
|
||||
errSpaceshipManufacturingStationFormulaIdInvalid = 1262;
|
||||
errSpaceshipManufacturingStationHasOtherFormulaProducing = 1263;
|
||||
errSpaceshipManufacturingStationOverLoad = 1264;
|
||||
errSpaceshipRoomIdInvalid = 1265;
|
||||
errSpaceshipBagNoSpaceToReciveGift = 1266;
|
||||
errSpaceshipFavIsFull = 1267;
|
||||
errSpaceshipRoomLevelNotEnoughToProduceFormula = 1268;
|
||||
errSpaceshipInvalidVisitHostRoleId = 1269;
|
||||
errSpaceshipRoomMaxCount = 1281;
|
||||
errSpaceshipRoomCanNotDeconstruct = 1282;
|
||||
errSpaceshipInvalidRoomType = 1283;
|
||||
errSpaceshipPresentGiftTagNotMatch = 1284;
|
||||
errSpaceshipInvalidHostRoleGuestRoomNotBuilt = 1285;
|
||||
errSNSInternalError = 1300;
|
||||
errSNSMomentRepeatedOption = 1301;
|
||||
errSNSMomentOptionInvalid = 1302;
|
||||
errSNSMomentNotExist = 1303;
|
||||
errSNSChatNotExist = 1304;
|
||||
errSNSDialogNotExist = 1305;
|
||||
errSNSJumpContentFailed = 1306;
|
||||
errSNSDialogOptionFailed = 1307;
|
||||
errSNSMomentOptionTypeInvalid = 1308;
|
||||
errSNSDialogInvalidOp = 1309;
|
||||
errMissionTrackNotExist = 1351;
|
||||
errMissionCustomEventFailed = 1352;
|
||||
errMissionQuestNoProcessing = 1353;
|
||||
errMissionObjectiveNotFound = 1354;
|
||||
errTDInvalidID = 1401;
|
||||
errTDMoneyNotEnough = 1402;
|
||||
errTDBuyFailed = 1403;
|
||||
errTDGetConfigFailed = 1404;
|
||||
errTDCheckCurrIDFailed = 1405;
|
||||
errTDLockSettlementLv = 1406;
|
||||
errTDLockPreNode = 1407;
|
||||
errTDLockQuest = 1408;
|
||||
errTDInvalidBuildingId = 1409;
|
||||
errTDAddBuildingFailed = 1410;
|
||||
errTDInvalidScene = 1411;
|
||||
errTDCannotGetStronghold = 1412;
|
||||
errTDPickDropItemFailed = 1413;
|
||||
errTDPickDropInvalid = 1414;
|
||||
errTDClosed = 1415;
|
||||
errAdventureBookRewardNotMet = 1451;
|
||||
errAdventureBookRewardAlreadyTaken = 1452;
|
||||
errAdventureBookInvalidId = 1453;
|
||||
errAdventureHasNowRewardCanTake = 1454;
|
||||
errAdventureDailyActivationReachLimit = 1455;
|
||||
errAdventureWorldLevelInvalid = 1456;
|
||||
errAdventureWorldLevelCheckUnlock = 1457;
|
||||
errAdventureWorldLevelCheckCD = 1458;
|
||||
errGameMechanicsUnlocked = 1501;
|
||||
errGameMechanicsInCoolDown = 1502;
|
||||
errGameMechanicsStillInGame = 1503;
|
||||
errGameMechanicsCategoryLocked = 1504;
|
||||
errGameMechanicsGroupInCoolDown = 1505;
|
||||
errGameMechanicsStillInFocusMode = 1507;
|
||||
errGameMechanicsStartFailed = 1508;
|
||||
errGameMechanicsStartCheckInteractiveFailed = 1509;
|
||||
errGameMechanicsStopFailed = 1510;
|
||||
errPrtsCanNotFinish = 1531;
|
||||
errGeneralAbilityAtCoolDownTime = 1541;
|
||||
errGeneralAbilityNotUnlocked = 1542;
|
||||
errSubmitInvalid = 1600;
|
||||
errSubmitDuplicate = 1601;
|
||||
errSubmitNotMatch = 1602;
|
||||
errCurModeIsTargetMode = 1650;
|
||||
errSettlementManualSubmitInCD = 1651;
|
||||
errSettlementRamainMoneyNotEnough = 1652;
|
||||
errGachaPoolNotOpen = 1660;
|
||||
errGachaConsumeCostNotEnough = 1661;
|
||||
errGachaConsumeItemsCountNotMatch = 1662;
|
||||
errGachaPoolCloseByGM = 1663;
|
||||
errGachaPoolPersonalClosed = 1664;
|
||||
errGachaPoolHaveFreeTenPull = 1665;
|
||||
errGachaPoolFreeTenPullNotEnough = 1666;
|
||||
errActivityNotFound = 1700;
|
||||
errActivityConfigNotFound = 1701;
|
||||
errActivityNotAvailable = 1702;
|
||||
errActivityNotMatch = 1703;
|
||||
errActivityStaminaReduceNotMatch = 1704;
|
||||
errActivityAlreadyRewardAll = 1721;
|
||||
errActivityRewardNotEnough = 1722;
|
||||
errSensitiveCheckContentTooLong = 1730;
|
||||
errSensitiveCheckContentSpace = 1731;
|
||||
errBattleDebugCommonError = 1800;
|
||||
errBattleProtoVersionNotEqual = 1801;
|
||||
errDomainDevRewardAlreadyTake = 1851;
|
||||
errDomainDevNotMetLevel = 1852;
|
||||
errDomainDevNotUnlockDomain = 1853;
|
||||
errSceneDynamicMapMarkExceedLimit = 1901;
|
||||
errSceneDynamicMapMarkNameTooLong = 1902;
|
||||
errSceneDynamicMapMarkNotExist = 1903;
|
||||
errSceneMapMarkDetectorNotInDomain = 1904;
|
||||
errSceneMapMarkDetectorNotFound = 1905;
|
||||
errSceneDynamicMapMarkExistInSamePosition = 1906;
|
||||
errSpaceshipGuestRoomCannotRecvDailyClue = 1951;
|
||||
errSpaceshipGuestRoomCannotRecvClue = 1952;
|
||||
errSpaceshipGuestRoomSelfClueStorageFull = 1953;
|
||||
errSpaceshipGuestRoomReceiveClueStorageFull = 1954;
|
||||
errSpaceshipGuestRoomPreReceiveClueStorageFull = 1955;
|
||||
errSpaceshipGuestRoomGenerateClueFailed = 1956;
|
||||
errSpaceshipGuestRoomClueNotExist = 1957;
|
||||
errSpaceshipGuestRoomClueExpired = 1958;
|
||||
errSpaceshipGuestRoomClueAlreadyPlacedOther = 1959;
|
||||
errSpaceshipGuestRoomClueAlreadyPlacedSelf = 1960;
|
||||
errSpaceshipGuestRoomClueNotPlaced = 1961;
|
||||
errSpaceshipGuestRoomInfoExchangeAlreadyOpen = 1962;
|
||||
errSpaceshipGuestRoomInfoExchangeNotOpen = 1963;
|
||||
errSpaceshipGuestRoomInfoExchangeNotExpired = 1964;
|
||||
errSpaceshipGuestRoomInfoExchangeExpired = 1965;
|
||||
errSpaceshipGuesrRoomInfoExchangeInstIdNotEqual = 1966;
|
||||
errSpaceshipGuestRoomInfoExchangeAlreadyJoin = 1967;
|
||||
errSpaceshipGuestRoomInfoExchangeCanNotJoin = 1968;
|
||||
errSpaceshipGuestRoomSendClueToFriendFailed = 1969;
|
||||
errSpaceshipGuestRoomRemoveClueFailed = 1970;
|
||||
errSpaceshipGuestRoomLevelConfigInvalid = 1971;
|
||||
errSpaceshipGuestRoomPresentFriendClueSelfForbidden = 1972;
|
||||
errSpaceshipGuestRoomFriendNotUnlock = 1973;
|
||||
errSpaceshipGuestRoomNotUnlock = 1974;
|
||||
errSpaceshipGuestRoomJoinFriendInfoExchangeCountMax = 1975;
|
||||
errSpaceshipGuestRoomCharPictureIdInvalid = 1976;
|
||||
errSpaceshipGuestRoomCharPictureCountInvalid = 1977;
|
||||
errSpaceshipGuestRoomNoRewardCanBeReceived = 1978;
|
||||
errSpaceshipGuestRoomFriendNotUnlockClueRoom = 1979;
|
||||
errSpaceshipGuestRoomClueHasBeenPlaced = 1980;
|
||||
errSpaceshipCanNotBeHelped = 2001;
|
||||
errSpaceshipCharStrengthFull = 2002;
|
||||
errSpaceshipGrowCabinHasNoProduct = 2003;
|
||||
errSpaceshipManufacturingStationHasNoProduct = 2004;
|
||||
errSpaceshipNotInVisit = 2005;
|
||||
errSpaceshipHelpOthersCountNotEnough = 2006;
|
||||
errSpaceshipAlreadyHelpThisRoom = 2007;
|
||||
errSpaceshipRoomBeHelpedCountReachLimit = 2008;
|
||||
errSpaceshipGrowCabinHasNoBoxCanBeHelped = 2009;
|
||||
errSpaceshipUseHelpRewardCreditIsNotEnough = 2010;
|
||||
errSpaceshipGrowCabinHasNoSeedToGive = 2011;
|
||||
errSpaceshipCommandCenterHasInProgressExpedition = 2012;
|
||||
errSpaceshipCommandCenterHasNotInProgressExpedition = 2013;
|
||||
errSpaceshipInProgressExpeditionHasCompleted = 2014;
|
||||
errSpaceshipExpeditionInstanceIdNotExist = 2015;
|
||||
errSpaceshipRegionHasInProgressExpedition = 2016;
|
||||
errSpaceshipExpeditionNotInProgress = 2017;
|
||||
errSpaceshipExpeditionNotCompleted = 2018;
|
||||
errSpaceshipExpeditionCreditIsNotEnough = 2019;
|
||||
errSpaceshipStationCharLenInvalid = 2020;
|
||||
errSpaceshipStationCharLevelNotEnough = 2021;
|
||||
errSpaceshipStationCharTagNotMatch = 2022;
|
||||
errSpaceshipExpeditionInstanceIdNotMatch = 2023;
|
||||
errSpaceshipRegionCannotManualRefresh = 2024;
|
||||
errSpaceshipCanNotChangeStationCharState = 2025;
|
||||
errRecycleBinCollectInCD = 2151;
|
||||
errRecycleBinBagFullWhenLvUp = 2152;
|
||||
errSetGenderAtCoolDownTime = 2201;
|
||||
errStatusNotRegisterStatus = 2211;
|
||||
errStatusInStorySafeZone = 2212;
|
||||
errStatusInSafeZone = 2213;
|
||||
errStatusInBattle = 2214;
|
||||
errStatusInTD = 2215;
|
||||
errStatusNotInStorySafeZone = 2216;
|
||||
errStatusNotInSafeZone = 2217;
|
||||
errStatusNotInBattle = 2218;
|
||||
errStatusNotInTD = 2219;
|
||||
errWeekRaidConfigInvalid = 2251;
|
||||
errWeekRaidCheckRewardFailed = 2252;
|
||||
errWeekRaidPictorialReceived = 2253;
|
||||
errWeekRaidDropRewardFailed = 2254;
|
||||
errWeekRaidBPReceived = 2255;
|
||||
errWeekRaidBPScoreNotEnough = 2256;
|
||||
errWeekRaidCheckItemNotEnough = 2257;
|
||||
errWeekRaidCheckParamItemIdInvalid = 2258;
|
||||
errWeekRaidMissionInvalid = 2259;
|
||||
errWeekRaidGameIdInvalid = 2260;
|
||||
errWeekRaidRewardInvalid = 2261;
|
||||
errWeekRaidMissionCompleted = 2262;
|
||||
errWeekRaidMissionFailed = 2263;
|
||||
errWeekRaidMissionNotFound = 2264;
|
||||
errWeekRaidMissionNotEnough = 2265;
|
||||
errWeekRaidMoneyNotEnough = 2266;
|
||||
errWeekRaidRandomMissionFailed = 2267;
|
||||
errWeekRaidIncompleteGuide = 2268;
|
||||
errWeekRaidBPTechLock = 2269;
|
||||
errWeekRaidBPAdventureLevelNotEnough = 2270;
|
||||
errDomainDepotAlreadyUnlocked = 2300;
|
||||
errDomainDepotUnlockQuestNotComplete = 2301;
|
||||
errDomainDepotNotUnlocked = 2302;
|
||||
errDomainDepotInvalidLevel = 2303;
|
||||
errDomainDepotCanNotPackage = 2304;
|
||||
errDomainDepotInvalidPackType = 2305;
|
||||
errDomainDepotInvalidItemType = 2306;
|
||||
errDomainDepotInvalidItem = 2307;
|
||||
errDomainDepotNoValidBuyer = 2308;
|
||||
errDomainDepotDeliverInstNotFound = 2309;
|
||||
errDomainDepotCurDeliverInstNotEmpty = 2310;
|
||||
errDomainDepotDeliverInstProgressNotValid = 2311;
|
||||
errDomainDepotCurDeliverInstNotMatch = 2312;
|
||||
errDomainDepotNotNearDeliverTarget = 2313;
|
||||
errDomainDepotDeliverMissionExists = 2314;
|
||||
errDomainDepotDelegateTakenFailed = 2315;
|
||||
errDomainDepotDelegateTimeout = 2316;
|
||||
errDomainDepotCanNotTakeSelfDelegate = 2317;
|
||||
errDomainDepotDelegateHasTakenByOther = 2318;
|
||||
errDomainDepotDelegateNotFromSelf = 2319;
|
||||
errDomainDepotCanNotGetValidBuyerList = 2320;
|
||||
errDomainDepotOpOnlyForSelfPackage = 2321;
|
||||
errDomainDepotOpOnlyForDelegatePackage = 2322;
|
||||
errDomainDepotNotEnoughItemToPack = 2323;
|
||||
errDomainDepotItemValueLessThanMinLimit = 2324;
|
||||
errDomainDepotItemValueGreaterThanMaxLimit = 2325;
|
||||
errDomainDepotRefLevelNotUnlocked = 2326;
|
||||
errFactorySoilFertilizeInvalidStage = 2351;
|
||||
errBizBegin = 2401;
|
||||
errBizNotEnoughMoney = 2402;
|
||||
errBizGoodsNotFound = 2403;
|
||||
errBizGoodsNotEnough = 2404;
|
||||
errBizGoodsNotAvailable = 2405;
|
||||
errBizMonthlycardAppendLimit = 2406;
|
||||
errBizEnd = 2500;
|
||||
errUGCPunishedBegin = 2501;
|
||||
errUGCPunishedBanChangeName = 2502;
|
||||
errUGCPunishedBanChangeSignature = 2503;
|
||||
errUGCPunishedBanChangeRemark = 2504;
|
||||
errUGCPunishedBanChangeTeamName = 2505;
|
||||
errUGCPunishedBanEditBluePrint = 2506;
|
||||
errUGCPunishedBanShare = 2507;
|
||||
errUGCPunishedBanFriendRequest = 2508;
|
||||
errUGCPunishedBanMapMark = 2509;
|
||||
errUGCPunishedBanMapMarkEdit = 2510;
|
||||
errUGCPunishedBanFactorySign = 2511;
|
||||
errUGCPunishedEnd = 2550;
|
||||
errBPBegin = 2551;
|
||||
errBPInvalidRes = 2552;
|
||||
errBPTrackHasActivate = 2553;
|
||||
errBPLevelInvalid = 2554;
|
||||
errBPTakeTaskFailed = 2555;
|
||||
errBPSeasonIsClosed = 2556;
|
||||
errBPDropRewardFailed = 2557;
|
||||
errBPCostFailed = 2558;
|
||||
errBPAddLevelFailed = 2559;
|
||||
errBPEnd = 2600;
|
||||
errWorldEnergyPointInvalidGameId = 2601;
|
||||
errWorldEnergyPointInvalidWorldLevel = 2602;
|
||||
errWorldEnergyPointUnreceivedReward = 2603;
|
||||
errWorldEnergyPointInnerErrors = 2604;
|
||||
errWorldEnergyPointCheckTermsInvalid = 2605;
|
||||
errWorldEnergyPointStaminaNotEnough = 2606;
|
||||
errWorldEnergyPointItemNotEnough = 2607;
|
||||
errWorldEnergyPointRewardFailed = 2608;
|
||||
errWorldEnergyPointRewardNotEnough = 2609;
|
||||
errPaySystemBegin = 2651;
|
||||
errPayCashGoodsNotExist = 2652;
|
||||
errPayCashShopNotExist = 2653;
|
||||
errPayCashGoodsLocked = 2654;
|
||||
errPayCashShopLocked = 2655;
|
||||
errPayCashGoodsDisable = 2656;
|
||||
errPayCashShopDisable = 2657;
|
||||
errPayCashGoodsExceedCntLimit = 2658;
|
||||
errPayGenOutOrderIdFailed = 2659;
|
||||
errPayGenOrderSignFailed = 2660;
|
||||
errPayQueryPlatformGoodsFailed = 2661;
|
||||
errPayBPCheckFailedForCount = 2662;
|
||||
errPayBPCheckFailedForHasActived = 2663;
|
||||
errPayMCardCheckFailedForExpireTms = 2664;
|
||||
errPayRechargeCheckFailedForBonusCnt = 2665;
|
||||
errPayRechargeCheckFailedForReward = 2666;
|
||||
errPaySystemNotOpen = 2667;
|
||||
errPayBPCheckFailedForSeasonId = 2668;
|
||||
errPayInvalidParam = 2669;
|
||||
errPayInvalidOrder = 2670;
|
||||
errPaySystemEnd = 2700;
|
||||
errFactoryExtendBegin = 2701;
|
||||
errFactoryBluePrintScopeNotMatch = 2702;
|
||||
errFactoryBluePrintInvalidSourceType = 2703;
|
||||
errFactoryBluePrintTagNumExceedMax = 2704;
|
||||
errFactoryBluePrintNameStrCheckFailed = 2705;
|
||||
errFactoryBluePrintDescStrCheckFailed = 2706;
|
||||
errFactoryBluePrintSizeCheckFailed = 2707;
|
||||
errFactoryBluePrintSensitiveCheckFailed = 2708;
|
||||
errFactoryBluePrintCannotFindBP = 2709;
|
||||
errFactoryBluePrintCannotFindOpScene = 2710;
|
||||
errFactoryBluePrintCannotFindSettlement = 2711;
|
||||
errFactoryBluePrintOpYNotMatch = 2712;
|
||||
errFactoryBatchOpCheckBandWidthFailed = 2713;
|
||||
errFactoryBatchOpChapterCheckFailed = 2714;
|
||||
errFactoryBatchOpInvalidPresetCom = 2715;
|
||||
errFactoryPendingDataIsFull = 2716;
|
||||
errFactoryBluePrintSubmitReviewInCD = 2717;
|
||||
errFactoryBluePrintSubmitInvalidStatus = 2718;
|
||||
errFactoryBluePrintInReviewCountExceed = 2719;
|
||||
errFactoryBluePrintCurStatusInvalid = 2720;
|
||||
errFactoryBluePrintReviewOriCheckFailed = 2721;
|
||||
errFactoryBluePrintShareInCD = 2722;
|
||||
errFactoryBluePrintShareCodeDecodeFailed = 2723;
|
||||
errFactoryBluePrintQuerySharedBpFailed = 2724;
|
||||
errFactoryBluePrintGiftNumExceedMax = 2725;
|
||||
errFactoryBluePrintGiftHasExisted = 2726;
|
||||
errFactoryBluePrintCannotReportSelf = 2727;
|
||||
errFactoryBluePrintQueyGiftExceedBatchNum = 2728;
|
||||
errFactoryBluePrintFetchInCD = 2729;
|
||||
errFactoryBluePrintNameNumExceed = 2730;
|
||||
errFactoryBluePrintNodesNumExceed = 2731;
|
||||
errFactoryBluePrintShareCodePrefixInvalid = 2732;
|
||||
errFactoryOpOverPlaceLimitSign = 2733;
|
||||
errFactoryBatchOpInvalidSign = 2734;
|
||||
errFactoryOpReportInvaliSign = 2735;
|
||||
errFactoryPlaceLimitNodeAll = 2736;
|
||||
errFactoryPlaceBuildingLimit = 2737;
|
||||
errFactoryPlaceFluidRouterLimit = 2738;
|
||||
errFactoryPlaceFluidConveyorLimit = 2739;
|
||||
errFactoryExtendEnd = 2750;
|
||||
}
|
||||
406
proto/pb/factory_core.proto
Normal file
406
proto/pb/factory_core.proto
Normal file
@@ -0,0 +1,406 @@
|
||||
syntax = "proto3";
|
||||
package FactoryCore.Proto;
|
||||
|
||||
option go_package = "beyond-go/proto/pbcommon;pbcommon";
|
||||
option csharp_namespace = "Beyond.FactoryCore.Proto";
|
||||
|
||||
enum Bool {
|
||||
Bool_FALSE = 0;
|
||||
Bool_TRUE = 1;
|
||||
}
|
||||
enum Direction {
|
||||
Direction_Up = 0;
|
||||
Direction_Right = 1;
|
||||
Direction_Down = 2;
|
||||
Direction_Left = 3;
|
||||
Direction_Max = 4;
|
||||
}
|
||||
enum EventType {
|
||||
EventType_Invalid = 0;
|
||||
EventType_Prepared = 1;
|
||||
EventType_LayoutChg = 2;
|
||||
EventType_ComponentChg = 3;
|
||||
EventType_RelationChg = 4;
|
||||
EventType_Max = 5;
|
||||
}
|
||||
enum OperateType {
|
||||
OperateType_Invalid = 0;
|
||||
OperateType_Place = 1;
|
||||
OperateType_PlaceConveyor = 2;
|
||||
OperateType_Dismantle = 3;
|
||||
OperateType_SetCollectTarget = 4;
|
||||
OperateType_SetUnloaderSelect = 5;
|
||||
OperateType_PutInItemsToCache = 6;
|
||||
OperateType_TakeOutItemsFromCache = 7;
|
||||
OperateType_AddNewArea = 8;
|
||||
OperateType_SetEventEnable = 9;
|
||||
}
|
||||
enum OperateRetCode {
|
||||
OperateRetCode_OK = 0;
|
||||
OperateRetCode_Unknown = 1;
|
||||
OperateRetCode_Fail = 2;
|
||||
OperateRetCode_InvalidParameter = 3;
|
||||
OperateRetCode_UnknownTemplate = 4;
|
||||
OperateRetCode_MeshConflict = 5;
|
||||
}
|
||||
enum ComponentType {
|
||||
ComponentType_Invalid = 0;
|
||||
ComponentType_Map = 1;
|
||||
ComponentType_Transform = 2;
|
||||
ComponentType_Bus = 3;
|
||||
ComponentType_Inventory = 4;
|
||||
ComponentType_Cache = 5;
|
||||
ComponentType_Selector = 6;
|
||||
ComponentType_Collector = 7;
|
||||
ComponentType_Producer = 8;
|
||||
ComponentType_FormulaMan = 9;
|
||||
ComponentType_BoxConveyor = 10;
|
||||
ComponentType_BoxRouter = 11;
|
||||
ComponentType_BusUnloader = 12;
|
||||
ComponentType_BusLoader = 13;
|
||||
ComponentType_Max = 14;
|
||||
}
|
||||
enum ComponentKind {
|
||||
ComponentKind_Invalid = 0;
|
||||
ComponentKind_Map = 1;
|
||||
ComponentKind_Transform = 2;
|
||||
ComponentKind_Inventory = 11;
|
||||
ComponentKind_Bus = 12;
|
||||
ComponentKind_Cache = 14;
|
||||
ComponentKind_Selector = 15;
|
||||
ComponentKind_Collector = 16;
|
||||
ComponentKind_Producer = 17;
|
||||
ComponentKind_FormulaMan = 18;
|
||||
ComponentKind_BoxConveyor = 19;
|
||||
ComponentKind_BoxRouter = 20;
|
||||
ComponentKind_BusUnloader = 31;
|
||||
ComponentKind_BusLoader = 32;
|
||||
ComponentKind_CacheIn1 = 41;
|
||||
ComponentKind_CacheIn2 = 42;
|
||||
ComponentKind_CacheIn3 = 43;
|
||||
ComponentKind_CacheIn4 = 44;
|
||||
ComponentKind_CacheOut1 = 51;
|
||||
ComponentKind_CacheOut2 = 52;
|
||||
ComponentKind_CacheOut3 = 53;
|
||||
ComponentKind_CacheOut4 = 54;
|
||||
ComponentKind_Selector1 = 61;
|
||||
ComponentKind_Selector2 = 62;
|
||||
ComponentKind_Selector3 = 63;
|
||||
ComponentKind_Selector4 = 64;
|
||||
}
|
||||
enum NodeType {
|
||||
NodeType_Invalid = 0;
|
||||
NodeType_Inventory = 1;
|
||||
NodeType_Bus = 2;
|
||||
NodeType_Hub = 3;
|
||||
NodeType_Collector = 4;
|
||||
NodeType_Producer = 5;
|
||||
NodeType_BoxConveyor = 6;
|
||||
NodeType_BoxRouter = 7;
|
||||
NodeType_BusUnloader = 8;
|
||||
NodeType_BusLoader = 9;
|
||||
NodeType_Max = 10;
|
||||
}
|
||||
enum ShapeType {
|
||||
ShapeType_Invalid = 0;
|
||||
ShapeType_Rect = 1;
|
||||
ShapeType_Line = 2;
|
||||
ShapeType_Max = 3;
|
||||
}
|
||||
enum ConfigKey {
|
||||
ConfigKey_Invalid = 0;
|
||||
ConfigKey_FrameMS = 1;
|
||||
ConfigKey_Max = 2;
|
||||
}
|
||||
enum LogLevel {
|
||||
LogLevel_Debug = 0;
|
||||
LogLevel_Info = 1;
|
||||
LogLevel_Warning = 2;
|
||||
LogLevel_Error = 3;
|
||||
}
|
||||
message Vector2 {
|
||||
int32 X = 1;
|
||||
int32 Y = 2;
|
||||
}
|
||||
message SubPort {
|
||||
Vector2 Pos = 1;
|
||||
Direction Direction = 2;
|
||||
}
|
||||
message ItemUnit {
|
||||
string Id = 1;
|
||||
uint64 Count = 2;
|
||||
}
|
||||
message ItemBox {
|
||||
string Id = 1;
|
||||
uint64 Count = 2;
|
||||
int32 Index = 3;
|
||||
int64 Offset = 4;
|
||||
}
|
||||
message Formula {
|
||||
string Id = 1;
|
||||
int64 ProgressPerRound = 2;
|
||||
repeated ItemUnit From = 3;
|
||||
repeated ItemUnit To = 4;
|
||||
}
|
||||
message SDShape {
|
||||
ShapeType Type = 1;
|
||||
repeated Vector2 Points = 2;
|
||||
}
|
||||
message SDTemplate {
|
||||
string Id = 1;
|
||||
NodeType Type = 2;
|
||||
SDShape Shape = 3;
|
||||
oneof SDNode {
|
||||
SDNodeBus Bus = 21;
|
||||
SDNodeBusUnloader BusUnloader = 22;
|
||||
SDNodeBusLoader BusLoader = 23;
|
||||
SDNodeCollector Collector = 24;
|
||||
SDNodeProducer Producer = 25;
|
||||
SDNodeBoxConveyor BoxConveyor = 26;
|
||||
SDNodeBoxRouter BoxRouter = 27;
|
||||
}
|
||||
}
|
||||
message SDComponentCache {
|
||||
int32 Size = 1;
|
||||
repeated SubPort Ports = 2;
|
||||
}
|
||||
message SDComponentSelector {
|
||||
repeated SubPort Ports = 1;
|
||||
}
|
||||
message SDComponentCollector {
|
||||
int64 ProgressPerRound = 1;
|
||||
}
|
||||
message SDComponentProducer {
|
||||
int64 ProduceScale = 1;
|
||||
}
|
||||
message SDComponentFormulaMan {
|
||||
repeated string FormulaIds = 1;
|
||||
}
|
||||
message SDComponentBoxConveyor {
|
||||
int64 MSPerStep = 1;
|
||||
}
|
||||
message SDComponentBoxRouter {
|
||||
int64 MSHold = 1;
|
||||
repeated SubPort Ports = 2;
|
||||
}
|
||||
message SDComponentBus {
|
||||
repeated SubPort Ports = 1;
|
||||
}
|
||||
message SDComponentBusUnloader {
|
||||
repeated SubPort Ports = 1;
|
||||
}
|
||||
message SDComponentBusLoader {
|
||||
repeated SubPort PortsIn = 1;
|
||||
repeated SubPort PortsOut = 2;
|
||||
}
|
||||
message SDNodeBus {
|
||||
SDComponentBus Bus = 1;
|
||||
}
|
||||
message SDNodeBusUnloader {
|
||||
SDComponentBusUnloader BusUnloader = 1;
|
||||
SDComponentSelector Selector = 2;
|
||||
}
|
||||
message SDNodeBusLoader {
|
||||
SDComponentBusLoader BusLoader = 1;
|
||||
}
|
||||
message SDNodeCollector {
|
||||
SDComponentCollector Collector = 1;
|
||||
repeated SDComponentCache Caches = 2;
|
||||
}
|
||||
message SDNodeProducer {
|
||||
SDComponentProducer Producer = 1;
|
||||
SDComponentFormulaMan FormulaMan = 2;
|
||||
repeated SDComponentCache CachesIn = 3;
|
||||
repeated SDComponentCache CachesOut = 4;
|
||||
}
|
||||
message SDNodeBoxConveyor {
|
||||
SDComponentBoxConveyor BoxConveyor = 1;
|
||||
}
|
||||
message SDNodeBoxRouter {
|
||||
SDComponentBoxRouter BoxRouter = 1;
|
||||
}
|
||||
message LayoutShape {
|
||||
ShapeType Type = 1;
|
||||
repeated Vector2 Points = 2;
|
||||
repeated Direction DynamicDirIn = 3;
|
||||
repeated Direction DynamicDirOut = 4;
|
||||
}
|
||||
message Node {
|
||||
uint64 NodeId = 1;
|
||||
NodeType Type = 2;
|
||||
string TemplateId = 3;
|
||||
LayoutShape Shape = 4;
|
||||
repeated Component Component = 11;
|
||||
}
|
||||
message Component {
|
||||
uint64 ComponentId = 1;
|
||||
ComponentType Type = 2;
|
||||
oneof Content {
|
||||
ComponentCache Cache = 11;
|
||||
ComponentInventory Inventory = 12;
|
||||
ComponentCollector Collector = 13;
|
||||
ComponentProducer Producer = 14;
|
||||
ComponentSelector Selector = 15;
|
||||
ComponentBoxConveyor BoxConveyor = 16;
|
||||
ComponentBoxRouter BoxRouter = 17;
|
||||
ComponentMap Map = 18;
|
||||
ComponentTransform Transform = 19;
|
||||
}
|
||||
}
|
||||
message ComponentCache {
|
||||
repeated ItemUnit Cache = 1;
|
||||
}
|
||||
message ComponentInventory {
|
||||
repeated ItemUnit Store = 1;
|
||||
}
|
||||
message ComponentCollector {
|
||||
int64 CurrentProgress = 1;
|
||||
int64 ProgressPerRound = 2;
|
||||
repeated ItemUnit ItemsPerRound = 3;
|
||||
}
|
||||
message ComponentProducer {
|
||||
int64 CurrentProgress = 1;
|
||||
string CurrentFormulaId = 2;
|
||||
}
|
||||
message ComponentSelector {
|
||||
string SelectedItemId = 1;
|
||||
}
|
||||
message ComponentBoxConveyor {
|
||||
SubPort PortIn = 1;
|
||||
SubPort PortOut = 2;
|
||||
repeated ItemBox List = 6;
|
||||
}
|
||||
message ComponentBoxRouter {
|
||||
ItemBox Content = 1;
|
||||
}
|
||||
message ComponentMap {
|
||||
map<int32, uint64> ComAsKind = 1;
|
||||
}
|
||||
message ComponentTransform {
|
||||
Vector2 Position = 1;
|
||||
Direction Direction = 2;
|
||||
}
|
||||
message ContextBrief {
|
||||
uint64 CD = 1;
|
||||
int64 Now = 2;
|
||||
bool IsActive = 3;
|
||||
}
|
||||
message ContextBlackboard {
|
||||
int64 ElectricCurrent = 1;
|
||||
int64 ElectricMax = 2;
|
||||
}
|
||||
message ContextStatus {
|
||||
ContextBrief Brief = 1;
|
||||
ContextBlackboard Blackboard = 2;
|
||||
repeated uint64 NodeIds = 3;
|
||||
}
|
||||
message Event {
|
||||
int64 TimestampMS = 1;
|
||||
uint64 Sequence = 2;
|
||||
EventType Type = 3;
|
||||
oneof Payload {
|
||||
EventPrepared Prepared = 11;
|
||||
EventLayoutChg LayoutChg = 12;
|
||||
EventComponentChg ComponentChg = 13;
|
||||
EventRelationChg RelationChg = 14;
|
||||
}
|
||||
}
|
||||
message EventPrepared {
|
||||
}
|
||||
message EventLayoutChg {
|
||||
repeated uint64 NodeIds = 1;
|
||||
}
|
||||
message EventComponentChg {
|
||||
repeated uint64 ComponentIds = 1;
|
||||
}
|
||||
message EventRelationChg {
|
||||
bool IsGot = 1;
|
||||
repeated uint64 ComId = 2;
|
||||
}
|
||||
message Operate {
|
||||
OperateType Type = 1;
|
||||
oneof Payload {
|
||||
OperatePayloadPlace Place = 11;
|
||||
OperatePayloadPlaceConveyor PlaceConveyor = 12;
|
||||
OperatePayloadDismantle Dismantle = 13;
|
||||
OperatePayloadSetCollectTarget SetCollectTarget = 14;
|
||||
OperatePayloadSetUnloaderSelect SetUnloaderSelect = 15;
|
||||
OperatePayloadPutInItemsToCache PutInItemsToCache = 16;
|
||||
OperatePayloadTakeOutItemsFromCache TakeOutItemsFromCache = 17;
|
||||
OperatePayloadAddNewArea AddNewArea = 18;
|
||||
OperatePayloadSetEventEnable SetEventEnable = 19;
|
||||
}
|
||||
}
|
||||
message OperateReturn {
|
||||
OperateRetCode RetCode = 1;
|
||||
int64 TimestampMS = 2;
|
||||
uint64 Sequence = 3;
|
||||
oneof Payload {
|
||||
OperateReturnPlace Place = 11;
|
||||
OperateReturnPlaceConveyor PlaceConveyor = 12;
|
||||
OperateReturnPutInItemsToCache PutInItemsToCache = 13;
|
||||
OperateReturnTakeOutItemsFromCache TakeOutItemsFromCache = 14;
|
||||
}
|
||||
}
|
||||
message OperatePayloadPlace {
|
||||
string TemplateId = 1;
|
||||
Vector2 Pos = 2;
|
||||
Direction Direction = 3;
|
||||
}
|
||||
message OperateReturnPlace {
|
||||
uint64 NodeId = 1;
|
||||
}
|
||||
message OperatePayloadPlaceConveyor {
|
||||
string TemplateId = 1;
|
||||
Direction DirectionIn = 2;
|
||||
Direction DirectionOut = 3;
|
||||
repeated Vector2 Points = 4;
|
||||
}
|
||||
message OperateReturnPlaceConveyor {
|
||||
uint64 NodeId = 1;
|
||||
}
|
||||
message OperatePayloadDismantle {
|
||||
uint64 NodeId = 1;
|
||||
}
|
||||
message OperatePayloadSetCollectTarget {
|
||||
uint64 NodeId = 1;
|
||||
repeated ItemUnit ItemsPerRound = 2;
|
||||
}
|
||||
message OperatePayloadSetUnloaderSelect {
|
||||
uint64 NodeId = 1;
|
||||
string ItemId = 2;
|
||||
}
|
||||
message OperatePayloadPutInItemsToCache {
|
||||
uint64 ComId = 1;
|
||||
repeated ItemUnit Items = 2;
|
||||
}
|
||||
message OperateReturnPutInItemsToCache {
|
||||
repeated ItemUnit LeastItems = 1;
|
||||
}
|
||||
message OperatePayloadTakeOutItemsFromCache {
|
||||
uint64 ComId = 1;
|
||||
repeated ItemUnit Items = 2;
|
||||
}
|
||||
message OperateReturnTakeOutItemsFromCache {
|
||||
repeated ItemUnit GotItems = 1;
|
||||
}
|
||||
message OperatePayloadAddNewArea {
|
||||
repeated Vector2 Area = 1;
|
||||
}
|
||||
message OperatePayloadSetEventEnable {
|
||||
bool Enable = 1;
|
||||
repeated EventType EventTypeList = 2;
|
||||
}
|
||||
message MeshArea {
|
||||
repeated Vector2 Range = 1;
|
||||
}
|
||||
message MeshAreaBitmap {
|
||||
repeated Vector2 Area = 1;
|
||||
repeated uint64 Bitmaps = 2;
|
||||
}
|
||||
message ContextArchive {
|
||||
ContextBrief Brief = 1;
|
||||
ContextBlackboard Blackboard = 2;
|
||||
repeated MeshArea Areas = 3;
|
||||
repeated Node Nodes = 11;
|
||||
}
|
||||
14
proto/pb/options.proto
Normal file
14
proto/pb/options.proto
Normal file
@@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option java_package = "com.google.protobuf";
|
||||
option java_outer_classname = "VTProto";
|
||||
option go_package = "beyond-go/proto/pbcommon;pbcommon";
|
||||
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
message Opts {
|
||||
oneof _unique {
|
||||
bool unique = 1;
|
||||
}
|
||||
}
|
||||
16
proto/pb/ss_common.proto
Normal file
16
proto/pb/ss_common.proto
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "beyond-go/proto/pbsscommon;pbsscommon";
|
||||
|
||||
enum ObjStateType {
|
||||
ObjStateNormal = 0;
|
||||
ObjStateAbnormal = 1;
|
||||
}
|
||||
message OBJ_STATE {
|
||||
string objid = 1;
|
||||
ObjStateType state = 2;
|
||||
}
|
||||
message OBJ_LIST {
|
||||
repeated string obj_ids = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user