mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2024-12-26 08:30:22 +03:00
47 lines
1.7 KiB
Protocol Buffer
47 lines
1.7 KiB
Protocol Buffer
|
// 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 "AbilityControlBlock.proto";
|
||
|
import "AbilitySyncStateInfo.proto";
|
||
|
import "AvatarInfo.proto";
|
||
|
import "SceneAvatarInfo.proto";
|
||
|
import "SceneEntityInfo.proto";
|
||
|
import "ServerBuff.proto";
|
||
|
|
||
|
option java_package = "emu.grasscutter.net.proto";
|
||
|
|
||
|
message SceneTeamAvatar {
|
||
|
AbilitySyncStateInfo avatar_ability_info = 5;
|
||
|
AvatarInfo avatar_info = 8;
|
||
|
bool is_on_scene = 152;
|
||
|
uint32 entity_id = 9;
|
||
|
uint64 avatar_guid = 15;
|
||
|
uint32 scene_id = 1;
|
||
|
uint32 weapon_entity_id = 7;
|
||
|
SceneAvatarInfo scene_avatar_info = 3;
|
||
|
uint64 weapon_guid = 4;
|
||
|
AbilitySyncStateInfo weapon_ability_info = 11;
|
||
|
SceneEntityInfo scene_entity_info = 12;
|
||
|
uint32 player_uid = 14;
|
||
|
bool is_reconnect = 6;
|
||
|
AbilityControlBlock ability_control_block = 2;
|
||
|
bool is_player_cur_avatar = 13;
|
||
|
repeated ServerBuff server_buff_list = 10;
|
||
|
}
|