sync 2.7 GC

This commit is contained in:
Yuuki 2023-08-23 01:23:37 +08:00
parent 55ec4d2e02
commit 09e59ae251
676 changed files with 6722 additions and 5912 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
# Anime Game Protos 2.6 (For Grasscutters)
# Anime Game Protos 2.7 (For Grasscutters)
This repository contains the [ProtoBuf](https://github.com/google/protobuf) `.proto` files for Anime Game API.<br/>
## Credits

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
import "AbilityScalarValueEntry.proto";
import "AbilityString.proto";
message AbilityAppliedAbility {
AbilityString ability_name = 1;

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
import "AbilityAttachedModifier.proto";
import "AbilityString.proto";
import "ModifierDurability.proto";
message AbilityAppliedModifier {

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityAttachedModifier {
bool is_invalid = 1;
uint32 owner_entity_id = 2;

View File

@ -4,15 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilityControlBlock.proto";
// CmdId: 1155
// EnetChannelId: 0
// EnetIsReliable: true
message AbilityChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1112;
}
uint32 entity_id = 1;
AbilityControlBlock ability_control_block = 2;
uint32 entity_id = 3;
AbilityControlBlock ability_control_block = 10;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityEmbryo {
uint32 ability_id = 1;
fixed32 ability_name_hash = 2;

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityGadgetInfo {
uint32 camp_id = 1;
uint32 camp_target_type = 2;

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityIdentifier {
uint32 instanced_ability_id = 1;
uint32 ability_caster_id = 2;

View File

@ -4,15 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
// CmdId: 1131
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AbilityInvocationsNotify {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1118;
}
repeated AbilityInvokeEntry invokes = 1;
repeated AbilityInvokeEntry invokes = 8;
}

View File

@ -3,52 +3,58 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.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_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_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_INVOKE_ARGUMENT_NONE = 0;
ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE = 1;
ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST = 2;
ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT = 3;
ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM = 4;
ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM = 5;
ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP = 6;
ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE = 7;
ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE = 8;
ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH = 9;
ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10;
ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_SETATE = 11;
ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER = 12;
ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY = 13;
ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY = 14;
ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY = 15;
ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE = 16;
ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL = 17;
ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER = 18;
ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE = 19;
ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION = 20;
ABILITY_INVOKE_ARGUMENT_META_LOSE_HP = 21;
ABILITY_INVOKE_ARGUMENT_JDDDLJELBLJ = 22;
ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY = 50;
ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE = 51;
ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT = 52;
ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON = 53;
ABILITY_INVOKE_ARGUMENT_ACTION_BLINK = 54;
ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET = 55;
ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER = 56;
ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL = 57;
ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE = 58;
ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG = 59;
ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE = 60;
ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE = 61;
ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE = 62;
ABILITY_INVOKE_ARGUMENT_FNANDDPDLOL = 63;
ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA = 100;
ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND = 101;
ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE = 102;
ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA = 103;
ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD = 104;
ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD = 105;
ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD = 106;
ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR = 107;
ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER = 108;
ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION = 109;
ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE = 110;
ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC = 111;
ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT = 112;
ABILITY_INVOKE_ARGUMENT_NJHBFADEOON = 113;
ABILITY_INVOKE_ARGUMENT_EGCIFFFLLBG = 114;
ABILITY_INVOKE_ARGUMENT_OFDGFACOLDI = 115;
ABILITY_INVOKE_ARGUMENT_KDPKJGJNGFB = 116;
}

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntryHead.proto";
import "AbilityInvokeArgument.proto";
import "AbilityInvokeEntryHead.proto";
import "ForwardType.proto";
message AbilityInvokeEntry {

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityInvokeEntryHead {
uint32 instanced_ability_id = 1;
uint32 instanced_modifier_id = 2;

View File

@ -5,12 +5,12 @@ option java_package = "emu.grasscutter.net.proto";
import "MassivePropSyncInfo.proto";
message AbilityMixinRecoverInfo {
oneof Source {
uint32 instanced_ability_id = 1;
uint32 instanced_modifier_id = 2;
}
uint32 local_id = 3;
repeated uint32 data_list = 4;
bool is_serverbuff_modifier = 5;
repeated MassivePropSyncInfo massive_prop_list = 6;
oneof source {
uint32 instanced_ability_id = 1;
uint32 instanced_modifier_id = 2;
}
}

View File

@ -3,11 +3,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum AbilityScalarType {
UNKNOW = 0;
FLOAT = 1;
INT = 2;
BOOL = 3;
TRIGGER = 4;
STRING = 5;
UINT = 6;
ABILITY_SCALAR_TYPE_UNKNOW = 0;
ABILITY_SCALAR_TYPE_FLOAT = 1;
ABILITY_SCALAR_TYPE_INT = 2;
ABILITY_SCALAR_TYPE_BOOL = 3;
ABILITY_SCALAR_TYPE_TRIGGER = 4;
ABILITY_SCALAR_TYPE_STRING = 5;
ABILITY_SCALAR_TYPE_UINT = 6;
}

View File

@ -2,16 +2,16 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
import "AbilityScalarType.proto";
import "AbilityString.proto";
message AbilityScalarValueEntry {
oneof Value {
AbilityString key = 1;
AbilityScalarType value_type = 2;
oneof value {
float float_value = 3;
string string_value = 4;
int32 int_value = 5;
uint32 uint_value = 6;
}
AbilityString key = 1;
AbilityScalarType value_type = 2;
}

View File

@ -2,9 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityString {
oneof Type {
oneof type {
string str = 1;
uint32 hash = 2;
}

View File

@ -2,10 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityScalarValueEntry.proto";
import "AbilityAppliedAbility.proto";
import "AbilityAppliedModifier.proto";
import "AbilityMixinRecoverInfo.proto";
import "AbilityScalarValueEntry.proto";
message AbilitySyncStateInfo {
bool is_inited = 1;

View File

@ -2,45 +2,43 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityNullDetailInfo.proto";
import "ActivityWatcherInfo.proto";
/*import "ArenaChallengeActivityDetailInfo.proto";
import "AsterActivityDetailInfo.proto";
import "BlessingActivityDetailInfo.proto";
import "BlitzRushActivityDetailInfo.proto";
import "BounceConjuringActivityDetailInfo.proto";
import "BuoyantCombatDetailInfo.proto";
import "ChannelerSlabActivityDetailInfo.proto";
import "ChessActivityDetailInfo.proto";
import "CrucibleActivityDetailInfo.proto";
import "DeliveryActivityDetailInfo.proto";
import "DigActivityDetailInfo.proto";
import "DragonSpineActivityDetailInfo.proto";
import "EchoShellDetailInfo.proto";
import "EffigyActivityDetailInfo.proto";
import "ExpeditionActivityDetailInfo.proto";
import "FindHilichurlDetailInfo.proto";
import "FleurFairActivityDetailInfo.proto";
import "FlightActivityDetailInfo.proto";
import "HideAndSeekActivityDetailInfo.proto";
import "LunaRiteDetailInfo.proto";
import "MistTrialActivityDetailInfo.proto";
import "MoonfinTrialActivityDetailInfo.proto";
import "MusicGameActivityDetailInfo.proto";
import "PlantFlowerActivityDetailInfo.proto";
import "RoguelikeDungeonActivityDetailInfo.proto";
import "SalesmanActivityDetailInfo.proto";
import "SeaLampActivityDetailInfo.proto";
import "SeaLampActivityInfo.proto";
import "SummerTimeDetailInfo.proto";
import "SumoActivityDetailInfo.proto";
import "TreasureMapActivityDetailInfo.proto";
import "TrialAvatarActivityDetailInfo.proto";
import "WaterSpiritActivityDetailInfo.proto";*/
import "MusicGameActivityDetailInfo.proto";
message ActivityInfo {
oneof Detail {
ActivityNullDetailInfo sam_lamp_info = 11;
ActivityNullDetailInfo crucible_info = 12;
ActivityNullDetailInfo salesman_info = 13;
ActivityNullDetailInfo trial_avatar_info = 14;
ActivityNullDetailInfo delivery_info = 16;
ActivityNullDetailInfo aster_info = 21;
ActivityNullDetailInfo flight_info = 25;
ActivityNullDetailInfo dragon_spine_info = 31;
ActivityNullDetailInfo effigy_info = 32;
ActivityNullDetailInfo treasure_map_info = 35;
ActivityNullDetailInfo blessing_info = 41;
ActivityNullDetailInfo sea_lamp_info = 42;
ActivityNullDetailInfo expedition_info = 43;
ActivityNullDetailInfo arena_challenge_info = 44;
ActivityNullDetailInfo fleur_fair_info = 51;
ActivityNullDetailInfo water_spirit_info = 52;
ActivityNullDetailInfo challneler_slab_info = 61;
ActivityNullDetailInfo mist_trial_activity_info = 62;
ActivityNullDetailInfo hide_and_seek_info = 63;
ActivityNullDetailInfo find_hilichurl_info = 64;
ActivityNullDetailInfo summer_time_info = 65;
ActivityNullDetailInfo buoyant_combat_info = 66;
ActivityNullDetailInfo echo_shell_info = 67;
ActivityNullDetailInfo bounce_conjuring_info = 68;
ActivityNullDetailInfo blitz_rush_info = 69;
ActivityNullDetailInfo chess_info = 70;
ActivityNullDetailInfo sumo_info = 71;
ActivityNullDetailInfo moonfin_trial_info = 72;
ActivityNullDetailInfo luna_rite_info = 73;
ActivityNullDetailInfo plant_flower_info = 74;
ActivityNullDetailInfo music_game_info = 75;
ActivityNullDetailInfo roguelike_dungoen_info = 76;
ActivityNullDetailInfo dig_info = 77;
}
uint32 activity_id = 1;
uint32 schedule_id = 2;
uint32 begin_time = 3;
@ -59,4 +57,57 @@ message ActivityInfo {
repeated uint32 taken_reward_list = 24;
bool is_hidden = 26;
uint32 first_day_start_time = 27;
//bool MIFCLBCMKJI = 28;
//bool BPGCBIEDEDM = 29;
//map<uint32, uint32> AGKPABKOHDA = 30;
oneof detail {
// SeaLampActivityDetailInfo sam_lamp_info = 11;
// CrucibleActivityDetailInfo crucible_info = 12;
// SalesmanActivityDetailInfo salesman_info = 13;
// TrialAvatarActivityDetailInfo trial_avatar_info = 14;
// DeliveryActivityDetailInfo delivery_info = 16;
// AsterActivityDetailInfo aster_info = 21;
// FlightActivityDetailInfo flight_info = 25;
// DragonSpineActivityDetailInfo dragon_spine_info = 31;
// EffigyActivityDetailInfo effigy_info = 32;
// TreasureMapActivityDetailInfo treasure_map_info = 35;
// BlessingActivityDetailInfo blessing_info = 41;
// SeaLampActivityInfo sea_lamp_info = 42;
// ExpeditionActivityDetailInfo expedition_info = 43;
// ArenaChallengeActivityDetailInfo arena_challenge_info = 44;
// FleurFairActivityDetailInfo fleur_fair_info = 51;
// WaterSpiritActivityDetailInfo water_spirit_info = 52;
// ChannelerSlabActivityDetailInfo challneler_slab_info = 61;
// MistTrialActivityDetailInfo mist_trial_activity_info = 62;
// HideAndSeekActivityDetailInfo hide_and_seek_info = 63;
// FindHilichurlDetailInfo find_hilichurl_info = 64;
// SummerTimeDetailInfo summer_time_info = 65;
// BuoyantCombatDetailInfo buoyant_combat_info = 66;
// EchoShellDetailInfo echo_shell_info = 67;
// BounceConjuringActivityDetailInfo bounce_conjuring_info = 68;
// BlitzRushActivityDetailInfo blitz_rush_info = 69;
// ChessActivityDetailInfo chess_info = 70;
// SumoActivityDetailInfo sumo_info = 71;
// MoonfinTrialActivityDetailInfo moonfin_trial_info = 72;
// LunaRiteDetailInfo luna_rite_info = 73;
// PlantFlowerActivityDetailInfo plant_flower_info = 74;
MusicGameActivityDetailInfo music_game_info = 75;
// RoguelikeDungeonActivityDetailInfo roguelike_dungoen_info = 76;
// DigActivityDetailInfo dig_info = 77;
// DOCNGBMKEID hachi_info = 78;
// DLHPBNNDGFI winter_camp_info = 79;
// IFACCKLEJCC potion_info = 80;
// PFMCPMIMGLM tanuki_travel_activity_info = 81;
// JEIAODKGIBD lantern_rite_activity_info = 82;
// EPDOGGKOCAP michiae_matsuri_info = 83;
// NHMFHLIGAKL bartender_info = 84;
// EAGKNMCLJDI ugc_info = 85;
// ADPBMLFDHJD crystal_link_info = 86;
// JACDNLEIDOO irodori_info = 87;
// EHDKFDJEEGP photo_info = 88;
// BEPFLAKHNHL spice_info = 89;
// MMNEJBFMAEA gacha_info = 90;
// JLMHDDHOGGD luminance_stone_challenge_info = 91;
// IGBMCJOPGIL rogue_diary_info = 92;
}
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityInfo.proto";
// CmdId: 2125
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message ActivityInfoNotify {
ActivityInfo activity_info = 11;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message ActivityScheduleInfo {
uint32 activity_id = 1;
bool is_open = 2;
uint32 schedule_id = 3;
uint32 begin_time = 4;
uint32 end_time = 5;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityScheduleInfo.proto";
// CmdId: 2033
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message ActivityScheduleInfoNotify {
repeated ActivityScheduleInfo activity_schedule_list = 8;
uint32 remain_fly_sea_lamp_num = 12;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 2090
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message ActivityTakeWatcherRewardReq {
uint32 activity_id = 11;
uint32 watcher_id = 7;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 2025
// EnetChannelId: 0
// EnetIsReliable: true
message ActivityTakeWatcherRewardRsp {
int32 retcode = 10;
uint32 activity_id = 8;
uint32 watcher_id = 7;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityWatcherInfo.proto";
// CmdId: 2172
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message ActivityUpdateWatcherNotify {
uint32 activity_id = 10;
ActivityWatcherInfo watcher_info = 7;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message ActivityWatcherInfo {
uint32 watcher_id = 1;
uint32 cur_progress = 2;

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 417
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AddQuestContentProgressReq {
uint32 content_type = 9;
uint32 param = 13;
uint32 add_progress = 11;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 485
// EnetChannelId: 0
// EnetIsReliable: true
message AddQuestContentProgressRsp {
int32 retcode = 10;
uint32 content_type = 7;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AiSkillCdInfo {
map<uint32, uint32> skill_cd_map = 1;
map<uint32, uint32> skill_group_cd_map = 2;

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AiSyncInfo {
uint32 entity_id = 1;
bool has_path_to_target = 2;

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AiThreatInfo {
map<uint32, uint32> ai_threat_map = 1;
}

View File

@ -2,28 +2,25 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "LunchBoxData.proto";
import "AnchorPointData.proto";
import "OneoffGatherPointDetectorData.proto";
// import "CCEOEOHLAPK.proto";
import "ClientCollectorData.proto";
import "LunchBoxData.proto";
import "OneoffGatherPointDetectorData.proto";
import "WidgetCoolDownData.proto";
import "WidgetSlotData.proto";
// CmdId: 4273
// EnetChannelId: 0
// EnetIsReliable: true
message AllWidgetDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 4260;
}
repeated AnchorPointData anchor_point_list = 2;
uint32 next_anchor_point_usable_time = 3;
LunchBoxData lunch_box_data = 5;
repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 6;
repeated ClientCollectorData client_collector_data_list = 7;
repeated WidgetCoolDownData cool_down_group_data_list = 8;
repeated WidgetCoolDownData normal_cool_down_data_list = 9;
repeated WidgetSlotData slot_list = 11;
repeated AnchorPointData anchor_point_list = 13;
uint32 next_anchor_point_usable_time = 10;
LunchBoxData lunch_box_data = 11;
repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 5;
repeated ClientCollectorData client_collector_data_list = 6;
repeated WidgetCoolDownData cool_down_group_data_list = 2;
repeated WidgetCoolDownData normal_cool_down_data_list = 4;
repeated WidgetSlotData slot_list = 3;
// CCEOEOHLAPK KNPDHPEGCHI = 12;
}

View File

@ -9,4 +9,5 @@ message AnchorPointData {
Vector pos = 2;
Vector rot = 3;
uint32 end_time = 4;
uint32 scene_id = 5;
}

View File

@ -4,15 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AnchorPointData.proto";
// CmdId: 4268
// EnetChannelId: 0
// EnetIsReliable: true
message AnchorPointDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 4253;
}
repeated AnchorPointData anchor_point_list = 1;
uint32 next_usable_time = 2;
repeated AnchorPointData anchor_point_list = 14;
uint32 next_usable_time = 6;
}

View File

@ -2,23 +2,17 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 4254
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AnchorPointOpReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 4255;
}
uint32 anchor_point_op_type = 6;
uint32 anchor_point_id = 1;
enum AnchorPointOpType {
ANCHOR_POINT_OP_NONE = 0;
ANCHOR_POINT_OP_TELEPORT = 1;
ANCHOR_POINT_OP_REMOVE = 2;
ANCHOR_POINT_OP_TYPE_NONE = 0;
ANCHOR_POINT_OP_TYPE_TELEPORT = 1;
ANCHOR_POINT_OP_TYPE_REMOVE = 2;
}
uint32 anchor_point_op_type = 1;
uint32 anchor_point_id = 2;
}

View File

@ -2,17 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 4278
// EnetChannelId: 0
// EnetIsReliable: true
message AnchorPointOpRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 4274;
}
int32 retcode = 1;
uint32 anchor_point_op_type = 2;
uint32 anchor_point_id = 3;
int32 retcode = 13;
uint32 anchor_point_op_type = 3;
uint32 anchor_point_id = 2;
}

View File

@ -2,12 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AnimatorParameterValueInfo {
oneof ParaVal {
uint32 para_type = 1;
oneof para_val {
int32 int_val = 2;
float float_val = 3;
bool bool_val = 4;
}
uint32 para_type = 1;
}

15
proto/AnnounceData.proto Normal file
View File

@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AnnounceData {
uint32 config_id = 1;
uint32 begin_time = 2;
uint32 end_time = 3;
string center_system_text = 4;
string count_down_text = 5;
string dungeon_confirm_text = 6;
uint32 center_system_frequency = 7;
uint32 count_down_frequency = 8;
bool is_center_system_last_5_every_minutes = 9;
}

View File

@ -4,15 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "FriendBrief.proto";
// CmdId: 4038
// EnetChannelId: 0
// EnetIsReliable: true
message AskAddFriendNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 4006;
}
uint32 target_uid = 1;
FriendBrief target_friend_brief = 2;
uint32 target_uid = 13;
FriendBrief target_friend_brief = 10;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 4032
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AskAddFriendReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 4100;
}
uint32 target_uid = 1;
uint32 target_uid = 8;
}

View File

@ -2,18 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 4017
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AskAddFriendRsp {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 4001;
}
int32 retcode = 1;
uint32 target_uid = 2;
uint32 param = 3;
int32 retcode = 11;
uint32 target_uid = 14;
uint32 param = 13;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AttackHitEffectResult {
uint32 hit_eff_level = 1;
float retreat_strength = 2;

View File

@ -3,9 +3,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityIdentifier.proto";
import "AttackHitEffectResult.proto";
import "HitCollision.proto";
import "Vector.proto";
import "AttackHitEffectResult.proto";
message AttackResult {
uint32 attacker_id = 1;
@ -37,4 +37,5 @@ message AttackResult {
float endure_delta = 37;
uint32 target_type = 38;
float element_durability_attenuation = 39;
uint32 EGPFEACDCLP = 40;
}

View File

@ -4,15 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
// CmdId: 1757
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarAddNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1795;
}
AvatarInfo avatar = 1;
bool is_in_team = 2;
AvatarInfo avatar = 11;
bool is_in_team = 15;
}

View File

@ -4,14 +4,9 @@ option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto";
// CmdId: 1780
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarChangeCostumeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1724;
}
SceneEntityInfo entity_info = 1;
}

View File

@ -2,17 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1734
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarChangeCostumeReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1606;
}
uint64 avatar_guid = 1;
uint32 costume_id = 2;
uint64 avatar_guid = 7;
uint32 costume_id = 8;
}

View File

@ -2,17 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1723
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarChangeCostumeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1748;
}
int32 retcode = 1;
uint64 avatar_guid = 2;
uint32 costume_id = 3;
int32 retcode = 15;
uint64 avatar_guid = 3;
uint32 costume_id = 1;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1706
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarChangeElementTypeReq {
uint32 scene_id = 15;
uint32 area_id = 4;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1708
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarChangeElementTypeRsp {
int32 retcode = 15;
}

View File

@ -5,20 +5,15 @@ option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
import "AvatarTeam.proto";
// CmdId: 1695
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1694;
}
repeated AvatarInfo avatar_list = 1;
map<uint32, AvatarTeam> avatar_team_map = 2;
uint32 cur_avatar_team_id = 3;
fixed64 choose_avatar_guid = 4;
repeated uint64 temp_avatar_guid_list = 5;
repeated uint32 owned_flycloak_list = 6;
repeated AvatarInfo avatar_list = 15;
map<uint32, AvatarTeam> avatar_team_map = 6;
uint32 cur_avatar_team_id = 2;
fixed64 choose_avatar_guid = 11;
repeated uint64 temp_avatar_guid_list = 14;
repeated uint32 owned_flycloak_list = 8;
repeated uint32 owned_costume_list = 7;
}

View File

@ -4,17 +4,12 @@ option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 1616
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarDieAnimationEndReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1737;
}
uint64 die_guid = 1;
uint32 skill_id = 2;
Vector reborn_pos = 3;
uint64 die_guid = 14;
uint32 skill_id = 4;
Vector reborn_pos = 13;
}

View File

@ -2,17 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1765
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarDieAnimationEndRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1697;
}
int32 retcode = 1;
uint64 die_guid = 2;
uint32 skill_id = 3;
int32 retcode = 12;
uint64 die_guid = 11;
uint32 skill_id = 13;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarEquipAffixInfo {
uint32 equip_affix_id = 1;
uint32 left_cd_time = 2;

View File

@ -2,23 +2,18 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "SceneWeaponInfo.proto";
import "SceneReliquaryInfo.proto";
import "SceneWeaponInfo.proto";
// CmdId: 690
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarEquipChangeNotify {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 615;
}
uint64 avatar_guid = 1;
uint32 equip_type = 2;
uint32 item_id = 3;
uint32 item_id = 8;
uint64 equip_guid = 4;
SceneWeaponInfo weapon = 5;
SceneReliquaryInfo reliquary = 6;
SceneWeaponInfo weapon = 13;
SceneReliquaryInfo reliquary = 11;
}

View File

@ -1,19 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
// CmdId: 1636
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarExpeditionAllDataRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1783;
}
int32 retcode = 1;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
repeated uint32 open_expedition_list = 3;
uint32 expedition_count_limit = 4;
int32 retcode = 11;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 1;
repeated uint32 open_expedition_list = 6;
uint32 expedition_count_limit = 7;
}

View File

@ -2,15 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1655
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarExpeditionCallBackReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1618;
}
repeated uint64 avatar_guid = 1;
repeated uint64 avatar_guid = 12;
}

