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
304 B
Protocol Buffer
18 lines
304 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "SystemHint.proto";
|
|
|
|
message ChatInfo {
|
|
uint32 time = 1;
|
|
uint32 uid = 2;
|
|
uint32 sequence = 3;
|
|
uint32 toUid = 4;
|
|
bool isRead = 5;
|
|
oneof content {
|
|
string text = 100;
|
|
uint32 icon = 101;
|
|
SystemHint systemHint = 102;
|
|
}
|
|
}
|