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.
25 lines
569 B
Protocol Buffer
25 lines
569 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "MathQuaternion.proto";
|
|
import "MovingPlatformType.proto";
|
|
import "Route.proto";
|
|
import "Vector.proto";
|
|
|
|
message PlatformInfo {
|
|
uint32 routeId = 1;
|
|
int32 startIndex = 2;
|
|
uint32 startRouteTime = 3;
|
|
uint32 startSceneTime = 4;
|
|
Vector startPos = 7;
|
|
bool isStarted = 8;
|
|
MathQuaternion startRot = 9;
|
|
uint32 stopSceneTime = 10;
|
|
Vector posOffset = 11;
|
|
MathQuaternion rotOffset = 12;
|
|
MovingPlatformType movingPlatformType = 13;
|
|
bool isActive = 14;
|
|
Route route = 15;
|
|
uint32 pointId = 16;
|
|
}
|