View File

@ -1,17 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
// CmdId: 1642
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarExpeditionCallBackRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1633;
}
int32 retcode = 1;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 14;
}

View File

@ -1,16 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
// CmdId: 1698
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarExpeditionDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1621;
}
map<uint64, AvatarExpeditionInfo> expedition_info_map = 1;
}

View File

@ -2,15 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1603
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarExpeditionGetRewardReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1610;
}
uint64 avatar_guid = 1;
uint64 avatar_guid = 5;
}

View File

@ -1,19 +1,16 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
import "ItemParam.proto";
message AvatarExpeditionGetRewardRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1670;
}
int32 retcode = 1;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
repeated ItemParam item_list = 3;
// CmdId: 1646
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarExpeditionGetRewardRsp {
int32 retcode = 15;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 5;
repeated ItemParam item_list = 6;
repeated ItemParam BNFDDKNNJJH = 2;
}

View File

@ -1,6 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionState.proto";
message AvatarExpeditionInfo {

View File

@ -2,17 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1675
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarExpeditionStartReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1609;
}
uint64 avatar_guid = 1;
uint64 avatar_guid = 8;
uint32 exp_id = 2;
uint32 hour_time = 3;
uint32 hour_time = 7;
}

View File

@ -1,17 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
// CmdId: 1688
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarExpeditionStartRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1646;
}
int32 retcode = 1;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
int32 retcode = 4;
map<uint64, AvatarExpeditionInfo> expedition_info_map = 1;
}

