mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
完善客户端协议
This commit is contained in:
685
protocol/proto_hk4e/cmd/cmd_ability.proto
Normal file
685
protocol/proto_hk4e/cmd/cmd_ability.proto
Normal file
@@ -0,0 +1,685 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
import "cmd/cmd_fight.proto";
|
||||
|
||||
enum AbilityInvokeArgument {
|
||||
ABILITY_NONE = 0;
|
||||
ABILITY_META_MODIFIER_CHANGE = 1;
|
||||
ABILITY_META_COMMAND_MODIFIER_CHANGE_REQUEST = 2;
|
||||
ABILITY_META_SPECIAL_FLOAT_ARGUMENT = 3;
|
||||
ABILITY_META_OVERRIDE_PARAM = 4;
|
||||
ABILITY_META_CLEAR_OVERRIDE_PARAM = 5;
|
||||
ABILITY_META_REINIT_OVERRIDEMAP = 6;
|
||||
ABILITY_META_GLOBAL_FLOAT_VALUE = 7;
|
||||
ABILITY_META_CLEAR_GLOBAL_FLOAT_VALUE = 8;
|
||||
ABILITY_META_ABILITY_ELEMENT_STRENGTH = 9;
|
||||
ABILITY_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10;
|
||||
ABILITY_META_SET_KILLED_SETATE = 11;
|
||||
ABILITY_META_SET_ABILITY_TRIGGER = 12;
|
||||
ABILITY_META_ADD_NEW_ABILITY = 13;
|
||||
ABILITY_META_REMOVE_ABILITY = 14;
|
||||
ABILITY_META_SET_MODIFIER_APPLY_ENTITY = 15;
|
||||
ABILITY_META_MODIFIER_DURABILITY_CHANGE = 16;
|
||||
ABILITY_META_ELEMENT_REACTION_VISUAL = 17;
|
||||
ABILITY_META_SET_POSE_PARAMETER = 18;
|
||||
ABILITY_META_UPDATE_BASE_REACTION_DAMAGE = 19;
|
||||
ABILITY_META_TRIGGER_ELEMENT_REACTION = 20;
|
||||
ABILITY_META_LOSE_HP = 21;
|
||||
ABILITY_META_DURABILITY_IS_ZERO = 22;
|
||||
ABILITY_ACTION_TRIGGER_ABILITY = 50;
|
||||
ABILITY_ACTION_SET_CRASH_DAMAGE = 51;
|
||||
ABILITY_ACTION_EFFECT = 52;
|
||||
ABILITY_ACTION_SUMMON = 53;
|
||||
ABILITY_ACTION_BLINK = 54;
|
||||
ABILITY_ACTION_CREATE_GADGET = 55;
|
||||
ABILITY_ACTION_APPLY_LEVEL_MODIFIER = 56;
|
||||
ABILITY_ACTION_GENERATE_ELEM_BALL = 57;
|
||||
ABILITY_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE = 58;
|
||||
ABILITY_ACTION_SERVER_MONSTER_LOG = 59;
|
||||
ABILITY_ACTION_CREATE_TILE = 60;
|
||||
ABILITY_ACTION_DESTROY_TILE = 61;
|
||||
ABILITY_ACTION_FIRE_AFTER_IMAGE = 62;
|
||||
ABILITY_ACTION_DEDUCT_STAMINA = 63;
|
||||
ABILITY_ACTION_HIT_EFFECT = 64;
|
||||
ABILITY_ACTION_SET_BULLET_TRACK_TARGET = 65;
|
||||
ABILITY_MIXIN_AVATAR_STEER_BY_CAMERA = 100;
|
||||
ABILITY_MIXIN_MONSTER_DEFEND = 101;
|
||||
ABILITY_MIXIN_WIND_ZONE = 102;
|
||||
ABILITY_MIXIN_COST_STAMINA = 103;
|
||||
ABILITY_MIXIN_ELITE_SHIELD = 104;
|
||||
ABILITY_MIXIN_ELEMENT_SHIELD = 105;
|
||||
ABILITY_MIXIN_GLOBAL_SHIELD = 106;
|
||||
ABILITY_MIXIN_SHIELD_BAR = 107;
|
||||
ABILITY_MIXIN_WIND_SEED_SPAWNER = 108;
|
||||
ABILITY_MIXIN_DO_ACTION_BY_ELEMENT_REACTION = 109;
|
||||
ABILITY_MIXIN_FIELD_ENTITY_COUNT_CHANGE = 110;
|
||||
ABILITY_MIXIN_SCENE_PROP_SYNC = 111;
|
||||
ABILITY_MIXIN_WIDGET_MP_SUPPORT = 112;
|
||||
ABILITY_MIXIN_DO_ACTION_BY_SELF_MODIFIER_ELEMENT_DURABILITY_RATIO = 113;
|
||||
ABILITY_MIXIN_FIREWORKS_LAUNCHER = 114;
|
||||
ABILITY_MIXIN_ATTACK_RESULT_CREATE_COUNT = 115;
|
||||
ABILITY_MIXIN_UGC_TIME_CONTROL = 116;
|
||||
ABILITY_MIXIN_AVATAR_COMBAT = 117;
|
||||
ABILITY_MIXIN_DEATH_ZONE_REGIONAL_PLAY_MIXIN = 118;
|
||||
ABILITY_MIXIN_UI_INTERACT = 119;
|
||||
ABILITY_MIXIN_SHOOT_FROM_CAMERA = 120;
|
||||
ABILITY_MIXIN_ERASE_BRICK_ACTIVITY = 121;
|
||||
ABILITY_MIXIN_BREAKOUT = 122;
|
||||
}
|
||||
|
||||
enum ModifierAction {
|
||||
ADDED = 0;
|
||||
REMOVED = 1;
|
||||
}
|
||||
|
||||
message AbilityInvokeEntryHead {
|
||||
int32 modifier_config_local_id = 7;
|
||||
bool is_serverbuff_modifier = 2;
|
||||
uint32 instanced_ability_id = 1;
|
||||
uint32 instanced_modifier_id = 12;
|
||||
int32 local_id = 10;
|
||||
uint32 server_buff_uid = 14;
|
||||
uint32 target_id = 3;
|
||||
}
|
||||
|
||||
message AbilityInvokeEntry {
|
||||
bytes ability_data = 15;
|
||||
AbilityInvokeEntryHead head = 2;
|
||||
uint32 event_id = 12;
|
||||
uint32 entity_id = 9;
|
||||
double total_tick_time = 14;
|
||||
uint32 forward_peer = 4;
|
||||
AbilityInvokeArgument argument_type = 1;
|
||||
bool is_ignore_auth = 8;
|
||||
ForwardType forward_type = 3;
|
||||
}
|
||||
|
||||
message AbilityInvocationFixedNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1172;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
AbilityInvokeEntry invoke6th = 14;
|
||||
AbilityInvokeEntry invoke5th = 8;
|
||||
AbilityInvokeEntry invoke4th = 1;
|
||||
AbilityInvokeEntry invoke2nd = 5;
|
||||
AbilityInvokeEntry invoke1st = 10;
|
||||
AbilityInvokeEntry invoke3rd = 12;
|
||||
}
|
||||
|
||||
message AbilityInvocationsNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1198;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated AbilityInvokeEntry invokes = 2;
|
||||
}
|
||||
|
||||
message AbilityMetaReInitOverrideMap {
|
||||
repeated AbilityScalarValueEntry override_map = 7;
|
||||
}
|
||||
|
||||
message AbilityMetaAddAbility {
|
||||
AbilityAppliedAbility ability = 12;
|
||||
}
|
||||
|
||||
message ModifierProperty {
|
||||
AbilityString key = 15;
|
||||
float value = 5;
|
||||
}
|
||||
|
||||
message AbilityMetaModifierChange {
|
||||
AbilityAttachedModifier attached_instanced_modifier = 7;
|
||||
uint32 server_buff_uid = 4;
|
||||
bool is_attached_parent_ability = 10;
|
||||
ModifierAction action = 13;
|
||||
int32 modifier_local_id = 2;
|
||||
AbilityString parent_ability_name = 1;
|
||||
bool is_mute_remote = 6;
|
||||
uint32 apply_entity_id = 5;
|
||||
repeated ModifierProperty properties = 3;
|
||||
AbilityString parent_ability_override = 11;
|
||||
bool is_durability_zero = 9;
|
||||
}
|
||||
|
||||
message AbilityMetaDurabilityIsZero {
|
||||
bool is_zero = 5;
|
||||
}
|
||||
|
||||
message AbilityMetaSpecialFloatArgument {
|
||||
float argument_value = 14;
|
||||
bool is_on = 10;
|
||||
}
|
||||
|
||||
message AbilityMetaAddOrGetAbilityAndTrigger {
|
||||
AbilityString ability_name = 13;
|
||||
float trigger_argument = 3;
|
||||
AbilityString ability_override = 8;
|
||||
}
|
||||
|
||||
message AbilityMetaSetKilledState {
|
||||
bool killed = 2;
|
||||
}
|
||||
|
||||
message AbilityMetaSetAbilityTrigger {
|
||||
uint32 trigger_ability_entity_id = 11;
|
||||
}
|
||||
|
||||
message AbilityMetaSetModifierApplyEntityId {
|
||||
uint32 apply_entity_id = 10;
|
||||
}
|
||||
|
||||
message AbilityMetaModifierDurabilityChange {
|
||||
float reduce_durability = 6;
|
||||
float remain_durability = 15;
|
||||
}
|
||||
|
||||
message AbilityMetaElementReactionVisual {
|
||||
int32 hit_index = 2;
|
||||
uint32 element_source_type = 12;
|
||||
uint32 element_reactor_type = 6;
|
||||
uint32 element_reaction_type = 5;
|
||||
}
|
||||
|
||||
message AbilityMetaTriggerElementReaction {
|
||||
int32 hit_index = 9;
|
||||
uint32 element_source_type = 7;
|
||||
uint32 element_reactor_type = 12;
|
||||
uint32 trigger_entity_id = 2;
|
||||
uint32 element_reaction_type = 1;
|
||||
}
|
||||
|
||||
message AbilityMetaLoseHp {
|
||||
uint32 lose_hp_config_idx = 10;
|
||||
}
|
||||
|
||||
message AbilityMetaSetPoseParameter {
|
||||
AnimatorParameterValueInfoPair value = 6;
|
||||
}
|
||||
|
||||
message AbilityMetaUpdateBaseReactionDamage {
|
||||
uint32 source_caster_id = 15;
|
||||
AbilityString ability_name = 1;
|
||||
AbilityString global_value_key = 4;
|
||||
uint32 reaction_type = 8;
|
||||
}
|
||||
|
||||
message AbilityActionTriggerAbility {
|
||||
uint32 other_id = 14;
|
||||
}
|
||||
|
||||
message AbilityActionSetCrashDamage {
|
||||
Vector hit_pos = 2;
|
||||
float damage = 15;
|
||||
}
|
||||
|
||||
message AbilityBornType {
|
||||
Vector rot = 2;
|
||||
Vector move_dir = 14;
|
||||
Vector pos = 5;
|
||||
}
|
||||
|
||||
message AbilityFireworkBornType {
|
||||
uint32 effect_index = 13;
|
||||
Vector pos = 10;
|
||||
Vector move_dir = 1;
|
||||
Vector rot = 5;
|
||||
}
|
||||
|
||||
message AbilityActionSummon {
|
||||
Vector pos = 10;
|
||||
Vector rot = 1;
|
||||
}
|
||||
|
||||
message AbilityActionBlink {
|
||||
Vector rot = 11;
|
||||
Vector pos = 10;
|
||||
}
|
||||
|
||||
message AbilityActionCreateGadget {
|
||||
uint32 room_id = 3;
|
||||
Vector rot = 8;
|
||||
Vector pos = 11;
|
||||
}
|
||||
|
||||
message AbilityActionSetRandomOverrideMapValue {
|
||||
float random_value = 1;
|
||||
}
|
||||
|
||||
message AbilityActionServerMonsterLog {
|
||||
repeated int32 param_list = 2;
|
||||
}
|
||||
|
||||
message AbilityActionCreateTile {
|
||||
Vector rot = 3;
|
||||
Vector pos = 8;
|
||||
}
|
||||
|
||||
message AbilityActionDestroyTile {
|
||||
Vector rot = 3;
|
||||
Vector pos = 1;
|
||||
}
|
||||
|
||||
message AbilityActionFireAfterImgae {
|
||||
Vector dir = 12;
|
||||
}
|
||||
|
||||
message AbilityApplyLevelModifier {
|
||||
uint32 apply_entity_id = 6;
|
||||
}
|
||||
|
||||
message AbilityActionGenerateElemBall {
|
||||
uint32 room_id = 2;
|
||||
Vector pos = 7;
|
||||
Vector rot = 13;
|
||||
}
|
||||
|
||||
message AbilityActionDeductStamina {
|
||||
bool is_swim = 1;
|
||||
}
|
||||
|
||||
message AbilityActionHitEffect {
|
||||
uint32 trigger_id = 3;
|
||||
}
|
||||
|
||||
message AbilityActionSetBulletTrackTarget {
|
||||
uint32 chased_entity_id = 1;
|
||||
uint32 lock_point_index = 2;
|
||||
}
|
||||
|
||||
message AbilityMixinEmpty {
|
||||
}
|
||||
|
||||
message AbilityMixinAvatarSteerByCamera {
|
||||
Vector target_dir = 7;
|
||||
Vector target_pos = 6;
|
||||
}
|
||||
|
||||
message AbilityMixinWindZone {
|
||||
repeated uint32 entity_ids = 13;
|
||||
repeated uint32 zone_id_list = 10;
|
||||
}
|
||||
|
||||
message AbilityMixinCostStamina {
|
||||
bool is_swim = 3;
|
||||
}
|
||||
|
||||
message AbilityMixinEliteShield {
|
||||
float sub_shield = 2;
|
||||
}
|
||||
|
||||
message AbilityMixinElementShield {
|
||||
float sub_shield = 10;
|
||||
float shield = 8;
|
||||
uint32 absorb_type = 1;
|
||||
uint32 player_num = 4;
|
||||
bool is_shield_broken = 9;
|
||||
float max_shield = 12;
|
||||
}
|
||||
|
||||
message AbilityMixinGlobalShield {
|
||||
bool is_create_effect = 4;
|
||||
float sub_shield = 7;
|
||||
float height_offset = 5;
|
||||
uint32 avatar_id = 11;
|
||||
float max_shield = 10;
|
||||
string shield_effect_name = 2;
|
||||
}
|
||||
|
||||
message AbilityMixinShieldBar {
|
||||
uint32 player_num = 14;
|
||||
float max_shield = 15;
|
||||
float shield = 12;
|
||||
uint32 element_type = 13;
|
||||
}
|
||||
|
||||
message AbilityMixinWindSeedSpawner {
|
||||
message AddSignal {
|
||||
}
|
||||
|
||||
message RefreshSeed {
|
||||
repeated Vector pos_list = 6;
|
||||
}
|
||||
|
||||
message CatchSeed {
|
||||
uint32 entity_id = 8;
|
||||
}
|
||||
|
||||
oneof cmd {
|
||||
AddSignal add_signal = 2;
|
||||
RefreshSeed refresh_seed = 15;
|
||||
CatchSeed catch_seed = 11;
|
||||
}
|
||||
}
|
||||
|
||||
message AbilityMixinDoActionByElementReaction {
|
||||
uint32 target_entity_id = 1;
|
||||
}
|
||||
|
||||
message AbilityMixinFieldEntityCountChange {
|
||||
uint32 field_entity_count = 14;
|
||||
}
|
||||
|
||||
message AbilityMixinScenePropSync {
|
||||
repeated int64 delete_id_list = 5;
|
||||
bool is_clear_all = 12;
|
||||
repeated MassivePropSyncInfo massive_prop_list = 15;
|
||||
}
|
||||
|
||||
message AbilityMixinWidgetMpSupport {
|
||||
uint32 target_entity_id = 9;
|
||||
}
|
||||
|
||||
message AbilityMixinDoActionBySelfModifierElementDurabilityRatio {
|
||||
float last_duability_ratio = 9;
|
||||
}
|
||||
|
||||
message AbilityMixinFireworksLauncher {
|
||||
uint32 invoke_type = 2;
|
||||
uint32 start_count_down_time = 3;
|
||||
uint32 fired_bullet_count = 1;
|
||||
uint32 phase = 6;
|
||||
repeated uint32 fireworks_config = 4;
|
||||
uint32 turn_index = 7;
|
||||
}
|
||||
|
||||
message AbilityMixinUGCTimeControl {
|
||||
uint64 start_move_time_ms = 13;
|
||||
uint32 start_move_time = 3;
|
||||
}
|
||||
|
||||
message AbilityMixinUIInteract {
|
||||
}
|
||||
|
||||
message AbilityMixinAvatarCombat {
|
||||
bool is_enter_combat = 9;
|
||||
}
|
||||
|
||||
message AbilityMixinShootFromCamera {
|
||||
Vector init_pos = 13;
|
||||
Vector forward = 2;
|
||||
}
|
||||
|
||||
message AbilityMixinEraseBrickActivity {
|
||||
repeated uint32 data = 6;
|
||||
}
|
||||
|
||||
message BreakoutSyncCreateConnect {
|
||||
repeated BreakoutSyncConnectUidInfo uid_info_list = 1;
|
||||
}
|
||||
|
||||
message BreakoutSyncPing {
|
||||
uint64 client_game_time = 2;
|
||||
uint64 server_game_time = 11;
|
||||
}
|
||||
|
||||
message BreakoutSyncFinishGame {
|
||||
bool is_win = 13;
|
||||
bool is_stop_gallery = 15;
|
||||
uint64 server_game_time = 9;
|
||||
}
|
||||
|
||||
message BreakoutSyncSnapShot {
|
||||
BreakoutSnapShot snap_shot = 9;
|
||||
}
|
||||
|
||||
message BreakoutSyncAction {
|
||||
BreakoutAction action = 1;
|
||||
}
|
||||
|
||||
message AbilityMixinBreakout {
|
||||
enum SyncType {
|
||||
SYNC_TYPE_NONE = 0;
|
||||
SYNC_TYPE_CREATE_CONNECT = 1;
|
||||
SYNC_TYPE_START_GAME = 2;
|
||||
SYNC_TYPE_PING = 3;
|
||||
SYNC_TYPE_FINISH_GAME = 4;
|
||||
SYNC_TYPE_SNAP_SHOT = 5;
|
||||
SYNC_TYPE_ACTION = 6;
|
||||
}
|
||||
|
||||
SyncType sync_type = 8;
|
||||
int32 retcode = 2;
|
||||
oneof sync {
|
||||
BreakoutSyncCreateConnect sync_create_connect = 4;
|
||||
BreakoutSyncPing sync_ping = 7;
|
||||
BreakoutSyncFinishGame sync_finish_game = 6;
|
||||
BreakoutSyncSnapShot sync_snap_shot = 12;
|
||||
BreakoutSyncAction sync_action = 9;
|
||||
}
|
||||
}
|
||||
|
||||
message AttackResultCreateCount {
|
||||
repeated uint32 create_count_list = 10;
|
||||
repeated uint32 create_count_no_cost_list = 7;
|
||||
}
|
||||
|
||||
message ClientAbilityInitBeginNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1112;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 1;
|
||||
}
|
||||
|
||||
message ClientAbilityInitFinishNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1135;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated AbilityInvokeEntry invokes = 14;
|
||||
uint32 entity_id = 11;
|
||||
}
|
||||
|
||||
message AbilityInvocationFailNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1107;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string reason = 7;
|
||||
uint32 entity_id = 13;
|
||||
AbilityInvokeEntry invoke = 3;
|
||||
}
|
||||
|
||||
message EntityAbilityInvokeEntry {
|
||||
uint32 entity_id = 8;
|
||||
repeated AbilityInvokeEntry invokes = 1;
|
||||
}
|
||||
|
||||
message ClientAbilitiesInitFinishCombineNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1103;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated EntityAbilityInvokeEntry entity_invoke_list = 1;
|
||||
}
|
||||
|
||||
message WindSeedClientNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1199;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
message RefreshNotify {
|
||||
uint32 refresh_num = 9;
|
||||
}
|
||||
|
||||
message AddWindBulletNotify {
|
||||
Vector seed_pos = 6;
|
||||
uint32 catch_player_uid = 8;
|
||||
uint32 seed_entity_id = 7;
|
||||
}
|
||||
|
||||
message AreaNotify {
|
||||
bytes area_code = 5;
|
||||
uint32 area_id = 10;
|
||||
uint32 area_type = 7;
|
||||
}
|
||||
|
||||
oneof notify {
|
||||
RefreshNotify refresh_notify = 14;
|
||||
AddWindBulletNotify add_wind_bullet_notify = 6;
|
||||
AreaNotify area_notify = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message AbilityChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1131;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 1;
|
||||
AbilityControlBlock ability_control_block = 15;
|
||||
}
|
||||
|
||||
message ClientAbilityChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1175;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_init_hash = 9;
|
||||
uint32 entity_id = 2;
|
||||
repeated AbilityInvokeEntry invokes = 3;
|
||||
}
|
||||
|
||||
message ServerUpdateGlobalValueNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1148;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum UpdateType {
|
||||
INVALUE = 0;
|
||||
ADD = 1;
|
||||
SET = 2;
|
||||
}
|
||||
|
||||
uint32 entity_id = 9;
|
||||
UpdateType update_type = 13;
|
||||
float delta = 3;
|
||||
uint32 key_hash = 10;
|
||||
float value = 6;
|
||||
}
|
||||
|
||||
message ServerGlobalValueChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1197;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 6;
|
||||
float value = 12;
|
||||
uint32 key_hash = 13;
|
||||
}
|
||||
|
||||
message ClientAIStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1181;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 9;
|
||||
uint32 cur_tactic = 15;
|
||||
}
|
||||
|
||||
message ServerCombatEndNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1105;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 combat_end_type_list = 14;
|
||||
}
|
||||
|
||||
message ClientRemoveCombatEndModifierNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1182;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 combat_end_type_list = 7;
|
||||
}
|
||||
|
||||
message PerformOperationNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1147;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum OperateType {
|
||||
OPERATE_TYPE_NONE = 0;
|
||||
OPERATE_TYPE_EFFECT = 1;
|
||||
}
|
||||
|
||||
uint32 index = 9;
|
||||
Vector pos = 7;
|
||||
Vector rot = 10;
|
||||
OperateType operate_type = 3;
|
||||
uint32 entity_id = 13;
|
||||
}
|
||||
101
protocol/proto_hk4e/cmd/cmd_achievement.proto
Normal file
101
protocol/proto_hk4e/cmd/cmd_achievement.proto
Normal file
@@ -0,0 +1,101 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message Achievement {
|
||||
enum Status {
|
||||
INVALID = 0;
|
||||
UNFINISHED = 1;
|
||||
FINISHED = 2;
|
||||
REWARD_TAKEN = 3;
|
||||
}
|
||||
|
||||
uint32 finish_timestamp = 11;
|
||||
Status status = 13;
|
||||
uint32 cur_progress = 12;
|
||||
uint32 id = 14;
|
||||
uint32 total_progress = 8;
|
||||
}
|
||||
|
||||
message AchievementAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2676;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Achievement achievement_list = 4;
|
||||
repeated uint32 reward_taken_goal_id_list = 2;
|
||||
}
|
||||
|
||||
message AchievementUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2668;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Achievement achievement_list = 14;
|
||||
}
|
||||
|
||||
message TakeAchievementRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2675;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 id_list = 13;
|
||||
}
|
||||
|
||||
message TakeAchievementRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2657;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 id_list = 7;
|
||||
repeated ItemParam item_list = 10;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message TakeAchievementGoalRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2652;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 id_list = 5;
|
||||
}
|
||||
|
||||
message TakeAchievementGoalRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2681;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
repeated uint32 id_list = 12;
|
||||
repeated ItemParam item_list = 5;
|
||||
}
|
||||
9988
protocol/proto_hk4e/cmd/cmd_activity.proto
Normal file
9988
protocol/proto_hk4e/cmd/cmd_activity.proto
Normal file
File diff suppressed because it is too large
Load Diff
68
protocol/proto_hk4e/cmd/cmd_aranara_collection.proto
Normal file
68
protocol/proto_hk4e/cmd/cmd_aranara_collection.proto
Normal file
@@ -0,0 +1,68 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message AranaraCollectionSuite {
|
||||
map<uint32, AranaraCollectionState> collection_id_state_map = 6;
|
||||
uint32 collection_type = 12;
|
||||
}
|
||||
|
||||
message AranaraCollectionDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6376;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated AranaraCollectionSuite collection_suite_list = 14;
|
||||
}
|
||||
|
||||
message AddAranaraCollectionNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6368;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 collection_type = 7;
|
||||
AranaraCollectionState target_state = 12;
|
||||
AranaraCollectionState from_state = 15;
|
||||
uint32 collection_id = 8;
|
||||
}
|
||||
|
||||
message CataLogGlobalWatcherFinishedData {
|
||||
repeated uint32 finished_global_watcher_list = 8;
|
||||
uint32 catalog_type = 13;
|
||||
}
|
||||
|
||||
message CataLogFinishedGlobalWatcherAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6370;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated CataLogGlobalWatcherFinishedData finished_global_watcher_data_list = 13;
|
||||
}
|
||||
|
||||
message CataLogNewFinishedGlobalWatcherNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6395;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated CataLogGlobalWatcherFinishedData new_finished_global_watcher_data_list = 2;
|
||||
}
|
||||
949
protocol/proto_hk4e/cmd/cmd_avatar.proto
Normal file
949
protocol/proto_hk4e/cmd/cmd_avatar.proto
Normal file
@@ -0,0 +1,949 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message AvatarAddNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1769;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
AvatarInfo avatar = 13;
|
||||
bool is_in_team = 12;
|
||||
}
|
||||
|
||||
message AvatarDelNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1773;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint64 avatar_guid_list = 13;
|
||||
}
|
||||
|
||||
message AvatarTeam {
|
||||
repeated uint64 avatar_guid_list = 7;
|
||||
string team_name = 14;
|
||||
}
|
||||
|
||||
message SetUpAvatarTeamReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1690;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 team_id = 3;
|
||||
repeated uint64 avatar_team_guid_list = 7;
|
||||
uint64 cur_avatar_guid = 5;
|
||||
}
|
||||
|
||||
message SetUpAvatarTeamRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1646;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint64 avatar_team_guid_list = 1;
|
||||
uint32 team_id = 6;
|
||||
int32 retcode = 8;
|
||||
uint64 cur_avatar_guid = 13;
|
||||
}
|
||||
|
||||
message ChooseCurAvatarTeamReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1796;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 team_id = 9;
|
||||
}
|
||||
|
||||
message ChooseCurAvatarTeamRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1661;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_team_id = 1;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message ChangeAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1640;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector move_pos = 15;
|
||||
uint32 skill_id = 2;
|
||||
uint64 guid = 7;
|
||||
bool is_move = 10;
|
||||
}
|
||||
|
||||
message ChangeAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1607;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 skill_id = 3;
|
||||
int32 retcode = 10;
|
||||
uint64 cur_guid = 4;
|
||||
}
|
||||
|
||||
message AvatarPromoteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1664;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 guid = 5;
|
||||
}
|
||||
|
||||
message AvatarPromoteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1639;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 guid = 11;
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message SpringUseReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1748;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 guid = 11;
|
||||
}
|
||||
|
||||
message SpringUseRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1642;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 guid = 3;
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message RefreshBackgroundAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1743;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message RefreshBackgroundAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1800;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint64, uint32> hp_full_time_map = 15;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message AvatarTeamUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1706;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, AvatarTeam> avatar_team_map = 2;
|
||||
repeated uint64 temp_avatar_guid_list = 13;
|
||||
}
|
||||
|
||||
message AvatarDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1633;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 backup_avatar_team_order_list = 9;
|
||||
repeated uint64 temp_avatar_guid_list = 12;
|
||||
repeated AvatarInfo avatar_list = 6;
|
||||
uint32 cur_avatar_team_id = 2;
|
||||
repeated AvatarRenameInfo avatar_rename_list = 4;
|
||||
repeated uint32 owned_flycloak_list = 1;
|
||||
repeated uint32 owned_costume_list = 11;
|
||||
map<uint32, AvatarTeam> avatar_team_map = 7;
|
||||
uint64 choose_avatar_guid = 8;
|
||||
}
|
||||
|
||||
message AvatarUpgradeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1770;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 6;
|
||||
uint32 count = 2;
|
||||
uint32 item_id = 5;
|
||||
}
|
||||
|
||||
message AvatarUpgradeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1701;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_level = 6;
|
||||
uint32 old_level = 13;
|
||||
map<uint32, float> old_fight_prop_map = 10;
|
||||
int32 retcode = 1;
|
||||
map<uint32, float> cur_fight_prop_map = 4;
|
||||
uint64 avatar_guid = 15;
|
||||
}
|
||||
|
||||
message AvatarDieAnimationEndReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1610;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector reborn_pos = 3;
|
||||
uint64 die_guid = 7;
|
||||
uint32 skill_id = 8;
|
||||
}
|
||||
|
||||
message AvatarDieAnimationEndRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1694;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 skill_id = 13;
|
||||
int32 retcode = 14;
|
||||
uint64 die_guid = 15;
|
||||
}
|
||||
|
||||
message AvatarChangeElementTypeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1785;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 scene_id = 7;
|
||||
uint32 area_id = 3;
|
||||
}
|
||||
|
||||
message AvatarChangeElementTypeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1651;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 13;
|
||||
}
|
||||
|
||||
message AvatarFetterDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1782;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint64, AvatarFetterInfo> fetter_info_map = 15;
|
||||
}
|
||||
|
||||
message AvatarExpeditionDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1771;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 6;
|
||||
}
|
||||
|
||||
message AvatarExpeditionAllDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1722;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message AvatarExpeditionAllDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1648;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 open_expedition_list = 3;
|
||||
int32 retcode = 15;
|
||||
uint32 expedition_count_limit = 12;
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 4;
|
||||
}
|
||||
|
||||
message AvatarExpeditionStartReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1715;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 exp_id = 9;
|
||||
uint64 avatar_guid = 10;
|
||||
uint32 hour_time = 2;
|
||||
}
|
||||
|
||||
message AvatarExpeditionStartRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1719;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message AvatarExpeditionCallBackReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1752;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint64 avatar_guid = 13;
|
||||
}
|
||||
|
||||
message AvatarExpeditionCallBackRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1726;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 9;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message AvatarExpeditionGetRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1623;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 14;
|
||||
}
|
||||
|
||||
message AvatarExpeditionGetRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1784;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam extra_item_list = 9;
|
||||
repeated ItemParam item_list = 8;
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 12;
|
||||
int32 retcode = 2;
|
||||
}
|
||||
|
||||
message ChangeMpTeamAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1708;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 cur_avatar_guid = 4;
|
||||
repeated uint64 avatar_guid_list = 8;
|
||||
}
|
||||
|
||||
message ChangeMpTeamAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1753;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
repeated uint64 avatar_guid_list = 3;
|
||||
uint64 cur_avatar_guid = 13;
|
||||
}
|
||||
|
||||
message ChangeTeamNameReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1603;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 team_id = 8;
|
||||
string team_name = 9;
|
||||
}
|
||||
|
||||
message ChangeTeamNameRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1666;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
string team_name = 2;
|
||||
int32 team_id = 4;
|
||||
}
|
||||
|
||||
message SceneTeamAvatar {
|
||||
AbilitySyncStateInfo avatar_ability_info = 5;
|
||||
AvatarInfo avatar_info = 8;
|
||||
bool is_on_scene = 152;
|
||||
uint32 entity_id = 9;
|
||||
uint64 avatar_guid = 15;
|
||||
uint32 scene_id = 1;
|
||||
uint32 weapon_entity_id = 7;
|
||||
SceneAvatarInfo scene_avatar_info = 3;
|
||||
uint64 weapon_guid = 4;
|
||||
AbilitySyncStateInfo weapon_ability_info = 11;
|
||||
SceneEntityInfo scene_entity_info = 12;
|
||||
uint32 player_uid = 14;
|
||||
bool is_reconnect = 6;
|
||||
AbilityControlBlock ability_control_block = 2;
|
||||
bool is_player_cur_avatar = 13;
|
||||
repeated ServerBuff server_buff_list = 10;
|
||||
}
|
||||
|
||||
message SceneTeamUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1775;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated SceneTeamAvatar scene_team_avatar_list = 11;
|
||||
bool is_in_mp = 15;
|
||||
}
|
||||
|
||||
message FocusAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1654;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 1;
|
||||
bool is_focus = 8;
|
||||
}
|
||||
|
||||
message FocusAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1681;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
bool is_focus = 11;
|
||||
uint64 avatar_guid = 4;
|
||||
}
|
||||
|
||||
message AvatarSatiationData {
|
||||
float finish_time = 14;
|
||||
uint64 avatar_guid = 13;
|
||||
float penalty_finish_time = 12;
|
||||
}
|
||||
|
||||
message AvatarSatiationDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1693;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated AvatarSatiationData satiation_data_list = 6;
|
||||
}
|
||||
|
||||
message AvatarWearFlycloakReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1737;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 11;
|
||||
uint32 flycloak_id = 13;
|
||||
}
|
||||
|
||||
message AvatarWearFlycloakRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1698;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 flycloak_id = 13;
|
||||
uint64 avatar_guid = 7;
|
||||
int32 retcode = 6;
|
||||
}
|
||||
|
||||
message AvatarFlycloakChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1643;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 flycloak_id = 8;
|
||||
uint64 avatar_guid = 2;
|
||||
}
|
||||
|
||||
message AvatarGainFlycloakNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1656;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 flycloak_id = 3;
|
||||
}
|
||||
|
||||
message AvatarEquipAffixStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1662;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 4;
|
||||
AvatarEquipAffixInfo equip_affix_info = 12;
|
||||
}
|
||||
|
||||
message AvatarFetterLevelRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1653;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 1;
|
||||
uint32 fetter_level = 6;
|
||||
}
|
||||
|
||||
message AvatarFetterLevelRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1606;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 4;
|
||||
uint32 reward_id = 1;
|
||||
int32 retcode = 13;
|
||||
uint32 fetter_level = 14;
|
||||
}
|
||||
|
||||
message AddNoGachaAvatarCardTransferItem {
|
||||
uint32 count = 9;
|
||||
uint32 item_id = 6;
|
||||
bool is_new = 15;
|
||||
}
|
||||
|
||||
message AddNoGachaAvatarCardNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1655;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated AddNoGachaAvatarCardTransferItem transfer_item_list = 4;
|
||||
uint32 initial_promote_level = 2;
|
||||
uint32 avatar_id = 8;
|
||||
bool is_transfer_to_item = 6;
|
||||
uint32 reason = 9;
|
||||
uint32 initial_level = 10;
|
||||
uint32 item_id = 14;
|
||||
}
|
||||
|
||||
message AvatarPromoteGetRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1696;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 7;
|
||||
uint32 promote_level = 12;
|
||||
}
|
||||
|
||||
message AvatarPromoteGetRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1683;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
uint32 reward_id = 15;
|
||||
uint64 avatar_guid = 11;
|
||||
uint32 promote_level = 12;
|
||||
}
|
||||
|
||||
message AvatarChangeCostumeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1778;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 costume_id = 4;
|
||||
uint64 avatar_guid = 2;
|
||||
}
|
||||
|
||||
message AvatarChangeCostumeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1645;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 12;
|
||||
int32 retcode = 7;
|
||||
uint32 costume_id = 13;
|
||||
}
|
||||
|
||||
message AvatarChangeCostumeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1644;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
SceneEntityInfo entity_info = 7;
|
||||
}
|
||||
|
||||
message AvatarGainCostumeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1677;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 costume_id = 15;
|
||||
}
|
||||
|
||||
message AvatarChangeAnimHashReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1711;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 anim_hash = 6;
|
||||
uint64 avatar_guid = 3;
|
||||
}
|
||||
|
||||
message AvatarChangeAnimHashRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1647;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 anim_hash = 13;
|
||||
int32 retcode = 5;
|
||||
uint64 avatar_guid = 10;
|
||||
}
|
||||
|
||||
message PersistentDungeonSwitchAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1684;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 cur_avatar_guid = 8;
|
||||
repeated uint64 avatar_team_guid_list = 3;
|
||||
}
|
||||
|
||||
message PersistentDungeonSwitchAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1768;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint64 avatar_team_guid_list = 14;
|
||||
int32 retcode = 7;
|
||||
uint64 cur_avatar_guid = 15;
|
||||
}
|
||||
|
||||
message AddBackupAvatarTeamReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1687;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message AddBackupAvatarTeamRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1735;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message DelBackupAvatarTeamReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1731;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 backup_avatar_team_id = 4;
|
||||
}
|
||||
|
||||
message DelBackupAvatarTeamRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1729;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 backup_avatar_team_id = 15;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message AvatarTeamAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1749;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint64 temp_avatar_guid_list = 6;
|
||||
map<uint32, AvatarTeam> avatar_team_map = 3;
|
||||
repeated uint32 backup_avatar_team_order_list = 1;
|
||||
}
|
||||
|
||||
message AvatarRenameInfo {
|
||||
string avatar_name = 3;
|
||||
uint32 avatar_id = 12;
|
||||
}
|
||||
|
||||
message AvatarRenameInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1680;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated AvatarRenameInfo avatar_rename_list = 8;
|
||||
}
|
||||
|
||||
message ItemRenameAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1750;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 rename_id = 2;
|
||||
string avatar_name = 3;
|
||||
}
|
||||
|
||||
message ItemRenameAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1635;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 rename_id = 15;
|
||||
uint32 cd_time = 2;
|
||||
int32 retcode = 9;
|
||||
}
|
||||
268
protocol/proto_hk4e/cmd/cmd_battle_pass.proto
Normal file
268
protocol/proto_hk4e/cmd/cmd_battle_pass.proto
Normal file
@@ -0,0 +1,268 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum BattlePassUnlockStatus {
|
||||
BATTLE_PASS_UNLOCK_INVALID = 0;
|
||||
BATTLE_PASS_UNLOCK_FREE = 1;
|
||||
BATTLE_PASS_UNLOCK_PAID = 2;
|
||||
}
|
||||
|
||||
message BattlePassCycle {
|
||||
uint32 cycle_idx = 3;
|
||||
uint32 end_time = 10;
|
||||
uint32 begin_time = 13;
|
||||
}
|
||||
|
||||
message BattlePassMission {
|
||||
enum MissionStatus {
|
||||
MISSION_INVALID = 0;
|
||||
MISSION_UNFINISHED = 1;
|
||||
MISSION_FINISHED = 2;
|
||||
MISSION_POINT_TAKEN = 3;
|
||||
}
|
||||
|
||||
uint32 cur_progress = 13;
|
||||
MissionStatus mission_status = 15;
|
||||
uint32 mission_id = 11;
|
||||
uint32 reward_battle_pass_point = 3;
|
||||
uint32 mission_type = 12;
|
||||
uint32 total_progress = 6;
|
||||
}
|
||||
|
||||
message BattlePassRewardTag {
|
||||
uint32 level = 4;
|
||||
BattlePassUnlockStatus unlock_status = 2;
|
||||
uint32 reward_id = 7;
|
||||
}
|
||||
|
||||
message BattlePassProduct {
|
||||
string normal_product_id = 13;
|
||||
string extra_product_id = 10;
|
||||
string upgrade_product_id = 6;
|
||||
}
|
||||
|
||||
message BattlePassSchedule {
|
||||
uint32 level = 14;
|
||||
uint32 begin_time = 2;
|
||||
uint32 end_time = 15;
|
||||
uint32 point = 1;
|
||||
BattlePassCycle cur_cycle = 4;
|
||||
BattlePassUnlockStatus unlock_status = 7;
|
||||
repeated BattlePassRewardTag reward_taken_list = 11;
|
||||
uint32 cur_cycle_points = 10;
|
||||
uint32 paid_platform_flags = 12;
|
||||
BattlePassProduct product_info = 13;
|
||||
bool is_extra_paid_reward_taken = 6;
|
||||
bool is_viewed = 3;
|
||||
uint32 schedule_id = 9;
|
||||
}
|
||||
|
||||
message BattlePassAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2626;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool have_cur_schedule = 2;
|
||||
repeated BattlePassMission mission_list = 4;
|
||||
BattlePassSchedule cur_schedule = 1;
|
||||
}
|
||||
|
||||
message BattlePassMissionUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2618;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated BattlePassMission mission_list = 1;
|
||||
}
|
||||
|
||||
message BattlePassMissionDelNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2625;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 del_mission_id_list = 10;
|
||||
}
|
||||
|
||||
message BattlePassCurScheduleUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2607;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool have_cur_schedule = 11;
|
||||
BattlePassSchedule cur_schedule = 1;
|
||||
}
|
||||
|
||||
message BattlePassRewardTakeOption {
|
||||
BattlePassRewardTag tag = 10;
|
||||
uint32 option_idx = 14;
|
||||
}
|
||||
|
||||
message TakeBattlePassRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2602;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated BattlePassRewardTakeOption take_option_list = 12;
|
||||
}
|
||||
|
||||
message TakeBattlePassRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2631;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam item_list = 7;
|
||||
int32 retcode = 13;
|
||||
repeated BattlePassRewardTakeOption take_option_list = 9;
|
||||
}
|
||||
|
||||
message TakeBattlePassMissionPointReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2629;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 mission_id_list = 5;
|
||||
}
|
||||
|
||||
message TakeBattlePassMissionPointRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2622;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
repeated uint32 mission_id_list = 11;
|
||||
}
|
||||
|
||||
message GetBattlePassProductReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2644;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 battle_pass_product_play_type = 10;
|
||||
}
|
||||
|
||||
message GetBattlePassProductRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2649;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
string price_tier = 6;
|
||||
uint32 battle_pass_product_play_type = 2;
|
||||
string product_id = 1;
|
||||
uint32 cur_schedule_id = 11;
|
||||
}
|
||||
|
||||
message SetBattlePassViewedReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2641;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 schedule_id = 6;
|
||||
}
|
||||
|
||||
message SetBattlePassViewedRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2642;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 schedule_id = 2;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message BattlePassBuySuccNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2614;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 schedule_id = 4;
|
||||
uint32 product_play_type = 11;
|
||||
uint32 add_point = 12;
|
||||
repeated ItemParam item_list = 9;
|
||||
}
|
||||
|
||||
message BuyBattlePassLevelReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2647;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 buy_level = 8;
|
||||
}
|
||||
|
||||
message BuyBattlePassLevelRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2637;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
uint32 buy_level = 13;
|
||||
}
|
||||
130
protocol/proto_hk4e/cmd/cmd_blossom.proto
Normal file
130
protocol/proto_hk4e/cmd/cmd_blossom.proto
Normal file
@@ -0,0 +1,130 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum BlossomScheduleState {
|
||||
BLOSSOM_SCHEDULE_NONE = 0;
|
||||
BLOSSOM_SCHEDULE_INIT = 1;
|
||||
BLOSSOM_SCHEDULE_IN_PROGRESS = 2;
|
||||
BLOSSOM_SCHEDULE_REWARD = 3;
|
||||
}
|
||||
|
||||
message BlossomBriefInfo {
|
||||
uint32 refresh_id = 13;
|
||||
uint32 reward_id = 5;
|
||||
uint32 city_id = 10;
|
||||
uint32 resin = 11;
|
||||
uint32 state = 7;
|
||||
bool is_guide_opened = 1;
|
||||
uint32 monster_level = 8;
|
||||
uint32 circle_camp_id = 15;
|
||||
Vector pos = 12;
|
||||
uint32 scene_id = 9;
|
||||
}
|
||||
|
||||
message GetBlossomBriefInfoListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2772;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 city_id_list = 4;
|
||||
}
|
||||
|
||||
message GetBlossomBriefInfoListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2798;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
repeated BlossomBriefInfo brief_info_list = 11;
|
||||
}
|
||||
|
||||
message BlossomBriefInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2712;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated BlossomBriefInfo brief_info_list = 4;
|
||||
}
|
||||
|
||||
message WorldOwnerBlossomBriefInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2735;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated BlossomBriefInfo brief_info_list = 13;
|
||||
}
|
||||
|
||||
message BlossomScheduleInfo {
|
||||
uint32 progress = 13;
|
||||
uint32 state = 10;
|
||||
uint32 round = 4;
|
||||
uint32 circle_camp_id = 15;
|
||||
uint32 refresh_id = 6;
|
||||
uint32 finish_progress = 14;
|
||||
}
|
||||
|
||||
message WorldOwnerBlossomScheduleInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2707;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
BlossomScheduleInfo schedule_info = 3;
|
||||
}
|
||||
|
||||
message BlossomChestCreateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2721;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 refresh_id = 1;
|
||||
uint32 circle_camp_id = 10;
|
||||
}
|
||||
|
||||
message OpenBlossomCircleCampGuideNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2703;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 refresh_id = 7;
|
||||
repeated uint32 circle_camp_id_list = 11;
|
||||
}
|
||||
188
protocol/proto_hk4e/cmd/cmd_chat.proto
Normal file
188
protocol/proto_hk4e/cmd/cmd_chat.proto
Normal file
@@ -0,0 +1,188 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
import "cmd/cmd_scene.proto";
|
||||
|
||||
message PrivateChatReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5022;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 7;
|
||||
oneof content {
|
||||
string text = 3;
|
||||
uint32 icon = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message PrivateChatRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5048;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 chat_forbidden_endtime = 12;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message PrivateChatNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4962;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ChatInfo chat_info = 7;
|
||||
}
|
||||
|
||||
message PullPrivateChatReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4971;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 5;
|
||||
uint32 pull_num = 7;
|
||||
uint32 from_sequence = 12;
|
||||
}
|
||||
|
||||
message PullPrivateChatRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4953;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ChatInfo chat_info = 15;
|
||||
int32 retcode = 11;
|
||||
}
|
||||
|
||||
message PullRecentChatReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5040;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 pull_num = 6;
|
||||
uint32 begin_sequence = 15;
|
||||
}
|
||||
|
||||
message PullRecentChatRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5023;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ChatInfo chat_info = 15;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message ReadPrivateChatReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5049;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 1;
|
||||
}
|
||||
|
||||
message ReadPrivateChatRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4981;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message ChatChannelUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5025;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 channel_id = 3;
|
||||
bool is_create = 15;
|
||||
ChatChannelInfo channel_info = 14;
|
||||
}
|
||||
|
||||
message ChatChannelInfo {
|
||||
bool is_shield = 15;
|
||||
uint32 channel_id = 8;
|
||||
}
|
||||
|
||||
message ChatChannelDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4998;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 channel_list = 3;
|
||||
repeated ChatChannelInfo channel_info_list = 7;
|
||||
}
|
||||
|
||||
message ChatChannelShieldNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5047;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_shield = 5;
|
||||
uint32 channel_id = 14;
|
||||
}
|
||||
|
||||
message ChatChannelInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5031;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ChatChannelInfo channel_info = 2;
|
||||
}
|
||||
128
protocol/proto_hk4e/cmd/cmd_codex.proto
Normal file
128
protocol/proto_hk4e/cmd/cmd_codex.proto
Normal file
@@ -0,0 +1,128 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message CodexTypeData {
|
||||
repeated uint32 codex_id_list = 14;
|
||||
map<uint32, uint32> weapon_max_promote_level_map = 4;
|
||||
CodexType type = 13;
|
||||
repeated bool have_viewed_list = 5;
|
||||
}
|
||||
|
||||
message CodexDataFullNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4205;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 last_read_pushtips_codex_id = 4;
|
||||
repeated uint32 recent_viewed_pushtips_list = 2;
|
||||
uint32 last_read_pushtips_type_id = 3;
|
||||
repeated CodexTypeData type_data_list = 6;
|
||||
}
|
||||
|
||||
message CodexDataUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4207;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 id = 8;
|
||||
uint32 weapon_max_promote_level = 15;
|
||||
CodexType type = 11;
|
||||
}
|
||||
|
||||
message QueryCodexMonsterBeKilledNumReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4203;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 codex_id_list = 14;
|
||||
}
|
||||
|
||||
message QueryCodexMonsterBeKilledNumRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4209;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 codex_id_list = 4;
|
||||
repeated uint32 be_captured_num_list = 6;
|
||||
repeated uint32 be_killed_num_list = 12;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message ViewCodexReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4202;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated CodexTypeData type_data_list = 10;
|
||||
}
|
||||
|
||||
message ViewCodexRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4201;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
repeated uint32 push_tips_reward_list = 10;
|
||||
repeated uint32 recent_viewed_pushtips_list = 3;
|
||||
repeated CodexTypeData type_data_list = 9;
|
||||
repeated uint32 push_tips_read_list = 15;
|
||||
}
|
||||
|
||||
message SetCodexPushtipsReadReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4208;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 type_id = 2;
|
||||
uint32 codex_id = 14;
|
||||
}
|
||||
|
||||
message SetCodexPushtipsReadRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4206;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
uint32 type_id = 5;
|
||||
uint32 codex_id = 14;
|
||||
}
|
||||
413
protocol/proto_hk4e/cmd/cmd_coop.proto
Normal file
413
protocol/proto_hk4e/cmd/cmd_coop.proto
Normal file
@@ -0,0 +1,413 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
message MainCoop {
|
||||
enum Status {
|
||||
INVALID = 0;
|
||||
RUNNING = 1;
|
||||
FINISHED = 2;
|
||||
}
|
||||
|
||||
map<uint32, uint32> seen_ending_map = 13;
|
||||
map<uint32, int32> normal_var_map = 4;
|
||||
uint32 self_confidence = 5;
|
||||
repeated uint32 save_point_id_list = 1;
|
||||
Status status = 6;
|
||||
map<uint32, int32> temp_var_map = 11;
|
||||
uint32 id = 9;
|
||||
}
|
||||
|
||||
message AllCoopInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1976;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated MainCoop main_coop_list = 14;
|
||||
}
|
||||
|
||||
message MainCoopUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1968;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated MainCoop main_coop_list = 5;
|
||||
}
|
||||
|
||||
message SaveMainCoopReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1975;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
map<uint32, int32> normal_var_map = 15;
|
||||
uint32 self_confidence = 2;
|
||||
uint32 save_point_id = 1;
|
||||
map<uint32, int32> temp_var_map = 8;
|
||||
uint32 id = 3;
|
||||
}
|
||||
|
||||
message SaveMainCoopRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1957;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 2;
|
||||
repeated uint32 save_point_id_list = 15;
|
||||
uint32 id = 14;
|
||||
}
|
||||
|
||||
message FinishMainCoopReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1952;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 id = 10;
|
||||
uint32 ending_save_point_id = 1;
|
||||
}
|
||||
|
||||
message FinishMainCoopRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1981;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 id = 2;
|
||||
uint32 ending_save_point_id = 6;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message CoopPoint {
|
||||
enum State {
|
||||
STATE_UNSTARTED = 0;
|
||||
STATE_STARTED = 1;
|
||||
STATE_FINISHED = 2;
|
||||
}
|
||||
|
||||
uint32 self_confidence = 15;
|
||||
State state = 10;
|
||||
uint32 id = 14;
|
||||
}
|
||||
|
||||
message CoopReward {
|
||||
enum State {
|
||||
STATE_UNLOCK = 0;
|
||||
STATE_LOCK = 1;
|
||||
STATE_TAKEN = 2;
|
||||
}
|
||||
|
||||
uint32 id = 5;
|
||||
State state = 6;
|
||||
}
|
||||
|
||||
message CoopCg {
|
||||
bool is_unlock = 14;
|
||||
uint32 id = 8;
|
||||
}
|
||||
|
||||
message CoopChapter {
|
||||
enum State {
|
||||
STATE_CLOSE = 0;
|
||||
STATE_COND_NOT_MEET = 1;
|
||||
STATE_COND_MEET = 2;
|
||||
STATE_ACCEPT = 3;
|
||||
}
|
||||
|
||||
repeated CoopCg coop_cg_list = 1;
|
||||
uint32 id = 2;
|
||||
repeated CoopPoint coop_point_list = 11;
|
||||
repeated uint32 finish_dialog_list = 10;
|
||||
uint32 finished_end_count = 14;
|
||||
uint32 total_end_count = 7;
|
||||
repeated CoopReward coop_reward_list = 5;
|
||||
repeated uint32 lock_reason_list = 12;
|
||||
State state = 4;
|
||||
map<uint32, uint32> seen_ending_map = 9;
|
||||
}
|
||||
|
||||
message CoopDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1979;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated CoopChapter chapter_list = 15;
|
||||
repeated uint32 viewed_chapter_list = 7;
|
||||
bool is_have_progress = 10;
|
||||
uint32 cur_coop_point = 5;
|
||||
}
|
||||
|
||||
message CoopChapterUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1972;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated CoopChapter chapter_list = 14;
|
||||
}
|
||||
|
||||
message CoopCgUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1994;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 cg_list = 13;
|
||||
}
|
||||
|
||||
message CoopRewardUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1999;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated CoopReward reward_list = 7;
|
||||
}
|
||||
|
||||
message UnlockCoopChapterReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1970;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 chapter_id = 3;
|
||||
}
|
||||
|
||||
message UnlockCoopChapterRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1995;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 chapter_id = 4;
|
||||
int32 retcode = 6;
|
||||
}
|
||||
|
||||
message CoopPointUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1991;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
CoopPoint coop_point = 13;
|
||||
}
|
||||
|
||||
message StartCoopPointReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1992;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 coop_point = 7;
|
||||
}
|
||||
|
||||
message StartCoopPointRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1964;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_start = 9;
|
||||
MainCoop start_main_coop = 15;
|
||||
uint32 coop_point = 13;
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message CancelCoopTaskReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1997;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 chapter_id = 13;
|
||||
}
|
||||
|
||||
message CancelCoopTaskRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1987;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 chapter_id = 1;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message TakeCoopRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1973;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 reward_config_id = 6;
|
||||
}
|
||||
|
||||
message TakeCoopRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1985;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
uint32 reward_config_id = 1;
|
||||
}
|
||||
|
||||
message CoopProgressUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1998;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_coop_point = 11;
|
||||
bool is_have_progress = 12;
|
||||
}
|
||||
|
||||
message SaveCoopDialogReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2000;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 main_coop_id = 11;
|
||||
uint32 dialog_id = 6;
|
||||
}
|
||||
|
||||
message SaveCoopDialogRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1962;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 dialog_id = 8;
|
||||
uint32 main_coop_id = 10;
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message CoopCgShowNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1983;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 cg_list = 10;
|
||||
}
|
||||
|
||||
message SetCoopChapterViewedReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1965;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 chapter_id = 2;
|
||||
}
|
||||
|
||||
message SetCoopChapterViewedRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1963;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 chapter_id = 11;
|
||||
int32 retcode = 2;
|
||||
}
|
||||
|
||||
message MainCoopFailNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1951;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string textmap_id = 7;
|
||||
uint32 chapter_id = 15;
|
||||
}
|
||||
585
protocol/proto_hk4e/cmd/cmd_custom_dungeon.proto
Normal file
585
protocol/proto_hk4e/cmd/cmd_custom_dungeon.proto
Normal file
@@ -0,0 +1,585 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
import "cmd/cmd_social.proto";
|
||||
|
||||
enum EnterCustomDungeonType {
|
||||
ENTER_CUSTOM_DUNGEON_NONE = 0;
|
||||
ENTER_CUSTOM_DUNGEON_EDIT = 1;
|
||||
ENTER_CUSTOM_DUNGEON_PLAY = 2;
|
||||
ENTER_CUSTOM_DUNGEON_OFFICIAL = 3;
|
||||
}
|
||||
|
||||
enum CustomDungeonState {
|
||||
CUSTOM_DUNGEON_STATE_EDIT = 0;
|
||||
CUSTOM_DUNGEON_STATE_SELF_PASS = 1;
|
||||
CUSTOM_DUNGEON_STATE_PUBLISHED = 2;
|
||||
}
|
||||
|
||||
enum CustomDungeonBanType {
|
||||
CUSTOM_DUNGEON_BAN_TYPE_NONE = 0;
|
||||
CUSTOM_DUNGEON_BAN_TYPE_LAYOUT = 1;
|
||||
}
|
||||
|
||||
enum TryCustomDungeonType {
|
||||
TRY_CUSTOM_DUNGEON_NONE = 0;
|
||||
TRY_CUSTOM_DUNGEON_ROOM = 1;
|
||||
TRY_CUSTOM_DUNGEON_ALL = 2;
|
||||
TRY_CUSTOM_DUNGEON_OFFICIAL_PLAY = 3;
|
||||
}
|
||||
|
||||
message CustomDungeonBlock {
|
||||
uint32 block_id = 8;
|
||||
Vector rot = 12;
|
||||
uint32 guid = 4;
|
||||
Vector pos = 1;
|
||||
}
|
||||
|
||||
message CustomDungeonRoom {
|
||||
uint32 room_id = 15;
|
||||
repeated CustomDungeonBlock block_list = 4;
|
||||
}
|
||||
|
||||
message CustomDungeonSetting {
|
||||
repeated uint32 open_room_list = 1;
|
||||
bool is_arrive_finish = 14;
|
||||
uint32 life_num = 6;
|
||||
uint32 start_room_id = 4;
|
||||
bool is_forbid_skill = 3;
|
||||
uint32 coin_limit = 10;
|
||||
uint32 time_limit = 9;
|
||||
}
|
||||
|
||||
message CustomDungeon {
|
||||
CustomDungeonSetting setting = 1;
|
||||
repeated CustomDungeonRoom room_list = 15;
|
||||
uint32 dungeon_id = 3;
|
||||
uint64 dungeon_guid = 10;
|
||||
}
|
||||
|
||||
message EnterCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6226;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 dungeon_guid = 11;
|
||||
uint32 dungeon_id = 12;
|
||||
EnterCustomDungeonType enter_type = 10;
|
||||
}
|
||||
|
||||
message EnterCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6218;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
CustomDungeon custom_dungeon = 14;
|
||||
EnterCustomDungeonType enter_type = 2;
|
||||
int32 retcode = 10;
|
||||
map<uint32, uint32> room_cost_map = 6;
|
||||
}
|
||||
|
||||
message SaveCustomDungeonRoomReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6225;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
CustomDungeonRoom custom_dungeon_room = 5;
|
||||
bool is_update_setting = 7;
|
||||
CustomDungeonSetting setting = 13;
|
||||
}
|
||||
|
||||
message SaveCustomDungeonRoomRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6207;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 room_id = 14;
|
||||
repeated CustomDungeonBlock error_block_list = 9;
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message CustomDungeonAbstract {
|
||||
map<uint32, uint32> brick_statistics_map = 12;
|
||||
uint32 first_publish_time = 3;
|
||||
uint32 total_coin_num = 15;
|
||||
uint32 last_publish_time = 6;
|
||||
uint32 finish_room_id = 7;
|
||||
}
|
||||
|
||||
message CustomDungeonSocial {
|
||||
uint32 win_num = 4;
|
||||
uint32 like_num = 12;
|
||||
uint32 play_num = 7;
|
||||
uint32 store_num = 2;
|
||||
}
|
||||
|
||||
message CustomDungeonBrief {
|
||||
CustomDungeonSetting setting = 2;
|
||||
bool is_psn_platform = 13;
|
||||
CustomDungeonSocial social = 7;
|
||||
uint64 dungeon_guid = 10;
|
||||
uint32 last_save_time = 14;
|
||||
repeated uint32 tag_list = 15;
|
||||
uint32 dungeon_id = 5;
|
||||
uint32 battle_min_cost_time = 12;
|
||||
CustomDungeonState state = 1;
|
||||
CustomDungeonAbstract abstract = 4;
|
||||
}
|
||||
|
||||
message OtherCustomDungeonBrief {
|
||||
SocialDetail creator_detail = 4;
|
||||
uint32 battle_min_cost_time = 15;
|
||||
CustomDungeonAbstract abstract = 2;
|
||||
uint64 dungeon_guid = 14;
|
||||
CustomDungeonSetting setting = 10;
|
||||
uint32 dungeon_id = 6;
|
||||
repeated uint32 tag_list = 1;
|
||||
bool is_adventure_dungeon = 11;
|
||||
bool is_psn_platform = 9;
|
||||
bool is_stored = 3;
|
||||
CustomDungeonSocial social = 12;
|
||||
}
|
||||
|
||||
message CustomDungeonBanInfo {
|
||||
CustomDungeonBanType ban_type = 11;
|
||||
uint32 expire_time = 6;
|
||||
uint64 dungeon_guid = 5;
|
||||
}
|
||||
|
||||
message ChangeCustomDungeonRoomReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6222;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 room_id = 4;
|
||||
}
|
||||
|
||||
message ChangeCustomDungeonRoomRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6244;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 room_id = 13;
|
||||
}
|
||||
|
||||
message RemoveCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6249;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 dungeon_guid = 14;
|
||||
}
|
||||
|
||||
message RemoveCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6220;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
uint64 dungeon_guid = 11;
|
||||
}
|
||||
|
||||
message TryCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6245;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 room_id = 13;
|
||||
}
|
||||
|
||||
message TryCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6241;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 room_id = 4;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message PublishCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6242;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 tag_list = 1;
|
||||
uint64 dungeon_guid = 5;
|
||||
}
|
||||
|
||||
message PublishCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6214;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 2;
|
||||
}
|
||||
|
||||
message ExitCustomDungeonTryReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6247;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ExitCustomDungeonTryRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6237;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message CustomDungeonUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6223;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
CustomDungeonBrief dungeon_brief = 12;
|
||||
}
|
||||
|
||||
message GetRecommendCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6235;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_refresh = 13;
|
||||
}
|
||||
|
||||
message GetRecommendCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6248;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated OtherCustomDungeonBrief custom_dungeon_list = 8;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message GetStoreCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6250;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetStoreCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6212;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 13;
|
||||
repeated OtherCustomDungeonBrief custom_dungeon_list = 7;
|
||||
}
|
||||
|
||||
message SearchCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6233;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string dungeon_code = 6;
|
||||
}
|
||||
|
||||
message SearchCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6215;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
OtherCustomDungeonBrief custom_dungeon_brief = 14;
|
||||
}
|
||||
|
||||
message StoreCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6213;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_cancel_store = 9;
|
||||
uint64 dungeon_guid = 11;
|
||||
}
|
||||
|
||||
message StoreCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6201;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message LikeCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6210;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_cancel_like = 5;
|
||||
uint64 dungeon_guid = 10;
|
||||
}
|
||||
|
||||
message LikeCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6219;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message GetCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6209;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6227;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
CustomDungeonBanInfo ban_info = 14;
|
||||
repeated CustomDungeonBrief brief_list = 5;
|
||||
}
|
||||
|
||||
message CustomDungeonRecoverNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6217;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
EnterCustomDungeonType enter_type = 14;
|
||||
TryCustomDungeonType try_type = 3;
|
||||
CustomDungeon custom_dungeon = 10;
|
||||
repeated uint32 official_black_coin_list = 12;
|
||||
}
|
||||
|
||||
message BackPlayCustomDungeonOfficialReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6203;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 room_id = 2;
|
||||
}
|
||||
|
||||
message BackPlayCustomDungeonOfficialRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6204;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message CustomDungeonOfficialNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6221;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
TryCustomDungeonType try_type = 9;
|
||||
repeated uint32 official_black_coin_list = 14;
|
||||
EnterCustomDungeonType enter_type = 15;
|
||||
}
|
||||
|
||||
message CustomDungeonVerify {
|
||||
uint64 dungeon_guid = 3;
|
||||
uint32 uid = 15;
|
||||
uint32 timestamp = 4;
|
||||
string region = 11;
|
||||
uint32 lang = 13;
|
||||
}
|
||||
|
||||
message ReplayCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6243;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ReplayCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6240;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message CustomDungeonBattleRecordNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6236;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 min_cost_time = 13;
|
||||
uint64 dungeon_guid = 12;
|
||||
}
|
||||
|
||||
message OutStuckCustomDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6211;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message OutStuckCustomDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6234;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
}
|
||||
186
protocol/proto_hk4e/cmd/cmd_draft.proto
Normal file
186
protocol/proto_hk4e/cmd/cmd_draft.proto
Normal file
@@ -0,0 +1,186 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum DraftInviteFailReason {
|
||||
DRAFT_FAIL_UNKNOWN = 0;
|
||||
DRAFT_ACTIVITY_NOT_OPEN = 1;
|
||||
DRAFT_ACTIVITY_PLAY_NOT_OPEN = 2;
|
||||
DRAFT_SCENE_NOT_MEET = 3;
|
||||
DRAFT_WORLD_NOT_MEET = 4;
|
||||
DRAFT_PLAY_LIMIT_NOT_MEET = 5;
|
||||
}
|
||||
|
||||
message DraftOwnerStartInviteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5412;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 draft_id = 14;
|
||||
}
|
||||
|
||||
message DraftInviteFailInfo {
|
||||
uint32 uid = 8;
|
||||
DraftInviteFailReason reason = 5;
|
||||
}
|
||||
|
||||
message DraftOwnerStartInviteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5435;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated DraftInviteFailInfo invite_fail_info_list = 15;
|
||||
int32 retcode = 9;
|
||||
uint32 wrong_uid = 3;
|
||||
uint32 draft_id = 14;
|
||||
}
|
||||
|
||||
message DraftOwnerInviteNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5407;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 draft_id = 4;
|
||||
uint32 invite_deadline_time = 15;
|
||||
}
|
||||
|
||||
message DraftGuestReplyInviteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5421;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 draft_id = 10;
|
||||
bool is_agree = 3;
|
||||
}
|
||||
|
||||
message DraftGuestReplyInviteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5403;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 draft_id = 3;
|
||||
int32 retcode = 1;
|
||||
bool is_agree = 10;
|
||||
}
|
||||
|
||||
message DraftGuestReplyInviteNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5490;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 draft_id = 5;
|
||||
bool is_agree = 9;
|
||||
uint32 guest_uid = 10;
|
||||
}
|
||||
|
||||
message DraftInviteResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5473;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_all_argee = 9;
|
||||
uint32 draft_id = 13;
|
||||
}
|
||||
|
||||
message DraftOwnerTwiceConfirmNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5499;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 twice_confirm_deadline_time = 15;
|
||||
uint32 draft_id = 14;
|
||||
}
|
||||
|
||||
message DraftGuestReplyTwiceConfirmReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5431;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_agree = 15;
|
||||
uint32 draft_id = 14;
|
||||
}
|
||||
|
||||
message DraftGuestReplyTwiceConfirmRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5475;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 draft_id = 5;
|
||||
bool is_agree = 13;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message DraftTwiceConfirmResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5448;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_all_argee = 7;
|
||||
uint32 draft_id = 1;
|
||||
}
|
||||
|
||||
message DraftGuestReplyTwiceConfirmNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5497;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_agree = 14;
|
||||
uint32 draft_id = 15;
|
||||
uint32 guest_uid = 7;
|
||||
}
|
||||
1024
protocol/proto_hk4e/cmd/cmd_dungeon.proto
Normal file
1024
protocol/proto_hk4e/cmd/cmd_dungeon.proto
Normal file
File diff suppressed because it is too large
Load Diff
1066
protocol/proto_hk4e/cmd/cmd_fight.proto
Normal file
1066
protocol/proto_hk4e/cmd/cmd_fight.proto
Normal file
File diff suppressed because it is too large
Load Diff
290
protocol/proto_hk4e/cmd/cmd_fish.proto
Normal file
290
protocol/proto_hk4e/cmd/cmd_fish.proto
Normal file
@@ -0,0 +1,290 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum FishEscapeReason {
|
||||
FISN_ESCAPE_NONE = 0;
|
||||
FISH_ESCAPE_SHOCKED = 1;
|
||||
FISH_ESCAPE_UNHOOK = 2;
|
||||
}
|
||||
|
||||
enum FishBattleResult {
|
||||
FISH_BATTLE_RESULT_NONE = 0;
|
||||
FISH_BATTLE_RESULT_SUCC = 1;
|
||||
FISH_BATTLE_RESULT_FAIL = 2;
|
||||
FISH_BATTLE_RESULT_TIMEOUT = 3;
|
||||
FISH_BATTLE_RESULT_CANCEL = 4;
|
||||
FISH_BATTLE_RESULT_EXIT = 5;
|
||||
}
|
||||
|
||||
message EnterFishingReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5826;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 fish_pool_id = 3;
|
||||
}
|
||||
|
||||
message EnterFishingRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5818;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
uint32 fish_pool_id = 9;
|
||||
}
|
||||
|
||||
message StartFishingReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5825;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 rod_entity_id = 5;
|
||||
uint32 fish_pool_id = 15;
|
||||
}
|
||||
|
||||
message StartFishingRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5807;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 fish_pool_id = 14;
|
||||
}
|
||||
|
||||
message FishCastRodReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5802;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 bait_id = 14;
|
||||
uint32 rod_id = 4;
|
||||
uint32 rod_entity_id = 7;
|
||||
Vector pos = 12;
|
||||
}
|
||||
|
||||
message FishCastRodRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5831;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message FishChosenNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5829;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 fish_id = 12;
|
||||
}
|
||||
|
||||
message FishEscapeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5822;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
FishEscapeReason reason = 4;
|
||||
Vector pos = 7;
|
||||
uint32 uid = 14;
|
||||
repeated uint32 fish_id_list = 6;
|
||||
}
|
||||
|
||||
message FishBiteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5844;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message FishBiteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5849;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message FishBattleBeginReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5820;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message FishBattleBeginRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5845;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
}
|
||||
|
||||
message FishBattleEndReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5841;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 max_bonus_time = 3;
|
||||
FishBattleResult battle_result = 10;
|
||||
bool is_always_bonus = 11;
|
||||
}
|
||||
|
||||
message FishBattleEndRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5842;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum FishNoRewardReason {
|
||||
FISH_NO_REWARD_NONE = 0;
|
||||
FISH_NO_REWARD_ACTIVITY_LIMIT = 1;
|
||||
FISH_NO_REWARD_BAG_LIMIT = 2;
|
||||
FISH_NO_REWARD_POOL_LIMIT = 3;
|
||||
}
|
||||
|
||||
bool is_got_reward = 10;
|
||||
repeated ItemParam reward_item_list = 11;
|
||||
repeated ItemParam talent_item_list = 13;
|
||||
repeated ItemParam drop_item_list = 9;
|
||||
int32 retcode = 7;
|
||||
FishNoRewardReason no_reward_reason = 14;
|
||||
FishBattleResult battle_result = 6;
|
||||
}
|
||||
|
||||
message ExitFishingReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5814;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ExitFishingRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5847;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message FishAttractNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5837;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 fish_id_list = 3;
|
||||
Vector pos = 9;
|
||||
uint32 uid = 2;
|
||||
}
|
||||
|
||||
message FishBaitGoneNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5823;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 8;
|
||||
}
|
||||
|
||||
message PlayerFishingDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5835;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 last_fish_rod_id = 8;
|
||||
}
|
||||
|
||||
message FishPoolDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5848;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 6;
|
||||
uint32 today_fish_num = 2;
|
||||
}
|
||||
187
protocol/proto_hk4e/cmd/cmd_gacha.proto
Normal file
187
protocol/proto_hk4e/cmd/cmd_gacha.proto
Normal file
@@ -0,0 +1,187 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message GetGachaInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1572;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GachaUpInfo {
|
||||
uint32 item_parent_type = 7;
|
||||
repeated uint32 item_id_list = 15;
|
||||
}
|
||||
|
||||
message GachaInfo {
|
||||
uint32 ten_cost_item_id = 2;
|
||||
uint32 end_time = 14;
|
||||
repeated uint32 display_up4_item_list = 1875;
|
||||
uint32 cur_schedule_daily_gacha_times = 469;
|
||||
repeated GachaUpInfo gacha_up_info_list = 1233;
|
||||
string gacha_prob_url = 8;
|
||||
string gacha_prefab_path = 15;
|
||||
uint32 wish_item_id = 1637;
|
||||
uint32 begin_time = 1;
|
||||
uint32 wish_max_progress = 1222;
|
||||
uint32 schedule_id = 10;
|
||||
string gacha_prob_url_oversea = 1481;
|
||||
uint32 gacha_type = 13;
|
||||
uint32 left_gacha_times = 5;
|
||||
repeated uint32 display_up5_item_list = 2006;
|
||||
uint32 gacha_times_limit = 11;
|
||||
uint32 cost_item_num = 3;
|
||||
bool is_new_wish = 733;
|
||||
uint32 cost_item_id = 9;
|
||||
uint32 ten_cost_item_num = 6;
|
||||
string gacha_preview_prefab_path = 4;
|
||||
uint32 wish_progress = 1819;
|
||||
string title_textmap = 736;
|
||||
string gacha_record_url_oversea = 1854;
|
||||
uint32 gacha_sort_id = 7;
|
||||
string gacha_record_url = 12;
|
||||
}
|
||||
|
||||
message GetGachaInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1598;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_under_general_restrict = 6;
|
||||
uint32 gacha_random = 9;
|
||||
int32 retcode = 10;
|
||||
bool is_under_minors_restrict = 2;
|
||||
uint32 daily_gacha_times = 5;
|
||||
repeated GachaInfo gacha_info_list = 13;
|
||||
}
|
||||
|
||||
message DoGachaReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1512;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gacha_times = 10;
|
||||
uint32 gacha_schedule_id = 7;
|
||||
uint32 gacha_type = 14;
|
||||
uint32 gacha_random = 13;
|
||||
string gacha_tag = 4;
|
||||
}
|
||||
|
||||
message GachaTransferItem {
|
||||
ItemParam item = 3;
|
||||
bool is_transfer_item_new = 1;
|
||||
}
|
||||
|
||||
message GachaItem {
|
||||
ItemParam gacha_item = 7;
|
||||
bool is_gacha_item_new = 6;
|
||||
bool is_flash_card = 8;
|
||||
repeated ItemParam token_item_list = 9;
|
||||
repeated GachaTransferItem transfer_items = 12;
|
||||
}
|
||||
|
||||
message DoGachaRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1535;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_schedule_daily_gacha_times = 155;
|
||||
uint32 cost_item_num = 10;
|
||||
uint32 wish_max_progress = 9;
|
||||
uint32 wish_item_id = 8;
|
||||
int32 retcode = 13;
|
||||
uint32 ten_cost_item_num = 3;
|
||||
uint32 wish_progress = 2;
|
||||
repeated GachaItem gacha_item_list = 15;
|
||||
uint32 ten_cost_item_id = 7;
|
||||
uint32 gacha_times = 4;
|
||||
bool is_under_minors_restrict = 1435;
|
||||
bool is_under_general_restrict = 1868;
|
||||
uint32 gacha_type = 12;
|
||||
uint32 gacha_times_limit = 1;
|
||||
uint32 cost_item_id = 14;
|
||||
uint32 daily_gacha_times = 1240;
|
||||
uint32 left_gacha_times = 6;
|
||||
uint32 new_gacha_random = 11;
|
||||
uint32 gacha_schedule_id = 5;
|
||||
}
|
||||
|
||||
message GachaWishReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1507;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gacha_schedule_id = 14;
|
||||
uint32 gacha_type = 13;
|
||||
uint32 item_id = 4;
|
||||
}
|
||||
|
||||
message GachaWishRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1521;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gacha_type = 8;
|
||||
uint32 gacha_schedule_id = 7;
|
||||
uint32 wish_max_progress = 2;
|
||||
uint32 wish_progress = 5;
|
||||
uint32 wish_item_id = 3;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message GachaOpenWishNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1503;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gacha_type = 2;
|
||||
uint32 gacha_schedule_id = 9;
|
||||
}
|
||||
|
||||
message GachaSimpleInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1590;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_new = 5;
|
||||
}
|
||||
615
protocol/proto_hk4e/cmd/cmd_gadget.proto
Normal file
615
protocol/proto_hk4e/cmd/cmd_gadget.proto
Normal file
@@ -0,0 +1,615 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum InteractType {
|
||||
INTERACT_NONE = 0;
|
||||
INTERACT_PICK_ITEM = 1;
|
||||
INTERACT_GATHER = 2;
|
||||
INTERACT_OPEN_CHEST = 3;
|
||||
INTERACT_OPEN_STATUE = 4;
|
||||
INTERACT_CONSUM = 5;
|
||||
INTERACT_MP_PLAY_REWARD = 6;
|
||||
INTERACT_VIEW = 7;
|
||||
INTERACT_GENERAL_REWARD = 8;
|
||||
INTERACT_MIRACLE_RING = 9;
|
||||
INTERACT_FOUNDATION = 10;
|
||||
INTERACT_ECHO_SHELL = 11;
|
||||
INTERACT_HOME_GATHER = 12;
|
||||
INTERACT_ENV_ANIMAL = 13;
|
||||
INTERACT_QUEST_GADGET = 14;
|
||||
INTERACT_UI_INTERACT = 15;
|
||||
INTERACT_DESHRET_OBELISK = 16;
|
||||
}
|
||||
|
||||
enum InterOpType {
|
||||
INTER_OP_FINISH = 0;
|
||||
INTER_OP_START = 1;
|
||||
}
|
||||
|
||||
enum ResinCostType {
|
||||
RESIN_COST_TYPE_NONE = 0;
|
||||
RESIN_COST_TYPE_NORMAL = 1;
|
||||
RESIN_COST_TYPE_CONDENSE = 2;
|
||||
RESIN_COST_TYPE_REUNION_PRIVILEGE = 3;
|
||||
RESIN_COST_TYPE_OP_ACTIVITY = 4;
|
||||
RESIN_COST_TYPE_MATERIAL = 5;
|
||||
}
|
||||
|
||||
enum FoundationOpType {
|
||||
FOUNDATION_OP_NONE = 0;
|
||||
FOUNDATION_OP_BUILD = 1;
|
||||
FOUNDATION_OP_DEMOLITION = 2;
|
||||
FOUNDATION_OP_REBUILD = 3;
|
||||
FOUNDATION_OP_ROTATE = 4;
|
||||
FOUNDATION_OP_LOCK = 5;
|
||||
FOUNDATION_OP_UNLOCK = 6;
|
||||
}
|
||||
|
||||
enum VehicleInteractType {
|
||||
VEHICLE_INTERACT_NONE = 0;
|
||||
VEHICLE_INTERACT_IN = 1;
|
||||
VEHICLE_INTERACT_OUT = 2;
|
||||
}
|
||||
|
||||
message GadgetInteractReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 872;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_id = 8;
|
||||
bool is_use_condense_resin = 15;
|
||||
InterOpType op_type = 5;
|
||||
ResinCostType resin_cost_type = 1;
|
||||
uint32 ui_interact_id = 2;
|
||||
uint32 gadget_entity_id = 4;
|
||||
}
|
||||
|
||||
message GadgetInteractRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 898;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 10;
|
||||
InteractType interact_type = 2;
|
||||
InterOpType op_type = 3;
|
||||
int32 retcode = 7;
|
||||
uint32 gadget_id = 15;
|
||||
}
|
||||
|
||||
message GadgetStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 812;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 5;
|
||||
uint32 gadget_state = 3;
|
||||
bool is_enable_interact = 11;
|
||||
}
|
||||
|
||||
message WorktopOptionNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 835;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 11;
|
||||
repeated uint32 option_list = 8;
|
||||
}
|
||||
|
||||
message SelectWorktopOptionReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 807;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 12;
|
||||
uint32 option_id = 11;
|
||||
}
|
||||
|
||||
message SelectWorktopOptionRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 821;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 13;
|
||||
uint32 option_id = 7;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message BossChestActivateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 803;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 qualify_uid_list = 1;
|
||||
uint32 entity_id = 12;
|
||||
}
|
||||
|
||||
message BlossomChestInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 890;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 9;
|
||||
BlossomChestInfo blossom_chest_info = 3;
|
||||
}
|
||||
|
||||
message GadgetPlayStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 873;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 start_time = 14;
|
||||
uint32 entity_id = 15;
|
||||
uint32 play_type = 8;
|
||||
}
|
||||
|
||||
message GadgetPlayUidInfo {
|
||||
ProfilePicture profile_picture = 2;
|
||||
uint32 battle_watcher_id = 6;
|
||||
uint32 uid = 7;
|
||||
uint32 icon = 14;
|
||||
uint32 score = 4;
|
||||
string nickname = 3;
|
||||
string online_id = 8;
|
||||
}
|
||||
|
||||
message GadgetPlayStopNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 899;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_win = 14;
|
||||
uint32 entity_id = 7;
|
||||
uint32 play_type = 4;
|
||||
repeated GadgetPlayUidInfo uid_info_list = 8;
|
||||
uint32 score = 5;
|
||||
uint32 cost_time = 6;
|
||||
}
|
||||
|
||||
message GadgetPlayDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 831;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 play_type = 12;
|
||||
uint32 progress = 9;
|
||||
uint32 entity_id = 6;
|
||||
}
|
||||
|
||||
message GadgetPlayUidOpNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 875;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 11;
|
||||
repeated uint32 uid_list = 2;
|
||||
uint32 play_type = 6;
|
||||
string param_str = 1;
|
||||
uint32 op = 7;
|
||||
repeated uint32 param_list = 4;
|
||||
}
|
||||
|
||||
message GadgetGeneralRewardInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 848;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 13;
|
||||
GadgetGeneralRewardInfo general_reward_info = 9;
|
||||
}
|
||||
|
||||
message GadgetAutoPickDropInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 897;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Item item_list = 11;
|
||||
}
|
||||
|
||||
message UpdateAbilityCreatedMovingPlatformNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 881;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum OpType {
|
||||
OP_NONE = 0;
|
||||
OP_ACTIVATE = 1;
|
||||
OP_DEACTIVATE = 2;
|
||||
}
|
||||
|
||||
uint32 entity_id = 4;
|
||||
OpType op_type = 3;
|
||||
}
|
||||
|
||||
message FoundationReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 805;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 14;
|
||||
uint32 point_config_id = 12;
|
||||
uint32 building_id = 13;
|
||||
FoundationOpType op_type = 10;
|
||||
}
|
||||
|
||||
message FoundationRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 882;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
FoundationOpType op_type = 13;
|
||||
uint32 gadget_entity_id = 10;
|
||||
uint32 building_id = 11;
|
||||
uint32 point_config_id = 12;
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message FoundationNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 847;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
FoundationInfo info = 7;
|
||||
uint32 gadget_entity_id = 9;
|
||||
}
|
||||
|
||||
message GadgetTalkChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 839;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_entity_id = 5;
|
||||
uint32 cur_gadget_talk_state = 15;
|
||||
}
|
||||
|
||||
message GadgetChainLevelUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 853;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> gadget_chain_level_map = 12;
|
||||
}
|
||||
|
||||
message GadgetChainLevelChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 822;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> gadget_chain_level_map = 2;
|
||||
}
|
||||
|
||||
message VehicleInteractReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 865;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
VehicleInteractType interact_type = 8;
|
||||
uint32 pos = 12;
|
||||
uint32 entity_id = 15;
|
||||
}
|
||||
|
||||
message VehicleInteractRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 804;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
VehicleInteractType interact_type = 15;
|
||||
VehicleMember member = 3;
|
||||
uint32 entity_id = 2;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message CreateVehicleReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 893;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector pos = 11;
|
||||
uint32 vehicle_id = 2;
|
||||
uint32 scene_point_id = 7;
|
||||
Vector rot = 5;
|
||||
}
|
||||
|
||||
message CreateVehicleRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 827;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
uint32 vehicle_id = 9;
|
||||
uint32 entity_id = 11;
|
||||
}
|
||||
|
||||
message RequestLiveInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 894;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 live_id = 6;
|
||||
}
|
||||
|
||||
message RequestLiveInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 888;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string spare_live_url = 14;
|
||||
int32 retcode = 9;
|
||||
string live_url = 12;
|
||||
uint32 live_id = 2;
|
||||
}
|
||||
|
||||
message LiveStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 826;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 live_id = 2;
|
||||
}
|
||||
|
||||
message ProjectorOptionReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 863;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum ProjectorOpType {
|
||||
PROJECTOR_OP_NONE = 0;
|
||||
PROJECTOR_OP_CREATE = 1;
|
||||
PROJECTOR_OP_DESTROY = 2;
|
||||
}
|
||||
|
||||
uint32 op_type = 7;
|
||||
uint32 entity_id = 10;
|
||||
}
|
||||
|
||||
message ProjectorOptionRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 895;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 10;
|
||||
int32 retcode = 12;
|
||||
uint32 op_type = 13;
|
||||
}
|
||||
|
||||
message LiveEndNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 806;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 live_id = 5;
|
||||
}
|
||||
|
||||
message VehicleStaminaNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 834;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 6;
|
||||
float cur_stamina = 14;
|
||||
}
|
||||
|
||||
message GadgetCustomTreeInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 850;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
CustomGadgetTreeInfo custom_gadget_tree_info = 5;
|
||||
uint32 gadget_entity_id = 12;
|
||||
}
|
||||
|
||||
message GadgetChangeLevelTagReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 843;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 level_tag_id = 14;
|
||||
CustomGadgetTreeInfo combination_info = 11;
|
||||
uint32 gadget_entity_id = 10;
|
||||
}
|
||||
|
||||
message GadgetChangeLevelTagRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 874;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message NightCrowGadgetObservationMatchReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 876;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_gadget_state = 3;
|
||||
uint32 gadget_entity_id = 8;
|
||||
}
|
||||
|
||||
message NightCrowGadgetObservationMatchRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 846;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message DeshretObeliskChestInfo {
|
||||
uint32 scene_id = 5;
|
||||
Vector pos = 9;
|
||||
uint32 group_id = 7;
|
||||
uint32 config_id = 3;
|
||||
}
|
||||
|
||||
message DeshretObeliskChestInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 841;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated DeshretObeliskChestInfo chest_info_list = 14;
|
||||
}
|
||||
960
protocol/proto_hk4e/cmd/cmd_gallery.proto
Normal file
960
protocol/proto_hk4e/cmd/cmd_gallery.proto
Normal file
@@ -0,0 +1,960 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum GalleryStageType {
|
||||
GALLERY_NONE = 0;
|
||||
GALLERY_PRESTART = 1;
|
||||
GALLERY_START = 2;
|
||||
}
|
||||
|
||||
enum GalleryStopReason {
|
||||
GALLERY_STOP_NONE = 0;
|
||||
GALLERY_STOP_TIMEUP = 1;
|
||||
GALLERY_STOP_CLIENT_INTERRUPT = 2;
|
||||
GALLERY_STOP_LUA_INTERRUPT_SUCCESS = 3;
|
||||
GALLERY_STOP_LUA_INTERRUPT_FAIL = 4;
|
||||
GALLERY_STOP_OWNER_LEAVE_SCENE = 5;
|
||||
GALLERY_STOP_PLAY_INIT_FAILED = 6;
|
||||
GALLERY_STOP_OTHER_PLAYER_ENTER = 7;
|
||||
GALLERY_STOP_AVATAR_DIE = 8;
|
||||
GALLERY_STOP_FINISHED = 9;
|
||||
GALLERY_STOP_FUNGUS_ALL_DIE = 10;
|
||||
GALLERY_STOP_LIFE_COUNT_ZERO = 11;
|
||||
}
|
||||
|
||||
enum GalleryStartSource {
|
||||
GALLERY_START_BY_NONE = 0;
|
||||
GALLERY_START_BY_MATCH = 1;
|
||||
GALLERY_START_BY_DRAFT = 2;
|
||||
}
|
||||
|
||||
enum SalvagePreventStopReason {
|
||||
SALVAGE_PREVENT_STOP_NONE = 0;
|
||||
SALVAGE_PREVENT_STOP_SUCCESS = 1;
|
||||
SALVAGE_PREVENT_STOP_ARRIVAL = 2;
|
||||
SALVAGE_PREVENT_STOP_INTERRUPT = 3;
|
||||
SALVAGE_PREVENT_STOP_LEAVE = 4;
|
||||
SALVAGE_PREVENT_STOP_FULL = 5;
|
||||
SALVAGE_PREVENT_STOP_AWAY = 6;
|
||||
}
|
||||
|
||||
enum SalvageEscortStopReason {
|
||||
SALVAGE_ESCORT_STOP_NONE = 0;
|
||||
SALVAGE_ESCORT_STOP_SUCCESS = 1;
|
||||
SALVAGE_ESCORT_STOP_DUMP = 2;
|
||||
SALVAGE_ESCORT_STOP_TIME = 3;
|
||||
SALVAGE_ESCORT_STOP_INTERRUPT = 4;
|
||||
SALVAGE_ESCORT_STOP_LEAVE = 5;
|
||||
SALVAGE_ESCORT_STOP_FULL = 6;
|
||||
}
|
||||
|
||||
enum IslandPartySailStage {
|
||||
ISLAND_PARTY_SAIL_STAGE_NONE = 0;
|
||||
ISLAND_PARTY_SAIL_STAGE_SAIL = 1;
|
||||
ISLAND_PARTY_SAIL_STAGE_BATTLE = 2;
|
||||
}
|
||||
|
||||
message GalleryFlowerStartParam {
|
||||
uint32 target_score = 5;
|
||||
}
|
||||
|
||||
message GalleryStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5572;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 end_time = 6;
|
||||
uint32 player_count = 11;
|
||||
uint32 owner_uid = 9;
|
||||
uint32 gallery_id = 13;
|
||||
uint32 start_time = 5;
|
||||
oneof detail {
|
||||
GalleryFlowerStartParam flower_start_param = 15;
|
||||
}
|
||||
}
|
||||
|
||||
message GalleryBalloonShootNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5598;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 trigger_entity_id = 12;
|
||||
uint32 gallery_id = 5;
|
||||
uint32 combo = 14;
|
||||
uint64 combo_disable_time = 6;
|
||||
int32 add_score = 11;
|
||||
uint32 cur_score = 13;
|
||||
}
|
||||
|
||||
message GalleryBalloonScoreNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5512;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 9;
|
||||
map<uint32, uint32> uid_score_map = 7;
|
||||
}
|
||||
|
||||
message BalloonSettleInfo {
|
||||
uint32 uid = 3;
|
||||
uint32 shoot_count = 12;
|
||||
uint32 max_combo = 9;
|
||||
uint32 final_score = 7;
|
||||
OnlinePlayerInfo player_info = 2;
|
||||
}
|
||||
|
||||
message GalleryStopNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5535;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 8;
|
||||
}
|
||||
|
||||
message FallSettleInfo {
|
||||
uint32 catch_count = 15;
|
||||
OnlinePlayerInfo player_info = 13;
|
||||
uint32 uid = 14;
|
||||
map<uint32, uint32> flower_ring_catch_count_map = 3;
|
||||
uint32 remain_time = 10;
|
||||
uint32 final_score = 1;
|
||||
}
|
||||
|
||||
message GalleryFallCatchNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5507;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_score = 6;
|
||||
uint32 time_cost = 11;
|
||||
map<uint32, uint32> ball_catch_count_map = 15;
|
||||
uint32 add_score = 1;
|
||||
bool is_ground = 12;
|
||||
uint32 gallery_id = 10;
|
||||
}
|
||||
|
||||
message FallPlayerBrief {
|
||||
uint32 uid = 13;
|
||||
bool is_ground = 5;
|
||||
uint32 score = 10;
|
||||
}
|
||||
|
||||
message GalleryFallScoreNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5521;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 7;
|
||||
map<uint32, FallPlayerBrief> uid_brief_map = 1;
|
||||
}
|
||||
|
||||
message BalloonPlayerInfo {
|
||||
uint32 uid = 15;
|
||||
uint32 cur_score = 2;
|
||||
uint32 combo_disable_time = 14;
|
||||
uint32 combo = 11;
|
||||
}
|
||||
|
||||
message FallPlayerInfo {
|
||||
uint32 time_cost = 11;
|
||||
uint32 uid = 9;
|
||||
map<uint32, uint32> ball_catch_count_map = 6;
|
||||
uint32 cur_score = 7;
|
||||
bool is_ground = 15;
|
||||
}
|
||||
|
||||
message SceneGalleryBalloonInfo {
|
||||
map<uint32, BalloonPlayerInfo> scene_player_balloon_info_map = 14;
|
||||
uint32 end_time = 5;
|
||||
}
|
||||
|
||||
message SceneGalleryFallInfo {
|
||||
map<uint32, FallPlayerInfo> scene_player_fall_info_map = 12;
|
||||
uint32 end_time = 2;
|
||||
}
|
||||
|
||||
message SceneGalleryFlowerInfo {
|
||||
uint32 end_time = 7;
|
||||
uint32 target_score = 13;
|
||||
uint32 cur_score = 9;
|
||||
}
|
||||
|
||||
message SceneGalleryBulletInfo {
|
||||
uint32 end_time = 1;
|
||||
map<uint32, uint32> hit_count_map = 10;
|
||||
}
|
||||
|
||||
message SceneGalleryBrokenFloorInfo {
|
||||
map<uint32, uint32> fall_count_map = 3;
|
||||
uint32 end_time = 9;
|
||||
}
|
||||
|
||||
message SceneGalleryHideAndSeekInfo {
|
||||
repeated uint32 visible_uid_list = 13;
|
||||
repeated uint32 caught_uid_list = 4;
|
||||
}
|
||||
|
||||
message SceneGalleryBuoyantCombatInfo {
|
||||
uint32 score = 6;
|
||||
uint32 kill_special_monster_count = 1;
|
||||
uint32 kill_monster_count = 14;
|
||||
}
|
||||
|
||||
message SceneGalleryProgressInfo {
|
||||
repeated uint32 progress_stage_list = 8;
|
||||
string key = 11;
|
||||
uint32 progress = 5;
|
||||
uint32 ui_form = 12;
|
||||
}
|
||||
|
||||
message SceneGalleryBounceConjuringInfo {
|
||||
uint32 total_destroyed_machine_count = 4;
|
||||
uint32 total_score = 6;
|
||||
}
|
||||
|
||||
message SceneGalleryHandballInfo {
|
||||
PlaceInfo ball_place_info = 9;
|
||||
bool is_have_ball = 15;
|
||||
}
|
||||
|
||||
message SceneGallerySumoInfo {
|
||||
uint32 score = 2;
|
||||
uint32 kill_normal_mosnter_num = 15;
|
||||
uint32 kill_elite_monster_num = 14;
|
||||
}
|
||||
|
||||
message SceneGallerySalvagePreventInfo {
|
||||
uint32 monster_count = 7;
|
||||
}
|
||||
|
||||
message SceneGallerySalvageEscortInfo {
|
||||
uint32 max_box_count = 14;
|
||||
uint32 max_monster_count = 3;
|
||||
uint32 box_count = 7;
|
||||
uint32 monster_count = 11;
|
||||
}
|
||||
|
||||
message SceneGalleryCrystalLinkInfo {
|
||||
uint32 score = 10;
|
||||
}
|
||||
|
||||
message SceneGalleryIrodoriMasterInfo {
|
||||
uint32 level_id = 8;
|
||||
uint32 difficulty = 1;
|
||||
bool is_cg_viewed = 5;
|
||||
}
|
||||
|
||||
message SceneGalleryHomeBalloonInfo {
|
||||
uint32 score = 7;
|
||||
}
|
||||
|
||||
message SceneGalleryLuminanceStoneChallengeInfo {
|
||||
uint32 kill_monster_count = 5;
|
||||
uint32 score = 3;
|
||||
uint32 clean_mud_count = 2;
|
||||
uint32 kill_special_monster_count = 6;
|
||||
}
|
||||
|
||||
message SceneGalleryHomeSeekFurnitureInfo {
|
||||
uint32 cur_tide_left_num = 6;
|
||||
map<uint32, uint32> player_score_map = 8;
|
||||
uint32 cur_tide_duration_time = 12;
|
||||
uint32 cur_tide_total_num = 9;
|
||||
}
|
||||
|
||||
message SceneGalleryIslandPartyDownHillInfo {
|
||||
uint32 total_kill_monster_count = 14;
|
||||
GalleryStartSource start_source = 15;
|
||||
uint32 max_kill_monster_count = 5;
|
||||
uint32 coin = 13;
|
||||
}
|
||||
|
||||
message SceneGallerySummerTimeV2BoatInfo {
|
||||
uint32 param1 = 15;
|
||||
uint32 param3 = 3;
|
||||
uint32 used_time = 11;
|
||||
uint32 param2 = 7;
|
||||
}
|
||||
|
||||
message SceneGalleryIslandPartyRaftInfo {
|
||||
uint32 coin = 6;
|
||||
GalleryStartSource start_source = 7;
|
||||
uint32 component = 1;
|
||||
uint32 fuel = 15;
|
||||
uint32 point_id = 12;
|
||||
uint32 raft_entity_id = 4;
|
||||
}
|
||||
|
||||
message SceneGalleryIslandPartySailInfo {
|
||||
uint32 max_clean_progress = 14;
|
||||
uint32 clean_progress = 10;
|
||||
GalleryStartSource start_source = 1;
|
||||
uint32 kill_progress = 11;
|
||||
uint32 coin = 15;
|
||||
IslandPartySailStage stage = 12;
|
||||
uint32 max_kill_progress = 8;
|
||||
}
|
||||
|
||||
message SceneGalleryInstableSprayBuffInfo {
|
||||
uint32 buff_id = 6;
|
||||
uint64 buff_end_time = 9;
|
||||
uint64 buff_max_time = 4;
|
||||
}
|
||||
|
||||
message SceneGalleryInstaleSprayInfo {
|
||||
uint32 score = 5;
|
||||
repeated SceneGalleryInstableSprayBuffInfo buff_info_list = 12;
|
||||
}
|
||||
|
||||
message SceneGalleryTreasureSeelieInfo {
|
||||
uint32 progress = 15;
|
||||
uint32 goal = 14;
|
||||
}
|
||||
|
||||
message SceneGalleryWindFieldInfo {
|
||||
uint32 killed_monster_num = 5;
|
||||
uint32 challenge_ball_max_count = 12;
|
||||
uint32 show_id = 15;
|
||||
uint32 challenge_total_time = 4;
|
||||
uint32 challenge_ball_cur_count = 9;
|
||||
uint32 coin_num = 1;
|
||||
uint32 challenge_timestamp = 13;
|
||||
uint32 element_ball_num = 10;
|
||||
}
|
||||
|
||||
message SceneGalleryFungusFighterTrainingInfo {
|
||||
uint32 max_monster_count = 4;
|
||||
uint32 killed_monster_count = 9;
|
||||
uint32 buff_start_time = 13;
|
||||
uint32 buff_id = 1;
|
||||
uint32 max_skill_count = 10;
|
||||
uint32 buff_last_time = 14;
|
||||
uint32 rest_skill_count = 5;
|
||||
}
|
||||
|
||||
message SceneGalleryFungusFighterCaptureInfo {
|
||||
bool is_hide_progress = 13;
|
||||
}
|
||||
|
||||
message SceneGalleryEffigyChallengeV2Info {
|
||||
uint32 killed_monster_cnt = 10;
|
||||
uint32 total_target_kill_cnt = 15;
|
||||
uint32 scene_start_time = 14;
|
||||
uint32 t_remain_use_time = 6;
|
||||
uint32 boss_violent_level = 9;
|
||||
}
|
||||
|
||||
message SceneGalleryCharAmusementInfo {
|
||||
bool is_last_level = 2;
|
||||
uint32 max_score = 9;
|
||||
uint32 cur_score = 14;
|
||||
bool is_finish = 10;
|
||||
bool is_success = 1;
|
||||
}
|
||||
|
||||
message SceneGalleryBrickBreakerInfo {
|
||||
uint32 score = 10;
|
||||
uint32 life_count = 4;
|
||||
uint32 fever = 2;
|
||||
uint32 combo = 1;
|
||||
}
|
||||
|
||||
message SceneGalleryCoinCollectInfo {
|
||||
uint32 coin_total_num = 4;
|
||||
uint32 coin_collect_num = 2;
|
||||
}
|
||||
|
||||
message SceneGalleryTeamChainInfo {
|
||||
uint32 gallery_score_end_time = 14;
|
||||
uint32 cur_total_score = 7;
|
||||
uint32 cur_gallery_idx = 3;
|
||||
uint32 total_target_kill_cnt = 10;
|
||||
uint32 killed_monster_cnt = 12;
|
||||
}
|
||||
|
||||
message SceneGalleryInfo {
|
||||
GalleryStageType stage = 5;
|
||||
repeated SceneGalleryProgressInfo progress_info_list = 4;
|
||||
uint32 gallery_id = 2;
|
||||
uint32 start_time = 3;
|
||||
uint32 end_time = 11;
|
||||
uint32 owner_uid = 9;
|
||||
uint32 player_count = 1;
|
||||
uint32 pre_start_end_time = 15;
|
||||
oneof info {
|
||||
SceneGalleryBalloonInfo balloon_info = 14;
|
||||
SceneGalleryFallInfo fall_info = 7;
|
||||
SceneGalleryFlowerInfo flower_info = 8;
|
||||
SceneGalleryBulletInfo bullet_info = 13;
|
||||
SceneGalleryBrokenFloorInfo broken_floor_info = 10;
|
||||
SceneGalleryHideAndSeekInfo hide_and_seek_info = 6;
|
||||
SceneGalleryBuoyantCombatInfo buoyant_combat_info = 1384;
|
||||
SceneGalleryBounceConjuringInfo bounce_conjuring_info = 708;
|
||||
SceneGalleryHandballInfo handball_info = 1997;
|
||||
SceneGallerySumoInfo sumo_info = 811;
|
||||
SceneGallerySalvagePreventInfo salvage_prevent_info = 1700;
|
||||
SceneGallerySalvageEscortInfo salvage_escort_info = 759;
|
||||
SceneGalleryHomeBalloonInfo home_balloon_info = 1034;
|
||||
SceneGalleryCrystalLinkInfo crystal_link_info = 2004;
|
||||
SceneGalleryIrodoriMasterInfo irodori_master_info = 1953;
|
||||
SceneGalleryLuminanceStoneChallengeInfo luminance_stone_challenge_info = 106;
|
||||
SceneGalleryHomeSeekFurnitureInfo home_seek_furniture_info = 1456;
|
||||
SceneGalleryIslandPartyDownHillInfo island_party_down_hill_info = 462;
|
||||
SceneGallerySummerTimeV2BoatInfo summer_time_v2_boat_info = 296;
|
||||
SceneGalleryIslandPartyRaftInfo island_party_raft_info = 1805;
|
||||
SceneGalleryIslandPartySailInfo island_party_sail_info = 1133;
|
||||
SceneGalleryInstaleSprayInfo instable_spray_info = 1196;
|
||||
SceneGalleryMuqadasPotionInfo muqadas_potion_info = 865;
|
||||
SceneGalleryTreasureSeelieInfo treasure_seelie_info = 1525;
|
||||
SceneGalleryVintageHuntingInfo vintage_hunting_info = 254;
|
||||
SceneGalleryWindFieldInfo wind_field_info = 1080;
|
||||
SceneGalleryFungusFighterTrainingInfo fungus_fighter_training_info = 1328;
|
||||
SceneGalleryEffigyChallengeV2Info effigy_challenge_info = 882;
|
||||
SceneGalleryFungusFighterCaptureInfo fungus_fighter_capture_info = 422;
|
||||
SceneGalleryCharAmusementInfo char_amusement_info = 1086;
|
||||
SceneGalleryBrickBreakerInfo brick_breaker_info = 1425;
|
||||
SceneGalleryCoinCollectInfo coin_collect_info = 1574;
|
||||
SceneGalleryTeamChainInfo team_chain_info = 1495;
|
||||
}
|
||||
}
|
||||
|
||||
message GetAllSceneGalleryInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5503;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetAllSceneGalleryInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5590;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated SceneGalleryInfo gallery_info_list = 12;
|
||||
int32 retcode = 2;
|
||||
}
|
||||
|
||||
message GalleryFlowerCatchNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5573;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_score = 12;
|
||||
uint32 add_score = 14;
|
||||
uint32 gallery_id = 5;
|
||||
}
|
||||
|
||||
message GalleryPreStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5599;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 10;
|
||||
uint32 pre_start_end_time = 9;
|
||||
}
|
||||
|
||||
message GalleryBulletHitNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5531;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 hit_count = 14;
|
||||
uint32 gallery_id = 12;
|
||||
}
|
||||
|
||||
message GalleryBrokenFloorFallNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5575;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 fall_count = 3;
|
||||
uint32 gallery_id = 5;
|
||||
}
|
||||
|
||||
message InterruptGalleryReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5548;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 13;
|
||||
}
|
||||
|
||||
message InterruptGalleryRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5597;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
uint32 gallery_id = 9;
|
||||
}
|
||||
|
||||
message SceneGalleryInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5581;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
SceneGalleryInfo gallery_info = 4;
|
||||
}
|
||||
|
||||
message BuoyantCombatGallerySettleInfo {
|
||||
uint32 gallery_level = 12;
|
||||
uint32 final_score = 15;
|
||||
uint32 kill_monster_count = 9;
|
||||
uint32 kill_target_count = 1;
|
||||
uint32 kill_special_monster_count = 4;
|
||||
uint32 gallery_id = 2;
|
||||
uint32 gallery_multiple = 11;
|
||||
}
|
||||
|
||||
message BounceConjuringGallerySettleInfo {
|
||||
OnlinePlayerInfo player_info = 14;
|
||||
uint32 destroyed_machine_count = 5;
|
||||
uint32 fever_count = 6;
|
||||
uint32 normal_hit_count = 4;
|
||||
float damage = 11;
|
||||
map<uint32, uint32> gadget_count_map = 15;
|
||||
uint32 score = 12;
|
||||
uint32 perfect_hit_count = 8;
|
||||
repeated ExhibitionDisplayInfo card_list = 7;
|
||||
}
|
||||
|
||||
message GalleryBounceConjuringHitNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5505;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 add_score = 8;
|
||||
bool is_perfect = 5;
|
||||
uint32 gallery_id = 10;
|
||||
}
|
||||
|
||||
message GallerySumoKillMonsterNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5582;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 kill_normal_mosnter_num = 4;
|
||||
uint32 score = 7;
|
||||
uint32 kill_elite_monster_num = 14;
|
||||
uint32 gallery_id = 11;
|
||||
}
|
||||
|
||||
message GalleryCrystalLinkKillMonsterNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5547;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 score = 7;
|
||||
uint32 gallery_id = 9;
|
||||
}
|
||||
|
||||
message GalleryCrystalLinkBuffInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5539;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 13;
|
||||
bool is_buff_valid = 11;
|
||||
uint32 buff_id = 14;
|
||||
}
|
||||
|
||||
message FishInfo {
|
||||
uint32 free_count = 11;
|
||||
uint32 into_bag_count = 12;
|
||||
}
|
||||
|
||||
message FishingScore {
|
||||
uint32 fishing_score = 2;
|
||||
bool is_new_record = 4;
|
||||
}
|
||||
|
||||
message FishingGallerySettleInfo {
|
||||
map<uint32, FishInfo> fish_map = 11;
|
||||
repeated FishingScore fishing_score_list = 15;
|
||||
}
|
||||
|
||||
message RacingGallerySettleInfo {
|
||||
uint32 winner_uid = 6;
|
||||
GalleryStopReason reason = 4;
|
||||
uint32 use_time = 1;
|
||||
}
|
||||
|
||||
message SalvagePreventGallerySettleInfo {
|
||||
uint32 time_remain = 8;
|
||||
SalvagePreventStopReason reason = 7;
|
||||
uint32 final_score = 13;
|
||||
uint32 monster_count = 15;
|
||||
}
|
||||
|
||||
message SalvageEscortGallerySettleInfo {
|
||||
uint32 time_remain = 14;
|
||||
SalvageEscortStopReason reason = 7;
|
||||
}
|
||||
|
||||
message BalloonGallerySettleInfo {
|
||||
uint32 score = 8;
|
||||
GalleryStopReason reason = 14;
|
||||
uint32 hit_count = 10;
|
||||
uint32 owner_uid = 6;
|
||||
}
|
||||
|
||||
message IrodoriMasterGallerySettleInfo {
|
||||
GalleryStopReason reason = 15;
|
||||
bool is_finish = 11;
|
||||
uint32 finish_time = 14;
|
||||
uint32 difficult = 6;
|
||||
uint32 level_id = 4;
|
||||
}
|
||||
|
||||
message PhotoGallerySettleInfo {
|
||||
GalleryStopReason reason = 7;
|
||||
}
|
||||
|
||||
message LuminanceStoneChallengeGallerySettleInfo {
|
||||
uint32 kill_monster_count = 12;
|
||||
uint32 kill_special_monster_count = 8;
|
||||
uint32 clean_mud_count = 10;
|
||||
uint32 gallery_id = 2;
|
||||
GalleryStopReason reason = 11;
|
||||
uint32 final_score = 13;
|
||||
}
|
||||
|
||||
message HomeGalleryInPlayingNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5553;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 13;
|
||||
}
|
||||
|
||||
message SummerTimeV2BoatGallerySettleInfo {
|
||||
uint32 param1 = 7;
|
||||
uint32 param2 = 2;
|
||||
GalleryStopReason reason = 3;
|
||||
uint32 param3 = 6;
|
||||
uint32 used_time = 12;
|
||||
uint32 gallery_id = 1;
|
||||
}
|
||||
|
||||
message GalleryIslandPartyDownHillInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5522;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 2;
|
||||
uint32 coin = 9;
|
||||
uint32 total_kill_monster_count = 11;
|
||||
}
|
||||
|
||||
message IslandPartyRaftInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5565;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 point_id = 7;
|
||||
uint32 coin = 15;
|
||||
uint32 fuel = 3;
|
||||
uint32 component = 13;
|
||||
}
|
||||
|
||||
message IslandPartySailInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5504;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 coin = 10;
|
||||
IslandPartySailStage stage = 8;
|
||||
uint32 kill_monster_count = 4;
|
||||
uint32 progress = 15;
|
||||
}
|
||||
|
||||
message IslandPartyGallerySettleInfo {
|
||||
OnlinePlayerInfo player_info = 13;
|
||||
repeated ExhibitionDisplayInfo card_list = 11;
|
||||
}
|
||||
|
||||
message BackRebornGalleryReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5593;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 15;
|
||||
}
|
||||
|
||||
message BackRebornGalleryRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5527;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gallery_id = 9;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message GalleryWillStartCountdownNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5594;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
GalleryStartSource start_source = 11;
|
||||
uint32 end_time = 12;
|
||||
bool is_end = 7;
|
||||
uint32 gallery_id = 14;
|
||||
}
|
||||
|
||||
message InstableSprayGalleryInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5588;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 score = 3;
|
||||
}
|
||||
|
||||
message SceneGalleryMuqadasPotionInfo {
|
||||
uint32 score = 6;
|
||||
uint32 capture_weakness_count = 4;
|
||||
uint32 skill_energy = 10;
|
||||
uint32 skill_use_limit = 9;
|
||||
}
|
||||
|
||||
message VintageHuntingFirstStageInfo {
|
||||
uint32 timid_cnt = 15;
|
||||
uint32 brutal_cnt = 7;
|
||||
uint32 score = 14;
|
||||
uint32 elite_cnt = 11;
|
||||
}
|
||||
|
||||
message VintageHuntingSecondStageInfo {
|
||||
uint32 total_num = 11;
|
||||
uint32 capture_animal_num = 13;
|
||||
uint32 left_num = 3;
|
||||
}
|
||||
|
||||
message VintageHuntingThirdStageInfo {
|
||||
}
|
||||
|
||||
message SceneGalleryVintageHuntingInfo {
|
||||
uint32 stage_id = 7;
|
||||
oneof info {
|
||||
VintageHuntingFirstStageInfo first_stage_info = 2;
|
||||
VintageHuntingSecondStageInfo second_stage_info = 15;
|
||||
VintageHuntingThirdStageInfo third_stage_info = 12;
|
||||
}
|
||||
}
|
||||
|
||||
message WindFieldGalleryInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5526;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 show_id = 3;
|
||||
uint32 killed_monster_num = 7;
|
||||
uint32 coin_num = 9;
|
||||
uint32 challenge_ball_max_count = 1;
|
||||
uint32 challenge_total_time = 5;
|
||||
uint32 challenge_ball_cur_count = 10;
|
||||
uint32 challenge_timestamp = 4;
|
||||
uint32 element_ball_num = 14;
|
||||
}
|
||||
|
||||
message WindFieldGalleryChallengeInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5563;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 challenge_timestamp = 6;
|
||||
bool is_start = 8;
|
||||
uint32 show_id = 12;
|
||||
bool is_success = 7;
|
||||
uint32 challenge_total_time = 13;
|
||||
uint32 challenge_ball_max_count = 11;
|
||||
uint32 challenge_ball_cur_count = 1;
|
||||
}
|
||||
|
||||
message FungusFighterTrainingInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5595;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 buff_start_time = 3;
|
||||
uint32 max_skill_count = 7;
|
||||
uint32 max_monster_count = 8;
|
||||
uint32 buff_id = 14;
|
||||
uint32 buff_last_time = 4;
|
||||
uint32 rest_skill_count = 6;
|
||||
uint32 killed_monster_count = 15;
|
||||
}
|
||||
|
||||
message FungusFighterTrainingSettleInfo {
|
||||
uint32 used_time = 15;
|
||||
GalleryStopReason reason = 3;
|
||||
string transaction = 1;
|
||||
}
|
||||
|
||||
message FungusCaptureSettleNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5506;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_success = 2;
|
||||
}
|
||||
|
||||
message HideAndSeekPlayerCapturedNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5534;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 ghost_skill_id = 12;
|
||||
}
|
||||
|
||||
message CoinCollectGallerySettleNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5550;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 coin_collect_num = 11;
|
||||
uint32 coin_total_num = 7;
|
||||
uint32 level_id = 9;
|
||||
uint32 coin_collect_time = 4;
|
||||
uint32 multistage_play_index = 6;
|
||||
bool is_new_record = 10;
|
||||
}
|
||||
1675
protocol/proto_hk4e/cmd/cmd_gcg.proto
Normal file
1675
protocol/proto_hk4e/cmd/cmd_gcg.proto
Normal file
File diff suppressed because it is too large
Load Diff
171
protocol/proto_hk4e/cmd/cmd_gcg_common.proto
Normal file
171
protocol/proto_hk4e/cmd/cmd_gcg_common.proto
Normal file
@@ -0,0 +1,171 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
enum GCGActionType {
|
||||
GCG_ACTION_NONE = 0;
|
||||
GCG_ACTION_SPECIAL_PHASE = 1;
|
||||
GCG_ACTION_NEXT_PHASE = 2;
|
||||
GCG_ACTION_DRAW = 3;
|
||||
GCG_ACTION_REDRAW = 4;
|
||||
GCG_ACTION_SELECT_ONSTAGE = 5;
|
||||
GCG_ACTION_ROLL = 6;
|
||||
GCG_ACTION_REROLL = 7;
|
||||
GCG_ACTION_ATTACK = 8;
|
||||
GCG_ACTION_PLAY_CARD = 9;
|
||||
GCG_ACTION_PASS = 10;
|
||||
GCG_ACTION_REBOOT = 11;
|
||||
GCG_ACTION_GAME_OVER = 12;
|
||||
GCG_ACTION_TRIGGER = 13;
|
||||
GCG_ACTION_PHASE_EXIT = 14;
|
||||
GCG_ACTION_CUSTOM = 15;
|
||||
GCG_ACTION_NOTIFY_COST = 16;
|
||||
GCG_ACTION_AFTER_OPERATION = 17;
|
||||
GCG_ACTION_USE_SKILL = 18;
|
||||
GCG_ACTION_NOTIFY_SKILL_PREVIEW = 19;
|
||||
GCG_ACTION_PREVIEW_ATTACK = 20;
|
||||
GCG_ACTION_PREVIEW_AFTER_ATTACK = 21;
|
||||
GCG_ACTION_SEND_MESSAGE = 22;
|
||||
GCG_ACTION_WAITING_CHARACTER = 23;
|
||||
GCG_ACTION_TRIGGER_SKILL = 24;
|
||||
GCG_ACTION_BEFORE_NEXT_OPERATION = 25;
|
||||
}
|
||||
|
||||
enum GCGControllerValue {
|
||||
GCG_CONTROLLER_NONE = 0;
|
||||
GCG_CONTROLLER_A = 1;
|
||||
GCG_CONTROLLER_B = 2;
|
||||
}
|
||||
|
||||
enum GCGDiceSideType {
|
||||
GCG_DICE_SIDE_INVALID = 0;
|
||||
GCG_DICE_SIDE_CRYO = 1;
|
||||
GCG_DICE_SIDE_HYDRO = 2;
|
||||
GCG_DICE_SIDE_PYRO = 3;
|
||||
GCG_DICE_SIDE_ELECTRO = 4;
|
||||
GCG_DICE_SIDE_GEO = 5;
|
||||
GCG_DICE_SIDE_DENDRO = 6;
|
||||
GCG_DICE_SIDE_ANEMO = 7;
|
||||
GCG_DICE_SIDE_PAIMON = 8;
|
||||
}
|
||||
|
||||
enum GCGZoneType {
|
||||
GCG_ZONE_INVALID = 0;
|
||||
GCG_ZONE_DECK = 1;
|
||||
GCG_ZONE_HAND = 2;
|
||||
GCG_ZONE_CHARACTER = 3;
|
||||
GCG_ZONE_MODIFY = 4;
|
||||
GCG_ZONE_SUMMON = 5;
|
||||
GCG_ZONE_ASSIST = 7;
|
||||
GCG_ZONE_ONSTAGE = 8;
|
||||
GCG_ZONE_RULE = 9;
|
||||
}
|
||||
|
||||
enum GCGPhaseType {
|
||||
GCG_PHASE_INVALID = 0;
|
||||
GCG_PHASE_START = 1;
|
||||
GCG_PHASE_DRAW = 2;
|
||||
GCG_PHASE_ON_STAGE = 3;
|
||||
GCG_PHASE_DICE = 4;
|
||||
GCG_PHASE_MAIN = 5;
|
||||
GCG_PHASE_END = 6;
|
||||
GCG_PHASE_DIE = 7;
|
||||
GCG_PHASE_FIN = 8;
|
||||
GCG_PHASE_PRE_MAIN = 9;
|
||||
GCG_PHASE_REROLL = 10;
|
||||
}
|
||||
|
||||
enum GCGTargetType {
|
||||
GCG_TARGET_NONE = 0;
|
||||
GCG_TARGET_CARD = 1;
|
||||
GCG_TARGET_DICE = 2;
|
||||
}
|
||||
|
||||
enum GCGCardState {
|
||||
GCG_CARD_STATE_HIDE = 0;
|
||||
GCG_CARD_STATE_SELF = 1;
|
||||
GCG_CARD_STATE_SHOW = 2;
|
||||
}
|
||||
|
||||
enum GCGReason {
|
||||
GCG_REASON_DEFAULT = 0;
|
||||
GCG_REASON_EFFECT = 1;
|
||||
GCG_REASON_COST = 2;
|
||||
GCG_REASON_GM = 3;
|
||||
GCG_REASON_ATTACK = 4;
|
||||
GCG_REASON_REBOOT = 5;
|
||||
GCG_REASON_PLAY_CARD = 6;
|
||||
GCG_REASON_QUICKLY_ONSTAGE = 7;
|
||||
GCG_REASON_REMOVE_AFTER_DIE = 8;
|
||||
GCG_REASON_INIT = 9;
|
||||
GCG_REASON_EFFECT_DAMAGE = 10;
|
||||
GCG_REASON_EFFECT_HEAL = 11;
|
||||
GCG_REASON_EFFECT_REVIVE = 12;
|
||||
}
|
||||
|
||||
enum GCGClientPerformType {
|
||||
GCG_PERFORM_INVALID = 0;
|
||||
GCG_PERFORM_CARD_EXCHANGE = 1;
|
||||
GCG_PERFORM_FIRST_HAND = 2;
|
||||
GCG_PERFORM_REROLL = 3;
|
||||
}
|
||||
|
||||
enum GCGEndReason {
|
||||
GCG_END_REASON_DEFAULT = 0;
|
||||
GCG_END_REASON_DIE = 1;
|
||||
GCG_END_REASON_SURRENDER = 2;
|
||||
GCG_END_REASON_DISCONNECTED = 3;
|
||||
GCG_END_REASON_ROUND_LIMIT = 4;
|
||||
GCG_END_REASON_GM = 5;
|
||||
GCG_END_REASON_NO_PLAYER = 6;
|
||||
GCG_END_REASON_GIVE_UP = 7;
|
||||
GCG_END_REASON_INIT_TIMEOUT = 8;
|
||||
GCG_END_REASON_EFFECT = 9;
|
||||
}
|
||||
|
||||
enum GCGTavernNPCState {
|
||||
GCG_TRAVERN_NPC_STATE_NONE = 0;
|
||||
GCG_TRAVERN_NPC_STATE_DUEL = 1;
|
||||
GCG_TRAVERN_NPC_STATE_STAND = 2;
|
||||
}
|
||||
|
||||
enum GCGGameBusinessType {
|
||||
GCG_GAME_NONE = 0;
|
||||
GCG_GAME_GM = 1;
|
||||
GCG_GAME_MATCH = 2;
|
||||
GCG_GAME_PVP = 3;
|
||||
GCG_GAME_TAVERN_CHALLENGE = 4;
|
||||
GCG_GAME_CONST_CHALLENGE = 5;
|
||||
GCG_GAME_WORLD_CHALLENGE = 6;
|
||||
GCG_GAME_BOSS_CHALLENGE = 7;
|
||||
GCG_GAME_WEEK_CHALLENGE = 8;
|
||||
GCG_GAME_BREAK_CHALLENGE = 9;
|
||||
GCG_GAME_QUEST = 10;
|
||||
GCG_GAME_GUIDE_GROUP = 11;
|
||||
}
|
||||
|
||||
enum GCGChallengeType {
|
||||
GCG_CHALLENGE_NONE = 0;
|
||||
GCG_CHALLENGE_CONST = 1;
|
||||
GCG_CHALLENGE_WEEK = 2;
|
||||
GCG_CHALLENGE_WORLD = 3;
|
||||
}
|
||||
|
||||
enum GCGLevelType {
|
||||
GCG_LEVEL_NONE = 0;
|
||||
GCG_LEVEL_CONST = 1;
|
||||
GCG_LEVEL_WEEK = 2;
|
||||
GCG_LEVEL_WORLD = 3;
|
||||
GCG_LEVEL_BOSS = 4;
|
||||
GCG_LEVEL_CHARACTER = 5;
|
||||
GCG_LEVEL_BREAK = 6;
|
||||
GCG_LEVEL_QUEST = 7;
|
||||
GCG_LEVEL_GUIDE_GROUP = 8;
|
||||
}
|
||||
|
||||
enum GCGIntentionChangeType {
|
||||
GCG_INTENTION_CHANGE_NONE = 0;
|
||||
GCG_INTENTION_CHANGE_RM = 1;
|
||||
}
|
||||
64
protocol/proto_hk4e/cmd/cmd_group_link.proto
Normal file
64
protocol/proto_hk4e/cmd/cmd_group_link.proto
Normal file
@@ -0,0 +1,64 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message GroupLinkBundle {
|
||||
Vector center = 4;
|
||||
bool is_activated = 12;
|
||||
uint32 bundle_id = 3;
|
||||
bool is_show_mark = 14;
|
||||
uint32 scene_id = 5;
|
||||
uint32 radius = 1;
|
||||
}
|
||||
|
||||
message GroupLinkAllNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5776;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated GroupLinkBundle bundle_list = 5;
|
||||
}
|
||||
|
||||
message GroupLinkChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5768;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
GroupLinkBundle bundle = 8;
|
||||
}
|
||||
|
||||
message GroupLinkDeleteNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5775;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 bundle_id = 12;
|
||||
}
|
||||
|
||||
message GroupLinkMarkUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5757;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
GroupLinkBundle bundle = 11;
|
||||
}
|
||||
78
protocol/proto_hk4e/cmd/cmd_h5_activity.proto
Normal file
78
protocol/proto_hk4e/cmd/cmd_h5_activity.proto
Normal file
@@ -0,0 +1,78 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
message H5ActivityInfo {
|
||||
uint32 h5_activity_id = 3;
|
||||
string url = 4;
|
||||
bool is_entrance_open = 7;
|
||||
uint32 h5_schedule_id = 8;
|
||||
uint32 end_time = 10;
|
||||
string prefab_path = 11;
|
||||
uint32 content_close_time = 2;
|
||||
uint32 begin_time = 13;
|
||||
}
|
||||
|
||||
message GetAllH5ActivityInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5668;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetAllH5ActivityInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5676;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated H5ActivityInfo h5_activity_info_list = 15;
|
||||
int32 retcode = 5;
|
||||
uint32 client_red_dot_timestamp = 12;
|
||||
}
|
||||
|
||||
message H5ActivityIdsNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5675;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 client_red_dot_timestamp = 1;
|
||||
map<uint32, uint32> h5_activity_map = 12;
|
||||
}
|
||||
|
||||
message SetH5ActivityRedDotTimestampReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5657;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 client_red_dot_timestamp = 13;
|
||||
}
|
||||
|
||||
message SetH5ActivityRedDotTimestampRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5652;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
}
|
||||
2307
protocol/proto_hk4e/cmd/cmd_home.proto
Normal file
2307
protocol/proto_hk4e/cmd/cmd_home.proto
Normal file
File diff suppressed because it is too large
Load Diff
215
protocol/proto_hk4e/cmd/cmd_hunting.proto
Normal file
215
protocol/proto_hk4e/cmd/cmd_hunting.proto
Normal file
@@ -0,0 +1,215 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message HuntingPair {
|
||||
uint32 refresh_id = 9;
|
||||
uint32 monster_config_id = 4;
|
||||
}
|
||||
|
||||
message TakeHuntingOfferReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4326;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 14;
|
||||
uint32 city_id = 4;
|
||||
}
|
||||
|
||||
message TakeHuntingOfferRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4318;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 13;
|
||||
uint32 city_id = 14;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message HuntingOfferData {
|
||||
HuntingPair hunting_pair = 4;
|
||||
uint32 city_id = 8;
|
||||
HuntingOfferState state = 1;
|
||||
}
|
||||
|
||||
message GetCityHuntingOfferReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4325;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 9;
|
||||
}
|
||||
|
||||
message GetCityHuntingOfferRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4307;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
repeated HuntingOfferData hunting_offer_list = 13;
|
||||
uint32 city_id = 2;
|
||||
HuntingPair ongoing_hunting_pair = 8;
|
||||
uint32 cur_week_finished_count = 1;
|
||||
uint32 next_refresh_time = 4;
|
||||
}
|
||||
|
||||
message GetHuntingOfferRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4302;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 6;
|
||||
HuntingPair hunting_pair = 4;
|
||||
}
|
||||
|
||||
message GetHuntingOfferRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4331;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 14;
|
||||
uint32 city_id = 3;
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message HuntingStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4329;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
Vector clue_position = 4;
|
||||
uint32 fail_time = 15;
|
||||
HuntingPair hunting_pair = 3;
|
||||
bool is_final = 8;
|
||||
}
|
||||
|
||||
message HuntingRevealClueNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4322;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 finish_clue_count = 5;
|
||||
Vector clue_position = 4;
|
||||
HuntingPair hunting_pair = 12;
|
||||
uint32 finished_group_id = 7;
|
||||
}
|
||||
|
||||
message HuntingRevealFinalNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4344;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 finished_group_id = 5;
|
||||
HuntingPair hunting_pair = 11;
|
||||
Vector final_position = 2;
|
||||
}
|
||||
|
||||
message HuntingSuccessNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4349;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 4;
|
||||
}
|
||||
|
||||
message HuntingFailNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4320;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 12;
|
||||
}
|
||||
|
||||
message HuntingOngoingNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4345;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 15;
|
||||
bool is_started = 8;
|
||||
Vector next_position = 3;
|
||||
uint32 finish_clue_count = 10;
|
||||
bool is_final = 14;
|
||||
uint32 fail_time = 7;
|
||||
}
|
||||
|
||||
message HuntingGiveUpReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4341;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
HuntingPair hunting_pair = 1;
|
||||
}
|
||||
|
||||
message HuntingGiveUpRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4342;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
HuntingPair hunting_pair = 4;
|
||||
}
|
||||
228
protocol/proto_hk4e/cmd/cmd_investigation.proto
Normal file
228
protocol/proto_hk4e/cmd/cmd_investigation.proto
Normal file
@@ -0,0 +1,228 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message Investigation {
|
||||
enum State {
|
||||
INVALID = 0;
|
||||
IN_PROGRESS = 1;
|
||||
COMPLETE = 2;
|
||||
REWARD_TAKEN = 3;
|
||||
}
|
||||
|
||||
uint32 total_progress = 5;
|
||||
State state = 2;
|
||||
uint32 progress = 13;
|
||||
uint32 id = 9;
|
||||
}
|
||||
|
||||
message InvestigationTarget {
|
||||
enum State {
|
||||
INVALID = 0;
|
||||
IN_PROGRESS = 1;
|
||||
COMPLETE = 2;
|
||||
REWARD_TAKEN = 3;
|
||||
}
|
||||
|
||||
uint32 quest_id = 15;
|
||||
State state = 2;
|
||||
uint32 progress = 8;
|
||||
uint32 total_progress = 7;
|
||||
uint32 investigation_id = 3;
|
||||
}
|
||||
|
||||
message PlayerInvestigationAllInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1928;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Investigation investigation_list = 15;
|
||||
repeated InvestigationTarget investigation_target_list = 12;
|
||||
}
|
||||
|
||||
message TakeInvestigationRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1912;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 id = 5;
|
||||
}
|
||||
|
||||
message TakeInvestigationRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1922;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
uint32 id = 12;
|
||||
}
|
||||
|
||||
message TakeInvestigationTargetRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1918;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 11;
|
||||
}
|
||||
|
||||
message TakeInvestigationTargetRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1916;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 quest_id = 2;
|
||||
}
|
||||
|
||||
message GetInvestigationMonsterReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1901;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 city_id_list = 3;
|
||||
bool is_for_mark = 4;
|
||||
}
|
||||
|
||||
message InvestigationMonster {
|
||||
enum LockState {
|
||||
LOCK_NONE = 0;
|
||||
LOCK_QUEST = 1;
|
||||
}
|
||||
|
||||
bool is_alive = 9;
|
||||
uint32 refresh_interval = 3;
|
||||
uint32 id = 13;
|
||||
uint32 level = 5;
|
||||
uint32 boss_chest_num = 1;
|
||||
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12;
|
||||
uint32 monster_id = 301;
|
||||
Vector pos = 14;
|
||||
uint32 resin = 8;
|
||||
uint32 max_boss_chest_num = 4;
|
||||
uint32 next_refresh_time = 11;
|
||||
uint32 group_id = 285;
|
||||
uint32 scene_id = 10;
|
||||
bool is_area_locked = 15;
|
||||
LockState lock_state = 2;
|
||||
uint32 next_boss_chest_refresh_time = 7;
|
||||
uint32 city_id = 6;
|
||||
}
|
||||
|
||||
message GetInvestigationMonsterRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1910;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated InvestigationMonster monster_list = 10;
|
||||
int32 retcode = 1;
|
||||
bool is_for_mark = 2;
|
||||
}
|
||||
|
||||
message PlayerInvestigationNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1911;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Investigation investigation_list = 1;
|
||||
}
|
||||
|
||||
message PlayerInvestigationTargetNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1929;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated InvestigationTarget investigation_target_list = 1;
|
||||
}
|
||||
|
||||
message MarkTargetInvestigationMonsterNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1915;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 scene_id = 11;
|
||||
uint32 monster_id = 4;
|
||||
uint32 group_id = 5;
|
||||
uint32 investigation_monster_id = 12;
|
||||
}
|
||||
|
||||
message InvestigationMonsterUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1906;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
InvestigationMonster investigation_monster = 5;
|
||||
}
|
||||
|
||||
message InvestigationQuestDailyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1921;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message InvestigationReadQuestDailyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1902;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
968
protocol/proto_hk4e/cmd/cmd_item.proto
Normal file
968
protocol/proto_hk4e/cmd/cmd_item.proto
Normal file
@@ -0,0 +1,968 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum ForgeQueueManipulateType {
|
||||
FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT = 0;
|
||||
FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE = 1;
|
||||
}
|
||||
|
||||
enum MaterialDeleteReturnType {
|
||||
MATERIAL_DELETE_RETURN_BAG = 0;
|
||||
MATERIAL_DELETE_RETURN_SEED = 1;
|
||||
}
|
||||
|
||||
message PlayerStoreNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 672;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Item item_list = 15;
|
||||
uint32 weight_limit = 8;
|
||||
StoreType store_type = 2;
|
||||
}
|
||||
|
||||
message StoreWeightLimitNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 698;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 weapon_count_limit = 2;
|
||||
StoreType store_type = 7;
|
||||
uint32 material_count_limit = 4;
|
||||
uint32 reliquary_count_limit = 6;
|
||||
uint32 furniture_count_limit = 9;
|
||||
uint32 weight_limit = 15;
|
||||
}
|
||||
|
||||
message StoreItemChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 612;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
StoreType store_type = 12;
|
||||
repeated Item item_list = 10;
|
||||
}
|
||||
|
||||
message StoreItemDelNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 635;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint64 guid_list = 12;
|
||||
StoreType store_type = 15;
|
||||
}
|
||||
|
||||
message ItemHint {
|
||||
uint32 item_id = 8;
|
||||
bool is_new = 2;
|
||||
uint32 count = 15;
|
||||
uint64 guid = 4;
|
||||
}
|
||||
|
||||
message ItemAddHintNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 607;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_position_valid = 14;
|
||||
uint32 quest_id = 3;
|
||||
uint32 reason = 6;
|
||||
bool is_general_reward_hiden = 15;
|
||||
repeated ItemHint item_list = 10;
|
||||
bool is_transfered_from_avatar_card = 12;
|
||||
Vector position = 9;
|
||||
repeated ItemHint overflow_transformed_item_list = 8;
|
||||
}
|
||||
|
||||
message UseItemReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 690;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 count = 13;
|
||||
uint64 target_guid = 14;
|
||||
uint64 guid = 10;
|
||||
bool is_enter_mp_dungeon_team = 15;
|
||||
uint32 option_idx = 7;
|
||||
}
|
||||
|
||||
message UseItemRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 673;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 guid = 5;
|
||||
uint64 target_guid = 1;
|
||||
uint32 item_id = 4;
|
||||
uint32 option_idx = 8;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message DropItemReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 699;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector pos = 11;
|
||||
StoreType store_type = 1;
|
||||
uint32 count = 2;
|
||||
uint64 guid = 13;
|
||||
}
|
||||
|
||||
message DropItemRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 631;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
uint64 guid = 1;
|
||||
StoreType store_type = 15;
|
||||
}
|
||||
|
||||
message WearEquipReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 697;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 equip_guid = 7;
|
||||
uint64 avatar_guid = 5;
|
||||
}
|
||||
|
||||
message WearEquipRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 681;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
uint64 equip_guid = 1;
|
||||
uint64 avatar_guid = 7;
|
||||
}
|
||||
|
||||
message TakeoffEquipReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 605;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 8;
|
||||
uint32 slot = 15;
|
||||
}
|
||||
|
||||
message TakeoffEquipRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 682;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 9;
|
||||
int32 retcode = 6;
|
||||
uint32 slot = 10;
|
||||
}
|
||||
|
||||
message AvatarEquipChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 647;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 10;
|
||||
uint64 equip_guid = 13;
|
||||
SceneReliquaryInfo reliquary = 1;
|
||||
SceneWeaponInfo weapon = 15;
|
||||
uint32 item_id = 14;
|
||||
uint32 equip_type = 8;
|
||||
}
|
||||
|
||||
message WeaponUpgradeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 639;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint64 food_weapon_guid_list = 1;
|
||||
repeated ItemParam item_param_list = 15;
|
||||
uint64 target_weapon_guid = 4;
|
||||
}
|
||||
|
||||
message WeaponUpgradeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 653;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_level = 7;
|
||||
int32 retcode = 11;
|
||||
uint32 old_level = 8;
|
||||
repeated ItemParam item_param_list = 2;
|
||||
uint64 target_weapon_guid = 6;
|
||||
}
|
||||
|
||||
message WeaponPromoteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 622;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 target_weapon_guid = 5;
|
||||
}
|
||||
|
||||
message WeaponPromoteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 665;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 target_weapon_guid = 3;
|
||||
uint32 old_promote_level = 7;
|
||||
uint32 cur_promote_level = 12;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message ReliquaryUpgradeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 604;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam item_param_list = 11;
|
||||
uint64 target_reliquary_guid = 6;
|
||||
repeated uint64 food_reliquary_guid_list = 12;
|
||||
}
|
||||
|
||||
message ReliquaryUpgradeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 693;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 old_level = 4;
|
||||
uint32 cur_level = 13;
|
||||
uint64 target_reliquary_guid = 9;
|
||||
repeated uint32 cur_append_prop_list = 2;
|
||||
uint32 power_up_rate = 6;
|
||||
repeated uint32 old_append_prop_list = 15;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message ReliquaryPromoteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 627;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 item_guid = 10;
|
||||
uint64 target_guid = 13;
|
||||
}
|
||||
|
||||
message ReliquaryPromoteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 694;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 old_promote_level = 10;
|
||||
uint64 target_reliquary_guid = 6;
|
||||
repeated uint32 cur_append_prop_list = 9;
|
||||
int32 retcode = 12;
|
||||
uint32 cur_promote_level = 2;
|
||||
repeated uint32 old_append_prop_list = 8;
|
||||
}
|
||||
|
||||
message AvatarCardChangeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 688;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 item_id = 6;
|
||||
uint64 avatar_guid = 14;
|
||||
uint32 count = 7;
|
||||
}
|
||||
|
||||
message AvatarCardChangeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 626;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message GrantRewardNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 663;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
Reward reward = 6;
|
||||
}
|
||||
|
||||
message WeaponAwakenReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 695;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 item_guid = 10;
|
||||
map<uint32, uint32> affix_level_map = 7;
|
||||
uint64 target_weapon_guid = 9;
|
||||
}
|
||||
|
||||
message WeaponAwakenRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 606;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
uint64 avatar_guid = 10;
|
||||
map<uint32, uint32> old_affix_level_map = 4;
|
||||
uint32 target_weapon_awaken_level = 2;
|
||||
uint64 target_weapon_guid = 15;
|
||||
map<uint32, uint32> cur_affix_level_map = 11;
|
||||
}
|
||||
|
||||
message ItemCdGroupTimeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 634;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint64> item_cd_map = 9;
|
||||
}
|
||||
|
||||
message DropHintNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 650;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
Vector position = 7;
|
||||
repeated uint32 item_id_list = 14;
|
||||
}
|
||||
|
||||
message CombineReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 643;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 combine_count = 12;
|
||||
uint32 combine_id = 9;
|
||||
uint64 avatar_guid = 14;
|
||||
}
|
||||
|
||||
message CombineRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 674;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam cost_item_list = 3;
|
||||
int32 retcode = 7;
|
||||
repeated ItemParam total_extra_item_list = 6;
|
||||
uint32 combine_id = 11;
|
||||
repeated ItemParam total_random_item_list = 9;
|
||||
repeated ItemParam result_item_list = 2;
|
||||
uint32 combine_count = 13;
|
||||
repeated ItemParam total_return_item_list = 12;
|
||||
uint64 avatar_guid = 10;
|
||||
}
|
||||
|
||||
message ForgeQueueData {
|
||||
uint32 finish_count = 13;
|
||||
uint32 total_finish_timestamp = 14;
|
||||
uint32 avatar_id = 7;
|
||||
uint32 queue_id = 1;
|
||||
uint32 unfinish_count = 10;
|
||||
uint32 next_finish_timestamp = 11;
|
||||
uint32 forge_id = 15;
|
||||
}
|
||||
|
||||
message ForgeQueueDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 676;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
map<uint32, ForgeQueueData> forge_queue_map = 7;
|
||||
repeated uint32 removed_forge_queue_list = 6;
|
||||
}
|
||||
|
||||
message ForgeGetQueueDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 646;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ForgeGetQueueDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 641;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, ForgeQueueData> forge_queue_map = 2;
|
||||
int32 retcode = 15;
|
||||
uint32 max_queue_num = 6;
|
||||
}
|
||||
|
||||
message ForgeStartReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 649;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 avatar_id = 7;
|
||||
uint32 forge_id = 4;
|
||||
uint32 forge_count = 6;
|
||||
}
|
||||
|
||||
message ForgeStartRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 691;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message ForgeQueueManipulateReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 624;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 forge_queue_id = 5;
|
||||
ForgeQueueManipulateType manipulate_type = 13;
|
||||
}
|
||||
|
||||
message ForgeQueueManipulateRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 656;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ForgeQueueManipulateType manipulate_type = 4;
|
||||
repeated ItemParam extra_output_item_list = 13;
|
||||
repeated ItemParam return_item_list = 10;
|
||||
int32 retcode = 1;
|
||||
repeated ItemParam output_item_list = 9;
|
||||
}
|
||||
|
||||
message ResinChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 642;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 next_add_timestamp = 6;
|
||||
uint32 cur_buy_count = 4;
|
||||
uint32 cur_value = 12;
|
||||
}
|
||||
|
||||
message BuyResinReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 602;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message BuyResinRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 619;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 cur_value = 10;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message MaterialDeleteReturnNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 661;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> return_item_map = 5;
|
||||
MaterialDeleteReturnType type = 8;
|
||||
map<uint32, uint32> delete_material_map = 6;
|
||||
}
|
||||
|
||||
message TakeMaterialDeleteReturnReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 629;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
MaterialDeleteReturnType type = 8;
|
||||
}
|
||||
|
||||
message TakeMaterialDeleteReturnRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 657;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message MaterialDeleteUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 700;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message McoinExchangeHcoinReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 616;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 hcoin = 5;
|
||||
uint32 mcoin_cost = 1;
|
||||
}
|
||||
|
||||
message McoinExchangeHcoinRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 687;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mcoin_cost = 8;
|
||||
uint32 hcoin = 7;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message MaterilaInfo {
|
||||
uint32 count = 11;
|
||||
uint64 guid = 5;
|
||||
}
|
||||
|
||||
message DestroyMaterialReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 640;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated MaterilaInfo material_list = 5;
|
||||
}
|
||||
|
||||
message DestroyMaterialRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 618;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 item_count_list = 12;
|
||||
repeated uint32 item_id_list = 13;
|
||||
int32 retcode = 11;
|
||||
}
|
||||
|
||||
message SetEquipLockStateReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 666;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_locked = 15;
|
||||
uint64 target_equip_guid = 9;
|
||||
}
|
||||
|
||||
message SetEquipLockStateRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 668;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 target_equip_guid = 14;
|
||||
int32 retcode = 13;
|
||||
bool is_locked = 10;
|
||||
}
|
||||
|
||||
message CalcWeaponUpgradeReturnItemsReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 633;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint64 food_weapon_guid_list = 15;
|
||||
uint64 target_weapon_guid = 12;
|
||||
repeated ItemParam item_param_list = 3;
|
||||
}
|
||||
|
||||
message CalcWeaponUpgradeReturnItemsRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 684;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam item_param_list = 4;
|
||||
int32 retcode = 15;
|
||||
uint64 target_weapon_guid = 8;
|
||||
}
|
||||
|
||||
message ForgeDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 680;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 forge_id_list = 5;
|
||||
map<uint32, ForgeQueueData> forge_queue_map = 8;
|
||||
uint32 max_queue_num = 14;
|
||||
}
|
||||
|
||||
message ForgeFormulaDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 689;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_locked = 15;
|
||||
uint32 forge_id = 13;
|
||||
}
|
||||
|
||||
message CombineDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 659;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 combine_id_list = 5;
|
||||
}
|
||||
|
||||
message CombineFormulaDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 632;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 combine_id = 6;
|
||||
bool is_locked = 3;
|
||||
}
|
||||
|
||||
message ClosedItemNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 614;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 item_id_list = 8;
|
||||
}
|
||||
|
||||
message CheckAddItemExceedLimitNotify {
|
||||
enum ItemExceedLimitMsgType {
|
||||
ITEM_EXCEED_LIMIT_MSG_DEFAULT = 0;
|
||||
ITEM_EXCEED_LIMIT_MSG_TEXT = 1;
|
||||
ITEM_EXCEED_LIMIT_MSG_DIALOG = 2;
|
||||
ITEM_EXCEED_LIMIT_MSG_DIALOG_NONBLOCK = 3;
|
||||
}
|
||||
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 692;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_drop = 5;
|
||||
ItemExceedLimitMsgType msg_type = 4;
|
||||
repeated uint32 exceeded_item_type_list = 10;
|
||||
repeated uint32 exceeded_item_list = 12;
|
||||
uint32 reason = 14;
|
||||
}
|
||||
|
||||
message SetIsAutoUnlockSpecificEquipReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 620;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_auto_unlock_specific_equip = 14;
|
||||
}
|
||||
|
||||
message SetIsAutoUnlockSpecificEquipRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 664;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message ReliquaryDecomposeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 638;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 config_id = 13;
|
||||
uint32 target_count = 9;
|
||||
repeated uint64 guid_list = 8;
|
||||
}
|
||||
|
||||
message ReliquaryDecomposeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 611;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
repeated uint64 guid_list = 14;
|
||||
}
|
||||
|
||||
message ReliquaryFilterStateSaveNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 644;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> reliquary_filter_state_map = 8;
|
||||
}
|
||||
|
||||
message ReliquaryFilterStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 686;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> reliquary_filter_state_map = 5;
|
||||
}
|
||||
209
protocol/proto_hk4e/cmd/cmd_mail.proto
Normal file
209
protocol/proto_hk4e/cmd/cmd_mail.proto
Normal file
@@ -0,0 +1,209 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum AuthkeySignType {
|
||||
AUTHKEY_SIGN_TYPE_NONE = 0;
|
||||
AUTHKEY_SIGN_TYPE_DEFAULT = 1;
|
||||
AUTHKEY_SIGN_TYPE_RSA = 2;
|
||||
}
|
||||
|
||||
message MailChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1498;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated MailData mail_list = 14;
|
||||
repeated uint32 del_mail_id_list = 8;
|
||||
}
|
||||
|
||||
message ReadMailNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1412;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 mail_id_list = 2;
|
||||
}
|
||||
|
||||
message GetMailItemReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1435;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 mail_id_list = 6;
|
||||
}
|
||||
|
||||
message GetMailItemRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1407;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
repeated EquipParam item_list = 2;
|
||||
}
|
||||
|
||||
message DelMailReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1421;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 mail_id_list = 12;
|
||||
}
|
||||
|
||||
message DelMailRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1403;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
repeated uint32 mail_id_list = 5;
|
||||
}
|
||||
|
||||
message GetAuthkeyReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1490;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string auth_appid = 14;
|
||||
uint32 sign_type = 7;
|
||||
uint32 authkey_ver = 13;
|
||||
}
|
||||
|
||||
message GetAuthkeyRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1473;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string auth_appid = 4;
|
||||
uint32 sign_type = 15;
|
||||
int32 retcode = 6;
|
||||
uint32 authkey_ver = 9;
|
||||
string game_biz = 11;
|
||||
string authkey = 3;
|
||||
}
|
||||
|
||||
message ClientNewMailNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1499;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 not_read_num = 7;
|
||||
uint32 not_got_attachment_num = 2;
|
||||
}
|
||||
|
||||
message GetAllMailReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1431;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_collected = 7;
|
||||
}
|
||||
|
||||
message GetAllMailRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1475;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 8;
|
||||
repeated MailData mail_list = 14;
|
||||
bool is_collected = 1;
|
||||
bool is_truncated = 2;
|
||||
}
|
||||
|
||||
message ChangeMailStarNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1448;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_star = 14;
|
||||
repeated uint32 mail_id_list = 2;
|
||||
}
|
||||
|
||||
message GetAllMailNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1497;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_collected = 13;
|
||||
}
|
||||
|
||||
message GetAllMailResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1481;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string transaction = 9;
|
||||
repeated MailData mail_list = 5;
|
||||
uint32 page_index = 11;
|
||||
uint32 total_page_count = 4;
|
||||
bool is_collected = 7;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
307
protocol/proto_hk4e/cmd/cmd_match.proto
Normal file
307
protocol/proto_hk4e/cmd/cmd_match.proto
Normal file
@@ -0,0 +1,307 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message PlayerStartMatchReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4176;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
MatchType match_type = 3;
|
||||
uint32 mechanicus_difficult_level = 12;
|
||||
repeated uint32 match_param_list = 11;
|
||||
uint32 dungeon_id = 1;
|
||||
uint32 mp_play_id = 15;
|
||||
uint32 match_id = 6;
|
||||
}
|
||||
|
||||
message PlayerStartMatchRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4168;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 punish_end_time = 5;
|
||||
uint32 param = 4;
|
||||
uint32 mp_play_id = 13;
|
||||
uint32 mechanicus_difficult_level = 2;
|
||||
uint32 dungeon_id = 3;
|
||||
uint32 match_id = 8;
|
||||
MatchType match_type = 7;
|
||||
}
|
||||
|
||||
message PlayerMatchInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4175;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 match_id = 8;
|
||||
uint32 match_begin_time = 4;
|
||||
uint32 dungeon_id = 10;
|
||||
MatchType match_type = 11;
|
||||
uint32 mechanicus_difficult_level = 12;
|
||||
repeated uint32 match_param_list = 6;
|
||||
uint32 estimate_match_cost_time = 3;
|
||||
uint32 mp_play_id = 5;
|
||||
uint32 host_uid = 13;
|
||||
}
|
||||
|
||||
message PlayerCancelMatchReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4157;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
MatchType match_type = 11;
|
||||
}
|
||||
|
||||
message PlayerCancelMatchRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4152;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 6;
|
||||
MatchType match_type = 7;
|
||||
}
|
||||
|
||||
message PlayerMatchStopNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4181;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
MatchReason reason = 1;
|
||||
uint32 host_uid = 12;
|
||||
}
|
||||
|
||||
message MatchPlayerInfo {
|
||||
bool is_agreed = 9;
|
||||
OnlinePlayerInfo player_info = 2;
|
||||
}
|
||||
|
||||
message GeneralMatchInfo {
|
||||
uint32 match_param = 1;
|
||||
uint32 match_id = 9;
|
||||
repeated MatchPlayerInfo player_list = 5;
|
||||
}
|
||||
|
||||
message GCGMatchInfo {
|
||||
repeated MatchPlayerInfo player_list = 13;
|
||||
}
|
||||
|
||||
message PlayerMatchSuccNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4179;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
GeneralMatchInfo general_match_info = 7;
|
||||
uint32 mp_play_id = 15;
|
||||
uint32 host_uid = 3;
|
||||
MatchType match_type = 5;
|
||||
GCGMatchInfo gcg_match_info = 11;
|
||||
uint32 confirm_end_time = 2;
|
||||
uint32 dungeon_id = 6;
|
||||
uint32 mechanicus_difficult_level = 1;
|
||||
}
|
||||
|
||||
message PlayerConfirmMatchReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4172;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
MatchType match_type = 12;
|
||||
bool is_agreed = 10;
|
||||
}
|
||||
|
||||
message PlayerConfirmMatchRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4194;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
MatchType match_type = 9;
|
||||
uint32 match_id = 4;
|
||||
bool is_agreed = 11;
|
||||
int32 retcode = 10;
|
||||
}
|
||||
|
||||
message PlayerAllowEnterMpAfterAgreeMatchNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4199;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 1;
|
||||
}
|
||||
|
||||
message PlayerMatchAgreedResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4170;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum Reason {
|
||||
SUCC = 0;
|
||||
TARGET_SCENE_CANNOT_ENTER = 1;
|
||||
SELF_MP_UNAVAILABLE = 2;
|
||||
OTHER_DATA_VERSION_NOT_LATEST = 3;
|
||||
DATA_VERSION_NOT_LATEST = 4;
|
||||
}
|
||||
|
||||
uint32 target_uid = 14;
|
||||
MatchType match_type = 3;
|
||||
Reason reason = 8;
|
||||
}
|
||||
|
||||
message PlayerApplyEnterMpAfterMatchAgreedNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4195;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
OnlinePlayerInfo src_player_info = 11;
|
||||
uint32 matchserver_id = 10;
|
||||
MatchType match_type = 3;
|
||||
}
|
||||
|
||||
message PlayerGeneralMatchDismissNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4191;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 uid_list = 3;
|
||||
MatchReason reason = 13;
|
||||
uint32 match_id = 1;
|
||||
}
|
||||
|
||||
message PlayerGeneralMatchConfirmNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4192;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 match_id = 8;
|
||||
bool is_agree = 13;
|
||||
uint32 uid = 14;
|
||||
}
|
||||
|
||||
message PlayerGetForceQuitBanInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4164;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message PlayerGetForceQuitBanInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4197;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
uint32 match_id = 8;
|
||||
uint32 expire_time = 13;
|
||||
}
|
||||
|
||||
message ServerTryCancelGeneralMatchNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4187;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 match_id = 9;
|
||||
}
|
||||
|
||||
message PlayerGCGMatchDismissNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4173;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 match_id = 11;
|
||||
MatchReason reason = 5;
|
||||
repeated uint32 uid_list = 7;
|
||||
}
|
||||
|
||||
message PlayerGCGMatchConfirmNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4185;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 10;
|
||||
bool is_agree = 5;
|
||||
uint32 match_id = 14;
|
||||
}
|
||||
203
protocol/proto_hk4e/cmd/cmd_mechanicus.proto
Normal file
203
protocol/proto_hk4e/cmd/cmd_mechanicus.proto
Normal file
@@ -0,0 +1,203 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message MechanicusInfo {
|
||||
repeated Uint32Pair gear_level_pair_list = 14;
|
||||
repeated uint32 open_sequence_id_list = 7;
|
||||
uint32 coin = 8;
|
||||
uint32 punish_over_time = 12;
|
||||
uint32 mechanicus_id = 10;
|
||||
repeated uint32 finish_difficult_level_list = 13;
|
||||
bool is_finish_teach_dungeon = 4;
|
||||
}
|
||||
|
||||
message GetMechanicusInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3972;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetMechanicusInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3998;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
MechanicusInfo mechanicus_info = 15;
|
||||
}
|
||||
|
||||
message MechanicusSequenceOpenNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3912;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mechanicus_id = 8;
|
||||
uint32 sequence_id = 7;
|
||||
}
|
||||
|
||||
message MechanicusCoinNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3935;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mechanicus_id = 7;
|
||||
uint32 coin = 4;
|
||||
}
|
||||
|
||||
message MechanicusOpenNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3907;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mechanicus_id = 2;
|
||||
}
|
||||
|
||||
message MechanicusCloseNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3921;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mechanicus_id = 6;
|
||||
}
|
||||
|
||||
message MechanicusUnlockGearReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3903;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 mechanicus_id = 7;
|
||||
uint32 gear_id = 6;
|
||||
}
|
||||
|
||||
message MechanicusUnlockGearRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3990;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
uint32 mechanicus_id = 8;
|
||||
uint32 gear_id = 14;
|
||||
}
|
||||
|
||||
message MechanicusLevelupGearReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3973;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gear_id = 14;
|
||||
uint32 mechanicus_id = 12;
|
||||
}
|
||||
|
||||
message MechanicusLevelupGearRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3999;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 gear_id = 7;
|
||||
uint32 mechanicus_id = 2;
|
||||
uint32 after_gear_level = 12;
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message EnterMechanicusDungeonReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3931;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 difficult_level = 7;
|
||||
}
|
||||
|
||||
message EnterMechanicusDungeonRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3975;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 wrong_uid = 12;
|
||||
uint32 difficult_level = 13;
|
||||
int32 retcode = 6;
|
||||
uint32 dungeon_id = 11;
|
||||
}
|
||||
|
||||
message MechanicusCandidateTeamCreateReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3981;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 difficult_level = 6;
|
||||
}
|
||||
|
||||
message MechanicusCandidateTeamCreateRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3905;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 dungeon_id = 1;
|
||||
int32 retcode = 7;
|
||||
uint32 difficult_level = 10;
|
||||
}
|
||||
142
protocol/proto_hk4e/cmd/cmd_miracle_ring.proto
Normal file
142
protocol/proto_hk4e/cmd/cmd_miracle_ring.proto
Normal file
@@ -0,0 +1,142 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
import "cmd/cmd_gadget.proto";
|
||||
|
||||
message UseMiracleRingReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5226;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum MiracleRingOpType {
|
||||
MIRACLE_RING_OP_NONE = 0;
|
||||
MIRACLE_RING_OP_PLACE = 1;
|
||||
MIRACLE_RING_OP_RETRACT = 2;
|
||||
}
|
||||
|
||||
uint32 miracle_ring_op_type = 13;
|
||||
Vector pos = 8;
|
||||
Vector rot = 7;
|
||||
}
|
||||
|
||||
message UseMiracleRingRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5218;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
uint32 miracle_ring_op_type = 7;
|
||||
}
|
||||
|
||||
message MiracleRingDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5225;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_gadget_created = 8;
|
||||
uint32 last_take_reward_time = 14;
|
||||
uint32 gadget_entity_id = 12;
|
||||
uint32 last_deliver_item_time = 10;
|
||||
uint32 miracle_ring_cd = 7;
|
||||
}
|
||||
|
||||
message MiracleRingTakeRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5207;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 gadget_id = 11;
|
||||
uint32 gadget_entity_id = 7;
|
||||
}
|
||||
|
||||
message MiracleRingTakeRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5202;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message MiracleRingDropResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5231;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 last_take_reward_time = 5;
|
||||
int32 drop_result = 9;
|
||||
}
|
||||
|
||||
message MiracleRingDeliverItemReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5229;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
InterOpType op_type = 9;
|
||||
repeated ItemParam item_param_list = 1;
|
||||
repeated uint64 food_weapon_guid_list = 4;
|
||||
uint32 gadget_id = 14;
|
||||
uint32 gadget_entity_id = 5;
|
||||
}
|
||||
|
||||
message MiracleRingDeliverItemRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5222;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
InteractType interact_type = 15;
|
||||
int32 retcode = 11;
|
||||
InterOpType op_type = 14;
|
||||
uint32 gadget_id = 4;
|
||||
uint32 gadget_entity_id = 9;
|
||||
}
|
||||
|
||||
message MiracleRingDestroyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5244;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 7;
|
||||
}
|
||||
398
protocol/proto_hk4e/cmd/cmd_misc.proto
Normal file
398
protocol/proto_hk4e/cmd/cmd_misc.proto
Normal file
@@ -0,0 +1,398 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
import "cmd/cmd_social.proto";
|
||||
|
||||
enum SvrMsgId {
|
||||
MSG_UNKNOWN = 0;
|
||||
MSG_BLOCK_REFRESH_COUNTDOWN = 1;
|
||||
MSG_AVATAR_REVIVE_BY_STATUE = 2;
|
||||
MSG_DAILY_TASK_REWARD_MAX_NUM = 3;
|
||||
MSG_ROUTINE_TYPE_NOT_OPEN = 4;
|
||||
MSG_ROUTINE_TYPE_REWARD_MAX_NUM = 5;
|
||||
MSG_MECHANICUS_COIN_LIMIT = 6;
|
||||
}
|
||||
|
||||
enum ServerLogType {
|
||||
SERVER_LOG_NONE = 0;
|
||||
SERVER_LOG_ABILITY = 1;
|
||||
SERVER_LOG_LEVEL = 2;
|
||||
SERVER_LOG_ENTITY = 3;
|
||||
SERVER_LOG_LUA = 4;
|
||||
}
|
||||
|
||||
enum ServerLogLevel {
|
||||
LOG_LEVEL_NONE = 0;
|
||||
LOG_LEVEL_DEBUG = 1;
|
||||
LOG_LEVEL_INFO = 2;
|
||||
LOG_LEVEL_WARNING = 3;
|
||||
LOG_LEVEL_ERROR = 4;
|
||||
}
|
||||
|
||||
enum ClientReconnectReason {
|
||||
CLIENT_RECONNNECT_NONE = 0;
|
||||
CLIENT_RECONNNECT_QUIT_MP = 1;
|
||||
}
|
||||
|
||||
message KeepAliveNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 72;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GmTalkReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 98;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string msg = 13;
|
||||
}
|
||||
|
||||
message GmTalkRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 12;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
string retmsg = 3;
|
||||
string msg = 13;
|
||||
}
|
||||
|
||||
message MsgParam {
|
||||
oneof param {
|
||||
uint32 int_param = 9;
|
||||
float flt_param = 7;
|
||||
string str_param = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message ShowMessageNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 35;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
SvrMsgId msg_id = 14;
|
||||
repeated MsgParam params = 13;
|
||||
}
|
||||
|
||||
message PingReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 7;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 client_time = 12;
|
||||
float ue_time = 14;
|
||||
double total_tick_time = 6;
|
||||
bytes sc_data = 10;
|
||||
uint32 seq = 3;
|
||||
}
|
||||
|
||||
message PingRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 21;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 client_time = 15;
|
||||
int32 retcode = 6;
|
||||
uint32 seq = 13;
|
||||
}
|
||||
|
||||
message GetOnlinePlayerListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 90;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetOnlinePlayerListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 73;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
uint32 param = 11;
|
||||
repeated OnlinePlayerInfo player_info_list = 5;
|
||||
}
|
||||
|
||||
message ServerTimeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 99;
|
||||
ENET_CHANNEL_ID = 1;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 server_time = 5;
|
||||
}
|
||||
|
||||
message ServerLogNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 31;
|
||||
ENET_CHANNEL_ID = 1;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string server_log = 7;
|
||||
ServerLogType log_type = 9;
|
||||
ServerLogLevel log_level = 15;
|
||||
}
|
||||
|
||||
message ClientReconnectNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 75;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ClientReconnectReason reason = 6;
|
||||
}
|
||||
|
||||
message RobotPushPlayerDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 97;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bytes bin = 6;
|
||||
}
|
||||
|
||||
message ClientReportNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 81;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string report_type = 1;
|
||||
string report_value = 4;
|
||||
}
|
||||
|
||||
message UnionCmd {
|
||||
bytes body = 14;
|
||||
uint32 message_id = 8;
|
||||
}
|
||||
|
||||
message UnionCmdNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated UnionCmd cmd_list = 1;
|
||||
}
|
||||
|
||||
message GetOnlinePlayerInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 82;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_online_id = 15;
|
||||
oneof player_id {
|
||||
uint32 target_uid = 9;
|
||||
string online_id = 7;
|
||||
string psn_id = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message GetOnlinePlayerInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 47;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
uint32 target_uid = 7;
|
||||
uint32 param = 4;
|
||||
OnlinePlayerInfo target_player_info = 14;
|
||||
}
|
||||
|
||||
message SegmentInfo {
|
||||
uint32 offset = 3;
|
||||
uint32 module = 7;
|
||||
uint32 size = 8;
|
||||
}
|
||||
|
||||
message SegmentCRCInfo {
|
||||
uint32 module = 13;
|
||||
int32 retcode = 5;
|
||||
uint32 size = 10;
|
||||
string crc = 3;
|
||||
uint32 offset = 11;
|
||||
}
|
||||
|
||||
message CheckSegmentCRCNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 39;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated SegmentInfo info_list = 6;
|
||||
}
|
||||
|
||||
message CheckSegmentCRCReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 53;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated SegmentCRCInfo info_list = 1;
|
||||
}
|
||||
|
||||
message PlayerRTTInfo {
|
||||
uint32 rtt = 2;
|
||||
uint32 uid = 1;
|
||||
}
|
||||
|
||||
message WorldPlayerRTTNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 22;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PlayerRTTInfo player_rtt_list = 1;
|
||||
}
|
||||
|
||||
message EchoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 65;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 seq_id = 4;
|
||||
string content = 9;
|
||||
}
|
||||
|
||||
message UpdateRedPointNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 93;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated RedPointData red_point_list = 12;
|
||||
}
|
||||
|
||||
message ClientBulletCreateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 param = 6;
|
||||
}
|
||||
|
||||
message ChangeServerGlobalValueNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 27;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 4;
|
||||
}
|
||||
|
||||
message GmTalkNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 94;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string msg = 5;
|
||||
}
|
||||
|
||||
message LastPacketPrintNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 88;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
18
protocol/proto_hk4e/cmd/cmd_monster.proto
Normal file
18
protocol/proto_hk4e/cmd/cmd_monster.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
message MonsterSummonTagNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1372;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> summon_tag_map = 1;
|
||||
uint32 monster_entity_id = 8;
|
||||
}
|
||||
395
protocol/proto_hk4e/cmd/cmd_mp.proto
Normal file
395
protocol/proto_hk4e/cmd/cmd_mp.proto
Normal file
@@ -0,0 +1,395 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message PlayerApplyEnterMpNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1826;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 src_thread_index = 5;
|
||||
uint32 src_app_id = 6;
|
||||
OnlinePlayerInfo src_player_info = 2;
|
||||
}
|
||||
|
||||
message PlayerApplyEnterMpReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1818;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 4;
|
||||
}
|
||||
|
||||
message PlayerApplyEnterMpRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1825;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
uint32 target_uid = 3;
|
||||
uint32 param = 4;
|
||||
}
|
||||
|
||||
message PlayerApplyEnterMpResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1807;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum Reason {
|
||||
PLAYER_JUDGE = 0;
|
||||
SCENE_CANNOT_ENTER = 1;
|
||||
PLAYER_CANNOT_ENTER_MP = 2;
|
||||
SYSTEM_JUDGE = 3;
|
||||
ALLOW_ENTER_PLAYER_FULL = 4;
|
||||
WORLD_LEVEL_LOWER_THAN_HOST = 5;
|
||||
HOST_IN_MATCH = 6;
|
||||
PLAYER_IN_BLACKLIST = 7;
|
||||
PS_PLAYER_NOT_ACCEPT_OTHERS = 8;
|
||||
HOST_IS_BLOCKED = 9;
|
||||
OTHER_DATA_VERSION_NOT_LATEST = 10;
|
||||
DATA_VERSION_NOT_LATEST = 11;
|
||||
PLAYER_NOT_IN_PLAYER_WORLD = 12;
|
||||
MAX_PLAYER = 13;
|
||||
}
|
||||
|
||||
bool is_agreed = 2;
|
||||
string target_nickname = 12;
|
||||
Reason reason = 13;
|
||||
uint32 target_uid = 1;
|
||||
}
|
||||
|
||||
message PlayerApplyEnterMpResultReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1802;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 apply_uid = 2;
|
||||
bool is_agreed = 12;
|
||||
}
|
||||
|
||||
message PlayerApplyEnterMpResultRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1831;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
bool is_agreed = 3;
|
||||
uint32 apply_uid = 10;
|
||||
uint32 param = 12;
|
||||
}
|
||||
|
||||
message PlayerQuitFromMpNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1829;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum QuitReason {
|
||||
INVALID = 0;
|
||||
HOST_NO_OTHER_PLAYER = 1;
|
||||
KICK_BY_HOST = 2;
|
||||
BACK_TO_MY_WORLD = 3;
|
||||
KICK_BY_HOST_LOGOUT = 4;
|
||||
KICK_BY_HOST_BLOCK = 5;
|
||||
BE_BLOCKED = 6;
|
||||
KICK_BY_HOST_ENTER_HOME = 7;
|
||||
HOST_SCENE_INVALID = 8;
|
||||
KICK_BY_PLAY = 9;
|
||||
KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10;
|
||||
}
|
||||
|
||||
QuitReason reason = 11;
|
||||
}
|
||||
|
||||
message PlayerPreEnterMpNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1822;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum State {
|
||||
INVALID = 0;
|
||||
START = 1;
|
||||
TIMEOUT = 2;
|
||||
}
|
||||
|
||||
State state = 2;
|
||||
uint32 uid = 14;
|
||||
string nickname = 6;
|
||||
}
|
||||
|
||||
message GetPlayerMpModeAvailabilityReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1844;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetPlayerMpModeAvailabilityRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1849;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 mp_ret = 15;
|
||||
int32 retcode = 2;
|
||||
repeated uint32 param_list = 8;
|
||||
}
|
||||
|
||||
message PlayerSetOnlyMPWithPSPlayerReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1820;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_only = 13;
|
||||
}
|
||||
|
||||
message PlayerSetOnlyMPWithPSPlayerRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1845;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
bool is_only = 8;
|
||||
}
|
||||
|
||||
message PSPlayerApplyEnterMpReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1841;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string target_psn_id = 5;
|
||||
}
|
||||
|
||||
message PSPlayerApplyEnterMpRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1842;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string target_psn_id = 2;
|
||||
int32 retcode = 6;
|
||||
uint32 param = 10;
|
||||
}
|
||||
|
||||
message MpPlayOwnerCheckReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1814;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 mp_play_id = 9;
|
||||
bool is_skip_match = 3;
|
||||
}
|
||||
|
||||
message MpPlayOwnerCheckRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1847;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 wrong_uid = 4;
|
||||
bool is_skip_match = 15;
|
||||
uint32 mp_play_id = 10;
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message MpPlayOwnerStartInviteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1837;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 mp_play_id = 3;
|
||||
bool is_skip_match = 6;
|
||||
}
|
||||
|
||||
message MpPlayOwnerStartInviteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1823;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
uint32 mp_play_id = 3;
|
||||
bool is_skip_match = 9;
|
||||
}
|
||||
|
||||
message MpPlayOwnerInviteNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1835;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cd = 12;
|
||||
uint32 mp_play_id = 13;
|
||||
bool is_remain_reward = 10;
|
||||
}
|
||||
|
||||
message MpPlayGuestReplyInviteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1848;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 mp_play_id = 3;
|
||||
bool is_agree = 15;
|
||||
}
|
||||
|
||||
message MpPlayGuestReplyInviteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1850;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
uint32 mp_play_id = 10;
|
||||
}
|
||||
|
||||
message MpPlayGuestReplyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1812;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 7;
|
||||
bool is_agree = 4;
|
||||
uint32 mp_play_id = 14;
|
||||
}
|
||||
|
||||
message MpPlayPrepareNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1833;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mp_play_id = 9;
|
||||
uint32 prepare_end_time = 11;
|
||||
}
|
||||
|
||||
message MpPlayInviteResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1815;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mp_play_id = 11;
|
||||
bool all_argee = 10;
|
||||
}
|
||||
|
||||
message MpPlayPrepareInterruptNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1813;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mp_play_id = 12;
|
||||
}
|
||||
|
||||
message MpBlockNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1801;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 end_time = 13;
|
||||
}
|
||||
1097
protocol/proto_hk4e/cmd/cmd_multistage_play.proto
Normal file
1097
protocol/proto_hk4e/cmd/cmd_multistage_play.proto
Normal file
File diff suppressed because it is too large
Load Diff
115
protocol/proto_hk4e/cmd/cmd_npc.proto
Normal file
115
protocol/proto_hk4e/cmd/cmd_npc.proto
Normal file
@@ -0,0 +1,115 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message NpcTalkReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 572;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 8;
|
||||
uint32 npc_entity_id = 9;
|
||||
uint32 talk_id = 7;
|
||||
}
|
||||
|
||||
message NpcTalkRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 598;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_talk_id = 9;
|
||||
uint32 npc_entity_id = 6;
|
||||
int32 retcode = 3;
|
||||
uint32 entity_id = 13;
|
||||
}
|
||||
|
||||
message GetSceneNpcPositionReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 535;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 npc_id_list = 6;
|
||||
uint32 scene_id = 8;
|
||||
}
|
||||
|
||||
message GetSceneNpcPositionRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 507;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
repeated NpcPositionInfo npc_info_list = 14;
|
||||
uint32 scene_id = 4;
|
||||
}
|
||||
|
||||
message MetNpcIdListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 521;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 npc_first_met_id_list = 9;
|
||||
}
|
||||
|
||||
message MeetNpcReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 503;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 npc_id = 4;
|
||||
}
|
||||
|
||||
message MeetNpcRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 590;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
uint32 npc_first_met_id = 8;
|
||||
}
|
||||
|
||||
message FinishedTalkIdListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 573;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 finished_talk_id_list = 1;
|
||||
}
|
||||
109
protocol/proto_hk4e/cmd/cmd_offering.proto
Normal file
109
protocol/proto_hk4e/cmd/cmd_offering.proto
Normal file
@@ -0,0 +1,109 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message PlayerOfferingData {
|
||||
uint32 offering_id = 1;
|
||||
bool is_first_interact = 15;
|
||||
uint32 level = 12;
|
||||
repeated uint32 taken_level_reward_list = 8;
|
||||
bool is_new_max_level = 6;
|
||||
}
|
||||
|
||||
message PlayerOfferingDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2923;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PlayerOfferingData offering_data_list = 2;
|
||||
}
|
||||
|
||||
message PlayerOfferingReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2907;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 offering_id = 6;
|
||||
}
|
||||
|
||||
message PlayerOfferingRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2917;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam item_list = 7;
|
||||
int32 retcode = 4;
|
||||
PlayerOfferingData offering_data = 10;
|
||||
}
|
||||
|
||||
message TakeOfferingLevelRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2919;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 level = 6;
|
||||
uint32 offering_id = 11;
|
||||
}
|
||||
|
||||
message TakeOfferingLevelRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2911;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 offering_id = 3;
|
||||
uint32 take_level = 4;
|
||||
int32 retcode = 8;
|
||||
repeated ItemParam item_list = 2;
|
||||
}
|
||||
|
||||
message OfferingInteractReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2918;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 offering_id = 9;
|
||||
}
|
||||
|
||||
message OfferingInteractRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2908;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
PlayerOfferingData offering_data = 11;
|
||||
int32 retcode = 12;
|
||||
}
|
||||
68
protocol/proto_hk4e/cmd/cmd_op_activity.proto
Normal file
68
protocol/proto_hk4e/cmd/cmd_op_activity.proto
Normal file
@@ -0,0 +1,68 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
message OpActivityInfo {
|
||||
uint32 activity_id = 2;
|
||||
uint32 end_time = 6;
|
||||
uint32 begin_time = 5;
|
||||
bool is_has_change = 1;
|
||||
uint32 schedule_id = 13;
|
||||
oneof detail {
|
||||
BonusOpActivityInfo bonus_info = 12;
|
||||
}
|
||||
}
|
||||
|
||||
message BonusOpActivityInfo {
|
||||
uint32 left_bonus_count = 11;
|
||||
}
|
||||
|
||||
message GetOpActivityInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5172;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetOpActivityInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5198;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
repeated OpActivityInfo op_activity_info_list = 7;
|
||||
}
|
||||
|
||||
message OpActivityDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5112;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated OpActivityInfo op_activity_info_list = 15;
|
||||
}
|
||||
|
||||
message OpActivityUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5135;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
OpActivityInfo op_activity_info = 6;
|
||||
}
|
||||
232
protocol/proto_hk4e/cmd/cmd_pathfinding.proto
Normal file
232
protocol/proto_hk4e/cmd/cmd_pathfinding.proto
Normal file
@@ -0,0 +1,232 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message QueryFilter {
|
||||
int32 type_id = 9;
|
||||
int32 area_mask = 13;
|
||||
}
|
||||
|
||||
message QueryPathReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2372;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum OptionType {
|
||||
OPTION_NONE = 0;
|
||||
OPTION_NORMAL = 1;
|
||||
OPTION_FIRST_CAN_GO = 2;
|
||||
}
|
||||
|
||||
OptionType query_type = 13;
|
||||
Vector3Int source_extend = 6;
|
||||
Vector source_pos = 2;
|
||||
QueryFilter filter = 12;
|
||||
int32 query_id = 15;
|
||||
Vector3Int destination_extend = 4;
|
||||
repeated Vector destination_pos = 10;
|
||||
uint32 scene_id = 11;
|
||||
}
|
||||
|
||||
message QueryPathRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2398;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum PathStatusType {
|
||||
STATUS_FAIL = 0;
|
||||
STATUS_SUCC = 1;
|
||||
STATUS_PARTIAL = 2;
|
||||
}
|
||||
|
||||
int32 query_id = 12;
|
||||
repeated Vector corners = 6;
|
||||
PathStatusType query_status = 8;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message ObstacleInfo {
|
||||
enum ShapeType {
|
||||
OBSTACLE_SHAPE_CAPSULE = 0;
|
||||
OBSTACLE_SHAPE_BOX = 1;
|
||||
}
|
||||
|
||||
MathQuaternion rotation = 4;
|
||||
int32 obstacle_id = 2;
|
||||
Vector center = 14;
|
||||
ShapeType shape = 6;
|
||||
Vector3Int extents = 12;
|
||||
}
|
||||
|
||||
message ObstacleModifyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2312;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated int32 remove_obstacle_ids = 9;
|
||||
repeated ObstacleInfo add_obstacles = 6;
|
||||
uint32 scene_id = 5;
|
||||
}
|
||||
|
||||
message PathfindingPingNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2335;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message PathfindingEnterSceneReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2307;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 scene_id = 12;
|
||||
repeated uint32 activity_id = 14;
|
||||
uint32 scene_tag_hash = 15;
|
||||
uint32 version = 6;
|
||||
bool is_editor = 11;
|
||||
repeated ObstacleInfo obstacles = 13;
|
||||
uint32 polygon_id = 4;
|
||||
}
|
||||
|
||||
message PathfindingEnterSceneRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2321;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message GMShowObstacleReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2361;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GMObstacleInfo {
|
||||
enum ShapeType {
|
||||
OBSTACLE_SHAPE_CAPSULE = 0;
|
||||
OBSTACLE_SHAPE_BOX = 1;
|
||||
}
|
||||
|
||||
int64 timestamp = 14;
|
||||
ShapeType shape = 2;
|
||||
int32 obstacle_id = 13;
|
||||
MathQuaternion rotation = 3;
|
||||
Vector center = 8;
|
||||
Vector3Int extents = 15;
|
||||
}
|
||||
|
||||
message GMShowObstacleRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2329;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
repeated GMObstacleInfo obstacles = 6;
|
||||
}
|
||||
|
||||
message GMShowNavMeshReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2357;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector center = 1;
|
||||
Vector extent = 5;
|
||||
}
|
||||
|
||||
message PBNavMeshPoly {
|
||||
enum EdgeType {
|
||||
INNER = 0;
|
||||
TILE_BOUND = 1;
|
||||
TILE_BOUND_UNCONNECT = 2;
|
||||
TILE_BOUND_OVERIDE = 3;
|
||||
}
|
||||
|
||||
repeated EdgeType edge_types = 10;
|
||||
int32 area = 6;
|
||||
repeated int32 vects = 7;
|
||||
}
|
||||
|
||||
message PBNavMeshTile {
|
||||
repeated Vector vecs = 4;
|
||||
repeated PBNavMeshPoly polys = 8;
|
||||
}
|
||||
|
||||
message GMShowNavMeshRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2400;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PBNavMeshTile tiles = 11;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message PbNavMeshStatsInfo {
|
||||
int32 authority_ai_in_combat = 10;
|
||||
int32 no_authority_ai_in_combat = 11;
|
||||
int32 total_authority_ai = 8;
|
||||
int32 total_no_authority_ai = 13;
|
||||
}
|
||||
|
||||
message NavMeshStatsNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2316;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated PbNavMeshStatsInfo infos = 4;
|
||||
}
|
||||
1456
protocol/proto_hk4e/cmd/cmd_player.proto
Normal file
1456
protocol/proto_hk4e/cmd/cmd_player.proto
Normal file
File diff suppressed because it is too large
Load Diff
211
protocol/proto_hk4e/cmd/cmd_property.proto
Normal file
211
protocol/proto_hk4e/cmd/cmd_property.proto
Normal file
@@ -0,0 +1,211 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum PropChangeReason {
|
||||
PROP_CHANGE_NONE = 0;
|
||||
PROP_CHANGE_STATUE_RECOVER = 1;
|
||||
PROP_CHANGE_ENERGY_BALL = 2;
|
||||
PROP_CHANGE_ABILITY = 3;
|
||||
PROP_CHANGE_LEVELUP = 4;
|
||||
PROP_CHANGE_ITEM = 5;
|
||||
PROP_CHANGE_AVATAR_CARD = 6;
|
||||
PROP_CHANGE_CITY_LEVELUP = 7;
|
||||
PROP_CHANGE_AVATAR_UPGRADE = 8;
|
||||
PROP_CHANGE_AVATAR_PROMOTE = 9;
|
||||
PROP_CHANGE_PLAYER_ADD_EXP = 10;
|
||||
PROP_CHANGE_FINISH_QUEST = 11;
|
||||
PROP_CHANGE_GM = 12;
|
||||
PROP_CHANGE_MANUAL_ADJUST_WORLD_LEVEL = 13;
|
||||
}
|
||||
|
||||
enum ChangeEnergyReason {
|
||||
CHANGE_ENERGY_NONE = 0;
|
||||
CHANGE_ENERGY_SKILL_START = 1;
|
||||
}
|
||||
|
||||
enum MarkNewType {
|
||||
MARK_NEW_TYPE_NONE = 0;
|
||||
MARK_NEW_TYPE_COMBINE = 1;
|
||||
MARK_NEW_TYPE_FORGE = 2;
|
||||
}
|
||||
|
||||
message EntityPropNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1272;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, PropValue> prop_map = 1;
|
||||
uint32 entity_id = 14;
|
||||
}
|
||||
|
||||
message LifeStateChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1298;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 4;
|
||||
repeated ServerBuff server_buff_list = 6;
|
||||
string attack_tag = 7;
|
||||
uint32 move_reliable_seq = 15;
|
||||
PlayerDieType die_type = 14;
|
||||
uint32 life_state = 5;
|
||||
uint32 source_entity_id = 1;
|
||||
}
|
||||
|
||||
message EntityFightPropNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1212;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 4;
|
||||
map<uint32, float> fight_prop_map = 8;
|
||||
}
|
||||
|
||||
message EntityFightPropUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1235;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, float> fight_prop_map = 15;
|
||||
uint32 entity_id = 13;
|
||||
}
|
||||
|
||||
message AvatarFightPropNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1207;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, float> fight_prop_map = 8;
|
||||
uint64 avatar_guid = 4;
|
||||
}
|
||||
|
||||
message AvatarFightPropUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1221;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, float> fight_prop_map = 15;
|
||||
uint64 avatar_guid = 13;
|
||||
}
|
||||
|
||||
message EntityFightPropChangeReasonNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1203;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 param_list = 10;
|
||||
float prop_delta = 1;
|
||||
ChangHpReason change_hp_reason = 14;
|
||||
PropChangeReason reason = 6;
|
||||
uint32 entity_id = 5;
|
||||
ChangeEnergyReason change_energy_reson = 15;
|
||||
uint32 prop_type = 13;
|
||||
}
|
||||
|
||||
message AvatarLifeStateChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1290;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 life_state = 13;
|
||||
string attack_tag = 10;
|
||||
PlayerDieType die_type = 2;
|
||||
repeated ServerBuff server_buff_list = 12;
|
||||
uint32 move_reliable_seq = 5;
|
||||
uint32 source_entity_id = 3;
|
||||
uint64 avatar_guid = 11;
|
||||
}
|
||||
|
||||
message AvatarPropChangeReasonNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1273;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
float old_value = 11;
|
||||
PropChangeReason reason = 5;
|
||||
uint32 prop_type = 1;
|
||||
uint64 avatar_guid = 8;
|
||||
float cur_value = 15;
|
||||
}
|
||||
|
||||
message PlayerPropChangeReasonNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1299;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 prop_type = 6;
|
||||
float old_value = 12;
|
||||
PropChangeReason reason = 1;
|
||||
float cur_value = 11;
|
||||
}
|
||||
|
||||
message AvatarPropNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1231;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, int64> prop_map = 14;
|
||||
uint64 avatar_guid = 15;
|
||||
}
|
||||
|
||||
message MarkNewNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1275;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 id_list = 7;
|
||||
uint32 mark_new_type = 11;
|
||||
}
|
||||
857
protocol/proto_hk4e/cmd/cmd_quest.proto
Normal file
857
protocol/proto_hk4e/cmd/cmd_quest.proto
Normal file
@@ -0,0 +1,857 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum ChapterState {
|
||||
CHAPTER_STATE_INVALID = 0;
|
||||
CHAPTER_STATE_UNABLE_TO_BEGIN = 1;
|
||||
CHAPTER_STATE_BEGIN = 2;
|
||||
CHAPTER_STATE_END = 3;
|
||||
}
|
||||
|
||||
enum BargainResultType {
|
||||
BARGAIN_COMPLETE_SUCC = 0;
|
||||
BARGAIN_SINGLE_FAIL = 1;
|
||||
BARGAIN_COMPLETE_FAIL = 2;
|
||||
}
|
||||
|
||||
message QuestListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 472;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Quest quest_list = 1;
|
||||
}
|
||||
|
||||
message QuestListUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 498;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated Quest quest_list = 6;
|
||||
}
|
||||
|
||||
message QuestDelNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 412;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 1;
|
||||
}
|
||||
|
||||
message ChildQuest {
|
||||
uint32 quest_config_id = 8;
|
||||
uint32 state = 4;
|
||||
uint32 quest_id = 15;
|
||||
}
|
||||
|
||||
message ParentQuestRandomInfo {
|
||||
repeated uint32 factor_list = 1;
|
||||
uint32 template_id = 8;
|
||||
uint32 entrance_id = 2;
|
||||
}
|
||||
|
||||
message InfernceWordInfo {
|
||||
uint32 word_id = 8;
|
||||
bool is_interpret = 15;
|
||||
bool is_submit = 10;
|
||||
bool is_associate = 6;
|
||||
uint32 unlock_by_word_id = 5;
|
||||
}
|
||||
|
||||
message InferencePageInfo {
|
||||
uint32 page_id = 3;
|
||||
repeated InfernceWordInfo unlock_word_list = 15;
|
||||
}
|
||||
|
||||
message ParentQuest {
|
||||
repeated int32 quest_var = 14;
|
||||
map<uint32, uint32> time_var_map = 8;
|
||||
uint32 parent_quest_state = 1;
|
||||
bool is_finished = 7;
|
||||
repeated InferencePageInfo inference_page_list = 15;
|
||||
ParentQuestRandomInfo random_info = 12;
|
||||
uint32 parent_quest_id = 3;
|
||||
bool is_random = 13;
|
||||
uint64 video_key = 6;
|
||||
uint32 quest_var_seq = 11;
|
||||
repeated ChildQuest child_quest_list = 9;
|
||||
}
|
||||
|
||||
message FinishedParentQuestNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 435;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ParentQuest parent_quest_list = 2;
|
||||
}
|
||||
|
||||
message FinishedParentQuestUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 407;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ParentQuest parent_quest_list = 9;
|
||||
}
|
||||
|
||||
message AddQuestContentProgressReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 421;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 content_type = 6;
|
||||
uint32 param = 12;
|
||||
uint32 add_progress = 15;
|
||||
}
|
||||
|
||||
message AddQuestContentProgressRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 403;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 13;
|
||||
uint32 content_type = 4;
|
||||
}
|
||||
|
||||
message GetQuestTalkHistoryReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 490;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 parent_quest_id = 6;
|
||||
}
|
||||
|
||||
message GetQuestTalkHistoryRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 473;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 talk_id_list = 13;
|
||||
uint32 parent_quest_id = 7;
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message QuestCreateEntityReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 499;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 parent_quest_id = 9;
|
||||
bool is_rewind = 3;
|
||||
uint32 quest_id = 2;
|
||||
CreateEntityInfo entity = 13;
|
||||
}
|
||||
|
||||
message QuestCreateEntityRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 431;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 13;
|
||||
int32 retcode = 8;
|
||||
uint32 entity_id = 7;
|
||||
CreateEntityInfo entity = 11;
|
||||
uint32 parent_quest_id = 1;
|
||||
bool is_rewind = 14;
|
||||
}
|
||||
|
||||
message QuestDestroyEntityReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 475;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 scene_id = 2;
|
||||
uint32 entity_id = 9;
|
||||
uint32 quest_id = 8;
|
||||
}
|
||||
|
||||
message QuestDestroyEntityRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 448;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 14;
|
||||
uint32 scene_id = 9;
|
||||
uint32 entity_id = 12;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message ChapterStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 405;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
message NeedPlayerLevel {
|
||||
bool is_limit = 2;
|
||||
uint32 config_need_player_level = 11;
|
||||
}
|
||||
|
||||
message NeedBeginTime {
|
||||
uint32 config_need_begin_time = 3;
|
||||
bool is_limit = 7;
|
||||
}
|
||||
|
||||
ChapterState chapter_state = 9;
|
||||
NeedPlayerLevel need_player_level = 10;
|
||||
NeedBeginTime need_begin_time = 1;
|
||||
uint32 chapter_id = 2;
|
||||
}
|
||||
|
||||
message QuestProgressUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 482;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 12;
|
||||
repeated uint32 fail_progress_list = 6;
|
||||
repeated uint32 finish_progress_list = 13;
|
||||
}
|
||||
|
||||
message QuestVarOp {
|
||||
uint32 index = 9;
|
||||
int32 value = 5;
|
||||
bool is_add = 6;
|
||||
}
|
||||
|
||||
message QuestUpdateQuestVarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 447;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 parent_quest_id = 9;
|
||||
repeated QuestVarOp quest_var_op_list = 4;
|
||||
uint32 quest_id = 11;
|
||||
uint32 parent_quest_var_seq = 1;
|
||||
}
|
||||
|
||||
message QuestUpdateQuestVarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 439;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
uint32 parent_quest_var_seq = 2;
|
||||
uint32 parent_quest_id = 8;
|
||||
uint32 quest_id = 15;
|
||||
}
|
||||
|
||||
message QuestUpdateQuestVarNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 453;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated int32 quest_var = 1;
|
||||
uint32 parent_quest_id = 12;
|
||||
uint32 parent_quest_var_seq = 8;
|
||||
}
|
||||
|
||||
message QuestDestroyNpcReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 422;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 npc_id = 1;
|
||||
uint32 parent_quest_id = 12;
|
||||
}
|
||||
|
||||
message QuestDestroyNpcRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 465;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 npc_id = 12;
|
||||
uint32 parent_quest_id = 4;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message BargainSnapshot {
|
||||
uint32 expected_price = 3;
|
||||
int32 cur_mood = 14;
|
||||
uint32 price_low_limit = 2;
|
||||
uint32 bargain_id = 5;
|
||||
}
|
||||
|
||||
message BargainStartNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 404;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 bargain_id = 4;
|
||||
BargainSnapshot snapshot = 2;
|
||||
}
|
||||
|
||||
message BargainOfferPriceReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 493;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 bargain_id = 4;
|
||||
uint32 price = 6;
|
||||
}
|
||||
|
||||
message BargainOfferPriceRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 427;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
uint32 result_param = 13;
|
||||
BargainResultType bargain_result = 14;
|
||||
int32 cur_mood = 6;
|
||||
}
|
||||
|
||||
message BargainTerminateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 494;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 bargain_id = 15;
|
||||
}
|
||||
|
||||
message GetBargainDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 488;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 bargain_id = 12;
|
||||
}
|
||||
|
||||
message GetBargainDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 426;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 bargain_id = 14;
|
||||
BargainSnapshot snapshot = 13;
|
||||
}
|
||||
|
||||
message GetAllActivatedBargainDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 463;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetAllActivatedBargainDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 495;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated BargainSnapshot snapshot_list = 5;
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message ServerCondMeetQuestListUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 406;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 del_quest_id_list = 1;
|
||||
repeated uint32 add_quest_id_list = 12;
|
||||
}
|
||||
|
||||
message QuestGlobalVar {
|
||||
int32 value = 8;
|
||||
uint32 key = 4;
|
||||
}
|
||||
|
||||
message QuestGlobalVarNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 434;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated QuestGlobalVar var_list = 1;
|
||||
}
|
||||
|
||||
message QuestTransmitReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 450;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 point_id = 15;
|
||||
uint32 quest_id = 5;
|
||||
}
|
||||
|
||||
message QuestTransmitRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 443;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 point_id = 12;
|
||||
int32 retcode = 5;
|
||||
uint32 quest_id = 3;
|
||||
}
|
||||
|
||||
message PersonalLineAllDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 474;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message LockedPersonallineData {
|
||||
enum LockReason {
|
||||
LEVEL = 0;
|
||||
QUEST = 1;
|
||||
}
|
||||
|
||||
LockReason lock_reason = 2;
|
||||
uint32 personal_line_id = 13;
|
||||
oneof param {
|
||||
uint32 chapter_id = 3;
|
||||
uint32 level = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message PersonalLineAllDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 476;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_finished_daily_task_count = 5;
|
||||
repeated uint32 can_be_unlocked_personal_line_list = 13;
|
||||
int32 retcode = 15;
|
||||
repeated uint32 ongoing_personal_line_list = 8;
|
||||
uint32 legendary_key_count = 11;
|
||||
repeated LockedPersonallineData locked_personal_line_list = 10;
|
||||
}
|
||||
|
||||
message RedeemLegendaryKeyReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 446;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message RedeemLegendaryKeyRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 441;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 legendary_key_count = 11;
|
||||
int32 retcode = 14;
|
||||
}
|
||||
|
||||
message UnlockPersonalLineReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 449;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 personal_line_id = 4;
|
||||
}
|
||||
|
||||
message UnlockPersonalLineRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 491;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
uint32 personal_line_id = 10;
|
||||
oneof param {
|
||||
uint32 level = 11;
|
||||
uint32 chapter_id = 6;
|
||||
}
|
||||
}
|
||||
|
||||
message CancelFinishParentQuestNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 424;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 parent_quest_id = 6;
|
||||
}
|
||||
|
||||
message QuestUpdateQuestTimeVarNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 456;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, uint32> time_var_map = 1;
|
||||
uint32 parent_quest_id = 3;
|
||||
}
|
||||
|
||||
message PersonalLineNewUnlockNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 442;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 personal_line_id_list = 9;
|
||||
}
|
||||
|
||||
message NpcTalkStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 430;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_ban = 5;
|
||||
}
|
||||
|
||||
message GetQuestLackingResourceReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 467;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 4;
|
||||
}
|
||||
|
||||
message GetQuestLackingResourceRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 458;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 quest_id = 4;
|
||||
int32 retcode = 11;
|
||||
repeated uint32 lacked_npc_list = 8;
|
||||
repeated uint32 lacked_place_list = 5;
|
||||
map<uint32, uint32> lacked_npc_map = 10;
|
||||
map<uint32, uint32> lacked_place_map = 2;
|
||||
}
|
||||
|
||||
message GetParentQuestVideoKeyReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 470;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 parent_quest_id = 15;
|
||||
}
|
||||
|
||||
message GetParentQuestVideoKeyRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 417;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint64 video_key = 14;
|
||||
uint32 parent_quest_id = 10;
|
||||
}
|
||||
|
||||
message ParentQuestInferenceDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 402;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 parent_quest_id = 2;
|
||||
repeated InferencePageInfo inference_page_list = 1;
|
||||
}
|
||||
|
||||
message InterpretInferenceWordReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 419;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 word_id = 2;
|
||||
uint32 page_id = 4;
|
||||
}
|
||||
|
||||
message InterpretInferenceWordRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 461;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
uint32 word_id = 14;
|
||||
uint32 page_id = 13;
|
||||
}
|
||||
|
||||
message AssociateInferenceWordReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 429;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 base_word_id = 7;
|
||||
uint32 page_id = 11;
|
||||
uint32 associate_word_id = 2;
|
||||
}
|
||||
|
||||
message AssociateInferenceWordRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 457;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
uint32 base_word_id = 14;
|
||||
uint32 associate_word_id = 13;
|
||||
uint32 page_id = 1;
|
||||
}
|
||||
|
||||
message SubmitInferenceWordReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 500;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 word_id = 4;
|
||||
uint32 page_id = 9;
|
||||
}
|
||||
|
||||
message SubmitInferenceWordRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 416;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 word_id = 2;
|
||||
uint32 page_id = 13;
|
||||
uint32 conclusion_id = 5;
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message QuestRenameAvatarReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 487;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 rename_id = 11;
|
||||
bool is_check = 8;
|
||||
string avatar_name = 2;
|
||||
}
|
||||
|
||||
message QuestRenameAvatarRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 440;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string avatar_name = 15;
|
||||
bool is_check = 13;
|
||||
uint32 rename_id = 1;
|
||||
int32 retcode = 7;
|
||||
}
|
||||
162
protocol/proto_hk4e/cmd/cmd_recharge.proto
Normal file
162
protocol/proto_hk4e/cmd/cmd_recharge.proto
Normal file
@@ -0,0 +1,162 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message RechargeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4126;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
PlayProduct play_product = 10;
|
||||
ShopCardProduct card_product = 8;
|
||||
ShopMcoinProduct mcoin_product = 14;
|
||||
ShopConcertProduct concert_product = 7;
|
||||
}
|
||||
|
||||
message RechargeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4118;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
bool is_show_minors_hint = 6;
|
||||
string product_id = 2;
|
||||
}
|
||||
|
||||
message OrderFinishNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4125;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 order_id = 3;
|
||||
uint32 card_product_remain_days = 15;
|
||||
repeated ItemParam item_list = 9;
|
||||
uint32 add_mcoin = 7;
|
||||
string product_id = 6;
|
||||
}
|
||||
|
||||
message CardProductRewardNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4107;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 hcoin = 6;
|
||||
string product_id = 14;
|
||||
uint32 remain_days = 1;
|
||||
}
|
||||
|
||||
message ProductPriceTier {
|
||||
string product_id = 6;
|
||||
string price_tier = 12;
|
||||
}
|
||||
|
||||
message ResinCardData {
|
||||
uint32 remain_reward_days = 3;
|
||||
uint32 expire_time = 12;
|
||||
uint32 last_daily_reward_time = 2;
|
||||
uint32 config_id = 7;
|
||||
}
|
||||
|
||||
message PlayerRechargeDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4102;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 card_product_remain_days = 12;
|
||||
repeated ProductPriceTier product_price_tier_list = 11;
|
||||
}
|
||||
|
||||
message OrderDisplayNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4131;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 order_id = 1;
|
||||
}
|
||||
|
||||
message ReportTrackingIOInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4129;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string rydevicetype = 12;
|
||||
string deviceid = 1;
|
||||
string client_tz = 13;
|
||||
string appid = 14;
|
||||
string mac = 15;
|
||||
}
|
||||
|
||||
message TakeResinCardDailyRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4122;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 product_config_id = 14;
|
||||
}
|
||||
|
||||
message TakeResinCardDailyRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4144;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ItemParam item_vec = 6;
|
||||
int32 retcode = 4;
|
||||
uint32 product_config_id = 12;
|
||||
}
|
||||
|
||||
message ResinCardDataUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4149;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 today_start_time = 6;
|
||||
repeated ResinCardData card_data_list = 2;
|
||||
}
|
||||
92
protocol/proto_hk4e/cmd/cmd_region_search.proto
Normal file
92
protocol/proto_hk4e/cmd/cmd_region_search.proto
Normal file
@@ -0,0 +1,92 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message RegionSearch {
|
||||
bool is_entered = 13;
|
||||
uint32 progress = 5;
|
||||
RegionSearchState state = 2;
|
||||
uint32 region_search_id = 8;
|
||||
}
|
||||
|
||||
message RegionSearchInfo {
|
||||
uint32 id = 5;
|
||||
repeated RegionSearch region_search_list = 1;
|
||||
bool is_entered = 7;
|
||||
}
|
||||
|
||||
message RegionSearchNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5626;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated RegionSearchInfo region_search_list = 1;
|
||||
uint32 uid = 8;
|
||||
}
|
||||
|
||||
message RegionSearchChangeRegionNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5618;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum RegionEvent {
|
||||
REGION_EVENT_NONE = 0;
|
||||
REGION_EVENT_ENTER = 1;
|
||||
REGION_EVENT_LEAVE = 2;
|
||||
}
|
||||
|
||||
RegionEvent event = 1;
|
||||
uint32 region_id = 10;
|
||||
}
|
||||
|
||||
message TakeRegionSearchRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5625;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 search_id = 3;
|
||||
uint32 id = 15;
|
||||
}
|
||||
|
||||
message TakeRegionSearchRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5607;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 search_id = 14;
|
||||
uint32 id = 1;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message GetRegionSearchReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5602;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
59
protocol/proto_hk4e/cmd/cmd_regional_play.proto
Normal file
59
protocol/proto_hk4e/cmd/cmd_regional_play.proto
Normal file
@@ -0,0 +1,59 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message RegionalPlayVar {
|
||||
uint32 type = 15;
|
||||
float max_value = 11;
|
||||
float value = 3;
|
||||
float base_value = 10;
|
||||
}
|
||||
|
||||
message RegionalPlayInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6276;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated RegionalPlayVar var_list = 5;
|
||||
string play_name = 9;
|
||||
bool is_enabled = 15;
|
||||
uint32 play_type = 7;
|
||||
bool is_in_region = 4;
|
||||
}
|
||||
|
||||
message DeathZoneInfo {
|
||||
bool is_open = 9;
|
||||
uint32 id = 14;
|
||||
}
|
||||
|
||||
message DeathZoneInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6268;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated DeathZoneInfo death_zone_info_list = 8;
|
||||
}
|
||||
|
||||
message PlayerDeathZoneNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6275;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_death_zone_id = 8;
|
||||
}
|
||||
34
protocol/proto_hk4e/cmd/cmd_reminder.proto
Normal file
34
protocol/proto_hk4e/cmd/cmd_reminder.proto
Normal file
@@ -0,0 +1,34 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message NormalUidOpNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5726;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 duration = 6;
|
||||
repeated uint32 param_list = 4;
|
||||
repeated uint32 param_uid_list = 5;
|
||||
uint32 param_index = 8;
|
||||
}
|
||||
|
||||
message ServerMessageNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5718;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 index = 1;
|
||||
}
|
||||
276
protocol/proto_hk4e/cmd/cmd_reputation.proto
Normal file
276
protocol/proto_hk4e/cmd/cmd_reputation.proto
Normal file
@@ -0,0 +1,276 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message CityReputationQuestInfo {
|
||||
bool is_open = 2;
|
||||
repeated uint32 taken_parent_quest_reward_list = 12;
|
||||
repeated uint32 finished_parent_quest_list = 7;
|
||||
}
|
||||
|
||||
message CityReputationRequestInfo {
|
||||
message RequestInfo {
|
||||
uint32 request_id = 3;
|
||||
uint32 quest_id = 9;
|
||||
bool is_taken_reward = 6;
|
||||
}
|
||||
|
||||
bool is_open = 2;
|
||||
repeated RequestInfo request_info_list = 1;
|
||||
}
|
||||
|
||||
message CityReputationExploreInfo {
|
||||
repeated uint32 taken_explore_reward_list = 2;
|
||||
uint32 explore_percent = 14;
|
||||
bool is_open = 15;
|
||||
}
|
||||
|
||||
message CityReputationHuntInfo {
|
||||
bool is_open = 6;
|
||||
uint32 cur_week_finish_num = 15;
|
||||
bool has_reward = 5;
|
||||
}
|
||||
|
||||
message CityReputationInfo {
|
||||
uint32 level = 4;
|
||||
uint32 next_refresh_time = 3;
|
||||
CityReputationHuntInfo hunt_info = 11;
|
||||
repeated uint32 taken_level_reward_list = 2;
|
||||
uint32 total_accept_request_num = 6;
|
||||
CityReputationRequestInfo request_info = 5;
|
||||
CityReputationQuestInfo quest_info = 9;
|
||||
uint32 exp = 13;
|
||||
CityReputationExploreInfo explore_info = 10;
|
||||
}
|
||||
|
||||
message GetCityReputationInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2872;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 7;
|
||||
}
|
||||
|
||||
message GetCityReputationInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2898;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 1;
|
||||
int32 retcode = 4;
|
||||
CityReputationInfo city_reputation_info = 9;
|
||||
}
|
||||
|
||||
message TakeCityReputationLevelRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2812;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 level = 11;
|
||||
uint32 city_id = 1;
|
||||
}
|
||||
|
||||
message TakeCityReputationLevelRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2835;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 15;
|
||||
int32 retcode = 11;
|
||||
repeated ItemParam item_list = 13;
|
||||
uint32 level = 9;
|
||||
}
|
||||
|
||||
message CityReputationLevelupNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2807;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 12;
|
||||
uint32 level = 15;
|
||||
}
|
||||
|
||||
message TakeCityReputationParentQuestReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2821;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 1;
|
||||
repeated uint32 parent_quest_list = 6;
|
||||
}
|
||||
|
||||
message TakeCityReputationParentQuestRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2803;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
uint32 city_id = 14;
|
||||
repeated uint32 parent_quest_list = 9;
|
||||
repeated ItemParam item_list = 13;
|
||||
}
|
||||
|
||||
message AcceptCityReputationRequestReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2890;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 14;
|
||||
uint32 request_id = 5;
|
||||
}
|
||||
|
||||
message AcceptCityReputationRequestRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2873;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 request_id = 5;
|
||||
uint32 city_id = 13;
|
||||
int32 retcode = 2;
|
||||
}
|
||||
|
||||
message CancelCityReputationRequestReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2899;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 request_id = 10;
|
||||
uint32 city_id = 6;
|
||||
}
|
||||
|
||||
message CancelCityReputationRequestRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2831;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 3;
|
||||
int32 retcode = 2;
|
||||
uint32 request_id = 12;
|
||||
}
|
||||
|
||||
message GetCityReputationMapInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2875;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetCityReputationMapInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2848;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
bool is_new_hunting = 10;
|
||||
bool is_new_request = 2;
|
||||
repeated uint32 unlock_hunting_city_list = 9;
|
||||
repeated uint32 reward_city_list = 3;
|
||||
}
|
||||
|
||||
message TakeCityReputationExploreRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2897;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 city_id = 15;
|
||||
repeated uint32 explore_id_list = 12;
|
||||
}
|
||||
|
||||
message TakeCityReputationExploreRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2881;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 explore_id_list = 8;
|
||||
repeated ItemParam item_list = 12;
|
||||
int32 retcode = 6;
|
||||
uint32 city_id = 13;
|
||||
}
|
||||
|
||||
message CityReputationSimpleInfo {
|
||||
uint32 level = 15;
|
||||
uint32 city_id = 9;
|
||||
}
|
||||
|
||||
message CityReputationDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2805;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated CityReputationSimpleInfo simple_info_list = 7;
|
||||
}
|
||||
325
protocol/proto_hk4e/cmd/cmd_reunion.proto
Normal file
325
protocol/proto_hk4e/cmd/cmd_reunion.proto
Normal file
@@ -0,0 +1,325 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
message ReunionSignInInfo {
|
||||
uint32 sign_in_count = 6;
|
||||
repeated uint32 reward_day_list = 8;
|
||||
uint32 config_id = 12;
|
||||
uint32 last_sign_in_time = 11;
|
||||
}
|
||||
|
||||
message ReunionWatcherInfo {
|
||||
uint32 reward_unlock_time = 12;
|
||||
uint32 watcher_id = 3;
|
||||
uint32 total_progress = 4;
|
||||
uint32 cur_progress = 11;
|
||||
bool is_taken_reward = 14;
|
||||
}
|
||||
|
||||
message ReunionMissionInfo {
|
||||
repeated ReunionWatcherInfo cur_day_watcher_list = 3;
|
||||
uint32 cur_score = 11;
|
||||
bool is_taken_reward = 8;
|
||||
repeated bool is_taken_reward_list = 6;
|
||||
uint32 next_refresh_time = 5;
|
||||
bool is_finished = 9;
|
||||
uint32 mission_id = 12;
|
||||
repeated ReunionWatcherInfo watcher_list = 2;
|
||||
}
|
||||
|
||||
message ReunionPrivilegeInfo {
|
||||
uint32 cur_day_count = 7;
|
||||
uint32 total_count = 10;
|
||||
uint32 privilege_id = 4;
|
||||
}
|
||||
|
||||
message ReunionBriefInfo {
|
||||
uint32 first_gift_reward_id = 15;
|
||||
uint32 privilege_id = 5;
|
||||
uint32 mission_id = 10;
|
||||
uint32 first_day_start_time = 3;
|
||||
bool sign_in_has_reward = 2;
|
||||
uint32 start_time = 7;
|
||||
bool is_taken_first_gift = 8;
|
||||
uint32 finish_time = 12;
|
||||
bool mission_has_reward = 9;
|
||||
ReunionPrivilegeInfo privilege_info = 14;
|
||||
string version = 13;
|
||||
uint32 sign_in_config_id = 6;
|
||||
}
|
||||
|
||||
message ReunionBriefInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5076;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ReunionBriefInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5068;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_activate = 13;
|
||||
int32 retcode = 14;
|
||||
ReunionBriefInfo reunion_brief_info = 5;
|
||||
}
|
||||
|
||||
message TakeReunionFirstGiftRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5075;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message TakeReunionFirstGiftRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5057;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 reward_id = 9;
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message GetReunionSignInInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5052;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 sign_in_config_id = 10;
|
||||
}
|
||||
|
||||
message GetReunionSignInInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5081;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ReunionSignInInfo sign_in_info = 5;
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message TakeReunionSignInRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5079;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 reward_day = 12;
|
||||
uint32 config_id = 14;
|
||||
}
|
||||
|
||||
message TakeReunionSignInRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5072;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ReunionSignInInfo sign_in_info = 10;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message GetReunionMissionInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5094;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 mission_id = 14;
|
||||
}
|
||||
|
||||
message GetReunionMissionInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5099;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
ReunionMissionInfo mission_info = 14;
|
||||
}
|
||||
|
||||
message TakeReunionWatcherRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5070;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 watcher_id = 12;
|
||||
uint32 mission_id = 15;
|
||||
}
|
||||
|
||||
message TakeReunionWatcherRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5095;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mission_id = 15;
|
||||
uint32 watcher_id = 9;
|
||||
int32 retcode = 10;
|
||||
}
|
||||
|
||||
message UpdateReunionWatcherNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5091;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 mission_id = 3;
|
||||
ReunionWatcherInfo watcher_info = 10;
|
||||
}
|
||||
|
||||
message TakeReunionMissionRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5092;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 reward_id = 7;
|
||||
uint32 reward_index = 4;
|
||||
uint32 mission_id = 12;
|
||||
}
|
||||
|
||||
message TakeReunionMissionRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5064;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 reward_index = 12;
|
||||
int32 retcode = 2;
|
||||
ReunionMissionInfo mission_info = 9;
|
||||
uint32 reward_id = 3;
|
||||
}
|
||||
|
||||
message GetReunionPrivilegeInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5097;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 privilege_id = 10;
|
||||
}
|
||||
|
||||
message GetReunionPrivilegeInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5087;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 3;
|
||||
ReunionPrivilegeInfo privilege_info = 1;
|
||||
}
|
||||
|
||||
message ReunionSettleNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5073;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ReunionActivateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5085;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_activate = 9;
|
||||
ReunionBriefInfo reunion_brief_info = 13;
|
||||
}
|
||||
|
||||
message ReunionPrivilegeChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5098;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ReunionPrivilegeInfo privilege_info = 13;
|
||||
}
|
||||
|
||||
message ReunionDailyRefreshNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5100;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ReunionBriefInfo reunion_brief_info = 4;
|
||||
}
|
||||
86
protocol/proto_hk4e/cmd/cmd_routine.proto
Normal file
86
protocol/proto_hk4e/cmd/cmd_routine.proto
Normal file
@@ -0,0 +1,86 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message PlayerRoutineInfo {
|
||||
uint32 routine_type = 8;
|
||||
uint32 finished_num = 15;
|
||||
}
|
||||
|
||||
message PlayerRoutineDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3526;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PlayerRoutineInfo routine_info_list = 11;
|
||||
}
|
||||
|
||||
message WorldRoutineInfo {
|
||||
uint32 progress = 4;
|
||||
bool is_finished = 14;
|
||||
uint32 finish_progress = 3;
|
||||
uint32 routine_id = 11;
|
||||
}
|
||||
|
||||
message WorldRoutineTypeInfo {
|
||||
uint32 routine_type = 13;
|
||||
uint32 next_refresh_time = 12;
|
||||
repeated WorldRoutineInfo world_routine_info_list = 3;
|
||||
}
|
||||
|
||||
message WorldAllRoutineTypeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3518;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated WorldRoutineTypeInfo world_routine_type_list = 12;
|
||||
}
|
||||
|
||||
message WorldRoutineTypeRefreshNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3525;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
WorldRoutineTypeInfo world_routine_type = 7;
|
||||
}
|
||||
|
||||
message WorldRoutineChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3507;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
WorldRoutineInfo routine_info = 3;
|
||||
uint32 routine_type = 11;
|
||||
}
|
||||
|
||||
message WorldRoutineTypeCloseNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 3502;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 routine_type = 7;
|
||||
}
|
||||
2628
protocol/proto_hk4e/cmd/cmd_scene.proto
Normal file
2628
protocol/proto_hk4e/cmd/cmd_scene.proto
Normal file
File diff suppressed because it is too large
Load Diff
281
protocol/proto_hk4e/cmd/cmd_scene_play.proto
Normal file
281
protocol/proto_hk4e/cmd/cmd_scene_play.proto
Normal file
@@ -0,0 +1,281 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum ScenePlayBattleState {
|
||||
SCENE_PLAY_BATTLE_NONE = 0;
|
||||
SCENE_PLAY_BATTLE_INIT = 1;
|
||||
SCENE_PLAY_BATTLE_PREPARE = 2;
|
||||
SCENE_PLAY_BATTLE_READY = 3;
|
||||
SCENE_PLAY_BATTLE_PRESTART = 4;
|
||||
SCENE_PLAY_BATTLE_START = 5;
|
||||
SCENE_PLAY_BATTLE_STOP = 6;
|
||||
}
|
||||
|
||||
message ScenePlayBattleInfo {
|
||||
uint32 mode = 4;
|
||||
repeated uint32 progress_stage_list = 3;
|
||||
uint32 start_time = 10;
|
||||
uint32 duration = 14;
|
||||
uint32 play_type = 12;
|
||||
uint32 play_id = 1;
|
||||
uint32 prepare_end_time = 7;
|
||||
uint32 progress = 11;
|
||||
uint32 state = 8;
|
||||
uint32 type = 9;
|
||||
}
|
||||
|
||||
message ScenePlayBattleInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4422;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ScenePlayBattleInfo battle_info = 11;
|
||||
}
|
||||
|
||||
message ScenePlayOwnerCheckReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4448;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 play_id = 9;
|
||||
bool is_skip_match = 6;
|
||||
}
|
||||
|
||||
message ScenePlayOwnerCheckRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4362;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 param_list = 8;
|
||||
bool is_skip_match = 1;
|
||||
uint32 play_id = 9;
|
||||
uint32 wrong_uid = 5;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message ScenePlayOwnerStartInviteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4385;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_skip_match = 8;
|
||||
uint32 play_id = 13;
|
||||
}
|
||||
|
||||
message ScenePlayOwnerStartInviteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4357;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_skip_match = 7;
|
||||
int32 retcode = 15;
|
||||
uint32 play_id = 11;
|
||||
}
|
||||
|
||||
message ScenePlayOwnerInviteNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4371;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 invite_cd = 14;
|
||||
uint32 play_id = 5;
|
||||
bool is_remain_reward = 15;
|
||||
}
|
||||
|
||||
message ScenePlayGuestReplyInviteReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4353;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_agree = 15;
|
||||
uint32 play_id = 6;
|
||||
}
|
||||
|
||||
message ScenePlayGuestReplyInviteRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4440;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 6;
|
||||
bool is_agree = 2;
|
||||
uint32 play_id = 8;
|
||||
}
|
||||
|
||||
message ScenePlayGuestReplyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4423;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 play_id = 13;
|
||||
uint32 guest_uid = 12;
|
||||
bool is_agree = 3;
|
||||
}
|
||||
|
||||
message ScenePlayInviteResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4449;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_all_argee = 11;
|
||||
uint32 play_id = 15;
|
||||
}
|
||||
|
||||
message ScenePlayInfo {
|
||||
uint32 entry_id = 15;
|
||||
uint32 play_id = 11;
|
||||
uint32 play_type = 3;
|
||||
bool is_open = 9;
|
||||
}
|
||||
|
||||
message ScenePlayInfoListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4381;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ScenePlayInfo play_info_list = 6;
|
||||
}
|
||||
|
||||
message ScenePlayBattleInterruptNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4425;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 interrupt_state = 6;
|
||||
uint32 play_id = 5;
|
||||
uint32 play_type = 1;
|
||||
}
|
||||
|
||||
message ScenePlayBattleSettlePlayerInfo {
|
||||
repeated ExhibitionDisplayInfo card_list = 14;
|
||||
ProfilePicture profile_picture = 10;
|
||||
uint32 head_image = 11;
|
||||
uint32 statistic_id = 4;
|
||||
uint32 uid = 1;
|
||||
int64 param = 5;
|
||||
string online_id = 12;
|
||||
string nickname = 15;
|
||||
}
|
||||
|
||||
message ScenePlayBattleSettleRewardInfo {
|
||||
repeated ItemParam reward_item_list = 4;
|
||||
uint32 uid = 3;
|
||||
}
|
||||
|
||||
message ScenePlayBattleResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4398;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_win = 1;
|
||||
uint32 cost_time = 7;
|
||||
uint32 play_type = 15;
|
||||
uint32 play_id = 11;
|
||||
repeated ScenePlayBattleSettlePlayerInfo settle_player_info_list = 4;
|
||||
repeated ScenePlayBattleSettleRewardInfo settle_reward_info_list = 14;
|
||||
}
|
||||
|
||||
message ScenePlayBattleUidOpNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4447;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 op = 7;
|
||||
repeated uint32 param_target_list = 9;
|
||||
uint32 entity_id = 2;
|
||||
string param_str = 3;
|
||||
repeated uint32 uid_list = 6;
|
||||
uint32 param_index = 11;
|
||||
uint32 play_type = 8;
|
||||
uint32 param_duration = 12;
|
||||
repeated uint32 param_list = 15;
|
||||
uint32 play_id = 5;
|
||||
}
|
||||
|
||||
message ScenePlayBattleInfoListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4431;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ScenePlayBattleInfo battle_info_list = 12;
|
||||
}
|
||||
|
||||
message ScenePlayOutofRegionNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4355;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 play_id = 13;
|
||||
}
|
||||
25
protocol/proto_hk4e/cmd/cmd_share_cd.proto
Normal file
25
protocol/proto_hk4e/cmd/cmd_share_cd.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message ShareCDInfo {
|
||||
uint32 index = 2;
|
||||
uint64 cd_start_time = 14;
|
||||
uint32 share_cd_id = 12;
|
||||
}
|
||||
|
||||
message AllShareCDDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 9072;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, ShareCDInfo> share_cd_info_map = 2;
|
||||
}
|
||||
201
protocol/proto_hk4e/cmd/cmd_shop.proto
Normal file
201
protocol/proto_hk4e/cmd/cmd_shop.proto
Normal file
@@ -0,0 +1,201 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum ShopGoodsDisableType {
|
||||
SHOP_GOODS_DISABLE_NONE = 0;
|
||||
SHOP_GOODS_DISABLE_TALENT_FULL = 1;
|
||||
SHOP_GOODS_DISABLE_FURNITURE_FORMULA_UNLOCKED = 2;
|
||||
SHOP_GOODS_DISABLE_COSTUME_UNLOCKED = 3;
|
||||
SHOP_GOODS_DISABLE_BGM_UNLOCKED = 4;
|
||||
SHOP_GOODS_DISABLE_GCG_CARD_EXCEED = 5;
|
||||
SHOP_GOODS_DISABLE_GCG_CARD_FACE_UNLOCKED = 6;
|
||||
SHOP_GOODS_DISABLE_GCG_CARD_BACK_UNLOCKED = 7;
|
||||
SHOP_GOODS_DISABLE_GCG_FIELD_UNLOCKED = 8;
|
||||
}
|
||||
|
||||
message ShopGoods {
|
||||
uint32 discount_end_time = 258;
|
||||
uint32 min_level = 8;
|
||||
uint32 end_time = 11;
|
||||
repeated ItemParam cost_item_list = 3;
|
||||
uint32 secondary_sheet_id = 318;
|
||||
uint32 hcoin = 1;
|
||||
uint32 mcoin = 14;
|
||||
uint32 discount_id = 1998;
|
||||
uint32 single_limit = 247;
|
||||
uint32 goods_id = 13;
|
||||
uint32 next_refresh_time = 7;
|
||||
uint32 max_level = 4;
|
||||
uint32 disable_type = 6;
|
||||
uint32 discount_begin_time = 574;
|
||||
repeated uint32 pre_goods_id_list = 2;
|
||||
uint32 begin_time = 5;
|
||||
uint32 scoin = 15;
|
||||
uint32 bought_num = 10;
|
||||
uint32 buy_limit = 12;
|
||||
ItemParam goods_item = 9;
|
||||
}
|
||||
|
||||
message Shop {
|
||||
repeated ShopConcertProduct concert_product_list = 3;
|
||||
repeated ShopGoods goods_list = 15;
|
||||
uint32 city_reputation_level = 2;
|
||||
repeated ShopCardProduct card_product_list = 14;
|
||||
repeated ShopMcoinProduct mcoin_product_list = 7;
|
||||
uint32 next_refresh_time = 11;
|
||||
uint32 city_id = 10;
|
||||
uint32 shop_type = 13;
|
||||
}
|
||||
|
||||
message GetShopReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 772;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 shop_type = 13;
|
||||
}
|
||||
|
||||
message GetShopRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 798;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
Shop shop = 11;
|
||||
int32 retcode = 2;
|
||||
}
|
||||
|
||||
message BuyGoodsReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 712;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 buy_count = 14;
|
||||
ShopGoods goods = 15;
|
||||
uint32 shop_type = 7;
|
||||
}
|
||||
|
||||
message BuyGoodsRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 735;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 buy_count = 14;
|
||||
ShopGoods goods = 12;
|
||||
uint32 shop_type = 11;
|
||||
int32 retcode = 2;
|
||||
repeated ShopGoods goods_list = 5;
|
||||
}
|
||||
|
||||
message GetShopmallDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 707;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetShopmallDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 721;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 shop_type_list = 15;
|
||||
int32 retcode = 3;
|
||||
}
|
||||
|
||||
message ActivityShopSheetInfo {
|
||||
uint32 end_time = 1;
|
||||
uint32 begin_time = 12;
|
||||
uint32 sheet_id = 2;
|
||||
}
|
||||
|
||||
message GetActivityShopSheetInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 703;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 shop_type = 7;
|
||||
}
|
||||
|
||||
message GetActivityShopSheetInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 790;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ActivityShopSheetInfo sheet_info_list = 6;
|
||||
uint32 shop_type = 8;
|
||||
int32 retcode = 13;
|
||||
}
|
||||
|
||||
message BuyGoodsParam {
|
||||
uint32 buy_count = 12;
|
||||
ShopGoods goods = 13;
|
||||
}
|
||||
|
||||
message BatchBuyGoodsReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 773;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 shop_type = 7;
|
||||
repeated BuyGoodsParam buy_goods_list = 2;
|
||||
}
|
||||
|
||||
message BatchBuyGoodsRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 799;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ShopGoods goods_list = 9;
|
||||
int32 retcode = 1;
|
||||
repeated BuyGoodsParam buy_goods_list = 5;
|
||||
uint32 shop_type = 14;
|
||||
}
|
||||
161
protocol/proto_hk4e/cmd/cmd_sign_in.proto
Normal file
161
protocol/proto_hk4e/cmd/cmd_sign_in.proto
Normal file
@@ -0,0 +1,161 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message OpActivityTagBriefInfo {
|
||||
uint32 config_id = 2;
|
||||
bool has_reward = 3;
|
||||
uint32 op_activity_type = 11;
|
||||
}
|
||||
|
||||
message OpActivityStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2572;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 finished_bonus_activity_id_list = 14;
|
||||
repeated OpActivityTagBriefInfo opened_op_activity_info_list = 13;
|
||||
}
|
||||
|
||||
message SignInData {
|
||||
uint32 day_count = 14;
|
||||
repeated ItemParam reward_item_list = 5;
|
||||
}
|
||||
|
||||
message SignInInfo {
|
||||
bool is_cond_satisfied = 7;
|
||||
repeated uint32 reward_day_list = 15;
|
||||
repeated SignInData signin_data_list = 12;
|
||||
uint32 config_id = 8;
|
||||
uint32 sign_in_count = 2;
|
||||
uint32 schedule_id = 3;
|
||||
uint32 end_time = 13;
|
||||
uint32 last_sign_in_time = 6;
|
||||
uint32 begin_time = 5;
|
||||
}
|
||||
|
||||
message SignInInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2512;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message SignInInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2535;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated SignInInfo sign_in_info_list = 1;
|
||||
int32 retcode = 11;
|
||||
}
|
||||
|
||||
message GetSignInRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2507;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 schedule_id = 10;
|
||||
uint32 reward_day = 3;
|
||||
}
|
||||
|
||||
message GetSignInRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2521;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
SignInInfo sign_in_info = 14;
|
||||
}
|
||||
|
||||
message BonusActivityInfo {
|
||||
uint32 bonus_activity_id = 6;
|
||||
uint32 state = 3;
|
||||
}
|
||||
|
||||
message BonusActivityUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2575;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated BonusActivityInfo bonus_activity_info_list = 8;
|
||||
}
|
||||
|
||||
message BonusActivityInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2548;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message BonusActivityInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2597;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated BonusActivityInfo bonus_activity_info_list = 2;
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message GetBonusActivityRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2581;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 bonus_activity_id = 14;
|
||||
}
|
||||
|
||||
message GetBonusActivityRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2505;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
BonusActivityInfo bonus_activity_info_list = 4;
|
||||
int32 retcode = 13;
|
||||
}
|
||||
261
protocol/proto_hk4e/cmd/cmd_skill.proto
Normal file
261
protocol/proto_hk4e/cmd/cmd_skill.proto
Normal file
@@ -0,0 +1,261 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message UnlockAvatarTalentReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1072;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 talent_id = 13;
|
||||
uint64 avatar_guid = 3;
|
||||
}
|
||||
|
||||
message UnlockAvatarTalentRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1098;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 talent_id = 2;
|
||||
int32 retcode = 3;
|
||||
uint64 avatar_guid = 10;
|
||||
}
|
||||
|
||||
message AvatarUnlockTalentNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1012;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 14;
|
||||
uint64 avatar_guid = 13;
|
||||
uint32 talent_id = 10;
|
||||
uint32 skill_depot_id = 1;
|
||||
}
|
||||
|
||||
message AvatarSkillDepotChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1035;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 skill_depot_id = 15;
|
||||
map<uint32, uint32> proud_skill_extra_level_map = 14;
|
||||
repeated uint32 talent_id_list = 9;
|
||||
repeated uint32 proud_skill_list = 4;
|
||||
uint32 core_proud_skill_level = 2;
|
||||
uint32 entity_id = 7;
|
||||
uint64 avatar_guid = 12;
|
||||
map<uint32, uint32> skill_level_map = 3;
|
||||
}
|
||||
|
||||
message BigTalentPointConvertReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1007;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint64 item_guid_list = 6;
|
||||
uint64 avatar_guid = 3;
|
||||
}
|
||||
|
||||
message BigTalentPointConvertRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1021;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint64 avatar_guid = 8;
|
||||
}
|
||||
|
||||
message AvatarSkillMaxChargeCountNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1003;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 skill_id = 6;
|
||||
uint32 max_charge_count = 11;
|
||||
uint64 avatar_guid = 7;
|
||||
}
|
||||
|
||||
message AvatarSkillInfoNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1090;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, AvatarSkillInfo> skill_map = 11;
|
||||
uint64 guid = 4;
|
||||
}
|
||||
|
||||
message ProudSkillUpgradeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1073;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 5;
|
||||
uint32 old_proud_skill_level = 4;
|
||||
uint32 proud_skill_id = 14;
|
||||
}
|
||||
|
||||
message ProudSkillUpgradeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1099;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 6;
|
||||
uint32 proud_skill_id = 10;
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message ProudSkillChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1031;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 11;
|
||||
uint32 entity_id = 4;
|
||||
uint32 skill_depot_id = 8;
|
||||
repeated uint32 proud_skill_list = 12;
|
||||
}
|
||||
|
||||
message AvatarSkillUpgradeReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1075;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 7;
|
||||
uint32 old_level = 3;
|
||||
uint32 avatar_skill_id = 4;
|
||||
}
|
||||
|
||||
message AvatarSkillUpgradeRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1048;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 11;
|
||||
uint32 cur_level = 14;
|
||||
uint32 avatar_skill_id = 9;
|
||||
uint32 old_level = 3;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message AvatarSkillChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1097;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cur_level = 11;
|
||||
uint64 avatar_guid = 2;
|
||||
uint32 entity_id = 7;
|
||||
uint32 skill_depot_id = 13;
|
||||
uint32 old_level = 1;
|
||||
uint32 avatar_skill_id = 6;
|
||||
}
|
||||
|
||||
message ProudSkillExtraLevelNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1081;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 talent_type = 11;
|
||||
uint32 talent_index = 8;
|
||||
uint64 avatar_guid = 15;
|
||||
uint32 extra_level = 3;
|
||||
}
|
||||
|
||||
message CanUseSkillNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1005;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_can_use_skill = 2;
|
||||
}
|
||||
|
||||
message AvatarTeamResonanceInfo {
|
||||
repeated uint32 add_team_resonance_id_list = 5;
|
||||
uint32 entity_id = 11;
|
||||
uint64 avatar_guid = 3;
|
||||
repeated uint32 del_team_resonance_id_list = 14;
|
||||
}
|
||||
|
||||
message TeamResonanceChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 1082;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated AvatarTeamResonanceInfo info_list = 1;
|
||||
}
|
||||
977
protocol/proto_hk4e/cmd/cmd_social.proto
Normal file
977
protocol/proto_hk4e/cmd/cmd_social.proto
Normal file
@@ -0,0 +1,977 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum FriendOnlineState {
|
||||
FREIEND_DISCONNECT = 0;
|
||||
FRIEND_ONLINE = 1;
|
||||
}
|
||||
|
||||
enum DealAddFriendResultType {
|
||||
DEAL_ADD_FRIEND_REJECT = 0;
|
||||
DEAL_ADD_FRIEND_ACCEPT = 1;
|
||||
}
|
||||
|
||||
message SocialShowAvatarInfo {
|
||||
uint32 avatar_id = 1;
|
||||
uint32 level = 2;
|
||||
uint32 costume_id = 3;
|
||||
}
|
||||
|
||||
message SocialDetail {
|
||||
uint32 uid = 1;
|
||||
string nickname = 2;
|
||||
uint32 level = 3;
|
||||
uint32 avatar_id = 4;
|
||||
string signature = 5;
|
||||
Birthday birthday = 6;
|
||||
uint32 world_level = 7;
|
||||
repeated uint32 reserved_list = 8;
|
||||
FriendOnlineState online_state = 9;
|
||||
uint32 param = 10;
|
||||
bool is_friend = 11;
|
||||
bool is_mp_mode_available = 12;
|
||||
string online_id = 13;
|
||||
uint32 name_card_id = 14;
|
||||
bool is_in_blacklist = 15;
|
||||
bool is_chat_no_disturb = 16;
|
||||
string remark_name = 17;
|
||||
uint32 finish_achievement_num = 18;
|
||||
uint32 tower_floor_index = 19;
|
||||
uint32 tower_level_index = 20;
|
||||
bool is_show_avatar = 21;
|
||||
repeated SocialShowAvatarInfo show_avatar_info_list = 22;
|
||||
repeated uint32 show_name_card_id_list = 23;
|
||||
FriendEnterHomeOption friend_enter_home_option = 24;
|
||||
ProfilePicture profile_picture = 25;
|
||||
string ip_code = 26;
|
||||
}
|
||||
|
||||
message FriendBrief {
|
||||
uint32 uid = 1;
|
||||
string nickname = 2;
|
||||
uint32 level = 3;
|
||||
uint32 avatar_id = 4;
|
||||
uint32 world_level = 5;
|
||||
string signature = 6;
|
||||
FriendOnlineState online_state = 7;
|
||||
uint32 param = 8;
|
||||
bool is_mp_mode_available = 10;
|
||||
string online_id = 11;
|
||||
uint32 last_active_time = 12;
|
||||
uint32 name_card_id = 13;
|
||||
uint32 mp_player_num = 14;
|
||||
bool is_chat_no_disturb = 15;
|
||||
uint32 chat_sequence = 16;
|
||||
string remark_name = 17;
|
||||
repeated SocialShowAvatarInfo show_avatar_info_list = 22;
|
||||
FriendEnterHomeOption friend_enter_home_option = 23;
|
||||
ProfilePicture profile_picture = 24;
|
||||
bool is_game_source = 25;
|
||||
bool is_psn_source = 26;
|
||||
PlatformType platform_type = 27;
|
||||
}
|
||||
|
||||
message ChatEmojiCollectionData {
|
||||
repeated uint32 emoji_id_list = 1;
|
||||
}
|
||||
|
||||
message GetPlayerFriendListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4072;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetPlayerFriendListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4098;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
repeated FriendBrief ask_friend_list = 8;
|
||||
repeated FriendBrief friend_list = 14;
|
||||
}
|
||||
|
||||
message AskAddFriendReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4007;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 7;
|
||||
}
|
||||
|
||||
message AskAddFriendRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4021;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 param = 8;
|
||||
int32 retcode = 7;
|
||||
uint32 target_uid = 4;
|
||||
}
|
||||
|
||||
message DealAddFriendReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4003;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
DealAddFriendResultType deal_add_friend_result = 12;
|
||||
uint32 target_uid = 10;
|
||||
}
|
||||
|
||||
message DealAddFriendRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4090;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 target_uid = 5;
|
||||
DealAddFriendResultType deal_add_friend_result = 6;
|
||||
}
|
||||
|
||||
message GetPlayerSocialDetailReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4073;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 9;
|
||||
}
|
||||
|
||||
message GetPlayerSocialDetailRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4099;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
SocialDetail detail_data = 12;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message DeleteFriendReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4031;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 13;
|
||||
}
|
||||
|
||||
message DeleteFriendRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4075;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 14;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message SetPlayerBirthdayReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4048;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Birthday birthday = 9;
|
||||
}
|
||||
|
||||
message SetPlayerBirthdayRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4097;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
Birthday birthday = 2;
|
||||
int32 retcode = 5;
|
||||
}
|
||||
|
||||
message SetPlayerSignatureReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4081;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
string signature = 3;
|
||||
}
|
||||
|
||||
message SetPlayerSignatureRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4005;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string signature = 1;
|
||||
int32 retcode = 4;
|
||||
}
|
||||
|
||||
message SetPlayerHeadImageReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4082;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 avatar_id = 7;
|
||||
}
|
||||
|
||||
message SetPlayerHeadImageRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4047;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ProfilePicture profile_picture = 6;
|
||||
uint32 avatar_id = 5;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message UpdatePS4FriendListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4039;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated string psn_id_list = 15;
|
||||
}
|
||||
|
||||
message DeleteFriendNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4053;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 12;
|
||||
}
|
||||
|
||||
message AddFriendNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4022;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 11;
|
||||
FriendBrief target_friend_brief = 10;
|
||||
}
|
||||
|
||||
message AskAddFriendNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4065;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
FriendBrief target_friend_brief = 15;
|
||||
uint32 target_uid = 9;
|
||||
}
|
||||
|
||||
message SetNameCardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4004;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 name_card_id = 10;
|
||||
}
|
||||
|
||||
message SetNameCardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4093;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 name_card_id = 11;
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message GetAllUnlockNameCardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4027;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetAllUnlockNameCardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4094;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 4;
|
||||
repeated uint32 name_card_list = 14;
|
||||
}
|
||||
|
||||
message AddBlacklistReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4088;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 2;
|
||||
}
|
||||
|
||||
message AddBlacklistRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4026;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
FriendBrief target_friend_brief = 13;
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message RemoveBlacklistReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4063;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 13;
|
||||
}
|
||||
|
||||
message RemoveBlacklistRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4095;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
uint32 target_uid = 7;
|
||||
}
|
||||
|
||||
message UnlockNameCardNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4006;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 name_card_id = 8;
|
||||
}
|
||||
|
||||
message GetRecentMpPlayerListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4034;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetRecentMpPlayerListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4050;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 13;
|
||||
repeated FriendBrief recent_mp_player_brief_list = 14;
|
||||
}
|
||||
|
||||
message SocialDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4043;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_have_first_share = 11;
|
||||
}
|
||||
|
||||
message TakeFirstShareRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4074;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message TakeFirstShareRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4076;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
}
|
||||
|
||||
message UpdatePS4BlockListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4046;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated string psn_id_list = 10;
|
||||
}
|
||||
|
||||
message UpdatePS4BlockListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4041;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message GetPlayerBlacklistReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4049;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetPlayerBlacklistRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4091;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 2;
|
||||
repeated FriendBrief blacklist = 3;
|
||||
}
|
||||
|
||||
message PlayerReportReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4024;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
ReportReasonType reason = 12;
|
||||
string content = 8;
|
||||
uint32 target_home_module_id = 5;
|
||||
string target_home_module_name = 6;
|
||||
uint32 target_uid = 14;
|
||||
}
|
||||
|
||||
message PlayerReportRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4056;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 cd_time = 11;
|
||||
uint32 target_uid = 6;
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message SetFriendRemarkNameReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4042;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 10;
|
||||
string remark_name = 8;
|
||||
}
|
||||
|
||||
message SetFriendRemarkNameRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4030;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string remark_name = 13;
|
||||
bool is_clear_remark = 3;
|
||||
uint32 uid = 10;
|
||||
int32 retcode = 1;
|
||||
}
|
||||
|
||||
message UpdatePlayerShowAvatarListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4067;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_show_avatar = 15;
|
||||
repeated uint32 show_avatar_id_list = 13;
|
||||
}
|
||||
|
||||
message UpdatePlayerShowAvatarListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4058;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 show_avatar_id_list = 1;
|
||||
bool is_show_avatar = 3;
|
||||
int32 retcode = 10;
|
||||
}
|
||||
|
||||
message GetFriendShowAvatarInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4070;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 15;
|
||||
}
|
||||
|
||||
message GetFriendShowAvatarInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4017;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 6;
|
||||
int32 retcode = 3;
|
||||
repeated ShowAvatarInfo show_avatar_info_list = 9;
|
||||
}
|
||||
|
||||
message UpdatePlayerShowNameCardListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4002;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 show_name_card_id_list = 15;
|
||||
}
|
||||
|
||||
message UpdatePlayerShowNameCardListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4019;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 13;
|
||||
repeated uint32 show_name_card_id_list = 12;
|
||||
}
|
||||
|
||||
message GetFriendShowNameCardInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4061;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 3;
|
||||
}
|
||||
|
||||
message GetFriendShowNameCardInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4029;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
uint32 uid = 7;
|
||||
repeated uint32 show_name_card_id_list = 10;
|
||||
}
|
||||
|
||||
message ForceAddPlayerFriendReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4057;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 target_uid = 15;
|
||||
}
|
||||
|
||||
message ForceAddPlayerFriendRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4100;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
FriendBrief target_friend_brief = 2;
|
||||
uint32 target_uid = 9;
|
||||
}
|
||||
|
||||
message ProfilePictureChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4016;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
ProfilePicture profile_picture = 12;
|
||||
}
|
||||
|
||||
message PSNFriendListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4087;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated FriendBrief psn_friend_list = 8;
|
||||
}
|
||||
|
||||
message PSNBlackListNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4040;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated FriendBrief psn_blacklist = 11;
|
||||
}
|
||||
|
||||
message GetPlayerAskFriendListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4018;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetPlayerAskFriendListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4066;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 13;
|
||||
repeated FriendBrief ask_friend_list = 15;
|
||||
}
|
||||
|
||||
message GetChatEmojiCollectionReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4068;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetChatEmojiCollectionRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4033;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
ChatEmojiCollectionData chat_emoji_collection_data = 8;
|
||||
}
|
||||
|
||||
message SetChatEmojiCollectionReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4084;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
ChatEmojiCollectionData chat_emoji_collection_data = 12;
|
||||
}
|
||||
|
||||
message SetChatEmojiCollectionRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4080;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 12;
|
||||
}
|
||||
|
||||
message UpdatePS4FriendListReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4089;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated string psn_id_list = 4;
|
||||
}
|
||||
|
||||
message UpdatePS4FriendListRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4059;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
repeated string psn_id_list = 2;
|
||||
}
|
||||
|
||||
message FriendInfoChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4032;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 uid = 1;
|
||||
string online_id = 9;
|
||||
}
|
||||
|
||||
message PlayerSignatureAuditDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4060;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
ContentAuditInfo info = 14;
|
||||
}
|
||||
|
||||
message PlayerSignatureNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4014;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
string signature = 12;
|
||||
}
|
||||
|
||||
message SignatureAuditConfigNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4092;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_open = 9;
|
||||
uint32 submit_limit = 10;
|
||||
}
|
||||
|
||||
message ReadSignatureAuditReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4020;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ReadSignatureAuditRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4064;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
}
|
||||
34
protocol/proto_hk4e/cmd/cmd_stat.proto
Normal file
34
protocol/proto_hk4e/cmd/cmd_stat.proto
Normal file
@@ -0,0 +1,34 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message AISnapshotEntitySkillCycle {
|
||||
bool failed = 12;
|
||||
bool trydoskill = 8;
|
||||
bool success = 9;
|
||||
bool selected = 1;
|
||||
uint32 skill_id = 2;
|
||||
}
|
||||
|
||||
message AISnapshotEntityData {
|
||||
float tick_time = 5;
|
||||
uint32 tactic = 2;
|
||||
repeated AISnapshotEntitySkillCycle finished_skill_cycles = 9;
|
||||
float moved_distance = 4;
|
||||
uint32 ai_target_id = 13;
|
||||
uint32 threat_target_id = 3;
|
||||
uint32 threat_list_size = 1;
|
||||
uint32 entity_id = 15;
|
||||
map<uint32, uint32> hitting_avatars = 7;
|
||||
float distance_to_player = 11;
|
||||
uint32 attack_target_id = 10;
|
||||
float real_time = 14;
|
||||
}
|
||||
|
||||
message AISnapshotInfo {
|
||||
repeated AISnapshotEntityData ai_snapshots = 13;
|
||||
}
|
||||
215
protocol/proto_hk4e/cmd/cmd_tothemoon.proto
Normal file
215
protocol/proto_hk4e/cmd/cmd_tothemoon.proto
Normal file
@@ -0,0 +1,215 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message ToTheMoonQueryPathReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6172;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum OptionType {
|
||||
OPTION_NONE = 0;
|
||||
OPTION_NORMAL = 1;
|
||||
}
|
||||
|
||||
enum AStarMethod {
|
||||
Classic = 0;
|
||||
Tendency = 1;
|
||||
Adaptive = 2;
|
||||
Inflection = 3;
|
||||
}
|
||||
|
||||
enum FilterType {
|
||||
All = 0;
|
||||
Air = 1;
|
||||
Water = 2;
|
||||
}
|
||||
|
||||
Vector destination_pos = 9;
|
||||
int32 fuzzy_range = 15;
|
||||
OptionType query_type = 8;
|
||||
AStarMethod astar_method = 1;
|
||||
uint32 scene_id = 6;
|
||||
int32 query_id = 11;
|
||||
FilterType filter_type = 3;
|
||||
bool refined = 13;
|
||||
bool use_full_neighbor = 5;
|
||||
Vector source_pos = 10;
|
||||
}
|
||||
|
||||
message ToTheMoonQueryPathRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6198;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum PathStatusType {
|
||||
STATUS_FAIL = 0;
|
||||
STATUS_SUCC = 1;
|
||||
STATUS_PARTIAL = 2;
|
||||
}
|
||||
|
||||
PathStatusType query_status = 7;
|
||||
repeated int64 index = 3;
|
||||
repeated Vector corners = 14;
|
||||
repeated int32 level = 1;
|
||||
int32 retcode = 8;
|
||||
int32 query_id = 9;
|
||||
}
|
||||
|
||||
message ToTheMoonPingNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6112;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ToTheMoonEnterSceneReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6135;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 version = 14;
|
||||
uint32 scene_id = 15;
|
||||
}
|
||||
|
||||
message ToTheMoonEnterSceneRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6107;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
}
|
||||
|
||||
message ToTheMoonObstacleInfo {
|
||||
enum ShapeType {
|
||||
OBSTACLE_SHAPE_CAPSULE = 0;
|
||||
OBSTACLE_SHAPE_BOX = 1;
|
||||
}
|
||||
|
||||
ShapeType type = 2;
|
||||
int32 handle_id = 11;
|
||||
MathQuaternion rotation = 7;
|
||||
Vector center = 13;
|
||||
Vector half_extents = 14;
|
||||
}
|
||||
|
||||
message ToTheMoonAddObstacleReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6121;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool use_edge = 12;
|
||||
ToTheMoonObstacleInfo obstacle = 13;
|
||||
int32 query_id = 9;
|
||||
uint32 scene_id = 3;
|
||||
}
|
||||
|
||||
message DynamicSVONode {
|
||||
int64 index = 8;
|
||||
int32 area = 5;
|
||||
Vector refer_pos = 1;
|
||||
}
|
||||
|
||||
message DynamicLayerNodes {
|
||||
int32 level = 10;
|
||||
repeated DynamicSVONode nodes = 6;
|
||||
}
|
||||
|
||||
message DynamicNodes {
|
||||
repeated DynamicLayerNodes nodes = 3;
|
||||
}
|
||||
|
||||
message ToTheMoonAddObstacleRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6103;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
DynamicNodes dynamic_nodes = 2;
|
||||
int32 query_id = 13;
|
||||
int32 retcode = 11;
|
||||
}
|
||||
|
||||
message ToTheMoonRemoveObstacleReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6190;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum ObstacleType {
|
||||
Box = 0;
|
||||
Capsule = 1;
|
||||
}
|
||||
|
||||
int32 handle = 12;
|
||||
uint32 scene_id = 10;
|
||||
int32 query_id = 11;
|
||||
}
|
||||
|
||||
message ToTheMoonRemoveObstacleRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6173;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 query_id = 3;
|
||||
int32 retcode = 14;
|
||||
DynamicNodes dynamic_nodes = 8;
|
||||
}
|
||||
|
||||
message ToTheMoonObstaclesModifyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6199;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated ToTheMoonObstacleInfo add_obstacles = 4;
|
||||
repeated int32 remove_obstacle_ids = 13;
|
||||
uint32 scene_id = 15;
|
||||
bool use_edge = 1;
|
||||
}
|
||||
362
protocol/proto_hk4e/cmd/cmd_tower.proto
Normal file
362
protocol/proto_hk4e/cmd/cmd_tower.proto
Normal file
@@ -0,0 +1,362 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message TowerTeam {
|
||||
uint32 tower_team_id = 3;
|
||||
repeated uint64 avatar_guid_list = 14;
|
||||
}
|
||||
|
||||
message TowerLevelRecord {
|
||||
repeated uint32 satisfied_cond_list = 13;
|
||||
uint32 level_id = 10;
|
||||
}
|
||||
|
||||
message TowerFloorRecord {
|
||||
uint32 floor_star_reward_progress = 15;
|
||||
map<uint32, uint32> passed_level_map = 8;
|
||||
uint32 floor_id = 12;
|
||||
repeated TowerLevelRecord passed_level_record_list = 2;
|
||||
}
|
||||
|
||||
message TowerCurLevelRecord {
|
||||
repeated TowerTeam tower_team_list = 8;
|
||||
bool is_empty = 6;
|
||||
repeated uint32 buff_id_list = 4;
|
||||
bool is_upper_part = 2;
|
||||
uint32 cur_level_index = 1;
|
||||
uint32 cur_floor_id = 15;
|
||||
}
|
||||
|
||||
message TowerBriefDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2472;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 total_star_num = 11;
|
||||
uint32 last_floor_index = 8;
|
||||
uint32 schedule_start_time = 15;
|
||||
uint32 next_schedule_change_time = 6;
|
||||
bool is_finished_entrance_floor = 14;
|
||||
uint32 last_level_index = 4;
|
||||
uint32 tower_schedule_id = 5;
|
||||
}
|
||||
|
||||
message TowerFloorRecordChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2498;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_finished_entrance_floor = 11;
|
||||
repeated TowerFloorRecord tower_floor_record_list = 8;
|
||||
}
|
||||
|
||||
message TowerCurLevelRecordChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2412;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
TowerCurLevelRecord cur_level_record = 10;
|
||||
}
|
||||
|
||||
message TowerDailyRewardProgressChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2435;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 daily_floor_id = 15;
|
||||
uint32 daily_level_index = 9;
|
||||
}
|
||||
|
||||
message TowerTeamSelectReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2421;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated TowerTeam tower_team_list = 11;
|
||||
uint32 floor_id = 10;
|
||||
}
|
||||
|
||||
message TowerTeamSelectRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2403;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message TowerAllDataReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2490;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_interact = 2;
|
||||
}
|
||||
|
||||
message TowerMonthlyBrief {
|
||||
uint32 tower_schedule_id = 15;
|
||||
uint32 best_floor_index = 6;
|
||||
uint32 best_level_index = 3;
|
||||
uint32 total_star_count = 12;
|
||||
}
|
||||
|
||||
message TowerAllDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2473;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 tower_schedule_id = 10;
|
||||
uint32 daily_level_index = 9;
|
||||
map<uint32, uint32> skip_floor_granted_reward_item_map = 12;
|
||||
bool is_first_interact = 3;
|
||||
bool is_finished_entrance_floor = 1;
|
||||
repeated TowerFloorRecord tower_floor_record_list = 5;
|
||||
uint32 daily_floor_id = 11;
|
||||
uint32 commemorative_reward_id = 13;
|
||||
TowerMonthlyBrief last_schedule_monthly_brief = 1222;
|
||||
uint32 next_schedule_change_time = 6;
|
||||
uint32 valid_tower_record_num = 7;
|
||||
uint32 skip_to_floor_index = 2;
|
||||
map<uint32, uint32> floor_open_time_map = 4;
|
||||
TowerCurLevelRecord cur_level_record = 15;
|
||||
int32 retcode = 8;
|
||||
uint32 schedule_start_time = 914;
|
||||
TowerMonthlyBrief monthly_brief = 14;
|
||||
}
|
||||
|
||||
message TowerEnterLevelReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2431;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 enter_point_id = 3;
|
||||
}
|
||||
|
||||
message TowerEnterLevelRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2475;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 tower_buff_id_list = 10;
|
||||
int32 retcode = 1;
|
||||
uint32 level_index = 14;
|
||||
uint32 floor_id = 5;
|
||||
}
|
||||
|
||||
message TowerBuffSelectReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2448;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 tower_buff_id = 5;
|
||||
}
|
||||
|
||||
message TowerBuffSelectRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2497;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
uint32 tower_buff_id = 13;
|
||||
}
|
||||
|
||||
message TowerSurrenderReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2422;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message TowerSurrenderRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2465;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message TowerGetFloorStarRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2404;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 floor_id = 15;
|
||||
}
|
||||
|
||||
message TowerGetFloorStarRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2493;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 11;
|
||||
uint32 floor_id = 9;
|
||||
}
|
||||
|
||||
message TowerLevelEndNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2495;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
enum ContinueStateType {
|
||||
CONTINUE_STATE_CAN_NOT_CONTINUE = 0;
|
||||
CONTINUE_STATE_CAN_ENTER_NEXT_LEVEL = 1;
|
||||
CONTINUE_STATE_CAN_ENTER_NEXT_FLOOR = 2;
|
||||
}
|
||||
|
||||
uint32 next_floor_id = 4;
|
||||
repeated ItemParam reward_item_list = 12;
|
||||
uint32 continue_state = 15;
|
||||
bool is_success = 5;
|
||||
repeated uint32 finished_star_cond_list = 6;
|
||||
}
|
||||
|
||||
message TowerLevelStarCondData {
|
||||
bool is_fail = 15;
|
||||
uint32 cond_value = 9;
|
||||
bool is_pause = 13;
|
||||
uint32 star_cond_index = 6;
|
||||
}
|
||||
|
||||
message TowerLevelStarCondNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2406;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 level_index = 14;
|
||||
uint32 floor_id = 11;
|
||||
repeated TowerLevelStarCondData cond_data_list = 9;
|
||||
}
|
||||
|
||||
message TowerMiddleLevelChangeTeamNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2434;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message TowerFightRecordPair {
|
||||
uint32 avatar_id = 1;
|
||||
uint32 data = 3;
|
||||
}
|
||||
|
||||
message TowerMonthlyCombatRecord {
|
||||
TowerFightRecordPair most_kill_avatar_pair = 14;
|
||||
TowerFightRecordPair most_cast_normal_skill_avatar_pair = 8;
|
||||
repeated TowerFightRecordPair most_reveal_avatar_list = 6;
|
||||
TowerFightRecordPair most_cast_energy_skill_avatar_pair = 4;
|
||||
TowerFightRecordPair highest_dps_avatr_pair = 12;
|
||||
TowerFightRecordPair most_take_damage_avatar_pair = 9;
|
||||
}
|
||||
|
||||
message TowerMonthlyDetail {
|
||||
TowerMonthlyCombatRecord monthly_combat_record = 2;
|
||||
TowerMonthlyBrief monthly_brief = 12;
|
||||
}
|
||||
|
||||
message TowerRecordHandbookReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2450;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message TowerRecordHandbookRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2443;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
repeated TowerMonthlyDetail monthly_detail_list = 14;
|
||||
}
|
||||
258
protocol/proto_hk4e/cmd/cmd_ugc.proto
Normal file
258
protocol/proto_hk4e/cmd/cmd_ugc.proto
Normal file
@@ -0,0 +1,258 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
import "cmd/cmd_social.proto";
|
||||
|
||||
enum UgcType {
|
||||
UGC_TYPE_NONE = 0;
|
||||
UGC_TYPE_MUSIC_GAME = 1;
|
||||
}
|
||||
|
||||
enum GetUgcType {
|
||||
GET_UGC_NONE = 0;
|
||||
GET_UGC_TYPE_MINE = 1;
|
||||
GET_UGC_TYPE_PUBLISH = 2;
|
||||
}
|
||||
|
||||
enum RecordUsage {
|
||||
UGC_RECORD_USAGE_NONE = 0;
|
||||
UGC_RECORD_USAGE_IMPORT = 1;
|
||||
UGC_RECORD_USAGE_PLAY = 2;
|
||||
UGC_RECORD_USAGE_TRIAL = 3;
|
||||
UGC_RECORD_USAGE_COMPARE = 4;
|
||||
}
|
||||
|
||||
message UgcMusicNote {
|
||||
uint32 start_time = 12;
|
||||
uint32 end_time = 5;
|
||||
}
|
||||
|
||||
message UgcMusicTrack {
|
||||
repeated UgcMusicNote music_note_list = 6;
|
||||
}
|
||||
|
||||
message UgcMusicRecord {
|
||||
repeated UgcMusicTrack music_track_list = 4;
|
||||
uint32 music_id = 13;
|
||||
}
|
||||
|
||||
message UgcMusicBriefInfo {
|
||||
uint64 import_from_ugc_guid = 5;
|
||||
bool is_published = 8;
|
||||
bool is_played = 1;
|
||||
uint32 music_id = 2;
|
||||
uint32 save_page_type = 1182;
|
||||
uint32 save_idx = 12;
|
||||
string creator_nickname = 10;
|
||||
uint32 version = 15;
|
||||
uint32 save_time = 3;
|
||||
repeated uint32 after_note_list = 1002;
|
||||
repeated uint32 before_note_list = 982;
|
||||
bool is_psn_platform = 9;
|
||||
uint32 time_line_edit_time = 1822;
|
||||
bool is_changed_after_publish = 11;
|
||||
uint32 publish_time = 13;
|
||||
uint32 max_score = 14;
|
||||
uint32 real_time_edit_time = 576;
|
||||
uint32 note_count = 7;
|
||||
uint64 ugc_guid = 4;
|
||||
uint32 self_max_score = 6;
|
||||
}
|
||||
|
||||
message GetUgcReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6326;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
UgcType ugc_type = 8;
|
||||
uint64 ugc_guid = 5;
|
||||
RecordUsage ugc_record_usage = 6;
|
||||
bool is_require_brief = 11;
|
||||
GetUgcType get_ugc_type = 13;
|
||||
}
|
||||
|
||||
message GetUgcRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6318;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 ugc_guid = 15;
|
||||
UgcType ugc_type = 10;
|
||||
int32 retcode = 2;
|
||||
RecordUsage ugc_record_usage = 14;
|
||||
oneof record {
|
||||
UgcMusicRecord music_record = 4;
|
||||
}
|
||||
oneof brief {
|
||||
UgcMusicBriefInfo music_brief_info = 1819;
|
||||
}
|
||||
}
|
||||
|
||||
message GetUgcBriefInfoReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6325;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint64 ugc_guid = 7;
|
||||
UgcType ugc_type = 10;
|
||||
}
|
||||
|
||||
message GetUgcBriefInfoRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6307;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 ugc_guid = 3;
|
||||
UgcType ugc_type = 11;
|
||||
int32 retcode = 4;
|
||||
oneof brief {
|
||||
UgcMusicBriefInfo music_brief_info = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message SaveUgcReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6329;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
UgcType ugc_type = 11;
|
||||
oneof record {
|
||||
UgcMusicRecord music_record = 2;
|
||||
}
|
||||
oneof brief {
|
||||
UgcMusicBriefInfo music_brief_info = 1488;
|
||||
}
|
||||
}
|
||||
|
||||
message SaveUgcRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6322;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
uint64 ugc_guid = 8;
|
||||
UgcType ugc_type = 1;
|
||||
}
|
||||
|
||||
message PublishUgcReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6344;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
UgcType ugc_type = 7;
|
||||
uint64 ugc_guid = 12;
|
||||
}
|
||||
|
||||
message PublishUgcRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6349;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint64 ugc_guid = 14;
|
||||
int32 retcode = 15;
|
||||
UgcType ugc_type = 13;
|
||||
}
|
||||
|
||||
message CheckUgcUpdateReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6320;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
UgcType ugc_type = 13;
|
||||
}
|
||||
|
||||
message CheckUgcUpdateRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6345;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint64 update_ugc_guid_list = 15;
|
||||
int32 retcode = 10;
|
||||
UgcType ugc_type = 12;
|
||||
}
|
||||
|
||||
message UgcNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6341;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_ugc_publish_ban = 12;
|
||||
bool is_ugc_publish_feature_closed = 8;
|
||||
bool is_ugc_feature_closed = 15;
|
||||
}
|
||||
|
||||
message CheckUgcStateReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6342;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message CheckUgcStateRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6314;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 7;
|
||||
}
|
||||
162
protocol/proto_hk4e/cmd/cmd_watcher.proto
Normal file
162
protocol/proto_hk4e/cmd/cmd_watcher.proto
Normal file
@@ -0,0 +1,162 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
enum PushTipsState {
|
||||
PUSH_TIPS_STATE_NONE = 0;
|
||||
PUSH_TIPS_STATE_START = 1;
|
||||
PUSH_TIPS_STATE_READ = 2;
|
||||
PUSH_TIPS_STATE_FINISH = 3;
|
||||
}
|
||||
|
||||
message WatcherAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2272;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 watcher_list = 4;
|
||||
}
|
||||
|
||||
message WatcherChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2298;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 removed_watcher_list = 2;
|
||||
repeated uint32 new_watcher_list = 15;
|
||||
}
|
||||
|
||||
message WatcherEventNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2212;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 add_progress = 6;
|
||||
uint32 watcher_id = 9;
|
||||
}
|
||||
|
||||
message WatcherEventTypeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2235;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 param_list = 14;
|
||||
uint32 add_progress = 15;
|
||||
uint32 watcher_trigger_type = 11;
|
||||
}
|
||||
|
||||
message WatcherEventStageNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2207;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 add_progress = 4;
|
||||
uint32 stage = 2;
|
||||
uint32 watcher_id = 12;
|
||||
}
|
||||
|
||||
message PushTipsData {
|
||||
uint32 push_tips_id = 13;
|
||||
uint32 state = 4;
|
||||
}
|
||||
|
||||
message PushTipsAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2222;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PushTipsData push_tips_list = 4;
|
||||
}
|
||||
|
||||
message PushTipsChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2265;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PushTipsData push_tips_list = 9;
|
||||
}
|
||||
|
||||
message PushTipsReadFinishReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2204;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 push_tips_id = 11;
|
||||
}
|
||||
|
||||
message PushTipsReadFinishRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2293;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 push_tips_id = 3;
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message GetPushTipsRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2227;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated uint32 push_tips_id_list = 4;
|
||||
}
|
||||
|
||||
message GetPushTipsRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 2294;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
repeated uint32 push_tips_id_list = 9;
|
||||
}
|
||||
801
protocol/proto_hk4e/cmd/cmd_widget.proto
Normal file
801
protocol/proto_hk4e/cmd/cmd_widget.proto
Normal file
@@ -0,0 +1,801 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
enum LunchBoxSlotType {
|
||||
LUNCH_BOX_SLOT_NONE = 0;
|
||||
LUNCH_BOX_SLOT_REVIVE = 1;
|
||||
LUNCH_BOX_SLOT_HEAL = 2;
|
||||
}
|
||||
|
||||
enum WidgetSlotTag {
|
||||
WIDGET_SLOT_QUICK_USE = 0;
|
||||
WIDGET_SLOT_ATTACH_AVATAR = 1;
|
||||
}
|
||||
|
||||
enum WidgetSlotOp {
|
||||
WIDGET_SLOT_OP_ATTACH = 0;
|
||||
WIDGET_SLOT_OP_DETACH = 1;
|
||||
}
|
||||
|
||||
enum WidgetCreatorOpType {
|
||||
WIDGET_CREATOR_TYPE_NONE = 0;
|
||||
WIDGET_CREATOR_TYPE_RETRACT = 1;
|
||||
WIDGET_CREATOR_TYPE_RETRACT_AND_CREATE = 2;
|
||||
}
|
||||
|
||||
enum WIDGET_EXTRA_CD_TYPE {
|
||||
WIDGET_EXTRA_CD_TYPE_NONE = 0;
|
||||
WIDGET_EXTRA_CD_TYPE_E_SKILL_SHARED = 1;
|
||||
}
|
||||
|
||||
enum FireworksReformParamType {
|
||||
FIREWORKS_REFORM_PARAM_NONE = 0;
|
||||
FIREWORKS_REFORM_PARAM_COLOR = 1;
|
||||
FIREWORKS_REFORM_PARAM_HEIGHT = 2;
|
||||
FIREWORKS_REFORM_PARAM_SIZE = 3;
|
||||
FIREWORKS_REFORM_PARAM_DENSITY = 4;
|
||||
FIREWORKS_REFORM_PARAM_ROTATION = 5;
|
||||
}
|
||||
|
||||
enum FireworksLaunchParamType {
|
||||
FIREWORKS_LAUNCH_PARAM_NONE = 0;
|
||||
FIREWORKS_LAUNCH_PARAM_REPEAT = 1;
|
||||
FIREWORKS_LAUNCH_PARAM_INTEVAL = 2;
|
||||
FIREWORKS_LAUNCH_PARAM_DELAY = 3;
|
||||
FIREWORKS_LAUNCH_PARAM_ROUND_INTEVAL = 4;
|
||||
FIREWORKS_LAUNCH_PARAM_MAX = 5;
|
||||
}
|
||||
|
||||
message AnchorPointData {
|
||||
uint32 scene_id = 5;
|
||||
uint32 anchor_point_id = 9;
|
||||
uint32 end_time = 8;
|
||||
Vector pos = 15;
|
||||
Vector rot = 2;
|
||||
}
|
||||
|
||||
message AnchorPointDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4276;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated AnchorPointData anchor_point_list = 10;
|
||||
uint32 next_usable_time = 14;
|
||||
}
|
||||
|
||||
message AnchorPointOpReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4257;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
enum AnchorPointOpType {
|
||||
ANCHOR_POINT_OP_NONE = 0;
|
||||
ANCHOR_POINT_OP_TELEPORT = 1;
|
||||
ANCHOR_POINT_OP_REMOVE = 2;
|
||||
}
|
||||
|
||||
uint32 anchor_point_id = 9;
|
||||
uint32 anchor_point_op_type = 12;
|
||||
}
|
||||
|
||||
message AnchorPointOpRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4252;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 5;
|
||||
uint32 anchor_point_id = 12;
|
||||
uint32 anchor_point_op_type = 4;
|
||||
}
|
||||
|
||||
message LunchBoxData {
|
||||
map<uint32, uint32> slot_material_map = 3;
|
||||
}
|
||||
|
||||
message SetUpLunchBoxWidgetReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4272;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
LunchBoxData lunch_box_data = 6;
|
||||
}
|
||||
|
||||
message SetUpLunchBoxWidgetRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4294;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
LunchBoxData lunch_box_data = 3;
|
||||
int32 retcode = 13;
|
||||
}
|
||||
|
||||
message OneoffGatherPointDetectorData {
|
||||
Vector hint_center_pos = 7;
|
||||
uint32 hint_radius = 14;
|
||||
uint32 material_id = 10;
|
||||
uint32 config_id = 6;
|
||||
uint32 group_id = 13;
|
||||
bool is_all_collected = 4;
|
||||
bool is_hint_valid = 15;
|
||||
}
|
||||
|
||||
message ClientCollectorData {
|
||||
uint32 material_id = 10;
|
||||
uint32 max_points = 8;
|
||||
uint32 curr_points = 13;
|
||||
}
|
||||
|
||||
message TreasureMapDetectorData {
|
||||
uint32 region_id = 4;
|
||||
Vector center_pos = 7;
|
||||
bool is_region_detected = 6;
|
||||
repeated Vector spot_list = 10;
|
||||
uint32 radius = 14;
|
||||
}
|
||||
|
||||
message SkyCrystalDetectorData {
|
||||
bool is_hint_valid = 3;
|
||||
Vector hint_center_pos = 8;
|
||||
uint32 group_id = 6;
|
||||
uint32 config_id = 9;
|
||||
}
|
||||
|
||||
message SkyCrystalDetectorQuickUseResult {
|
||||
SkyCrystalDetectorData sky_crystal_detector_data = 9;
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message WeatherWizardData {
|
||||
uint32 shield_value = 13;
|
||||
}
|
||||
|
||||
message WidgetCameraInfo {
|
||||
uint32 target_entity_id = 4;
|
||||
}
|
||||
|
||||
message WidgetThunderBirdFeatherInfo {
|
||||
repeated uint32 entity_id_list = 4;
|
||||
}
|
||||
|
||||
message QuickUseWidgetReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4299;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
oneof param {
|
||||
WidgetCreateLocationInfo location_info = 676;
|
||||
WidgetCameraInfo camera_info = 478;
|
||||
WidgetCreatorInfo creator_info = 812;
|
||||
WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1859;
|
||||
}
|
||||
}
|
||||
|
||||
message QuickUseWidgetRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4270;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 material_id = 6;
|
||||
int32 retcode = 5;
|
||||
oneof param {
|
||||
OneoffGatherPointDetectorData detector_data = 3;
|
||||
ClientCollectorData client_collector_data = 15;
|
||||
SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;
|
||||
}
|
||||
}
|
||||
|
||||
message WidgetCoolDownData {
|
||||
bool is_success = 5;
|
||||
uint64 cool_down_time = 4;
|
||||
uint32 id = 15;
|
||||
}
|
||||
|
||||
message WidgetCoolDownNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4295;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated WidgetCoolDownData normal_cool_down_data_list = 1;
|
||||
repeated WidgetCoolDownData group_cool_down_data_list = 12;
|
||||
}
|
||||
|
||||
message WidgetReportReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4291;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 weather_wizard_shield_value = 7;
|
||||
bool is_clear_sky_crystal_hint = 5;
|
||||
uint32 material_id = 15;
|
||||
bool is_client_collect = 14;
|
||||
bool is_clear_hint = 13;
|
||||
}
|
||||
|
||||
message WidgetReportRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4292;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
uint32 material_id = 4;
|
||||
}
|
||||
|
||||
message ClientCollectorDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4264;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated ClientCollectorData client_collector_data_list = 13;
|
||||
}
|
||||
|
||||
message OneoffGatherPointDetectorDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4297;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 3;
|
||||
}
|
||||
|
||||
message SkyCrystalDetectorDataUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4287;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
SkyCrystalDetectorData sky_crystal_detector_data = 9;
|
||||
}
|
||||
|
||||
message TreasureMapDetectorDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4300;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
TreasureMapDetectorData data = 2;
|
||||
}
|
||||
|
||||
message WidgetSlotData {
|
||||
uint32 cd_over_time = 9;
|
||||
WidgetSlotTag tag = 14;
|
||||
uint32 material_id = 11;
|
||||
bool is_active = 12;
|
||||
}
|
||||
|
||||
message SetWidgetSlotReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4259;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
repeated WidgetSlotTag tag_list = 15;
|
||||
uint32 material_id = 6;
|
||||
WidgetSlotOp op = 2;
|
||||
}
|
||||
|
||||
message SetWidgetSlotRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4277;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated WidgetSlotTag tag_list = 15;
|
||||
int32 retcode = 6;
|
||||
uint32 material_id = 1;
|
||||
WidgetSlotOp op = 4;
|
||||
}
|
||||
|
||||
message WidgetSlotChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4267;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
WidgetSlotOp op = 11;
|
||||
WidgetSlotData slot = 8;
|
||||
}
|
||||
|
||||
message GetWidgetSlotReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4253;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message GetWidgetSlotRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4254;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated WidgetSlotData slot_list = 13;
|
||||
int32 retcode = 9;
|
||||
}
|
||||
|
||||
message AllWidgetDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4271;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
WeatherWizardData weather_wizard_data = 5;
|
||||
repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 15;
|
||||
repeated WidgetCoolDownData normal_cool_down_data_list = 9;
|
||||
LunchBoxData lunch_box_data = 1;
|
||||
SkyCrystalDetectorData sky_crystal_detector_data = 12;
|
||||
repeated ClientCollectorData client_collector_data_list = 4;
|
||||
repeated AnchorPointData anchor_point_list = 3;
|
||||
repeated WidgetCoolDownData cool_down_group_data_list = 13;
|
||||
uint32 next_anchor_point_usable_time = 10;
|
||||
repeated WidgetSlotData slot_list = 6;
|
||||
repeated uint32 background_active_widget_list = 11;
|
||||
}
|
||||
|
||||
message UseWidgetCreateGadgetReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4293;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector pos = 15;
|
||||
Vector rot = 12;
|
||||
uint32 material_id = 4;
|
||||
}
|
||||
|
||||
message UseWidgetCreateGadgetRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4290;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 15;
|
||||
uint32 material_id = 12;
|
||||
}
|
||||
|
||||
message UseWidgetRetractGadgetReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4286;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 3;
|
||||
}
|
||||
|
||||
message UseWidgetRetractGadgetRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4261;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 6;
|
||||
uint32 entity_id = 14;
|
||||
}
|
||||
|
||||
message WidgetGadgetData {
|
||||
repeated uint32 gadget_entity_id_list = 1;
|
||||
uint32 gadget_id = 8;
|
||||
}
|
||||
|
||||
message WidgetGadgetAllDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4284;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated WidgetGadgetData widget_gadget_data = 13;
|
||||
}
|
||||
|
||||
message WidgetGadgetDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4266;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
WidgetGadgetData widget_gadget_data = 12;
|
||||
}
|
||||
|
||||
message WidgetGadgetDestroyNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4274;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 entity_id = 15;
|
||||
}
|
||||
|
||||
message WidgetCreateLocationInfo {
|
||||
Vector rot = 3;
|
||||
Vector pos = 10;
|
||||
}
|
||||
|
||||
message WidgetCreatorInfo {
|
||||
WidgetCreatorOpType op_type = 10;
|
||||
uint32 entity_id = 1;
|
||||
WidgetCreateLocationInfo location_info = 12;
|
||||
}
|
||||
|
||||
message WidgetDoBagReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4255;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 material_id = 9;
|
||||
oneof op_info {
|
||||
WidgetCreateLocationInfo location_info = 832;
|
||||
WidgetCreatorInfo widget_creator_info = 1497;
|
||||
}
|
||||
}
|
||||
|
||||
message WidgetDoBagRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4296;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 10;
|
||||
uint32 material_id = 3;
|
||||
}
|
||||
|
||||
message WidgetActiveChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4280;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated WidgetSlotData widget_data_list = 5;
|
||||
}
|
||||
|
||||
message WidgetUseAttachAbilityGroupChangeNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4258;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
bool is_attach = 6;
|
||||
uint32 material_id = 11;
|
||||
}
|
||||
|
||||
message WidgetCaptureAnimalReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4256;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
Vector pos = 10;
|
||||
uint32 entity_id = 15;
|
||||
uint32 material_id = 6;
|
||||
}
|
||||
|
||||
message WidgetCaptureAnimalRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 4289;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 9;
|
||||
uint32 entity_id = 4;
|
||||
uint32 material_id = 8;
|
||||
Vector pos = 10;
|
||||
}
|
||||
|
||||
message WidgetUpdateExtraCDReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5960;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
uint32 material_id = 14;
|
||||
WIDGET_EXTRA_CD_TYPE extra_cd_type = 10;
|
||||
uint32 cd_group = 7;
|
||||
}
|
||||
|
||||
message WidgetUpdateExtraCDRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6056;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 14;
|
||||
uint32 material_id = 11;
|
||||
WIDGET_EXTRA_CD_TYPE extra_cd_type = 6;
|
||||
WidgetCoolDownData cool_data = 10;
|
||||
uint32 cd_group = 15;
|
||||
}
|
||||
|
||||
message FireworksReformParam {
|
||||
FireworksReformParamType type = 8;
|
||||
int32 value = 4;
|
||||
}
|
||||
|
||||
message FireworksReformData {
|
||||
uint32 id = 13;
|
||||
repeated FireworksReformParam reform_param_list = 10;
|
||||
}
|
||||
|
||||
message FireworksReformDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6033;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated FireworksReformData fireworks_reform_data_list = 6;
|
||||
}
|
||||
|
||||
message ReformFireworksReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6036;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
FireworksReformData fireworks_reform_data = 3;
|
||||
}
|
||||
|
||||
message ReformFireworksRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5929;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 8;
|
||||
}
|
||||
|
||||
message FireworksLaunchParam {
|
||||
int32 value = 5;
|
||||
FireworksLaunchParamType type = 4;
|
||||
}
|
||||
|
||||
message FireworksLaunchSchemeData {
|
||||
uint32 scheme_id = 3;
|
||||
repeated uint32 fireworks_id_list = 2;
|
||||
repeated FireworksLaunchParam launch_param_list = 7;
|
||||
}
|
||||
|
||||
message LaunchFireworksReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6090;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
FireworksLaunchSchemeData scheme_data = 13;
|
||||
}
|
||||
|
||||
message LaunchFireworksRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6057;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 6;
|
||||
}
|
||||
|
||||
message FireworksLaunchDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5928;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated FireworksLaunchSchemeData scheme_data_list = 12;
|
||||
uint32 last_use_scheme_id = 4;
|
||||
}
|
||||
|
||||
message ChangeWidgetBackgroundActiveStateReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5907;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
}
|
||||
|
||||
bool is_active = 15;
|
||||
uint32 material_id = 3;
|
||||
}
|
||||
|
||||
message ChangeWidgetBackgroundActiveStateRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6060;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
int32 retcode = 8;
|
||||
uint32 material_id = 6;
|
||||
}
|
||||
|
||||
message AllWidgetBackgroundActiveStateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 6092;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated uint32 background_active_widget_list = 3;
|
||||
}
|
||||
|
||||
message PlayerWidgetInfo {
|
||||
uint32 uid = 14;
|
||||
repeated WidgetSlotData slot_list = 13;
|
||||
}
|
||||
|
||||
message RemotePlayerWidgetNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5995;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
repeated PlayerWidgetInfo player_widget_info_list = 3;
|
||||
}
|
||||
|
||||
message WidgetWeatherWizardDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 5942;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
uint32 shield_value = 15;
|
||||
}
|
||||
Reference in New Issue
Block a user