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.
13 lines
259 B
Protocol Buffer
13 lines
259 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
message ShopMcoinProduct {
|
|
string productId = 1;
|
|
string priceTier = 2;
|
|
uint32 mcoinBase = 3;
|
|
uint32 mcoinNonFirst = 4;
|
|
uint32 mcoinFirst = 5;
|
|
uint32 boughtNum = 6;
|
|
bool isAudit = 7;
|
|
}
|