sync proto

This commit is contained in:
Yuuki
2024-05-28 18:52:04 +08:00
parent b7cd856c6a
commit 4c69dedab5
20 changed files with 248 additions and 262 deletions

View File

@@ -1,25 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Obf: BAFEPPHIOGH
// 4.6.0
message AbilityActionCreateGadget {
Vector pos = 10;
Vector rot = 12;
Vector rot = 3;
Vector pos = 5;
uint32 room_id = 7;
}
}

View File

@@ -1,9 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.6.0
message AbilityActionGenerateElemBall {
Vector pos = 4;
Vector rot = 10;
uint32 room_id = 7;
}
uint32 room_id = 6;
Vector rot = 10;
Vector pos = 14;
}

View File

@@ -8,12 +8,12 @@ import "AvatarRenameInfo.proto";
// 4.6.0
// CmdId: 24452
message AvatarDataNotify {
//repeated uint32 owned_flycloak_list = 13;//sus
repeated uint32 owned_flycloak_list = 13;
repeated AvatarRenameInfo avatar_rename_list = 10;
repeated AvatarInfo avatar_list = 5;
map<uint32, AvatarTeam> avatar_team_map = 15;
//repeated uint32 backup_avatar_team_order_list = 9;//sus
//repeated uint32 owned_costume_list = 2;//sus
repeated uint32 owned_costume_list = 2;
//repeated uint64 temp_avatar_guid_list = 999;//Wrong
uint32 cur_avatar_team_id = 1;
uint64 choose_avatar_guid = 11;

View File

@@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 2952
message AvatarFlycloakChangeNotify {
uint32 flycloak_id = 12;
uint64 avatar_guid = 11;
}
uint32 flycloak_id = 3;
uint64 avatar_guid = 10;
}

View File

@@ -1,6 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 27498
message AvatarGainCostumeNotify {
uint32 costume_id = 10;
}
uint32 costume_id = 5;
}

View File

@@ -1,6 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 22682
message AvatarGainFlycloakNotify {
uint32 flycloak_id = 5;
}
uint32 flycloak_id = 4;
}

View File

@@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 24899
message AvatarPropNotify {
map<uint32, int64> prop_map = 10;
uint64 avatar_guid = 15;
}
uint64 avatar_guid = 8;
map<uint32, int64> prop_map = 14;
}

View File

@@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 21936
message AvatarWearFlycloakReq {
uint32 flycloak_id = 12;
uint64 avatar_guid = 6;
}
uint64 avatar_guid = 7;
uint32 flycloak_id = 8;
}

View File

@@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 924
message AvatarWearFlycloakRsp {
int32 retcode = 5;
uint32 flycloak_id = 7;
uint64 avatar_guid = 2;
}
uint64 avatar_guid = 3;
int32 retcode = 4;
uint32 flycloak_id = 11;
}

View File

@@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Obf: HKCMOMDAOCF
// 4.6.0
message CrystalLinkAvatarInfo {
bool is_trial = 7;
uint64 avatar_id = 1;
}
uint64 avatar_id = 4;
bool is_trial = 6;
}

View File

@@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Obf: JHCGNCCGBFI
// 4.6.0
message CrystalLinkBuffInfo {
uint32 FJLJNEAMGHL = 12;
uint32 JIBBBGMJKBF = 6;
}
uint32 BHGKKDGHAKN = 9;
uint32 IHDGOBBBADD = 12;
}

View File

@@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Obf: EMILFGGOCLJ
// 4.6.0
message CrystalLinkDungeonAvatarInfo {
uint64 avatar_guid = 4;
bool is_trial = 5;
}
uint64 avatar_guid = 1;
bool is_trial = 13;
}

View File

@@ -0,0 +1,16 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "CrystalLinkBuffInfo.proto";
import "CrystalLinkDungeonAvatarInfo.proto";
// 4.6.0
// CmdId: 3946
message CrystalLinkDungeonInfoNotify {
uint32 level_id = 3;
repeated CrystalLinkDungeonAvatarInfo BKGNMCPHAOK = 5;
uint32 difficulty_id = 6;
uint32 init_gallery_progress = 7;
repeated CrystalLinkBuffInfo buff_info_list = 11;
bool is_upper_part = 12;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "CrystalLinkTeamInfo.proto";
// 4.6.0
// CmdId: 29969
message CrystalLinkEnterDungeonReq {
uint32 level_id = 7;
repeated CrystalLinkTeamInfo team_info_list = 9;
uint32 difficulty_id = 12;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "CrystalLinkTeamInfo.proto";
// 4.6.0
// CmdId: 8016
message CrystalLinkEnterDungeonRsp {
int32 retcode = 7;
uint32 difficulty_id = 8;
uint32 level_id = 10;
repeated CrystalLinkTeamInfo team_info_list = 14;
}

View File

@@ -1,25 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "CrystalLinkBuffInfo.proto";
import "CrystalLinkAvatarInfo.proto";
// Obf: HJHHNKFBGDE
import "CrystalLinkBuffInfo.proto";
// 4.6.0
message CrystalLinkTeamInfo {
repeated CrystalLinkBuffInfo buff_info_list = 7;
repeated CrystalLinkAvatarInfo avatar_info_list = 6;
}
repeated CrystalLinkAvatarInfo avatar_info_list = 11;
repeated CrystalLinkBuffInfo buff_info_list = 14;
}

View File

@@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto";
// 4.6.0
// CmdId: 9051
message EntityPropNotify {
map<uint32, PropValue> prop_map = 10;
uint32 entity_id = 14;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.6.0
// CmdId: 1480
message MarkEntityInMinMapNotify {
uint32 monster_id = 3;
uint32 entity_id = 13;
Vector position = 14;
}

View File

@@ -1,24 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 26228
// Obf: IBFGMEBBKKM
// 4.6.0
// CmdId: 5948
message MarkNewNotify {
uint32 mark_new_type = 9;
repeated uint32 id_list = 11;
}
repeated uint32 id_list = 1;
uint32 mark_new_type = 2;
}