GC-Proto/proto/SceneEntityInfo.proto

44 lines
1.2 KiB
Protocol Buffer
Raw Normal View History

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";
2022-11-06 15:30:21 +03:00
2023-01-28 17:00:48 +03:00
import "ProtEntityType.proto";
2022-11-06 15:30:21 +03:00
import "MotionInfo.proto";
2023-01-28 17:00:48 +03:00
import "EntityClientData.proto";
import "EntityAuthorityInfo.proto";
2022-11-06 15:30:21 +03:00
import "PropPair.proto";
2023-01-28 17:00:48 +03:00
import "FightPropPair.proto";
import "AnimatorParameterValueInfoPair.proto";
import "EntityEnvironmentInfo.proto";
2023-01-29 09:46:19 +03:00
import "SceneAvatarInfo.proto";
import "SceneGadgetInfo.proto";
import "SceneMonsterInfo.proto";
import "SceneNpcInfo.proto";
2022-11-06 15:30:21 +03:00
import "ServerBuff.proto";
message SceneEntityInfo {
2023-01-28 17:00:48 +03:00
ProtEntityType entityType = 1;
uint32 entityId = 2;
string createTime = 3;
MotionInfo motionInfo = 4;
repeated PropPair propList = 5;
repeated FightPropPair fightPropList = 6;
uint32 lifeState = 7;
repeated AnimatorParameterValueInfoPair animatorParaList = 9;
2023-01-29 07:22:25 +03:00
oneof entity {
2023-01-29 09:46:19 +03:00
SceneAvatarInfo avatar = 10;
SceneMonsterInfo monster = 11;
SceneNpcInfo npc = 12;
SceneGadgetInfo gadget = 13;
2023-01-28 17:00:48 +03:00
}
uint32 lastMoveSceneTimeMs = 17;
uint32 lastMoveReliableSeq = 18;
EntityClientData entityClientData = 19;
repeated EntityEnvironmentInfo entityEnvironmentInfoList = 20;
EntityAuthorityInfo entityAuthorityInfo = 21;
repeated string tagList = 22;
repeated ServerBuff serverBuffList = 23;
2022-11-06 15:30:21 +03:00
}