View File

@ -3,9 +3,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum AvatarExpeditionState {
AVATAR_EXPEDITION_NONE = 0;
AVATAR_EXPEDITION_DOING = 1;
AVATAR_EXPEDITION_FINISH_WAIT_REWARD = 2;
AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD = 3;
AVATAR_EXPEDITION_LOCKED = 4;
AVATAR_EXPEDITION_STATE_NONE = 0;
AVATAR_EXPEDITION_STATE_DOING = 1;
AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD = 2;
AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD = 3;
AVATAR_EXPEDITION_STATE_LOCKED = 4;
}

View File

@ -4,14 +4,9 @@ option java_package = "emu.grasscutter.net.proto";
import "AvatarFetterInfo.proto";
// CmdId: 1777
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarFetterDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1685;
}
map<uint64, AvatarFetterInfo> fetter_info_map = 1;
}

View File

@ -2,16 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1704
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarFetterLevelRewardReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1624;
}
uint64 avatar_guid = 1;
uint64 avatar_guid = 15;
uint32 fetter_level = 2;
}

View File

@ -2,17 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1606
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarFetterLevelRewardRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1704;
}
int32 retcode = 1;
uint64 avatar_guid = 2;
uint32 fetter_level = 3;
uint32 reward_id = 4;
int32 retcode = 14;
uint64 avatar_guid = 12;
uint32 fetter_level = 10;
uint32 reward_id = 11;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1232
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarFightPropNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1300;
}
uint64 avatar_guid = 1;
map<uint32, float> fight_prop_map = 2;
uint64 avatar_guid = 3;
map<uint32, float> fight_prop_map = 6;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1217
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarFightPropUpdateNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1201;
}
uint64 avatar_guid = 1;
map<uint32, float> fight_prop_map = 2;
map<uint32, float> fight_prop_map = 6;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1681
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarFlycloakChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1759;
}
uint64 avatar_guid = 1;
uint32 flycloak_id = 2;
uint64 avatar_guid = 12;
uint32 flycloak_id = 14;
}

