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.
20 lines
443 B
Protocol Buffer
20 lines
443 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "HeadImage.proto";
|
|
import "MpSettingType.proto";
|
|
|
|
message OnlinePlayerInfo {
|
|
uint32 uid = 1;
|
|
string nickname = 2;
|
|
uint32 playerLevel = 3;
|
|
MpSettingType mpSettingType = 5;
|
|
uint32 curPlayerNumInWorld = 6;
|
|
uint32 worldLevel = 7;
|
|
string onlineId = 8;
|
|
uint32 nameCardId = 9;
|
|
repeated uint32 blacklistUidList = 10;
|
|
string signature = 11;
|
|
HeadImage avatar = 12;
|
|
}
|