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.
16 lines
500 B
Protocol Buffer
16 lines
500 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Yuanshen.Protocol";
|
|
|
|
import "AbilityAppliedAbility.proto";
|
|
import "AbilityAppliedModifier.proto";
|
|
import "AbilityMixinRecoverInfo.proto";
|
|
import "AbilityScalarValueEntry.proto";
|
|
|
|
message AbilitySyncStateInfo {
|
|
bool isInited = 1;
|
|
repeated AbilityScalarValueEntry dynamicValueMap = 2;
|
|
repeated AbilityAppliedAbility appliedAbilities = 3;
|
|
repeated AbilityAppliedModifier appliedModifiers = 4;
|
|
repeated AbilityMixinRecoverInfo mixinRecoverInfos = 5;
|
|
}
|