View File

@ -2,15 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1670
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarGainCostumeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1734;
}
uint32 costume_id = 1;
uint32 costume_id = 15;
}

View File

@ -2,15 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1615
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarGainFlycloakNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1604;
}
uint32 flycloak_id = 1;
uint32 flycloak_id = 2;
}

View File

@ -2,13 +2,13 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "TrialAvatarInfo.proto";
import "AvatarFetterInfo.proto";
import "AvatarExpeditionState.proto";
import "AvatarExcelInfo.proto";
import "PropValue.proto";
import "AvatarSkillInfo.proto";
import "AvatarEquipAffixInfo.proto";
import "AvatarExcelInfo.proto";
import "AvatarExpeditionState.proto";
import "AvatarFetterInfo.proto";
import "AvatarSkillInfo.proto";
import "PropValue.proto";
import "TrialAvatarInfo.proto";
message AvatarInfo {
uint32 avatar_id = 1;

View File

@ -5,20 +5,15 @@ option java_package = "emu.grasscutter.net.proto";
import "PlayerDieType.proto";
import "ServerBuff.proto";
// CmdId: 1235
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarLifeStateChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1242;
}
uint64 avatar_guid = 1;
uint32 life_state = 2;
uint32 source_entity_id = 3;
string attack_tag = 4;
PlayerDieType die_type = 5;
uint32 move_reliable_seq = 6;
repeated ServerBuff server_buff_list = 7;
uint64 avatar_guid = 8;
uint32 life_state = 15;
uint32 source_entity_id = 1;
string attack_tag = 10;
PlayerDieType die_type = 11;
uint32 move_reliable_seq = 7;
repeated ServerBuff server_buff_list = 6;
}

