sync proto

This commit is contained in:
Yuuki
2024-05-29 20:56:24 +08:00
parent 4c69dedab5
commit 4d2b5e00c1
33 changed files with 463 additions and 551 deletions

View File

@@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.6.0
message AbilityBornType {
Vector rot = 7;
Vector move_dir = 10;
Vector pos = 13;
}

View File

@@ -5,6 +5,6 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 26267
message ChangeAvatarRsp {
uint64 cur_guid = 2;
/* protected @ 0x28 */// int32 retcode = 65535;
int32 retcode = 15; // OK
/* protected @ 0x2C */// uint32 skill_id = 65535;
}

View File

@@ -1,26 +1,14 @@
// 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 "CodexType.proto";
// CmdId: 6551
// Obf: NOPKDGNAPIK
// CmdId: 8002
// Version: 4.6.0
// Obfs: JJIPFMLHHKI
message CodexDataUpdateNotify {
uint32 weapon_max_promote_level = 3;
CodexType type = 5;
uint32 id = 2;
uint32 weapon_max_promote_level = 2;
uint32 id = 8;
CodexType type = 9;
}

View File

@@ -1,22 +1,7 @@
// 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: LHGEGGKAFLM
// 4.6.0
enum CodexType {
CODEX_NONE = 0;
CODEX_QUEST = 1;
@@ -27,4 +12,4 @@ enum CodexType {
CODEX_PUSHTIPS = 6;
CODEX_VIEW = 7;
CODEX_RELIQUARY = 8;
}
}

View File

@@ -1,10 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 7748
// Version: 4.6.0
// Obfs: ???
message DoGachaReq {
string gacha_tag = 11;
uint32 gacha_type = 6;
uint32 gacha_schedule_id = 9;
uint32 gacha_times = 13;
uint32 gacha_random = 10;
string gachaTag = 1;
uint32 gachaScheduleId = 7;
uint32 gachaTimes = 8;
uint32 gachaRandom = 10;
uint32 gachaType = 13;
}

View File

@@ -1,42 +1,30 @@
// 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 "GachaItem.proto";
// CmdId: 25647
// Obf: LDCEEHGLDNN
// CmdId: 3838
// Version: 4.6.0
// Obfs: IMDOCDDMJDD
message DoGachaRsp {
uint32 tenCostItemNum = 8;
uint32 gachaTimes = 5;
uint32 wishMaxProgress = 9;
repeated GachaItem gacha_item_list = 6;
uint32 leftGachaTimes = 11;
int32 retcode = 2;
uint32 costItemNum = 10;
uint32 curScheduleDailyGachaTimes = 706;
uint32 wishProgress = 4;
bool is_under_general_restrict = 1054;
uint32 gachaType = 14;
uint32 dailyGachaTimes = 509;
uint32 newGachaRandom = 7;
bool is_under_minors_restrict = 1446;
uint32 gachaScheduleId = 13;
uint32 costItemId = 12;
uint32 tenCostItemId = 3;
uint32 gachaTimesLimit = 15;
uint32 wishItemId = 1;
uint32 ten_cost_item_id = 1;
uint32 wish_item_id = 2;
uint32 wish_max_progress = 3;
uint32 new_gacha_random = 4; // sus
int32 retcode = 5;
uint32 wish_progress = 6;
uint32 ten_cost_item_num = 7;
uint32 left_gacha_times = 8;
uint32 cost_item_id = 9;
uint32 cost_item_num = 10;
uint32 gacha_times_limit = 11;
uint32 gachaType = 12;
repeated GachaItem gacha_item_list = 13;
uint32 gachaScheduleId = 14;
uint32 gachaTimes = 15;
uint32 daily_gacha_times = 156;
bool is_under_general_restrict = 205; // BLIOHILHJOP (205, 1563)
uint32 cur_schedule_daily_gacha_times = 1513; // sus
bool is_under_minors_restrict = 1563; // AGPAJPJENKG (205, 1563)
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 26996
// Version: 4.6.0
// Obfs: DJPKAAHDPMG
message EntityTagChangeNotify {
uint32 entity_id = 8;
bool is_add = 10;
string tag = 12;
}

View File

@@ -1,29 +1,36 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "ForwardType.proto";
import "AbilityString.proto";
// CmdId: 24638
// Version: 4.6.0
// Obfs: ???
message EvtCreateGadgetNotify {
Vector init_pos = 7;
repeated uint32 target_entity_id_list = 1826;
Vector init_euler_angles = 12;
repeated uint32 target_lock_point_index_list = 397;
uint32 born_slot_index = 1196;
uint32 target_entity_id = 13;
uint32 config_id = 9;
uint32 owner_entity_id = 6;
uint32 camp_type = 1;
uint32 entity_id = 2;
uint32 init_pose_id = 1245;
int32 local_id = 1365;
uint32 target_lock_point_index = 3;
uint32 room_id = 5;
ForwardType forward_type = 11;
uint32 prop_owner_entity_id = 10;
uint64 guid = 14;
bool CEONINFOHLJ = 15;
bool is_peer_id_from_player = 1814;
bool is_async_load = 261;
bool ECCCOOBCNJL = 8;
uint32 camp_id = 4;
}
uint32 config_id = 1;
uint32 HOFCLFELEMK = 2;
bool is_async_load = 3; // LGOLECDFPNK sus
uint32 entity_id = 4;
bool BANJELHCLDK = 5;
uint32 room_id = 6;
uint32 camp_type = 7;
Vector InitEulerAngles = 8;
uint64 guid = 9;
uint32 camp_id = 10;
uint32 target_entity_id = 11;
ForwardType forward_type = 12;
Vector InitPos = 13;
uint32 owner_entity_id = 14;
uint32 prop_owner_entity_id = 15;
AbilityString ability_name = 440;
uint32 KDPGILHNFNM = 554;
repeated uint32 target_lock_point_index_list = 588;
repeated uint32 target_entity_id_list = 1298;
int32 local_id = 1381;
bool PDGGCPDDAOL = 1542;
uint32 init_pose_id = 1860;
bool is_peer_id_from_player = 1956;
}

