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.
17 lines
412 B
Protocol Buffer
17 lines
412 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "ShopCardProduct.proto";
|
|
import "ShopGoods.proto";
|
|
import "ShopMcoinProduct.proto";
|
|
|
|
message Shop {
|
|
uint32 shopType = 1;
|
|
repeated ShopGoods goodsList = 2;
|
|
repeated ShopMcoinProduct mcoinProductList = 3;
|
|
repeated ShopCardProduct cardProductList = 4;
|
|
uint32 nextRefreshTime = 6;
|
|
uint32 cityId = 7;
|
|
uint32 cityReputationLevel = 8;
|
|
}
|