Add proto:

* DropHintNotify
* WorldChestOpenNotify
For purpose:
Implement new drop system. Full chest drop support. #1951
https://github.com/Grasscutters/Grasscutter/pull/1951/files
This commit is contained in:
Akbar Yahya 2022-11-23 22:01:21 +08:00
parent 2d21c8ce02
commit 9b5321c106
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,30 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa 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";
import "Vector.proto";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 650
// EnetChannelId: 0
// EnetIsReliable: true
message DropHintNotify {
Vector position = 7;
repeated uint32 item_id_list = 14;
}

View File

@ -0,0 +1,29 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa 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: 3295
// EnetChannelId: 0
// EnetIsReliable: true
message WorldChestOpenNotify {
uint32 group_id = 6;
uint32 scene_id = 9;
uint32 config_id = 12;
}