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.
14 lines
312 B
Protocol Buffer
14 lines
312 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "GachaTransferItem.proto";
|
|
import "ItemParam.proto";
|
|
|
|
message GachaItem {
|
|
ItemParam gachaItem = 1;
|
|
repeated GachaTransferItem transferItems = 2;
|
|
bool isFlashCard = 3;
|
|
bool isGachaItemNew = 4;
|
|
repeated ItemParam tokenItemList = 5;
|
|
}
|