View File

@ -2,16 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1676
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarPromoteGetRewardReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1701;
}
uint64 avatar_guid = 1;
uint32 promote_level = 2;
uint64 avatar_guid = 12;
uint32 promote_level = 8;
}

View File

@ -2,18 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1613
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarPromoteGetRewardRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1764;
}
int32 retcode = 1;
int32 retcode = 11;
uint64 avatar_guid = 2;
uint32 promote_level = 3;
uint32 reward_id = 4;
uint32 promote_level = 14;
uint32 reward_id = 1;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1711
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarPromoteReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1692;
}
uint64 guid = 1;
uint64 guid = 9;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1668
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarPromoteRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1728;
}
int32 retcode = 1;
uint64 guid = 2;
int32 retcode = 15;
uint64 guid = 7;
}

View File

@ -2,16 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1255
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarPropNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1212;
}
uint64 avatar_guid = 1;
map<uint32, int64> prop_map = 2;
uint64 avatar_guid = 4;
map<uint32, int64> prop_map = 1;
}

View File

@ -2,20 +2,14 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1030
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarSkillChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1091;
}
uint64 avatar_guid = 1;
uint32 entity_id = 2;
uint32 skill_depot_id = 3;
uint32 avatar_skill_id = 4;
uint32 old_level = 5;
uint32 cur_level = 6;
uint64 avatar_guid = 4;
uint32 entity_id = 15;
uint32 skill_depot_id = 5;
uint32 avatar_skill_id = 2;
uint32 old_level = 10;
uint32 cur_level = 7;
}