View File

@@ -1,25 +1,13 @@
// 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 "ForwardType.proto";
// CmdId: 5833
// Obf: JOPFKPGNIKG
// CmdId: 21713
// Version: 4.6.0
// Obfs: ???
message EvtDestroyGadgetNotify {
ForwardType forward_type = 1;
uint32 entity_id = 8;
}
uint32 entity_id = 2;
ForwardType forward_type = 3;
}

View File

@@ -17,20 +17,20 @@ message FriendBrief {
string signature = 6;
FriendOnlineState online_state = 7;
uint32 param = 8;
bool is_friend = 10;
bool is_mp_mode_available = 10;
string online_id = 11;
uint32 NCMINEPCLFF = 12;
uint32 last_active_time = 12;
uint32 name_card_id = 13;
uint32 GCNGGDJLKFH = 14;
uint32 mp_player_num = 14;
bool is_chat_no_disturb = 15;
uint32 PNIFKDLLGFH = 16;
uint32 chat_sequence = 16;
string remark_name = 17;
repeated SocialShowAvatarInfo show_avatar_info_list = 22;
FriendEnterHomeOption friend_enter_home_option = 23;
ProfilePicture profile_picture = 24;
bool PLCFAEJEMCB = 25;
bool HPKNBDAEANE = 26;
bool is_game_source = 25;
bool is_psn_source = 26;
PlatformType platform_type = 27;
bool LCPBMHAHNEE = 28;
bool GJBJJAECABP = 29;
bool is_in_duel = 28;
bool is_duel_observable = 29;
}

View File

@@ -1,48 +1,39 @@
// 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 "GachaUpInfo.proto";
// Obf: LBJPFCBOKFM
// Version: 4.6.0
// Obfs: ???
// RN fill order frm 3.2.0
// 3 is wish_item_id wish_max_progress wish_progress
message GachaInfo {
uint32 costItemId = 13;
string gachaPrefabPath = 10;
uint32 gachaType = 1;
uint32 wishMaxProgress = 960;
uint32 curScheduleDailyGachaTimes = 1456;
uint32 leftGachaTimes = 15;
bool is_new_wish = 1537;
uint32 tenCostItemNum = 8;
uint32 wishProgress = 1511;
uint32 schedule_id = 5;
uint32 tenCostItemId = 6;
uint32 gachaSortId = 11;
repeated uint32 displayUp4ItemList = 1285;
string gachaRecordUrlOversea = 1221;
string gachaRecordUrl = 4;
string gachaProbUrlOversea = 1181;
string gachaProbUrl = 9;
uint32 begin_time = 3;
uint32 wishItemId = 870;
uint32 end_time = 7;
string gachaPreviewPrefabPath = 12;
string titleTextmap = 847;
repeated uint32 displayUp5ItemList = 1831;
uint32 gachaTimesLimit = 14;
repeated GachaUpInfo gacha_up_info_list = 1514;
uint32 costItemNum = 2;
}
uint32 left_gacha_times = 1; // found 2 HNFPBJIEGHD (uint32 limit)
uint32 ten_cost_item_id = 2; // found 2 BCDOOPICEMD (2, 11)
uint32 end_time = 3; // OK
string gacha_preview_prefab_path = 4; // single LCNMHLJCLIK OK
string gacha_record_url = 5; // single HIOKPEGNPLK (5, 1354)
uint32 ten_cost_item_num = 6; // found 2 EMKBGHENNEL OK
uint32 gachaType = 7; // OK
uint32 gacha_times_limit = 8; // found 2 NABJFPLLGGM (uint32 limit)
uint32 schedule_id = 9; // OK
string gacha_prob_url = 10; // single FCPIKKHIDDO (10, 448)
uint32 cost_item_id = 11; // found 2 KINBJAPMIJD (2, 11)
uint32 gacha_sort_id = 12; // single EKKEPHGDAKB OK
uint32 cost_item_num = 13; // found 2 POEJPPCFPNG OK
string gacha_prefab_path = 14; // single ICOEPLJMDCK OK
uint32 begin_time = 15; // OK
bool is_new_wish = 298; // JLNOHJBDNJN OK
string gacha_prob_url_oversea = 448; // single ELOGPDHLPAI (10, 448)
repeated GachaUpInfo gacha_up_info_list = 535; // OK
string title_textmap = 667; // single JPBNAMGLKEC OK
repeated uint32 display_up4_item_list = 707; // single KIEKPNDHGGJ OK
uint32 wish_item_id = 794; // found 3 NFGOJJOMFCA OK
uint32 cur_schedule_daily_gacha_times = 1233; // found 2 MJCGMHMPKOE sus
string gacha_record_url_oversea = 1354; // single GGCMMKLOJMN (5, 1354)
repeated uint32 display_up5_item_list = 1621; // single OAJAMCHOPFJ (1621, 1921)
uint32 wish_max_progress = 1757; // found 3 BHBCHFFGHHE OK
uint32 wish_progress = 1799; // found 3 EOFACNPOJBN OK
repeated uint32 DHONBCHNPJD = 1921; // single DHONBCHNPJD (1621, 1921)
}

