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.
21 lines
451 B
Protocol Buffer
21 lines
451 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
enum ProtEntityType {
|
|
ProtEntityNone = 0;
|
|
ProtEntityAvatar = 1;
|
|
ProtEntityMonster = 2;
|
|
ProtEntityNpc = 3;
|
|
ProtEntityGadget = 4;
|
|
ProtEntityRegion = 5;
|
|
ProtEntityWeapon = 6;
|
|
ProtEntityWeather = 7;
|
|
ProtEntityScene = 8;
|
|
ProtEntityTeam = 9;
|
|
ProtEntityMassiveEntity = 10;
|
|
ProtEntityMpLevel = 11;
|
|
ProtEntityPlayTeamEntity = 12;
|
|
ProtEntityEyePoint = 13;
|
|
ProtEntityMax = 14;
|
|
}
|