View File

@ -0,0 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1037
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarSkillDepotChangeNotify {
uint64 avatar_guid = 2;
uint32 entity_id = 8;
uint32 skill_depot_id = 9;
repeated uint32 talent_id_list = 1;
repeated uint32 proud_skill_list = 5;
uint32 core_proud_skill_level = 4;
map<uint32, uint32> skill_level_map = 10;
map<uint32, uint32> proud_skill_extra_level_map = 11;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarSkillInfo {
uint32 pass_cd_time = 1;
repeated uint32 full_cd_time_list = 2;

View File

@ -4,7 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AvatarSkillInfo.proto";
// CmdId: 1035
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarSkillInfoNotify {
uint64 guid = 1;
uint64 guid = 4;
map<uint32, AvatarSkillInfo> skill_map = 2;
}

View File

@ -2,8 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1085
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarSkillMaxChargeCountNotify {
uint64 avatar_guid = 1;
uint64 avatar_guid = 15;
uint32 skill_id = 2;
uint32 max_charge_count = 3;
uint32 max_charge_count = 1;
}

View File

@ -2,18 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1027
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarSkillUpgradeReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1026;
}
uint64 avatar_guid = 1;
uint32 avatar_skill_id = 2;
uint32 old_level = 3;
uint32 avatar_skill_id = 5;
uint32 old_level = 10;
}

