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.
19 lines
412 B
Protocol Buffer
19 lines
412 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
message GetPlayerTokenRsp {
|
|
uint32 playerUid = 3;
|
|
string accountToken = 4;
|
|
int32 accountType = 6;
|
|
bool isProficientPlayer = 8;
|
|
uint32 gmUid = 10;
|
|
uint64 secretKey = 11;
|
|
bytes secretKeyBuffer = 12;
|
|
uint64 platformType = 13;
|
|
uint32 channelId = 16;
|
|
string countryCode = 19;
|
|
string unk1 = 22;
|
|
uint32 unk3 = 23;
|
|
string clientIp = 24;
|
|
}
|