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.
21 lines
534 B
Protocol Buffer
21 lines
534 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "CoopCg.proto";
|
|
import "CoopChapterState.proto";
|
|
import "CoopPoint.proto";
|
|
import "CoopReward.proto";
|
|
|
|
message CoopChapter {
|
|
uint32 id = 1;
|
|
CoopChapterState state = 2;
|
|
repeated uint32 lockReasonList = 3;
|
|
repeated CoopPoint coopPointList = 4;
|
|
repeated CoopReward coopRewardList = 5;
|
|
repeated CoopCg coopCgList = 6;
|
|
uint32 totalEndCount = 7;
|
|
uint32 finishedEndCount = 8;
|
|
map<uint32, uint32> seenEndingMap = 9;
|
|
repeated uint32 finishDialogList = 10;
|
|
}
|