View File

@ -2,19 +2,13 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1007
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarSkillUpgradeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1024;
}
int32 retcode = 1;
uint64 avatar_guid = 2;
uint32 avatar_skill_id = 3;
uint32 old_level = 4;
uint32 cur_level = 5;
int32 retcode = 3;
uint64 avatar_guid = 10;
uint32 avatar_skill_id = 2;
uint32 old_level = 5;
uint32 cur_level = 7;
}

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarTeam {
repeated uint64 avatar_guid_list = 1;
string team_name = 2;

View File

@ -2,7 +2,6 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarTeamResonanceInfo {
uint32 entity_id = 1;
uint64 avatar_guid = 2;

View File

@ -4,15 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AvatarTeam.proto";
// CmdId: 1713
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarTeamUpdateNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1642;
}
map<uint32, AvatarTeam> avatar_team_map = 1;
repeated uint64 temp_avatar_guid_list = 2;
map<uint32, AvatarTeam> avatar_team_map = 6;
repeated uint64 temp_avatar_guid_list = 9;
}

View File

@ -2,18 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1041
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarUnlockTalentNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1089;
}
uint64 avatar_guid = 1;
uint32 entity_id = 2;
uint32 talent_id = 3;
uint32 skill_depot_id = 4;
uint32 entity_id = 15;
uint32 talent_id = 13;
uint32 skill_depot_id = 14;
}

