yuanshen/Yuanshen.Proto/SceneEntityInfo.proto
wisedev fc2ac1050f First working version of the server
KCP gameserver with packet dispatch, scene streaming, combat, gacha and the
shop, plus a small HTTP server for the login flow and the wish history page.

Game data under assets is pulled out of the client instead of being typed by
hand. The excel tables come from the packed bin container and the spawn points
from the compiled scene scripts.
2026-09-04 02:10:50 +03:00

39 lines
1.1 KiB
Protocol Buffer

syntax = "proto3";
option csharp_namespace = "Yuanshen.Protocol";
import "AnimatorParameterValueInfoPair.proto";
import "EntityAuthorityInfo.proto";
import "EntityClientData.proto";
import "EntityEnvironmentInfo.proto";
import "FightPropPair.proto";
import "MotionInfo.proto";
import "PropPair.proto";
import "ProtEntityType.proto";
import "SceneAvatarInfo.proto";
import "SceneGadgetInfo.proto";
import "SceneMonsterInfo.proto";
import "SceneNpcInfo.proto";
message SceneEntityInfo {
ProtEntityType entityType = 1;
uint32 entityId = 2;
string name = 3;
MotionInfo motionInfo = 4;
repeated PropPair propList = 5;
repeated FightPropPair fightPropList = 6;
uint32 lifeState = 7;
repeated AnimatorParameterValueInfoPair animatorParaList = 9;
oneof entity {
SceneAvatarInfo avatar = 10;
SceneMonsterInfo monster = 11;
SceneNpcInfo npc = 12;
SceneGadgetInfo gadget = 13;
}
uint32 lastMoveSceneTimeMs = 17;
uint32 lastMoveReliableSeq = 18;
EntityClientData entityClientData = 19;
repeated EntityEnvironmentInfo entityEnvironmentInfoList = 20;
EntityAuthorityInfo entityAuthorityInfo = 21;
repeated string tagList = 22;
}