add miss proto 4.0 dev ori

This commit is contained in:
Yuuki 2023-08-20 19:18:38 +08:00
parent 1b75854ddc
commit 2f12109b95
19 changed files with 335 additions and 16 deletions

View File

@ -1,8 +1,5 @@
# Anime Game Protos 3.7 (For Grasscutters)
# Anime Game Protos 4.0 (For Grasscutters)
This repository contains the [ProtoBuf](https://github.com/google/protobuf) `.proto` files for Anime Game API.<br/>
## Note
it should work fine now, if still not working stuck white screen, you also need a fix on the gc side.
## Credits
- [Beach Simulator](https://github.com/SlushinPS/beach-simulator) for 3.7 public<br/>
- [Beach Simulator](https://github.com/SlushinPS/beach-simulator) for 4.0 public<br/>

View File

@ -32,10 +32,10 @@ message AllWidgetDataNotify {
repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 4;
repeated ClientCollectorData client_collector_data_list = 9;
uint32 CMFPEOMAJLM = 10;
repeated WidgetCoolDownData PEOHMDJKMKO = 8;
repeated WidgetCoolDownData normalCoolDownDataList = 8;
repeated AnchorPointData anchor_point_list = 15;
LunchBoxData lunch_box_data = 11;
repeated WidgetCoolDownData MCMDFPAFOIG = 14;
repeated WidgetCoolDownData coolDownGroupDataList = 14;
LANPHFCMEBN ELIOJBDGIMJ = 12;
SkyCrystalDetectorData sky_crystal_detector_data = 1;
repeated uint32 EMPBLGKLCOA = 1790;

View File

@ -0,0 +1,24 @@
// 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: 23582
// Obf: PGAGMMAEAJK
message BargainOfferPriceReq {
uint32 bargain_id = 3;
uint32 price = 15;
}

View File

@ -0,0 +1,27 @@
// 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 "BargainResultType.proto";
// CmdId: 28942
// Obf: IKJLNCGMPFH
message BargainOfferPriceRsp {
int32 cur_mood = 10;
uint32 result_param = 8;
BargainResultType bargain_result = 12;
int32 retcode = 11;
}

View File

@ -0,0 +1,24 @@
// 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: AGEMDFOGNBD
enum BargainResultType {
BARGAIN_COMPLETE_SUCC = 0;
BARGAIN_SINGLE_FAIL = 1;
BARGAIN_COMPLETE_FAIL = 2;
}

View File

@ -0,0 +1,25 @@
// 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: KIOJOGPNAKF
message BargainSnapshot {
uint32 IOCNPJJNHLD = 12;
uint32 BALOPACHCDB = 2;
int32 cur_mood = 9;
uint32 bargain_id = 15;
}

View File

@ -0,0 +1,25 @@
// 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 "BargainSnapshot.proto";
// CmdId: 9154
// Obf: EGAHBLOCEPK
message BargainStartNotify {
BargainSnapshot snapshot = 4;
uint32 bargain_id = 15;
}

View File

@ -0,0 +1,23 @@
// 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: 28886
// Obf: IKMJMAHLHBE
message BargainTerminateNotify {
uint32 bargain_id = 1;
}

View File

@ -0,0 +1,22 @@
// 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: 22200
// Obf: KGMCPOKKAIL
message GetAllActivatedBargainDataReq {
}

View File

@ -0,0 +1,25 @@
// 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 "BargainSnapshot.proto";
// CmdId: 3517
// Obf: JMGOGNLGAAH
message GetAllActivatedBargainDataRsp {
repeated BargainSnapshot snapshot_list = 6;
int32 retcode = 2;
}

View File

@ -0,0 +1,23 @@
// 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: 7358
// Obf: FPNNGBLHLDM
message GetBargainDataReq {
uint32 bargain_id = 13;
}

View File

@ -0,0 +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 "BargainSnapshot.proto";
// CmdId: 8330
// Obf: ALABLOCEOIH
message GetBargainDataRsp {
BargainSnapshot snapshot = 5;
int32 retcode = 1;
uint32 bargain_id = 9;
}

View File

@ -29,7 +29,7 @@ message GetScenePointRsp {
repeated uint32 EBIFELCKPEA = 7;
repeated uint32 JJOHJDFINFN = 4;
uint32 belong_uid = 14;
repeated uint32 JCLHNODLPOH = 13;
repeated uint32 unlockAreaList = 13;
uint32 scene_id = 2;
repeated uint32 KOPAHGHMECF = 3;
repeated uint32 unhide_point_list = 3;
}

28
proto/GivingRecord.proto Normal file
View File

@ -0,0 +1,28 @@
// 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: JNJOKGNEKIK
message GivingRecord {
uint32 config_id = 2;
bool is_gadget_giving = 15;
uint32 last_group_id = 14;
uint32 giving_id = 3;
bool is_finished = 6;
map<uint32, uint32> material_cnt_map = 4;
uint32 group_id = 5;
}

View File

@ -0,0 +1,25 @@
// 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 "GivingRecord.proto";
// CmdId: 20863
// Obf: EFABNIELGHL
message GivingRecordChangeNotify {
GivingRecord giving_record = 9;
bool is_deactive = 6;
}

View File

@ -0,0 +1,24 @@
// 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 "GivingRecord.proto";
// CmdId: 7258
// Obf: DPEHMENOLIB
message GivingRecordNotify {
repeated GivingRecord giving_record_list = 4;
}

View File

@ -33,7 +33,7 @@ message PlayerLoginRsp {
int32 ability_hash_code = 5;
repeated ShortAbilityHashPair short_ability_hash_map = 1373;
bool FBFJPEPMAOF = 15;
bool DHMNOPIMOOE = 14;
bool is_use_ability_hash = 14;
bool is_audit = 335;
string client_silence_md5 = 784;
string msg = 43;

View File

@ -81,7 +81,8 @@ message SceneGadgetInfo {
NightCrowGadgetInfo night_crow_gadget_info = 62;
DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63;
CoinCollectOperatorInfo coin_collect_operator_info = 64;
Item trifle_item = 67;
//Item trifle_item = 67;
TrifleGadget trifle_gadget = 67;
}
uint32 mark_flag = 21;
uint32 prop_owner_entity_id = 22;

View File

@ -19,19 +19,19 @@ option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// Obf: OBABFCEJLGK
message ShopGoods {
uint32 NPBGGAMEDJG = 4;
uint32 mcoin = 4;
uint32 FEMEEIEHBBL = 11;
uint32 JOMBNPMFHGG = 8;
uint32 max_level = 8;
repeated ItemParam cost_item_list = 3;
uint32 AAINEEHFPBJ = 1690;
uint32 min_level = 1690;
uint32 bought_num = 14;
uint32 DIHOGOJNKHB = 923;
uint32 begin_time = 13;
uint32 BNEKKILPEKF = 1950;
repeated uint32 preGoodsIdList = 5;
uint32 KANFIKNKONL = 10;
uint32 buy_limit = 10;
ItemParam goods_item = 1;
uint32 NODBIKCALJI = 12;
uint32 scoin = 12;
uint32 EKGBDJFIDJO = 2;
uint32 KKKOCADJCHM = 898;
uint32 OENMLOAFHMJ = 1946;