Announce,AntiAddict,Mail (idk), Shop (idk)

This commit is contained in:
Yuuki 2024-07-03 21:09:24 +08:00
parent e7e7b48afb
commit 1a50d29a9e
12 changed files with 65 additions and 103 deletions

View File

@ -1,14 +1,16 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// KNODJMAAMPD
message AnnounceData { message AnnounceData {
string center_system_text = 5; string center_system_text = 14; // we need this (2x13 wrong, 14x13 ok)
string count_down_text = 3; string count_down_text = 2;
string dungeon_confirm_text = 15; string dungeon_confirm_text = 15;
uint32 end_time = 12; uint32 end_time = 3;
uint32 count_down_frequency = 9; uint32 count_down_frequency = 8; // ?
uint32 config_id = 13; uint32 config_id = 7;
uint32 begin_time = 2; uint32 begin_time = 12;
bool is_center_system_last_5_every_minutes = 6; bool is_center_system_last_5_every_minutes = 5;
uint32 center_system_frequency = 1; uint32 center_system_frequency = 13; // ?
} }

View File

@ -1,25 +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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 23699 // 4.7.0
// Obf: EOHKJFLKHHF // CmdId: 243
// Obf: GFKFHIJALJD
message AntiAddictNotify { message AntiAddictNotify {
string level = 7; string level = 3;
int32 msg_type = 6; int32 msg_type = 11;
string msg = 12; string msg = 1;
} }

View File

@ -2,10 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 23996 // CmdId: 22223
// Version: 4.6.0 // Version: 4.7.0
// Obfs: BOJJIDKEMOJ // Obfs: ?
message ChangeMailStarNotify { message ChangeMailStarNotify {
bool is_star = 1; bool is_star = 11;
repeated uint32 mail_id_list = 5; repeated uint32 mail_id_list = 4;
} }

View File

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

View File

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

View File

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

View File

@ -1,27 +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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "MailData.proto"; import "MailData.proto";
// CmdId: 9526 // CmdId: 565
// Obf: FMMMCILNFIA // Obf: ?
message GetAllMailRsp { message GetAllMailRsp {
int32 retcode = 6; int32 retcode = 7;
bool is_collected = 12; bool is_collected = 15;
repeated MailData mail_list = 1; repeated MailData mail_list = 8;
bool is_truncated = 11; bool is_truncated = 4;
} }

View File

@ -4,11 +4,11 @@ option java_package = "emu.grasscutter.net.proto";
import "EquipParam.proto"; import "EquipParam.proto";
// CmdId: 6607 // CmdId: 940
// Version: 4.6.0 // Version: 4.7.0
// Obfs: IMOHHNPKKDF // Obfs: ?
message GetMailItemRsp { message GetMailItemRsp {
int32 retcode = 3; int32 retcode = 6;
repeated uint32 mail_id_list = 6; repeated uint32 mail_id_list = 4;
repeated EquipParam item_list = 14; repeated EquipParam item_list = 15;
} }

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 9573 // CmdId: 20724 ?
// Version: 4.6.0 // Version: 4.7.0
// Obfs: HPDHEEIPNLP // Obfs: KFGIJGBNIGG (in menu, but not work???)
message GetShopmallDataReq { message GetShopmallDataReq {
} }

View File

@ -2,10 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 6481 // CmdId: 8699 ?
// Version: 4.6.0 // Version: 4.7.0
// Obfs: PCJNNNMBMFG // Obfs: NAFKHLBNBPO
message GetShopmallDataRsp { message GetShopmallDataRsp {
repeated uint32 shop_type_list = 12; repeated uint32 shop_type_list = 10;
int32 retcode = 13; int32 retcode = 13;
} }

View File

@ -3,7 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "MailData.proto"; import "MailData.proto";
// 4.7.0
// cmdid: 29033 ?
message MailChangeNotify { message MailChangeNotify {
repeated uint32 del_mail_id_list = 1; repeated uint32 del_mail_id_list = 6;
repeated MailData mail_list = 9; repeated MailData mail_list = 14;
} }

View File

@ -1,6 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AnnounceData.proto"; import "AnnounceData.proto";
// 4.7.0
// cmdid: 1758
// NIICMKOCDDN
message ServerAnnounceNotify { message ServerAnnounceNotify {
repeated AnnounceData announce_data_list = 2; repeated AnnounceData announce_data_list = 10;
} }