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.
18 lines
341 B
Protocol Buffer
18 lines
341 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "MotionState.proto";
|
|
import "Vector.proto";
|
|
|
|
message MotionInfo {
|
|
Vector pos = 1;
|
|
Vector rot = 2;
|
|
Vector speed = 3;
|
|
MotionState state = 4;
|
|
repeated Vector params = 5;
|
|
Vector refPos = 6;
|
|
uint32 refId = 7;
|
|
uint32 sceneTime = 8;
|
|
uint32 intervalVelocity = 9;
|
|
}
|