View File

@@ -1,28 +1,16 @@
// 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 "ItemParam.proto";
import "GachaTransferItem.proto";
// Obf: NJOOCPHJKKG
// Version: 4.6.0
// Obfs: EDJOEJJIOMG
message GachaItem {
repeated ItemParam token_item_list = 9;
bool is_gacha_item_new = 6;
ItemParam gacha_item = 4;
bool is_flash_card = 2;
repeated GachaTransferItem transfer_items = 1;
ItemParam gacha_item = 4;
repeated ItemParam token_item_list = 9;
bool is_gacha_item_new = 11; // CKAPCKPPAIG
repeated GachaTransferItem transfer_items = 12;
bool is_flash_card = 14; // AAECBIKHMFM
}

View File

@@ -1,24 +1,12 @@
// 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 "ItemParam.proto";
// Obf: KGHFCKLJBLC
// Version: 4.6.0
// Obfs: AFCOODFGGDL
message GachaTransferItem {
ItemParam item = 9;
bool is_transfer_item_new = 6;
ItemParam item = 2;
bool is_transfer_item_new = 3;
}

View File

@@ -1,23 +1,10 @@
// 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: GLKEEDIHOFH
// Version: 4.6.0
// Obfs: ???
message GachaUpInfo {
repeated uint32 item_id_list = 4;
uint32 item_parent_type = 6;
}
uint32 item_parent_type = 1;
repeated uint32 item_id_list = 9;
}

View File

@@ -1,6 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 20077
// Version: 4.6.0
// Obfs: PANJGIHEJFO
message GetAllMailNotify {
bool is_collected = 1;
bool is_collected = 4;
}

View File

@@ -1,13 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MailData.proto";
// CmdId: 29484
// Version: 4.6.0
// Obfs: MPLFKHHMJKP
message GetAllMailResultNotify {
int32 retcode = 1;
repeated MailData mail_list = 3;
string transaction = 7;
uint32 packet_num = 9;
bool is_collected = 12;
uint32 packet_be_sent_num = 15;
int32 retcode = 1;
repeated MailData mail_list = 3;
string transaction = 7;
uint32 packet_num = 9;
bool is_collected = 12;
uint32 packet_be_sent_num = 15;
}

View File

@@ -1,25 +1,12 @@
// 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: 27875
// Obf: DCPMJKGKCGE
// CmdId: 20926
// Version: 4.6.0
// Obfs: HJKMHGJBGON
message GetAuthkeyReq {
uint32 PGANJHDNINM = 7;
string auth_appid = 2;
uint32 BIGHJAIBJJK = 14;
string auth_appid = 4;
uint32 sign_type = 5;
uint32 authkey_ver = 14;
}

View File

@@ -1,28 +1,15 @@
// 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: 29353
// Obf: KNBBKOGAAHL
// CmdId: 24258
// Version: 4.6.0
// Obfs: PBKMLPJKLEM
message GetAuthkeyRsp {
uint32 PGANJHDNINM = 7;
string authkey = 12;
uint32 BIGHJAIBJJK = 2;
int32 retcode = 9;
string auth_appid = 5;
string game_biz = 1;
string game_biz = 1;
string authkey = 2;
int32 retcode = 6;
uint32 sign_type = 11;
uint32 authkey_ver = 12;
string auth_appid = 14;
}

