sync hiro

* fix some proto names needed by dockergs
* fix no found proto in op.js
This commit is contained in:
Akbar Yahya 2023-02-02 09:57:20 +08:00
parent 5f67d8774c
commit f3ef8fbf64
1262 changed files with 8973 additions and 5108 deletions

10
op.js
View File

@ -495,9 +495,15 @@ function find_import(file) {
//console.log("fff");
}
var rd;
// read file
try {
const read = fs.readFileSync(file);
var rd = read.toString();
rd = read.toString();
} catch (error) {
return;
}
while ((m = regex_import.exec(rd)) !== null) {
// This is necessary to avoid infinite loops with zero-width matches
@ -740,6 +746,6 @@ function scan_gc() {
// cmdid_to_op(); // 4. update op
// npx prettier --write PacketOpcodes.java
// scan_gc(); // 5. scan gc
// clean_proto_gen(); // 6. clean proto
clean_proto_gen(); // 6. clean proto
// read_cmdid_ht_json();

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";

View File

@ -16,11 +16,10 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
option java_package = "emu.grasscutter.net.proto";
message AbilityActionGenerateElemBall {
uint32 room_id = 8;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -6,7 +7,6 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
import "AbilityScalarValueEntry.proto";
message AbilityAppliedAbility {
AbilityString abilityName = 1;
AbilityString abilityOverride = 2;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -7,7 +8,6 @@ import "AbilityString.proto";
import "AbilityAttachedModifier.proto";
import "ModifierDurability.proto";
message AbilityAppliedModifier {
int32 modifierLocalId = 1;
uint32 parentAbilityEntityId = 2;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityControlBlock.proto";
message AbilityChangeNotify {
enum KEAFGMDBMGG {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1124;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum KEAFGMDBMGG {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1124;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
AbilityControlBlock abilityControlBlock = 10;
uint32 entityId = 7;

View File

@ -1,11 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityEmbryo.proto";
message AbilityControlBlock {
repeated AbilityEmbryo abilityEmbryoList = 1;
}

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityEmbryo {

View File

@ -1,8 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityGadgetInfo {
uint32 campId = 1;
uint32 camp_id = 1;
uint32 camp_target_type = 2;
uint32 targetEntityId = 3;
uint32 target_entity_id = 3;
}

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,20 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
message AbilityInvocationsNotify {
enum IJAPFFICMAM {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1155;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum IJAPFFICMAM {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1155;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
repeated AbilityInvokeEntry invokes = 11;
}

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntryHead.proto";

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -16,15 +16,13 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityAttachedModifier.proto";
import "AbilityString.proto";
import "ModifierAction.proto";
import "ModifierProperty.proto";
option java_package = "emu.grasscutter.net.proto";
message AbilityMetaModifierChange {
AbilityAttachedModifier attached_instanced_modifier = 3;

View File

@ -16,12 +16,10 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityScalarValueEntry.proto";
option java_package = "emu.grasscutter.net.proto";
message AbilityMetaReInitOverrideMap {
repeated AbilityScalarValueEntry override_map = 10;

View File

@ -16,11 +16,9 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AbilityMixinCostStamina {
bool is_swim = 7;
}

View File

@ -1,9 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "BreakoutSnapShot.proto";
import "MassivePropSyncInfo.proto";
message AbilityMixinRecoverInfo {
oneof source {
uint32 instanced_ability_id = 1;
@ -13,5 +14,5 @@ message AbilityMixinRecoverInfo {
repeated uint32 dataList = 4;
bool isServerbuffModifier = 5;
repeated MassivePropSyncInfo massivePropList = 6;
//BreakoutSnapShot breakoutSnapShot = 7;
BreakoutSnapShot breakoutSnapShot = 7;
}

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -6,7 +7,6 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
import "AbilityScalarType.proto";
message AbilityScalarValueEntry {
AbilityString key = 1;
AbilityScalarType valueType = 2;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -8,7 +9,6 @@ import "AbilityAppliedAbility.proto";
import "AbilityAppliedModifier.proto";
import "AbilityMixinRecoverInfo.proto";
message AbilitySyncStateInfo {
bool isInited = 1;
repeated AbilityScalarValueEntry dynamicValueMap = 2;

View File

@ -1,9 +1,7 @@
// Proto has been converted from Sorapointa to Grasscutter format
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AchievementInfo {
enum AchievementInfoStatus {
ACHIEVEMENT_INVALID = 0;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -33,7 +34,7 @@ import "SumoInfo.proto";
import "MoonfinTrialInfo.proto";
import "LunaRiteInfo.proto";
import "PlantFlowerInfo.proto";
import "MusicGameInfo.proto";
import "MusicGameActivityDetailInfo.proto";
import "RoguelikeDungoenInfo.proto";
import "DigInfo.proto";
import "HachiInfo.proto";
@ -74,7 +75,6 @@ import "GcgFestivalInfo.proto";
import "ActivityPushTipsData.proto";
import "ActivityWatcherInfo.proto";
message ActivityInfo {
map<uint32, uint32> activityCoinMap = 406;
uint32 scoreLimit = 1497;
@ -115,7 +115,7 @@ message ActivityInfo {
SeaLampInfo sea_lamp_info = 578;
ExpeditionInfo expedition_info = 930;
ArenaChallengeInfo arena_challenge_info = 699;
//FleurFairInfo fleur_fair_info = 1116;
FleurFairInfo fleur_fair_info = 1116;
WaterSpiritInfo water_spirit_info = 1651;
ChallnelerSlabInfo challneler_slab_info = 1135;
MistTrialActivityInfo mist_trial_activity_info = 1320;
@ -131,7 +131,7 @@ message ActivityInfo {
MoonfinTrialInfo moonfin_trial_info = 1122;
LunaRiteInfo luna_rite_info = 82;
PlantFlowerInfo plant_flower_info = 1864;
MusicGameInfo music_game_info = 1220;
MusicGameActivityDetailInfo music_game_info = 1220;
RoguelikeDungoenInfo roguelike_dungoen_info = 1817;
DigInfo dig_info = 168;
HachiInfo hachi_info = 1663;

View File

@ -1,20 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityInfo.proto";
message ActivityInfoNotify {
enum KBFOADCMONG {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 2136;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum KBFOADCMONG {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 2136;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
ActivityInfo activityInfo = 3;
}

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityPushTipsState.proto";
message ActivityPushTipsData {
ActivityPushTipsState state = 12;
uint32 activityPushTipsId = 11;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum ActivityPushTipsState {

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,20 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityScheduleInfo.proto";
message ActivityScheduleInfoNotify {
enum GMLKEAPFFKO {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 2047;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum GMLKEAPFFKO {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 2047;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
repeated ActivityScheduleInfo activityScheduleList = 5;
uint32 remainFlySeaLampNum = 11;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message ActivityTakeWatcherRewardReq {
enum PHOMHFCNABE {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 2124;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum PHOMHFCNABE {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 2124;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 activityId = 11;
uint32 watcherId = 6;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message ActivityTakeWatcherRewardRsp {
enum JIMPALCEJKB {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 2009;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum JIMPALCEJKB {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 2009;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
int32 retcode = 9;
uint32 watcherId = 5;

View File

@ -1,20 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ActivityWatcherInfo.proto";
message ActivityUpdateWatcherNotify {
enum FDMJLLHOHGH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 2079;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum FDMJLLHOHGH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 2079;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
ActivityWatcherInfo watcherInfo = 11;
uint32 activityId = 3;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AddBackupAvatarTeamReq {
enum IFMLKOMGBGA {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1620;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum IFMLKOMGBGA {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1620;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
}

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AddBackupAvatarTeamRsp {
enum NOLHJKLAPHH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1757;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum NOLHJKLAPHH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1757;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
int32 retcode = 5;
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AddNoGachaAvatarCardTransferItem.proto";
message AddNoGachaAvatarCardNotify {
enum NMBGCPIDMPH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1669;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum NMBGCPIDMPH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1669;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 itemId = 7;
uint32 initial_promote_level = 3;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AddQuestContentProgressReq {
enum FJCPEKKPFHI {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 474;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum FJCPEKKPFHI {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 474;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 addProgress = 2;
uint32 param = 9;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AddQuestContentProgressRsp {
enum OCHDKHKOIKI {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 480;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum OCHDKHKOIKI {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 480;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 contentType = 13;
int32 retcode = 8;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -12,15 +13,14 @@ import "AnchorPointData.proto";
import "ClientCollectorData.proto";
import "DetectorData.proto";
message AllWidgetDataNotify {
enum CKJPMBIBMDC {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 4286;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum CKJPMBIBMDC {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 4286;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
SkyCrystalDetectorData skyCrystalDetectorData = 2;
repeated WidgetCoolDownData normalCoolDownDataList = 4;

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
message AnchorPointData {
uint32 sceneId = 15;
Vector rot = 13;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AnimatorParameterValueInfo.proto";
message AnimatorParameterValueInfoPair {
int32 nameId = 1;
AnimatorParameterValueInfo animatorPara = 2;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ArenaChallengeMonsterLevel.proto";
message ArenaChallengeInfo {
map<uint32, uint32> levelOpenTimeMap = 2;
uint32 worldLevel = 6;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "FriendBrief.proto";
message AskAddFriendNotify {
enum ACDJLMOMLPL {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 4088;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum ACDJLMOMLPL {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 4088;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
FriendBrief targetFriendBrief = 7;
uint32 targetUid = 8;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AskAddFriendReq {
enum CCLLNOCJFNI {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 4020;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum CCLLNOCJFNI {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 4020;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 targetUid = 10;
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AskAddFriendRsp {
enum IHOJOFGEDBL {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 4074;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum IHOJOFGEDBL {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 4074;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
int32 retcode = 11;
uint32 param = 13;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -8,7 +9,6 @@ import "AsterLittleDetailInfo.proto";
import "AsterMidDetailInfo.proto";
import "AsterProgressDetailInfo.proto";
message AsterInfo {
AsterLargeDetailInfo asterLarge = 2;
uint32 Unk3300_KFDGFFPJGJC = 8;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AsterLittleStageState.proto";
message AsterLittleDetailInfo {
uint32 stageBeginTime = 13;
AsterLittleStageState stageState = 9;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
message AsterMidCampInfo {
Vector pos = 10;
uint32 campId = 14;

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AsterMidCampInfo.proto";
message AsterMidDetailInfo {
repeated AsterMidCampInfo campList = 2;
bool isOpen = 10;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -8,7 +9,6 @@ import "AbilityIdentifier.proto";
import "HitCollision.proto";
import "Vector.proto";
message AttackResult {
uint32 endureBreak = 6;
uint32 Unk3300_BALCPHMFIBC = 1940;

View File

@ -16,11 +16,9 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AttackResultCreateCount {
repeated uint32 Unk3300_PFFFFJBPKGN = 8;
repeated uint32 Unk3300_MDGFBFBAHPB = 10;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
message AvatarAddNotify {
enum APNKIMFCJIH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1661;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum APNKIMFCJIH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1661;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
AvatarInfo avatar = 8;
bool isInTeam = 14;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto";
message AvatarChangeCostumeNotify {
enum IJBEGDIBHOL {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1648;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum IJBEGDIBHOL {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1648;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
SceneEntityInfo entityInfo = 13;
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarChangeCostumeReq {
enum KCNDOLCKEMD {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1759;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum KCNDOLCKEMD {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1759;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint64 avatarGuid = 4;
uint32 costumeId = 11;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarChangeCostumeRsp {
enum AAJPALBMJPF {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1753;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum AAJPALBMJPF {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1753;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 costumeId = 15;
uint64 avatarGuid = 5;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarChangeElementTypeReq {
enum MAGIHCDMAJD {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1664;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum MAGIHCDMAJD {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1664;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 sceneId = 8;
uint32 areaId = 1;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarChangeElementTypeRsp {
enum HNKCONAIBOJ {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1744;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum HNKCONAIBOJ {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1744;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
int32 retcode = 15;
}

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -7,15 +8,14 @@ import "AvatarInfo.proto";
import "AvatarTeam.proto";
import "AvatarRenameInfo.proto";
message AvatarDataNotify {
enum FHCMOBLNBMF {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1645;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum FHCMOBLNBMF {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1645;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint64 chooseAvatarGuid = 4;
repeated uint32 ownedCostumeList = 15;

View File

@ -1,20 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
message AvatarDieAnimationEndReq {
enum BBHLLEDPODB {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1652;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum BBHLLEDPODB {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1652;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint64 dieGuid = 7;
uint32 skillId = 4;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarDieAnimationEndRsp {
enum LFADGEJKMLI {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1657;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum LFADGEJKMLI {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1657;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint64 dieGuid = 3;
uint32 skillId = 6;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -6,7 +7,6 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilitySyncStateInfo.proto";
import "ServerBuff.proto";
message AvatarEnterSceneInfo {
uint64 avatarGuid = 8;
uint32 weaponEntityId = 13;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarEquipAffixInfo.proto";
message AvatarEquipAffixStartNotify {
enum CIBOKBFGLBI {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1602;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum CIBOKBFGLBI {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1602;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
AvatarEquipAffixInfo equipAffixInfo = 5;
uint64 avatarGuid = 15;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -6,16 +7,15 @@ option java_package = "emu.grasscutter.net.proto";
import "SceneReliquaryInfo.proto";
import "SceneWeaponInfo.proto";
message AvatarEquipChangeNotify {
enum KBOAEKOMBGL {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 639;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum KBOAEKOMBGL {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 639;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 itemId = 2;
uint64 equipGuid = 11;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarExpeditionAllDataReq {
enum DENKBLMPDGH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1777;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum DENKBLMPDGH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1777;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
message AvatarExpeditionAllDataRsp {
enum HDIMKBBDJLE {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1654;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum HDIMKBBDJLE {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1654;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 expeditionCountLimit = 12;
repeated uint32 openExpeditionList = 9;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarExpeditionCallBackReq {
enum KEPEFJMFOHO {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1697;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum KEPEFJMFOHO {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1697;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
repeated uint64 avatarGuid = 14;
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
message AvatarExpeditionCallBackRsp {
enum PAFOHCPJJIP {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1632;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum PAFOHCPJJIP {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1632;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
int32 retcode = 14;
map<uint64, AvatarExpeditionInfo> expeditionInfoMap = 7;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
message AvatarExpeditionDataNotify {
enum INDPMHLNJFH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1638;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum INDPMHLNJFH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1638;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
map<uint64, AvatarExpeditionInfo> expeditionInfoMap = 4;
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarExpeditionGetRewardReq {
enum ELDPCKGGBFB {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1712;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum ELDPCKGGBFB {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1712;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint64 avatarGuid = 15;
}

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
@ -6,15 +7,14 @@ option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
import "AvatarExpeditionInfo.proto";
message AvatarExpeditionGetRewardRsp {
enum OEBMGNAINIP {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1659;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum OEBMGNAINIP {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1659;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
int32 retcode = 9;
repeated ItemParam extraItemList = 10;

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionState.proto";
message AvatarExpeditionInfo {
AvatarExpeditionState state = 1;
uint32 expId = 2;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarExpeditionStartReq {
enum ALMCOHOIHKE {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1656;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum ALMCOHOIHKE {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1656;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 hourTime = 12;
uint64 avatarGuid = 8;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarExpeditionInfo.proto";
message AvatarExpeditionStartRsp {
enum PGOGFJNPCBG {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1653;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum PGOGFJNPCBG {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1653;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
map<uint64, AvatarExpeditionInfo> expeditionInfoMap = 7;
int32 retcode = 10;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarFetterInfo.proto";
message AvatarFetterDataNotify {
enum GNEHOADIGHH {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1772;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum GNEHOADIGHH {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1772;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
map<uint64, AvatarFetterInfo> fetterInfoMap = 11;
}

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "FetterData.proto";
message AvatarFetterInfo {
uint32 expNumber = 1;
uint32 expLevel = 2;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarFetterLevelRewardReq {
enum BMENKDDIBDD {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1682;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
EAJIABGAOCI = 1;
}
//enum BMENKDDIBDD {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1682;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint64 avatarGuid = 13;
uint32 fetterLevel = 12;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarFetterLevelRewardRsp {
enum JBNBIMLNDDO {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1612;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum JBNBIMLNDDO {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1612;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 rewardId = 15;
int32 retcode = 14;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarFightPropNotify {
enum FMAOPOPANDM {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1220;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum FMAOPOPANDM {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1220;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
map<uint32, float> fightPropMap = 13;
uint64 avatarGuid = 12;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarFightPropUpdateNotify {
enum HMBDFKEJKAN {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1274;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum HMBDFKEJKAN {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1274;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint64 avatarGuid = 8;
map<uint32, float> fightPropMap = 10;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarFlycloakChangeNotify {
enum FCMNOBMLJIF {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1626;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum FCMNOBMLJIF {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1626;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 flycloakId = 4;
uint64 avatarGuid = 12;

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Route.proto";
message AvatarFollowRouteNotify {
enum PEPNPAGIKJC {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 3097;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum PEPNPAGIKJC {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 3097;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 startSceneTimeMs = 6;
uint32 templateId = 2;

View File

@ -1,18 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AvatarGainCostumeNotify {
enum GMAECEBKKBE {
option allow_alias = true;
NONE = 0;
PEPPOHPHJOJ = 1714;
DCDNILFDFLB = 0;
NNBKOLMPOEA = 1;
}
//enum GMAECEBKKBE {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 1714;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
//}
uint32 costumeId = 6;
}

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