View File

@ -2,18 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1680
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarUpgradeReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1691;
}
uint32 item_id = 1;
uint32 count = 2;
uint64 avatar_guid = 3;
uint32 item_id = 9;
uint32 count = 12;
uint64 avatar_guid = 14;
}

View File

@ -2,20 +2,14 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1779
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarUpgradeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1720;
}
int32 retcode = 1;
uint64 avatar_guid = 2;
uint32 old_level = 3;
uint32 cur_level = 4;
map<uint32, float> old_fight_prop_map = 5;
map<uint32, float> cur_fight_prop_map = 6;
int32 retcode = 6;
uint64 avatar_guid = 15;
uint32 old_level = 5;
uint32 cur_level = 7;
map<uint32, float> old_fight_prop_map = 2;
map<uint32, float> cur_fight_prop_map = 4;
}

View File

@ -2,17 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1728
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message AvatarWearFlycloakReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1635;
}
uint64 avatar_guid = 1;
uint32 flycloak_id = 2;
uint64 avatar_guid = 11;
uint32 flycloak_id = 9;
}

View File

@ -2,17 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1770
// EnetChannelId: 0
// EnetIsReliable: true
message AvatarWearFlycloakRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 1709;
}
int32 retcode = 1;
uint64 avatar_guid = 2;
uint32 flycloak_id = 3;
int32 retcode = 13;
uint64 avatar_guid = 8;
uint32 flycloak_id = 2;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "BattlePassMission.proto";
import "BattlePassSchedule.proto";
// CmdId: 2618
// EnetChannelId: 0
// EnetIsReliable: true
message BattlePassAllDataNotify {
bool have_cur_schedule = 11;
BattlePassSchedule cur_schedule = 10;
repeated BattlePassMission mission_list = 1;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// CmdId: 2614
// EnetChannelId: 0
// EnetIsReliable: true
message BattlePassBuySuccNotify {
uint32 schedule_id = 7;
uint32 product_play_type = 9;
repeated ItemParam item_list = 6;
uint32 add_point = 2;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "BattlePassSchedule.proto";
// CmdId: 2604
// EnetChannelId: 0
// EnetIsReliable: true
message BattlePassCurScheduleUpdateNotify {
bool have_cur_schedule = 9;
BattlePassSchedule cur_schedule = 15;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message BattlePassCycle {
uint32 cycle_idx = 1;
uint32 begin_time = 2;
uint32 end_time = 3;
}

View File

@ -0,0 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message BattlePassMission {
uint32 mission_id = 1;
uint32 cur_progress = 2;
uint32 total_progress = 3;
uint32 reward_battle_pass_point = 4;
uint32 mission_type = 5;
MissionStatus mission_status = 6;
enum MissionStatus {
MISSION_STATUS_INVALID = 0;
MISSION_STATUS_UNFINISHED = 1;
MISSION_STATUS_FINISHED = 2;
MISSION_STATUS_POINT_TAKEN = 3;
}
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 2643
// EnetChannelId: 0
// EnetIsReliable: true
message BattlePassMissionDelNotify {
repeated uint32 del_mission_id_list = 4;
}

Some files were not shown because too many files have changed in this diff Show More