This commit is contained in:
Yuuki
2024-06-02 13:33:33 +08:00
parent b7faaffee8
commit 7ac18a1ad6
68 changed files with 931 additions and 953 deletions

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: 3696
// Obf: EPCCINELCEK
// CmdId: 4974
// Version: 4.6.0
// Obfs: MDCHBAGDELO
message AvatarChangeElementTypeReq {
uint32 area_id = 11;
uint32 scene_id = 1;
}
uint32 area_id = 14;
uint32 scene_id = 15;
}

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: 8592
// Obf: BLNOILBHJIJ
// 4.6.0
// CmdId: 24702
// Obf: ???
message AvatarPromoteRsp {
uint64 guid = 7;
int32 retcode = 12;
uint64 guid = 1;
int32 retcode = 5;
}

View File

@@ -1,28 +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 "PropChangeReason.proto";
// CmdId: 3637
// Obf: LKDNAGGMHGL
// 4.6.0
// CmdId: 5955
// Obf: ???
message AvatarPropChangeReasonNotify {
PropChangeReason reason = 2;
uint32 prop_type = 7;
float cur_value = 1;
uint64 avatar_guid = 11;
float old_value = 14;
PropChangeReason reason = 15;
uint32 prop_type = 2;
float cur_value = 11;
uint64 avatar_guid = 3;
float old_value = 13;
}

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";
// CmdId: 28204
// Obf: CFIFEHLBHPM
import "ItemParam.proto";
// CmdId: 2937
// Version: 4.6.0
// Obfs: HFANJCHEDHC
message AvatarUpgradeReq {
uint32 item_id = 5;
uint64 avatar_guid = 10;
uint32 count = 1;
}
repeated ItemParam item_param_list = 6;
uint64 avatar_guid = 15;
}

View File