View File

@@ -1,22 +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: 181
// Obf: ICLGLDGHDGP
// CmdId: 20029
// Version: 4.6.0
// Obfs: LNEBPLKCKLJ
message GetGachaInfoReq {
}

View File

@@ -1,12 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "GachaInfo.proto";
// CmdId: 1610
// Version: 4.6.0
// Obfs:
message GetGachaInfoRsp {
repeated GachaInfo gacha_info_list = 9;
bool is_under_minors_restrict = 11;
bool is_under_general_restrict = 5;
uint32 daily_gacha_times = 13;
int32 retcode = 12;
uint32 gacha_random = 4;
uint32 daily_gacha_times = 2; //IMPJPKBKFLB
int32 retcode = 3;
repeated GachaInfo gacha_info_list = 5;
bool is_under_general_restrict = 9; // BLIOHILHJOP 5050
uint32 gachaRandom = 11;
bool is_under_minors_restrict = 13; // AGPAJPJENKG 5050
}

View File

@@ -1,23 +1,10 @@
// 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: 5317
// Obf: GLKNPOJNACB
// CmdId: 7230
// Version: 4.6.0
// Obfs: OFALDGJHMKE
message GetMailItemReq {
repeated uint32 mail_id_list = 14;
repeated uint32 mail_id_list = 8;
}

View File

@@ -1,26 +1,14 @@
// 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 "EquipParam.proto";
// CmdId: 27050
// Obf: MCJPPPBEHPE
// CmdId: 6607
// Version: 4.6.0
// Obfs: IMOHHNPKKDF
message GetMailItemRsp {
repeated EquipParam item_list = 8;
repeated uint32 mail_id_list = 13;
int32 retcode = 1;
int32 retcode = 3;
repeated uint32 mail_id_list = 6;
repeated EquipParam item_list = 14;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 8588
// Version: 4.6.0
// Obfs: LCPIGGMOOOF
message HitClientTrivialNotify {
Vector position = 6;
uint32 owner_entity_id = 7;
}

View File

@@ -6,7 +6,12 @@ import "ItemParam.proto";
// 4.6.0
// CmdId: 204
message ItemGivingReq {
map<uint64, uint32> DLNKNDCAAHI = 2;
enum ItemGivingType {
QUEST = 0;
GADGET = 1;
}
map<uint64, uint32> item_guid_count_map = 2;
uint32 giving_id = 6;
repeated ItemParam item_param_list = 14;
ItemGivingType item_giving_type = 1; // TODO 4.6.0
}

View File

@@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 24463
message NpcTalkReq {
uint32 talk_id = 2;
uint32 npc_entity_id = 1;
uint32 entity_id = 8;
}
uint32 entity_id = 2;
uint32 npc_entity_id = 12;
uint32 talk_id = 15;
}

View File

@@ -1,9 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 7039
message NpcTalkRsp {
int32 retcode = 7;
uint32 entity_id = 11;
uint32 cur_talk_id = 6;
uint32 npc_entity_id = 9;
}
uint32 entity_id = 8;
int32 retcode = 9;
uint32 cur_talk_id = 12;
uint32 npc_entity_id = 15;
}

View File

@@ -1,6 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 853
// Version: 4.6.0
// Obfs: INJOCNKNOAP
message PlayerSetPauseReq {
bool is_paused = 6;
bool is_paused = 1;
}

View File

@@ -1,23 +1,10 @@
// 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: 1771
// Obf: DJHGLEGIDAC
// CmdId: 28367
// Version: 4.6.0
// Obfs: EJGNMKBIONF
message PlayerSetPauseRsp {
int32 retcode = 3;
int32 retcode = 7;
}

View File

@@ -1,23 +1,10 @@
// 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: 22277
// Obf: DEDMMLJOCEF
// CmdId: 24672
// Version: 4.6.0
// Obfs: LFBKNJCPKIJ
message SceneEntityDrownReq {
uint32 entity_id = 14;
}
uint32 entity_id = 13;
}

View File

@@ -1,24 +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";
// CmdId: 7992
// Obf: OBEJBFKGLPI
// CmdId: 26645
// Version: 4.6.50
// Obfs: JCLANGHEMLF
message SetPlayerBornDataReq {
string nick_name = 10;
uint32 avatar_id = 2;
string nick_name = 5;
uint32 avatar_id = 8;
}

View File

@@ -1,23 +1,10 @@
// 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: 22804
// Obf: CGFIJAMAKEG
// CmdId: 23193
// Version: 4.6.0
// Obfs: MNFMHLPNPIA
message SetPlayerBornDataRsp {
int32 retcode = 14;
int32 retcode = 7;
}