add miss proto (home p2)

This commit is contained in:
Yuuki 2023-09-10 13:57:05 +08:00
parent ab3c49fe72
commit 70917816a4
13 changed files with 381 additions and 3 deletions

View File

@ -185,6 +185,9 @@
{
"name": "GadgetInteractReq"
},
{
"name": "VisionType"
},
{
"name": "GadgetBornType"
},
@ -284,6 +287,9 @@
{
"name": "FurnitureMakeData"
},
{
"name": "HomeAvatarTalkFinishInfo"
},
{
"name": "HomeAnimalData"
},
@ -293,9 +299,33 @@
{
"name": "HomeMarkPointFurnitureData"
},
{
"name": "HomeAvatarRewardEventNotify"
},
{
"name": "HomeAvatarSummonAllEventNotify"
},
{
"name": "HomeMarkPointNPCData"
},
{
"name": "HomeNpcData"
},
{
"name": "HomeSceneArrangementInfo"
},
{
"name": "HomeAvatarRewardEventInfo"
},
{
"name": "HomeAvatarSummonEventInfo"
},
{
"name": "HomeFurnitureSuiteData"
},
{
"name": "HomeMarkPointSuiteData"
},
{
"name": "Equip"
},
@ -452,9 +482,6 @@
{
"name": "PlayerApplyEnterMpResultNotify"
},
{
"name": "VisionType"
},
{
"name": "InvestigationMonster"
},
@ -620,6 +647,9 @@
{
"name": "EnterWorldAreaReq"
},
{
"name": "EntityAiKillSelfNotify"
},
{
"name": "EntityAiSyncNotify"
},
@ -719,9 +749,24 @@
{
"name": "HitTreeNotify"
},
{
"name": "HomeAvatarRewardEventGetReq"
},
{
"name": "HomeAvatarSummonEventReq"
},
{
"name": "HomeAvatarSummonFinishReq"
},
{
"name": "HomeAvatarTalkReq"
},
{
"name": "HomeChangeBgmReq"
},
{
"name": "HomeChangeEditModeReq"
},
{
"name": "HomeChangeModuleReq"
},
@ -956,6 +1001,9 @@
{
"name": "TowerTeamSelectReq"
},
{
"name": "TryEnterHomeReq"
},
{
"name": "UnionCmdNotify"
},
@ -1493,6 +1541,27 @@
{
"name": "HomeAllUnlockedBgmIdListNotify"
},
{
"name": "HomeAvatarAllFinishRewardNotify"
},
{
"name": "HomeAvatarCostumeChangeNotify"
},
{
"name": "HomeAvatarRewardEventGetRsp"
},
{
"name": "HomeAvatarSummonEventRsp"
},
{
"name": "HomeAvatarSummonFinishRsp"
},
{
"name": "HomeAvatarTalkFinishInfoNotify"
},
{
"name": "HomeAvatarTalkRsp"
},
{
"name": "HomeChangeBgmNotify"
},
@ -1718,6 +1787,9 @@
{
"name": "PlayerPropNotify"
},
{
"name": "PlayerQuitFromHomeNotify"
},
{
"name": "PlayerSetPauseRsp"
},

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: 9497
// Obf: PLHINAALPPO
message HomeAvatarAllFinishRewardNotify {
repeated uint32 event_id_list = 12;
}

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: 26566
// Obf: BKHPKONPAPN
message HomeAvatarRewardEventGetReq {
uint32 avatar_id = 9;
uint32 event_id = 10;
}

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 "ItemParam.proto";
// CmdId: 25571
// Obf: BDMGFBJLCFC
message HomeAvatarRewardEventGetRsp {
repeated ItemParam item_list = 15;
int32 retcode = 10;
uint32 event_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";
// Obf: HOLFHPKHFLL
message HomeAvatarRewardEventInfo {
uint32 guid = 11;
uint32 event_id = 8;
uint32 avatar_id = 5;
uint32 random_position = 1;
uint32 suite_id = 3;
}

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 "HomeAvatarRewardEventInfo.proto";
// CmdId: 2640
// Obf: DCCPJJPIGAB
message HomeAvatarRewardEventNotify {
HomeAvatarRewardEventInfo reward_event = 4;
repeated HomeAvatarRewardEventInfo pending_list = 12;
bool is_event_trigger = 7;
}

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 "HomeAvatarSummonEventInfo.proto";
// CmdId: 6401
// Obf: BPCEHNJGDLB
message HomeAvatarSummonAllEventNotify {
repeated HomeAvatarSummonEventInfo summon_event_list = 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";
// Obf: JMKEALMLNEH
message HomeAvatarSummonEventInfo {
uint32 guid = 2;
uint32 event_over_time = 4;
uint32 event_id = 6;
uint32 suit_id = 9;
uint32 avatar_id = 14;
uint32 random_position = 12;
}

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";
// CmdId: 9238
// Obf: JIJKLANOOHE
message HomeAvatarSummonEventReq {
uint32 avatar_id = 4;
uint32 suit_id = 1;
uint32 guid = 5;
}

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: 27614
// Obf: KBGKKKOOOLF
message HomeAvatarSummonEventRsp {
uint32 event_id = 7;
int32 retcode = 8;
}

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: 24791
// Obf: OJLLDCGAIDJ
message HomeAvatarSummonFinishReq {
uint32 event_id = 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";
// CmdId: 8835
// Obf: LIPNGPJHCIB
message HomeAvatarSummonFinishRsp {
int32 retcode = 1;
uint32 event_id = 4;
}

View File

@ -0,0 +1,34 @@
// 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: 27102
// Obf: CAIIHFNBIMA
message PlayerQuitFromHomeNotify {
// Obf: ALCHPFAKDCI
enum QuitReason {
INVALID = 0;
KICK_BY_HOST = 1;
BACK_TO_MY_WORLD = 2;
HOME_BLOCKED = 3;
HOME_IN_EDIT_MODE = 4;
BY_MUIP = 5;
CUR_MODULE_CLOSED = 6;
}
QuitReason reason = 14;
}