This commit is contained in:
Akbar Yahya
2022-11-21 16:30:31 +08:00
commit e0d4d8040c
3326 changed files with 683000 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
import "Vector.proto";
message AbilityActionBlink {
Vector pos = 1;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "Vector.proto";
message AbilityActionCreateGadget {
Vector pos = 1;
Vector rot = 2;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "Vector.proto";
message AbilityActionSetCrashDamage {
float damage = 1;
Vector hitPos = 2;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "Vector.proto";
message AbilityActionSummon {
Vector pos = 1;
Vector rot = 2;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityActionTriggerAbility {
uint32 otherId = 1;
}

View File

@@ -0,0 +1,11 @@
syntax = "proto3";
import "AbilityString.proto";
import "AbilityScalarValueEntry.proto";
message AbilityAppliedAbility {
AbilityString abilityName = 1;
AbilityString abilityOverride = 2;
repeated AbilityScalarValueEntry overrideMap = 3;
uint32 instancedAbilityId = 4;
}

View File

@@ -0,0 +1,16 @@
syntax = "proto3";
import "AbilityString.proto";
import "AbilityAttachedModifier.proto";
message AbilityAppliedModifier {
int32 modifierLocalId = 1;
uint32 parentAbilityEntityId = 2;
AbilityString parentAbilityName = 3;
AbilityString parentAbilityOverride = 4;
uint32 instancedAbilityId = 5;
uint32 instancedModifierId = 6;
float existDuration = 7;
AbilityAttachedModifier attachedInstancedModifier = 8;
uint32 applyEntityId = 9;
}

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
message AbilityArgument {
oneof Arg {
uint32 intArg = 1;
float floatArg = 2;
string strArg = 3;
}
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
message AbilityAttachedModifier {
bool isInvalid = 1;
uint32 ownerEntityId = 2;
uint32 instancedModifierId = 3;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "Vector.proto";
message AbilityBornType {
Vector pos = 1;
Vector rot = 2;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityFloatValue {
float value = 1;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
message AbilityGadgetInfo {
uint32 campId = 1;
uint32 campTargetType = 2;
uint32 targetEntityId = 3;
}

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
message AbilityIdentifier {
uint32 instancedAbilityId = 1;
uint32 abilityCasterId = 2;
int32 localId = 3;
uint32 instancedModifierId = 4;
uint32 modifierOwnerId = 5;
}

View File

@@ -0,0 +1,16 @@
syntax = "proto3";
import "AbilityInvokeEntry.proto";
message AbilityInvocationFailNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1105;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 entityId = 1;
AbilityInvokeEntry invoke = 2;
string reason = 3;
}

View File

@@ -0,0 +1,25 @@
syntax = "proto3";
import "ForwardType.proto";
import "AbilityInvokeEntry.proto";
message AbilityInvocationFixedNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1101;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
ForwardType forwardType = 1;
uint32 forwardPeer = 2;
repeated uint32 forwardPeers = 3;
uint32 entityId = 4;
AbilityInvokeEntry invoke1st = 5;
AbilityInvokeEntry invoke2nd = 6;
AbilityInvokeEntry invoke3rd = 7;
AbilityInvokeEntry invoke4th = 8;
AbilityInvokeEntry invoke5th = 9;
AbilityInvokeEntry invoke6th = 10;
}

View File

@@ -0,0 +1,20 @@
syntax = "proto3";
import "ForwardType.proto";
import "AbilityInvokeEntry.proto";
message AbilityInvocationsNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1102;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
ForwardType forwardType = 1;
uint32 forwardPeer = 2;
repeated uint32 forwardPeers = 3;
uint32 entityId = 4;
repeated AbilityInvokeEntry invokes = 5;
}

View File

@@ -0,0 +1,32 @@
syntax = "proto3";
enum AbilityInvokeArgument {
ABILITY_NONE = 0;
ABILITY_META_MODIFIER_CHANGE = 1;
ABILITY_META_COMMAND_MODIFIER_CHANGE_REQUEST = 2;
ABILITY_META_SPECIAL_FLOAT_ARGUMENT = 3;
ABILITY_META_OVERRIDE_PARAM = 4;
ABILITY_META_CLEAR_OVERRIDE_PARAM = 5;
ABILITY_META_REINIT_OVERRIDEMAP = 6;
ABILITY_META_GLOBAL_FLOAT_VALUE = 7;
ABILITY_META_CLEAR_GLOBAL_FLOAT_VALUE = 8;
ABILITY_META_ABILITY_ELEMENT_STRENGTH = 9;
ABILITY_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10;
ABILITY_META_SET_KILLED_SETATE = 11;
ABILITY_META_SET_ABILITY_TRIGGER = 12;
ABILITY_META_ADD_NEW_ABILITY = 13;
ABILITY_META_REMOVE_ABILITY = 14;
ABILITY_META_SET_MODIFIER_APPLY_ENTITY = 15;
ABILITY_ACTION_TRIGGER_ABILITY = 16;
ABILITY_ACTION_SET_CRASH_DAMAGE = 17;
ABILITY_ACTION_EFFECT = 18;
ABILITY_ACTION_SUMMON = 19;
ABILITY_ACTION_BLINK = 20;
ABILITY_ACTION_CREATE_GADGET = 21;
ABILITY_MIXIN_AVATAR_STEER_BY_CAMERA = 22;
ABILITY_MIXIN_MONSTER_DEFEND = 24;
ABILITY_MIXIN_WIND_ZONE = 25;
ABILITY_MIXIN_COST_STAMINA = 26;
ABILITY_MIXIN_ELITE_SHIELD = 27;
ABILITY_MIXIN_ELEMENT_SHIELD = 28;
}

View File

@@ -0,0 +1,10 @@
syntax = "proto3";
import "AbilityInvokeEntryHead.proto";
import "AbilityInvokeArgument.proto";
message AbilityInvokeEntry {
AbilityInvokeEntryHead head = 1;
AbilityInvokeArgument argumentType = 2;
bytes abilityData = 3;
}

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
message AbilityInvokeEntryHead {
uint32 instancedAbilityId = 1;
uint32 instancedModifierId = 2;
int32 localId = 3;
int32 modifierConfigLocalId = 4;
uint32 targetId = 5;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
import "AbilityAppliedAbility.proto";
message AbilityMetaAddAbility {
AbilityAppliedAbility ability = 1;
}

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
import "AbilityString.proto";
message AbilityMetaAddOrGetAbilityAndTrigger {
AbilityString abilityName = 1;
AbilityString abilityOverride = 2;
float triggerArgument = 3;
}

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
import "ModifierAction.proto";
import "AbilityString.proto";
import "AbilityAttachedModifier.proto";
import "ModifierProperty.proto";
message AbilityMetaModifierChange {
ModifierAction action = 1;
AbilityString parentAbilityName = 2;
AbilityString parentAbilityOverride = 3;
AbilityAttachedModifier attachedInstancedModifier = 4;
repeated ModifierProperty properties = 5;
int32 modifierLocalId = 6;
bool isMuteRemote = 7;
uint32 applyEntityId = 8;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
import "AbilityScalarValueEntry.proto";
message AbilityMetaReInitOverrideMap {
repeated AbilityScalarValueEntry overrideMap = 1;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityMetaSetAbilityTrigger {
uint32 triggerAbilityEntityId = 1;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityMetaSetKilledState {
bool killed = 1;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityMetaSetModifierApplyEntityId {
uint32 applyEntityId = 1;
}

View File

@@ -0,0 +1,6 @@
syntax = "proto3";
message AbilityMetaSpecialFloatArgument {
float argumentValue = 1;
bool isOn = 2;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "Vector.proto";
message AbilityMixinAvatarSteerByCamera {
Vector targetPos = 1;
Vector targetDir = 2;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityMixinCostStamina {
bool isSwim = 1;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
message AbilityMixinElementShield {
float subShield = 1;
bool isShieldBroken = 2;
float shield = 3;
float maxShield = 4;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityMixinEliteShield {
float subShield = 1;
}

View File

@@ -0,0 +1,4 @@
syntax = "proto3";
message AbilityMixinEmpty {
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AbilityMixinWindZone {
repeated uint32 entityIds = 1;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "AbilityResetReasonType.proto";
message AbilityResetReason {
AbilityResetReasonType reasonType = 1;
uint32 param = 2;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
enum AbilityResetReasonType {
ABILITY_CHANGE_SKILL_DEPOT = 0;
ABILITY_UNLOCK_TALENT = 1;
ABILITY_CHANGE_EQUIP = 2;
}

View File

@@ -0,0 +1,11 @@
syntax = "proto3";
enum AbilityScalarType {
UNKNOW = 0;
FLOAT = 1;
INT = 2;
BOOL = 3;
TRIGGER = 4;
STRING = 5;
UINT = 6;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
import "AbilityString.proto";
import "AbilityScalarType.proto";
message AbilityScalarValueEntry {
oneof Value {
float floatValue = 3;
string stringValue = 4;
int32 intValue = 5;
uint32 uintValue = 6;
}
AbilityString key = 1;
AbilityScalarType valueType = 2;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
message AbilityString {
oneof Type {
string str = 1;
uint32 hash = 2;
}
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
import "AbilityScalarValueEntry.proto";
import "AbilityAppliedAbility.proto";
import "AbilityAppliedModifier.proto";
message AbilitySyncStateInfo {
bool isInited = 1;
repeated AbilityScalarValueEntry dynamicValueMap = 2;
repeated AbilityAppliedAbility appliedAbilities = 3;
repeated AbilityAppliedModifier appliedModifiers = 4;
}

View File

@@ -0,0 +1,23 @@
syntax = "proto3";
enum AccountType {
ACCOUNT_NONE = 0;
ACCOUNT_MIHOYO = 1;
ACCOUNT_BILIBILI = 2;
ACCOUNT_UC = 3;
ACCOUNT360 = 4;
ACCOUNT_YYB = 5;
ACCOUNT_XIAOMI = 6;
ACCOUNT_HUAWEI = 7;
ACCOUNT_OPPO = 8;
ACCOUNT_VIVO = 9;
ACCOUNT_MEIZU = 10;
ACCOUNT_COOLPAD = 11;
ACCOUNT_LENOVO = 12;
ACCOUNT_GIONEE = 13;
ACCOUNT_BAIDU = 14;
ACCOUNT_WANDOUJIA = 15;
ACCOUNT_LESHI = 16;
ACCOUNT_GOOGLE = 17;
ACCOUNT_FACEBOOK = 18;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
message AddQuestContentProgressReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 406;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 contentType = 1;
uint32 param = 2;
uint32 addProgress = 3;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AddQuestContentProgressRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 407;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint32 contentType = 2;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AddSeenMonsterNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 279;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
repeated uint32 monsterIdList = 1;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AiSkillCdInfo {
map<uint32, uint32> skillCdMap = 1;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AllSeenMonsterNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 280;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
repeated uint32 monsterIdList = 1;
}

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
import "ForwardType.proto";
message AnimatorForceSetAirMoveNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 335;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
ForwardType forwardType = 1;
uint32 entityId = 2;
bool inAirMove = 3;
}

View File

@@ -0,0 +1,10 @@
syntax = "proto3";
message AnimatorParameterValueInfo {
oneof ParaVal {
int32 intVal = 2;
float floatVal = 3;
bool boolVal = 4;
}
uint32 paraType = 1;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
enum AreaType {
AREA_CN = 0;
AREA_JP = 1;
AREA_KR = 2;
}

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
message AttackHitEffectResult {
uint32 hitEffLevel = 1;
float retreatStrength = 2;
float airStrength = 3;
float hitHaltTime = 4;
float hitHaltTimeScale = 5;
}

View File

@@ -0,0 +1,33 @@
syntax = "proto3";
import "AbilityIdentifier.proto";
import "HitCollision.proto";
import "Vector.proto";
import "AttackHitEffectResult.proto";
message AttackResult {
uint32 attackerId = 1;
uint32 defenseId = 2;
string animEventId = 3;
AbilityIdentifier abilityIdentifier = 4;
string attackTag = 5;
float damage = 6;
bool isCrit = 7;
HitCollision hitCollision = 8;
uint32 hitPosType = 9;
uint32 endureBreak = 10;
Vector resolvedDir = 11;
int32 hitRetreatAngleCompat = 12;
AttackHitEffectResult hitEffResult = 13;
uint32 elementType = 14;
float damagePercentage = 15;
float damageExtra = 16;
float bonusCritical = 17;
float bonusCriticalHurt = 18;
bool useGadgetDamageAction = 19;
uint32 gadgetDamageActionIdx = 20;
uint32 strikeType = 21;
bool isResistText = 22;
float criticalRand = 23;
float elementAmplifyRate = 24;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
enum AuthkeySignType {
AUTHKEY_SIGN_NONE = 0;
AUTHKEY_SIGN_DEFAULT = 1;
AUTHKEY_SIGN_RSA = 2;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
import "AbilityResetReason.proto";
message AvatarAbilityResetNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1106;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 entityId = 1;
AbilityResetReason resetReason = 2;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
import "AvatarInfo.proto";
message AvatarAddNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 112;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
AvatarInfo avatar = 1;
bool isInTeam = 2;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
message AvatarCardChangeReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 627;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint64 avatarGuid = 1;
uint32 itemId = 2;
uint32 count = 3;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
message AvatarCardChangeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 628;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message AvatarChangeElementTypeReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 142;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 sceneId = 1;
uint32 areaId = 2;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
message AvatarChangeElementTypeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 143;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
}

View File

@@ -0,0 +1,18 @@
syntax = "proto3";
import "AvatarInfo.proto";
import "AvatarTeam.proto";
message AvatarDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 134;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
repeated AvatarInfo avatarList = 1;
map<uint32, AvatarTeam> avatarTeamMap = 2;
uint32 curAvatarTeamId = 3;
uint64 chooseAvatarGuid = 4;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
message AvatarDelNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 113;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
repeated uint64 avatarGuidList = 1;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message AvatarDieAnimationEndReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 137;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint64 dieGuid = 1;
uint32 skillId = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message AvatarDieAnimationEndRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 138;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint64 dieGuid = 2;
uint32 skillId = 3;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message AvatarEnterElementViewNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 332;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 avatarEntityId = 1;
bool isTriggerd = 2;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
import "AbilitySyncStateInfo.proto";
message AvatarEnterSceneInfo {
uint64 avatarGuid = 1;
uint32 avatarEntityId = 2;
AbilitySyncStateInfo avatarAbilityInfo = 3;
repeated uint32 buffIdList = 4;
uint64 weaponGuid = 5;
uint32 weaponEntityId = 6;
AbilitySyncStateInfo weaponAbilityInfo = 7;
}

View File

@@ -0,0 +1,21 @@
syntax = "proto3";
import "SceneWeaponInfo.proto";
import "SceneReliquaryInfo.proto";
message AvatarEquipChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 618;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint64 avatarGuid = 1;
uint32 equipType = 2;
uint32 itemId = 3;
uint64 equipGuid = 4;
SceneWeaponInfo weapon = 5;
SceneReliquaryInfo reliquary = 6;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AvatarFightPropNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1205;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
map<uint32, float> fightPropMap = 2;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AvatarFightPropUpdateNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1206;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
map<uint32, float> fightPropMap = 2;
}

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
import "PropValue.proto";
import "TrialAvatarInfo.proto";
import "AvatarSkillInfo.proto";
message AvatarInfo {
uint32 avatarId = 1;
uint64 guid = 2;
map<uint32, PropValue> propMap = 3;
uint32 lifeState = 4;
repeated uint64 equipGuidList = 5;
repeated uint32 talentIdList = 6;
map<uint32, float> fightPropMap = 7;
bool isTrialAvatar = 8;
TrialAvatarInfo trialAvatarInfo = 9;
map<uint32, AvatarSkillInfo> skillMap = 10;
uint32 skillDepotId = 11;
}

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
import "PlayerDieType.proto";
message AvatarLifeStateChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1208;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
uint32 lifeState = 2;
uint32 sourceEntityId = 3;
string attackTag = 4;
PlayerDieType dieType = 5;
uint32 moveReliableSeq = 6;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AvatarPromoteReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 121;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint64 guid = 1;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AvatarPromoteRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 122;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint64 guid = 2;
}

View File

@@ -0,0 +1,18 @@
syntax = "proto3";
import "PropChangeReason.proto";
message AvatarPropChangeReasonNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1209;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
uint32 propType = 2;
float oldValue = 3;
float curValue = 4;
PropChangeReason reason = 5;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message AvatarPropNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1211;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
map<uint32, int64> propMap = 2;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
message AvatarSkillDepotChangeNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1004;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
uint32 entityId = 2;
uint32 skillDepotId = 3;
repeated uint32 talentIdList = 4;
}

View File

@@ -0,0 +1,7 @@
syntax = "proto3";
message AvatarSkillInfo {
uint32 passCdTime = 1;
repeated uint32 fullCdTimeList = 2;
uint32 maxChargeCount = 3;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
import "AvatarSkillInfo.proto";
message AvatarSkillInfoNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1008;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 guid = 1;
map<uint32, AvatarSkillInfo> skillMap = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message AvatarSkillMaxChargeCountNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1007;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
uint32 skillId = 2;
uint32 maxChargeCount = 3;
}

View File

@@ -0,0 +1,5 @@
syntax = "proto3";
message AvatarTeam {
repeated uint64 avatarGuidList = 1;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
import "AvatarTeam.proto";
message AvatarTeamUpdateNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 130;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
map<uint32, AvatarTeam> avatarTeamMap = 1;
map<uint64, uint32> avatarEntityIdMap = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message AvatarUnlockTalentNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1003;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint64 avatarGuid = 1;
uint32 entityId = 2;
uint32 talentId = 3;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
message AvatarUpgradeReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 135;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 itemId = 1;
uint32 count = 2;
uint64 avatarGuid = 3;
}

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
message AvatarUpgradeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 136;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint64 avatarGuid = 2;
uint32 oldLevel = 3;
uint32 curLevel = 4;
map<uint32, float> oldFightPropMap = 5;
map<uint32, float> curFightPropMap = 6;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
message BackMyWorldReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 275;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
message BackMyWorldRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 276;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
}

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
import "Vector.proto";
message BeginCameraSceneLookNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 247;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
Vector lookPos = 1;
float duration = 2;
bool isForce = 3;
bool isRecoverKeepCurrent = 4;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message BigTalentPointConvertReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1005;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint64 avatarGuid = 1;
repeated uint64 itemGuidList = 2;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message BigTalentPointConvertRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1006;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint64 avatarGuid = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message BuffAddNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 327;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 entityId = 1;
uint32 buffId = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message BuffDelNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 328;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 entityId = 1;
uint32 buffId = 2;
}

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
import "ShopGoods.proto";
message BuyGoodsReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 703;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 shopType = 1;
ShopGoods goods = 2;
uint32 buyCount = 3;
}

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
import "ShopGoods.proto";
message BuyGoodsRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 704;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint32 shopType = 2;
ShopGoods goods = 3;
uint32 buyCount = 4;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
import "SceneSurfaceMaterial.proto";
message CellInfo {
SceneSurfaceMaterial type = 1;
int32 Y = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message ChallengeDataNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 920;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 challengeIndex = 1;
uint32 paramIndex = 2;
uint32 value = 3;
}

View File

@@ -0,0 +1,23 @@
syntax = "proto3";
enum ChangHpReason {
CHANGE_HP_NONE = 0;
CHANGE_HP_SUB_AVATAR = 1;
CHANGE_HP_SUB_MONSTER = 2;
CHANGE_HP_SUB_GEAR = 3;
CHANGE_HP_SUB_ENVIR = 4;
CHANGE_HP_SUB_FALL = 5;
CHANGE_HP_SUB_DRAWN = 6;
CHANGE_HP_SUB_ABYSS = 7;
CHANGE_HP_SUB_ABILITY = 8;
CHANGE_HP_SUB_SUMMON = 9;
CHANGE_HP_SUB_SCRIPT = 10;
CHANGE_HP_SUB_GM = 11;
CHANGE_HP_ADD_ABILITY = 101;
CHANGE_HP_ADD_ITEM = 102;
CHANGE_HP_ADD_REVIVE = 103;
CHANGE_HP_ADD_UPGRADE = 104;
CHANGE_HP_ADD_STATUE = 105;
CHANGE_HP_ADD_BACKGROUND = 106;
CHANGE_HP_ADD_GM = 107;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message ChangeAvatarReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 118;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint64 guid = 1;
uint32 skillId = 2;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message ChangeAvatarRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 119;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint64 curGuid = 2;
uint32 skillId = 3;
}

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
message ChangeGameTimeReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 109;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 gameTime = 1;
bool isForceSet = 2;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
message ChangeGameTimeRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 110;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint32 curGameTime = 2;
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
enum ChapterState {
CHAPTER_INVALID = 0;
CHAPTER_UNABLE_TO_BEGIN = 1;
CHAPTER_BEGIN = 2;
CHAPTER_END = 3;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
import "ChapterState.proto";
message ChapterStateNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 416;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 chapterId = 1;
ChapterState chapterState = 2;
}

View File

@@ -0,0 +1,6 @@
syntax = "proto3";
message ChildQuest {
uint32 questId = 1;
uint32 state = 2;
}

Some files were not shown because too many files have changed in this diff Show More