2023-05-23 13:12:42 +03:00
|
|
|
// 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/>.
|
|
|
|
|
2022-11-06 15:30:21 +03:00
|
|
|
syntax = "proto3";
|
2023-01-28 18:50:00 +03:00
|
|
|
option java_package = "emu.grasscutter.net.proto";
|
2023-05-23 13:12:42 +03:00
|
|
|
import "ProtEntityType.proto";
|
|
|
|
import "MotionInfo.proto";
|
|
|
|
import "PropPair.proto";
|
|
|
|
import "FightPropPair.proto";
|
2023-01-28 17:00:48 +03:00
|
|
|
import "AnimatorParameterValueInfoPair.proto";
|
2023-01-29 09:46:19 +03:00
|
|
|
import "SceneAvatarInfo.proto";
|
|
|
|
import "SceneMonsterInfo.proto";
|
|
|
|
import "SceneNpcInfo.proto";
|
2023-05-23 13:12:42 +03:00
|
|
|
import "SceneGadgetInfo.proto";
|
2023-08-17 14:18:58 +03:00
|
|
|
import "EntityClientData.proto";
|
|
|
|
import "EntityEnvironmentInfo.proto";
|
|
|
|
import "EntityAuthorityInfo.proto";
|
|
|
|
import "ServerBuff.proto";
|
|
|
|
// Obf: DGPPPPBJILO
|
2022-11-06 15:30:21 +03:00
|
|
|
message SceneEntityInfo {
|
2023-05-23 13:12:42 +03:00
|
|
|
ProtEntityType entity_type = 1;
|
|
|
|
uint32 entity_id = 2;
|
|
|
|
string name = 3;
|
|
|
|
MotionInfo motion_info = 4;
|
|
|
|
repeated PropPair prop_list = 5;
|
|
|
|
repeated FightPropPair fight_prop_list = 6;
|
|
|
|
uint32 life_state = 7;
|
|
|
|
repeated AnimatorParameterValueInfoPair animator_para_list = 9;
|
2023-08-17 14:18:58 +03:00
|
|
|
oneof entity {
|
|
|
|
SceneAvatarInfo avatar = 10;
|
|
|
|
SceneMonsterInfo monster = 11;
|
|
|
|
SceneNpcInfo npc = 12;
|
|
|
|
SceneGadgetInfo gadget = 13;
|
|
|
|
}
|
2023-05-23 13:12:42 +03:00
|
|
|
uint32 last_move_scene_time_ms = 17;
|
|
|
|
uint32 last_move_reliable_seq = 18;
|
|
|
|
EntityClientData entity_client_data = 19;
|
|
|
|
repeated EntityEnvironmentInfo entity_environment_info_list = 20;
|
|
|
|
EntityAuthorityInfo entity_authority_info = 21;
|
|
|
|
repeated string tag_list = 22;
|
|
|
|
repeated ServerBuff server_buff_list = 23;
|
2022-11-06 15:30:21 +03:00
|
|
|
}
|