@@ -1,27 +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";
import "BattlePassSchedule.proto";
import "BattlePassMission.proto";
// CmdId: 3474
// Obf: HDENJJOGGKA
import "BattlePassSchedule.proto";
// CmdId: 9910
// Version: 4.6.0
// Obfs: BLMJNHLPHPA
message BattlePassAllDataNotify {
BattlePassSchedule cur_schedule = 1;
repeated BattlePassMission mission_list = 9;
bool have_cur_schedule = 2;
bool have_cur_schedule = 5;
repeated BattlePassMission mission_list = 7;
BattlePassSchedule cur_schedule = 11;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// CmdId: 21408
// Version: 4.6.0
// Obfs: KNIBHNOEHPA
message BattlePassBuySuccNotify {
uint32 schedule_id = 1;
uint32 HMKOKJKINCG = 6;
uint32 LAKIBHGHOGE = 7;
repeated ItemParam item_list = 11;
}

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 "BattlePassSchedule.proto";
// CmdId: 27464
// Obf: AFCLFFABLPC
// CmdId: 2634
// Version: 4.6.0
// Obfs: DMCBPPFMCAB
message BattlePassCurScheduleUpdateNotify {
BattlePassSchedule cur_schedule = 9;
bool have_cur_schedule = 11;
bool have_cur_schedule = 14;
BattlePassSchedule cur_schedule = 15;
}

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";
// Obf: JDHFCEDALOK
// Version: 4.6.0
// Obfs: CNCKBALKDCG
message BattlePassCycle {
uint32 cycle_idx = 15;
uint32 begin_time = 2;
uint32 end_time = 12;
uint32 end_time = 7;
uint32 begin_time = 11;
uint32 cycle_idx = 13;
}

View File

@@ -1,35 +1,20 @@
// 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: ELGGKMAOOGA
// Version: 4.6.0
// Obfs: KLNCDOLLCFF
message BattlePassMission {
// Obf: JAOFNPAFHIB
enum MissionStatus {
MISSION_STATUS_INVALID = 0;
MISSION_STATUS_UNFINISHED = 1;
MISSION_STATUS_FINISHED = 2;
MISSION_STATUS_POINT_TAKEN = 3;
}
uint32 total_progress = 7;
uint32 mission_type = 3;
uint32 cur_progress = 2;
MissionStatus mission_status = 15;
uint32 mission_id = 8;
uint32 reward_battle_pass_point = 9;
uint32 reward_battle_pass_point = 5;
uint32 cur_progress = 6;
uint32 mission_type = 7;
uint32 total_progress = 10;
uint32 mission_id = 12;
MissionStatus mission_status = 14;
}

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 "BattlePassMission.proto";
// CmdId: 24008
// Obf: HNPGDHAKAEB
// CmdId: 7238
// Version: 4.6.0
// Obfs: JCACMJGEKDM
message BattlePassMissionUpdateNotify {
repeated BattlePassMission mission_list = 7;
repeated BattlePassMission mission_list = 8;
}

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";
// Obf: GCJOGKGADPD
// Version: 4.6.0
// Obfs: IPHAEDEDLGF
message BattlePassProduct {
string HOJKADLEFBP = 7;
string CHOKHINHNGH = 14;
string NJCCJEMGKDJ = 5;
string normal_product_id = 2;
string upgrade_product_id = 4;
string extra_product_id = 11;
}

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 "BattlePassUnlockStatus.proto";
// Obf: MMDANGGKGCL
// Version: 4.6.0
// Obfs: FEKBEHGKKML
message BattlePassRewardTag {
uint32 level = 12;
uint32 reward_id = 8;
BattlePassUnlockStatus unlock_status = 1;
uint32 reward_id = 4;
BattlePassUnlockStatus unlock_status = 10;
uint32 level = 13;
}

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 "BattlePassRewardTag.proto";
// Obf: ABOLHFADNBD
// Version: 4.6.0
// Obfs: LAAGOMCGIPI
message BattlePassRewardTakeOption {
uint32 option_idx = 14;
BattlePassRewardTag tag = 7;
uint32 option_idx = 3;
BattlePassRewardTag tag = 11;
}

View File

@@ -1,38 +1,26 @@
// 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 "BattlePassCycle.proto";
import "BattlePassRewardTag.proto";
import "BattlePassProduct.proto";
import "BattlePassUnlockStatus.proto";
import "BattlePassCycle.proto";
// Obf: KFAIKMBDAIC
// Version: 4.6.0
// Obfs: DCBJKBNBFNK
message BattlePassSchedule {
bool is_extra_paid_reward_taken = 7;
uint32 end_time = 15;
repeated BattlePassRewardTag reward_taken_list = 9;
BattlePassProduct product_info = 4;
uint32 level = 8;
uint32 paid_platform_flags = 12;
uint32 schedule_id = 10;
uint32 begin_time = 13;
uint32 point = 2;
BattlePassUnlockStatus unlock_status = 11;
uint32 cur_cycle_points = 1;
BattlePassCycle cur_cycle = 3;
bool is_viewed = 14;
BattlePassCycle cur_cycle = 1;
uint32 schedule_id = 2;
uint32 point = 3; // GECKAKLNAID
BattlePassUnlockStatus unlock_status = 4;
repeated BattlePassRewardTag reward_taken_list = 5;
uint32 begin_time = 6;
uint32 paid_platform_flags = 7; // IDJOJEHFMHM
uint32 cur_cycle_points = 8; // NALIJACNLLL
BattlePassProduct product_info = 10;
uint32 end_time = 12;
uint32 level = 13;
bool is_extra_paid_reward_taken = 14; // PCPNJNGAFLE
bool is_viewed = 15; // HDIMHNDPLKP
}

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";
// Obf: ANLKFPJIOMK
// Version: 4.6.0
// Obfs: LKNMHOGNENB
enum BattlePassUnlockStatus {
BATTLE_PASS_UNLOCK_STATUS_INVALID = 0;
BATTLE_PASS_UNLOCK_STATUS_FREE = 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: 20824
// Obf: FJCCKDGCFBC
// CmdId: 20941
// Version: 4.6.0
// Obfs: CCADIDOMPPK
message BuyBattlePassLevelReq {
uint32 buy_level = 8;
uint32 buy_level = 1;
}

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: 26570
// Obf: JLNMDHMIKAE
// CmdId: 23240
// Version: 4.6.0
// Obfs: KDAFIJMJBPK
message BuyBattlePassLevelRsp {
uint32 buy_level = 7;
int32 retcode = 11;
int32 retcode = 4;
uint32 buy_level = 12;
}

View File

@@ -0,0 +1,16 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "TransmitReason.proto";
import "Vector.proto";
// CmdId: 7279
// Version: 4.6.0
// Obfs: LOHKIHALHIC
message ClientTransmitReq {
TransmitReason reason = 5;
Vector pos = 9;
Vector rot = 11;
uint32 scene_id = 13;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "TransmitReason.proto";
// CmdId: 28038
// Version: 4.6.0
// Obfs: LOEEFJBLHNH
message ClientTransmitRsp {
int32 retcode = 11;
TransmitReason reason = 15;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Version: 4.6.0
// Obfs: MEIMHEKHOLO
message DeshretObeliskChestInfo {
uint32 group_id = 3;
uint32 map_layer_id = 5;
Vector pos = 8;
uint32 config_id = 9;
uint32 scene_id = 13;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "DeshretObeliskChestInfo.proto";
// CmdId: 28537
// Version: 4.6.0
// Obfs: LNPPIBAKLFF
message DeshretObeliskChestInfoNotify {
repeated DeshretObeliskChestInfo chest_info_list = 10;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 7501
// Version: 4.6.0
// Obfs: AODMIJLDINJ
message FishAttractNotify {
Vector pos = 6;
uint32 uid = 13;
repeated uint32 fish_id_list = 15;
}

View File

@@ -1,22 +1,6 @@
// 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: 3551
// Obf: NKCLOOCOADG
// 4.6.0
message GetAllUnlockNameCardReq {
}
}

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: 28550
// Obf: MIOFHIOGCNF
// 4.6.0
// CmdId: 7078
// Obf: ???
message GetAllUnlockNameCardRsp {
repeated uint32 name_card_list = 8;
int32 retcode = 9;
repeated uint32 name_card_list = 1;
int32 retcode = 13;
}

View File

@@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 3607
// Version: 4.6.0
// Obfs: ???
message GetAreaExplorePointReq {
repeated uint32 area_id_list = 13;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 9042
// Version: 4.6.0
// Obfs: ???
message GetAreaExplorePointRsp {
int32 retcode = 4;
repeated uint32 explore_point_list = 5;
repeated uint32 area_id_list = 15;
}

View File

@@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 208
// Version: 4.6.0
// Obfs: MIAMFKLMOHN
message GetBattlePassProductReq {
uint32 battle_pass_product_play_type = 11;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 4426
// Version: 4.6.0
// Obfs: FPLDICCHNPH
message GetBattlePassProductRsp {
uint32 battle_pass_product_play_type = 2;
uint32 cur_schedule_id = 4;
string price_tier = 8;
int32 retcode = 12;
string product_id = 14;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "NpcPositionInfo.proto";
// CmdId: 24033
// Version: 4.6.0
// Obfs: NPPNJKFOCDG
message NPPNJKFOCDG {
int32 retcode = 1;
uint32 scene_id = 2;
repeated NpcPositionInfo npc_info_list = 4;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Version: 4.6.0
// Obfs: MMGJJJFDIPK
message HomeBlueprintSearchInfo {
uint32 module_id = 4;
string share_code = 5;
uint32 scene_id = 10;
uint32 block_id = 11;
}

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: 20696
// Obf: BMFLMFIECOG
// CmdId: 24300
// Version: 4.6.0
// Obfs: OIODNALPKFD
message HomeSaveArrangementNoChangeRsp {
int32 retcode = 2;
uint32 scene_id = 1;
uint32 scene_id = 6;
int32 retcode = 10;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "HomeBlueprintSearchInfo.proto";
// CmdId: 28183
// Version: 4.6.0
// Obfs: LBNOHJDLCOM
message HomeSearchBlueprintRsp {
int32 retcode = 10;
HomeBlueprintSearchInfo search_info = 12;
}

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: 8097
// Obf: DAIDHECFAML
// CmdId: 25231
// Version: 4.6.0
// Obfs: PELEDEMOCGN
message LevelupCityReq {
uint32 item_num = 5;
uint32 area_id = 8;
uint32 scene_id = 11;
uint32 area_id = 3;
uint32 item_num = 1;
}
}

View File

@@ -1,26 +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: 21010
// Obf: ONLMENNEHOH
import "DeshretObeliskChestInfo.proto";
// CmdId: 28878
// Version: 4.6.0
// Obfs: HOEBDLJJCPL
message MarkTargetInvestigationMonsterNotify {
uint32 scene_id = 7;
uint32 monster_id = 15;
uint32 investigation_monster_id = 2;
uint32 group_id = 10;
}
uint32 investigation_monster_id = 1;
uint32 scene_id = 2;
uint32 group_id = 4;
uint32 monster_id = 8;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Version: 4.6.0
// Obfs: ICFBHOPMKCI
message NpcPositionInfo {
uint32 npc_id = 1;
Vector pos = 2;
}

11
proto/PlayProduct.proto Normal file
View File

@@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Version: 4.6.0
// Obfs: DFKPGHOBLLC
message PlayProduct {
string product_id = 1;
string price_tier = 2;
uint32 schedule_id = 3;
}

View File

@@ -1,9 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Version: 4.6.0
// Obfs: ???
message PlayerLocationInfo {
Vector pos = 14;
Vector rot = 15;
uint32 uid = 5;
uint32 uid = 4;
Vector pos = 5;
Vector rot = 6;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ProductPriceTier.proto";
// CmdId: 20372
// Version: 4.6.0
// Obfs: FPNDLFEOEFN
message PlayerRechargeDataNotify {
uint32 card_product_remain_days = 10;
repeated ProductPriceTier product_price_tier_list = 14;
}

View File

@@ -1,8 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "PlayerLocationInfo.proto";
// Version: 4.6.0
// Obfs: KOBHCHMLBED
message PlayerWorldLocationInfo {
PlayerLocationInfo player_loc = 7;
uint32 scene_id = 5;
}
uint32 scene_id = 1;
PlayerLocationInfo player_loc = 9;
}

View File

@@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Version: 4.6.0
// Obfs: KGKLDAGGGNP
message ProductPriceTier {
string price_tier = 3;
string product_id = 10;
}

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: 21308
// Obf: FFHMLGIIJEI
// CmdId: 842
// Version: 4.6.0
// Obfs: BGBFEAGIFKO
message QuestDestroyEntityReq {
uint32 entity_id = 1;
uint32 scene_id = 14;
uint32 scene_id = 3;
uint32 quest_id = 6;
}
uint32 entity_id = 11;
}

View File

@@ -1,26 +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";
// CmdId: 9130
// Obf: FGDKHKLDGLI
// CmdId: 22741
// Version: 4.6.0
// Obfs: IHCICPNIOAI
message QuestDestroyEntityRsp {
uint32 entity_id = 2;
uint32 quest_id = 4;
int32 retcode = 6;
uint32 scene_id = 14;
int32 retcode = 7;
uint32 entity_id = 3;
uint32 quest_id = 10;
}
}

18
proto/RechargeReq.proto Normal file
View File

@@ -0,0 +1,18 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "PlayProduct.proto";
import "ShopCardProduct.proto";
import "ShopConcertProduct.proto";
import "ShopMcoinProduct.proto";
// CmdId: 2262
// Version: 4.6.0
// Obfs: GDNIPLNJAKD
message RechargeReq {
PlayProduct play_product = 4;
ShopMcoinProduct mcoin_product = 7;
ShopCardProduct card_product = 11;
ShopConcertProduct concert_product = 15;
}

12
proto/RechargeRsp.proto Normal file
View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1499
// Version: 4.6.0
// Obfs: HEJONAIGBBM
message RechargeRsp {
string product_id = 3;
bool is_show_minors_hint = 6;
int32 retcode = 11;
}

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";
// Obf: BHBIGPHGPGA
// Version: 4.6.0
// Obfs: DDFCGDCJODG
message RoutePointChangeInfo {
float target_velocity = 14;
float wait_time = 5;
uint32 point_index = 4;
}
float target_velocity = 2;
float wait_time = 3;
uint32 point_index = 15;
}

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: 9869
// Obf: CIGGADKIENC
// CmdId: 22934
// Version: 4.6.0
// Obfs: EMEHBONIFJF
message SceneAreaUnlockNotify {
repeated uint32 area_list = 1;
uint32 scene_id = 6;
}
uint32 scene_id = 7;
repeated uint32 area_list = 9;
}

View File

@@ -1,27 +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";
import "PlayerLocationInfo.proto";
import "VehicleLocationInfo.proto";
// CmdId: 29652
// Obf: ADLIMHMEMDB
// CmdId: 801
// Version: 4.6.0
// Obfs: FIIKEOEAHIE
message ScenePlayerLocationNotify {
repeated PlayerLocationInfo player_loc_list = 3;
repeated VehicleLocationInfo vehicle_loc_list = 13;
uint32 scene_id = 14;
}
uint32 scene_id = 8;
repeated VehicleLocationInfo vehicle_loc_list = 10;
repeated PlayerLocationInfo player_loc_list = 12;
}

View File

@@ -1,10 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 7336
// Version: 4.6.0
// Obfs: ???
message ScenePointUnlockNotify {
repeated uint32 unlocked_point_list = 11;
repeated uint32 point_list = 13;
repeated uint32 DOGDPAFIMJD = 12;
repeated uint32 JDNMBINKNGK = 5;
uint32 scene_id = 1;
uint32 scene_id = 2;
repeated uint32 point_list = 4;
repeated uint32 MDCKMMJDEHG = 8;
repeated uint32 DBHGFHNGBJK = 9;
repeated uint32 KIBAPLIMEHA = 14;
}

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 "RoutePointChangeInfo.proto";
// Obf: CIAHMGGKINJ
// Version: 4.6.0
// Obfs: GAALLMKNLOA
message SceneRouteChangeInfo {
bool is_forward = 3;
repeated RoutePointChangeInfo point_list = 12;
uint32 type = 9;
repeated RoutePointChangeInfo point_list = 3;
uint32 route_id = 10;
}
uint32 type = 12;
bool is_forward = 14;
}

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 "SceneRouteChangeInfo.proto";
// CmdId: 9691
// Obf: JOCLHFBINGA
// CmdId: 9498
// Version: 4.6.0
// Obfs: EFPEFPLEDJA
message SceneRouteChangeNotify {
uint32 scene_time = 13;
uint32 scene_id = 7;
repeated SceneRouteChangeInfo route_list = 11;
uint32 scene_time = 6;
uint32 scene_id = 8;
repeated SceneRouteChangeInfo route_list = 12;
}

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: 7320
// Obf: KKIGJEPPADN
// CmdId: 26945
// Version: 4.6.0
// Obfs: EPMDACBNEMP
message SetBattlePassViewedReq {
uint32 schedule_id = 2;
uint32 schedule_id = 5;
}

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: 20580
// Obf: GPPAPCLMIEA
// CmdId: 24391
// Version: 4.6.0
// Obfs: PCPEGKIEPPG
message TakeBattlePassMissionPointReq {
repeated uint32 mission_id_list = 5;
}
}

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: 9060
// Obf: KBDNDEDCINE
// CmdId: 5756
// Version: 4.6.0
// Obfs: CGAMLKOBIKD
message TakeBattlePassMissionPointRsp {
int32 retcode = 8;
repeated uint32 mission_id_list = 3;
}
int32 retcode = 7;
repeated uint32 mission_id_list = 12;
}

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 "BattlePassRewardTakeOption.proto";
// CmdId: 28914
// Obf: AEFJDMJIPGE
// CmdId: 28683
// Version: 4.6.0
// Obfs: IMCLHEMCFIC
message TakeBattlePassRewardReq {
repeated BattlePassRewardTakeOption take_option_list = 2;
repeated BattlePassRewardTakeOption take_option_list = 1;
}

View File

@@ -1,27 +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";
import "BattlePassRewardTakeOption.proto";
import "ItemParam.proto";
// CmdId: 25609
// Obf: JPNLFJHCEII
// CmdId: 1049
// Version: 4.6.0
// Obfs: PCPEJDNJIAD
message TakeBattlePassRewardRsp {
int32 retcode = 12;
repeated ItemParam item_list = 3;
repeated BattlePassRewardTakeOption take_option_list = 4;
repeated ItemParam item_list = 14;
int32 retcode = 14;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ToTheMoonObstacleInfo.proto";
// CmdId: 6110
// Version: 4.6.0
// Obfs: ILCGFEJGBMJ
message ToTheMoonAddObstacleReq {
uint32 scene_id = 2;
int32 query_id = 9;
ToTheMoonObstacleInfo obstacle = 10;
bool use_edge = 11;
}

View File

@@ -0,0 +1,21 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MathQuaternion.proto";
import "Vector.proto";
// Version: 4.6.0
// Obfs: OOJCDBNFDCK
message ToTheMoonObstacleInfo {
enum ShapeType {
OBSTACLE_SHAPE_CAPSULE = 0;
OBSTACLE_SHAPE_BOX = 1;
}
Vector center = 2;
int32 handle_id = 3;
Vector half_extents = 4;
ShapeType type = 10;
MathQuaternion rotation = 11;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ToTheMoonObstacleInfo.proto";
// CmdId: 6170
// Version: 4.6.0
// Obfs: MFLEOEDJKCG
message ToTheMoonObstaclesModifyNotify {
bool use_edge = 3;
repeated int32 remove_obstacle_ids = 9;
repeated ToTheMoonObstacleInfo add_obstacles = 11;
uint32 scene_id = 14;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6118
// Version: 4.6.0
// Obfs: FKBIPLGJBMF
message ToTheMoonRemoveObstacleReq {
int32 handle = 5;
uint32 scene_id = 8;
int32 query_id = 10;
}

View File

@@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Version: 4.6.0
// Obfs: DJLNCMNEAOI
enum TransmitReason {
TRANSMIT_NONE = 0;
TRANSMIT_QUEST = 1;
}

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: 23739
// Obf: JEGDFLEGJLH
// CmdId: 1186
// Version: 4.6.0
// Obfs: FCHAMHONLJE
message UnfreezeGroupLimitNotify {
uint32 scene_id = 1;
uint32 point_id = 12;
}
uint32 point_id = 5;
uint32 scene_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: 27465
// Obf: GHELOHKEPBF
// CmdId: 27857
// Version: 4.6.0
// Obfs: EMIFGECBKAI
message UnlockTransPointReq {
uint32 point_id = 13;
uint32 scene_id = 11;
}
uint32 point_id = 2;
uint32 scene_id = 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";
// CmdId: 21510
// Obf: IBGGKMKPHOB
// CmdId: 23504
// Version: 4.6.0
// Obfs: LJJNGFAEJOG
message UnlockTransPointRsp {
int32 retcode = 4;
}
int32 retcode = 1;
}

View File

@@ -1,30 +1,18 @@
// 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: JMGECLOKOFJ
// Version: 4.6.0
// Obfs: HHIDIPNLEIE
message VehicleLocationInfo {
float PCBCDBGOKOK = 3;
repeated uint32 uid_list = 11;
float FOHOENOKMML = 7;
uint32 owner_uid = 5;
Vector rot = 14;
Vector pos = 4;
uint32 entity_id = 12;
uint32 gadget_id = 15;
uint32 entity_id = 2;
float MKHCMCLJKLN = 5; // seems to be sorush related
float AACAIMICFPI = 6; // seems to be sorush related
uint32 owner_uid = 9;
Vector pos = 11;
repeated uint32 uid_list = 12;
Vector rot = 13;
uint32 gadget_id = 14;
}

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: 9116
// Obf: CMEJIMOMCEO
// CmdId: 8271
// Version: 4.6.0
// Obfs: GNFPLKIBPKM
message WorldChestOpenNotify {
uint32 group_id = 5;
uint32 config_id = 4;
uint32 scene_id = 11;
}
uint32 scene_id = 5;
uint32 group_id = 9;
uint32 config_id = 13;
}

View File

@@ -2,10 +2,13 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "PlayerWorldLocationInfo.proto";
import "PlayerLocationInfo.proto";
import "PlayerWorldLocationInfo.proto";
// CmdId: 7462
// Version: 4.6.0
// Obfs: KJMDKJLLMKA
message WorldPlayerLocationNotify {
repeated PlayerWorldLocationInfo player_world_loc_list = 15;
repeated PlayerLocationInfo player_loc_list = 14;
repeated PlayerLocationInfo player_loc_list = 7;
repeated PlayerWorldLocationInfo player_world_loc_list = 14;
}