mirror of
https://github.com/yoncodes/BD2PS.git
synced 2026-08-04 22:02:15 +02:00
pushing
This commit is contained in:
573
protocol/include/nld_mid.rs
Normal file
573
protocol/include/nld_mid.rs
Normal file
@@ -0,0 +1,573 @@
|
||||
// This file is @generated by prost-build.
|
||||
/// From: message_id.proto
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all = "PascalCase")]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
||||
#[repr(i32)]
|
||||
pub enum Msgid {
|
||||
None = 0,
|
||||
CltGtHandshake = 1,
|
||||
GtCltHandshake = 2,
|
||||
CltGtHeartbeat = 3,
|
||||
GtCltHeartbeat = 4,
|
||||
GtCltDisconnect = 5,
|
||||
CltLLogin = 6,
|
||||
LCltLoginResult = 7,
|
||||
GCltLoginResult = 9,
|
||||
GCltOpResult = 10,
|
||||
GCltActorBase = 11,
|
||||
GCltActorItem = 12,
|
||||
GCltActorCharacter = 13,
|
||||
CltGCharacterUpgrade = 14,
|
||||
GCltActorLogic = 15,
|
||||
GCltActorTask = 16,
|
||||
CltGSetNickname = 17,
|
||||
GCltActorLevel = 18,
|
||||
CltGEnterLevel = 19,
|
||||
CltGExitLevel = 20,
|
||||
GCltActorRaffle = 21,
|
||||
CltGRaffle = 22,
|
||||
GCltItemList = 23,
|
||||
CltGGroupReward = 24,
|
||||
CltGVehicleUpgrade = 25,
|
||||
GCltActorTeam = 26,
|
||||
CltGCreateTeam = 27,
|
||||
CltGUseItem = 28,
|
||||
CltGTestInit = 29,
|
||||
CltGGiftCode = 30,
|
||||
MlCltMailInfo = 31,
|
||||
CltMlMailRequest = 32,
|
||||
MlCltMailData = 33,
|
||||
CltMlOpenMail = 34,
|
||||
MlCltNewGlobalMail = 35,
|
||||
GCltLoginKey = 36,
|
||||
CltGRelogin = 37,
|
||||
CltMlClaimMailItems = 38,
|
||||
CltMlDeleteMail = 39,
|
||||
CltGTaskClaim = 40,
|
||||
CltGGetShopContent = 41,
|
||||
GCltShopDatas = 42,
|
||||
CltGShopPurchase = 43,
|
||||
GCltActorPlayerSkill = 44,
|
||||
CltGPlayerSkillUpgrade = 45,
|
||||
CltGSetDefenceTeamForPvp = 46,
|
||||
CltGPvpInformation = 47,
|
||||
GCltPvpInformation = 48,
|
||||
CltGPvpStart = 49,
|
||||
CltGPvpResult = 50,
|
||||
GCltActorPvp = 51,
|
||||
CltGPvpRecords = 52,
|
||||
CltMgPvpOrderList = 53,
|
||||
MgCltPvpOrderListData = 54,
|
||||
CltGPatioExchange = 55,
|
||||
CltGInAppPurchase = 56,
|
||||
GCltActorPurchase = 57,
|
||||
CltGExchangeItem = 58,
|
||||
CltGNewGuideProgress = 59,
|
||||
CltGSetHeadicon = 60,
|
||||
CltGBuyAlbum = 61,
|
||||
CltGAdultAuth = 62,
|
||||
CltGLevelSweep = 63,
|
||||
GCltHorseLight = 64,
|
||||
CltGSetActorBase = 65,
|
||||
CltGStringCheck = 66,
|
||||
CltGInAppPurchaseTest = 67,
|
||||
CltGVehicleDevelopment = 68,
|
||||
CltGVehicleBuyPaint = 69,
|
||||
CltGVehicleSetPaint = 70,
|
||||
LCltNldToken = 71,
|
||||
CltLgLegionList = 72,
|
||||
LgCltLegionListData = 73,
|
||||
CltLgCreateLegion = 74,
|
||||
CltLgUpdateLegion = 75,
|
||||
CltLgJoinLegion = 76,
|
||||
CltLgExamineJoinLegion = 77,
|
||||
CltLgQuitLegion = 78,
|
||||
CltLgUpdateMember = 79,
|
||||
CltLgDismissMember = 80,
|
||||
CltLgGetMyLegionInfo = 81,
|
||||
LgCltLegionBase = 82,
|
||||
LgCltLegionMember = 83,
|
||||
LgCltLegionLog = 84,
|
||||
LgCltLegionApply = 85,
|
||||
CltLgLegionPart = 86,
|
||||
CltGCheckCharacter = 87,
|
||||
GCltActorLegion = 88,
|
||||
CltLgLegionBattleSignUp = 89,
|
||||
GCltPvpRecords = 90,
|
||||
CltGBattlePassReward = 91,
|
||||
CltBEnterLegionBattlefield = 92,
|
||||
CltGBuyBattlePassLevel = 93,
|
||||
BCltLegionBattlefieldInfo = 94,
|
||||
BCltLegionBattlefield = 95,
|
||||
LgCltJoinedLegion = 96,
|
||||
LgCltLoseLegion = 97,
|
||||
CltBEnterLegionBattlefieldOk = 99,
|
||||
CltBLegionBattleCommand = 100,
|
||||
BCltLegionBattlefieldBuilding = 101,
|
||||
BCltLegionBattlefieldActor = 102,
|
||||
BCltLegionBattlefieldActorUpdate = 103,
|
||||
BCltLegionBattlefieldActorCommand = 104,
|
||||
BCltLegionBattlefieldCombatStart = 105,
|
||||
BCltLegionBattlefieldCombatEnd = 106,
|
||||
CltBLegionBattleCaptainOrder = 107,
|
||||
BCltLegionBattleCaptainOrder = 108,
|
||||
BCltLegionBattlefieldBuildingUpdate = 109,
|
||||
CltBLegionBattleLog = 110,
|
||||
BCltLegionBattleLog = 111,
|
||||
CltLgLegionPostHiring = 112,
|
||||
CltLgMercenarySignUp = 113,
|
||||
CltLgLegionMercenaryApply = 114,
|
||||
CltLgLegionMercenaryApprove = 115,
|
||||
CltLgLegionMercenaryHire = 116,
|
||||
CltLgLegionMercenaryHireDatas = 117,
|
||||
LgCltLegionMercenaryHireDatas = 118,
|
||||
CltLgLegionMercenarySignUpDatas = 119,
|
||||
LgCltLegionMercenarySignUpDatas = 120,
|
||||
BCltLegionBattleStatus = 121,
|
||||
CltBExitLegionBattlefield = 122,
|
||||
CltBGetLegionBattleTeams = 123,
|
||||
BCltGetLegionBattleTeams = 124,
|
||||
CltLgLegionMercenarySearch = 125,
|
||||
LgCltLegionMercenarySearch = 126,
|
||||
LgCltLegionMercenaryActor = 127,
|
||||
CltGRefreshShop = 128,
|
||||
BCltLegionBattleEnd = 129,
|
||||
CltGClaimMonthlyPassReward = 130,
|
||||
CltLgLegionMercenaryDatas = 131,
|
||||
LgCltLegionMercenaryDatas = 132,
|
||||
BCltLegionBattlefieldHexes = 133,
|
||||
BCltLegionCombatRecords = 134,
|
||||
CltGSign = 135,
|
||||
CltBSetLegionBattleTeamLock = 137,
|
||||
CltBSelectLegionBattleTeam = 138,
|
||||
BCltLegionBattlefieldBuildingScore = 139,
|
||||
CltGSetAvatar = 140,
|
||||
CltGPhxhGiftCode = 141,
|
||||
CltGActivityRequest = 142,
|
||||
CltGGetShopList = 143,
|
||||
GCltGetShopList = 144,
|
||||
CltGUseItems = 145,
|
||||
CltGSetLockStatus = 146,
|
||||
GCltActorActivity = 147,
|
||||
GCltLoginReady = 148,
|
||||
CltGLogin = 149,
|
||||
GCltShopRedDot = 150,
|
||||
CltGPostFightData = 151,
|
||||
GCltActorMusicBox = 152,
|
||||
CltGActorMusicBoxCollect = 153,
|
||||
CltGPostTask = 154,
|
||||
GCltDayChange = 155,
|
||||
CltGBindFacebook = 156,
|
||||
CltGBindMail = 157,
|
||||
CltGCharacterCollectReward = 158,
|
||||
CltGEnterTrainingLevel = 159,
|
||||
CltGExitTrainingLevel = 160,
|
||||
CltGLegionPveStart = 161,
|
||||
CltGLegionPveEnd = 162,
|
||||
CltGLegionPveUseResurrectionItem = 163,
|
||||
GCltActorDispatch = 164,
|
||||
CltGDispatchStart = 165,
|
||||
CltGDispatchCancel = 166,
|
||||
CltGDispatchClaim = 167,
|
||||
CltGCreateTrainingTeam = 168,
|
||||
CltGDisassembleItem = 169,
|
||||
CltGLegionPveBattleData = 170,
|
||||
GCltActorLegionPve = 171,
|
||||
CltGCreateDispatchTeam = 172,
|
||||
Max = 173,
|
||||
}
|
||||
impl Msgid {
|
||||
/// String value of the enum field names used in the ProtoBuf definition.
|
||||
///
|
||||
/// The values are not transformed in any way and thus are considered stable
|
||||
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
|
||||
pub fn as_str_name(&self) -> &'static str {
|
||||
match self {
|
||||
Self::None => "None",
|
||||
Self::CltGtHandshake => "Clt_Gt_Handshake",
|
||||
Self::GtCltHandshake => "Gt_Clt_Handshake",
|
||||
Self::CltGtHeartbeat => "Clt_Gt_Heartbeat",
|
||||
Self::GtCltHeartbeat => "Gt_Clt_Heartbeat",
|
||||
Self::GtCltDisconnect => "Gt_Clt_Disconnect",
|
||||
Self::CltLLogin => "Clt_L_Login",
|
||||
Self::LCltLoginResult => "L_Clt_LoginResult",
|
||||
Self::GCltLoginResult => "G_Clt_LoginResult",
|
||||
Self::GCltOpResult => "G_Clt_OpResult",
|
||||
Self::GCltActorBase => "G_Clt_ActorBase",
|
||||
Self::GCltActorItem => "G_Clt_ActorItem",
|
||||
Self::GCltActorCharacter => "G_Clt_ActorCharacter",
|
||||
Self::CltGCharacterUpgrade => "Clt_G_CharacterUpgrade",
|
||||
Self::GCltActorLogic => "G_Clt_ActorLogic",
|
||||
Self::GCltActorTask => "G_Clt_ActorTask",
|
||||
Self::CltGSetNickname => "Clt_G_SetNickname",
|
||||
Self::GCltActorLevel => "G_Clt_ActorLevel",
|
||||
Self::CltGEnterLevel => "Clt_G_EnterLevel",
|
||||
Self::CltGExitLevel => "Clt_G_ExitLevel",
|
||||
Self::GCltActorRaffle => "G_Clt_ActorRaffle",
|
||||
Self::CltGRaffle => "Clt_G_Raffle",
|
||||
Self::GCltItemList => "G_Clt_ItemList",
|
||||
Self::CltGGroupReward => "Clt_G_GroupReward",
|
||||
Self::CltGVehicleUpgrade => "Clt_G_VehicleUpgrade",
|
||||
Self::GCltActorTeam => "G_Clt_ActorTeam",
|
||||
Self::CltGCreateTeam => "Clt_G_CreateTeam",
|
||||
Self::CltGUseItem => "Clt_G_UseItem",
|
||||
Self::CltGTestInit => "Clt_G_TestInit",
|
||||
Self::CltGGiftCode => "Clt_G_GiftCode",
|
||||
Self::MlCltMailInfo => "Ml_Clt_MailInfo",
|
||||
Self::CltMlMailRequest => "Clt_Ml_MailRequest",
|
||||
Self::MlCltMailData => "Ml_Clt_MailData",
|
||||
Self::CltMlOpenMail => "Clt_Ml_OpenMail",
|
||||
Self::MlCltNewGlobalMail => "Ml_Clt_NewGlobalMail",
|
||||
Self::GCltLoginKey => "G_Clt_LoginKey",
|
||||
Self::CltGRelogin => "Clt_G_Relogin",
|
||||
Self::CltMlClaimMailItems => "Clt_Ml_ClaimMailItems",
|
||||
Self::CltMlDeleteMail => "Clt_Ml_DeleteMail",
|
||||
Self::CltGTaskClaim => "Clt_G_TaskClaim",
|
||||
Self::CltGGetShopContent => "Clt_G_GetShopContent",
|
||||
Self::GCltShopDatas => "G_Clt_ShopDatas",
|
||||
Self::CltGShopPurchase => "Clt_G_ShopPurchase",
|
||||
Self::GCltActorPlayerSkill => "G_Clt_ActorPlayerSkill",
|
||||
Self::CltGPlayerSkillUpgrade => "Clt_G_PlayerSkillUpgrade",
|
||||
Self::CltGSetDefenceTeamForPvp => "Clt_G_SetDefenceTeamForPvp",
|
||||
Self::CltGPvpInformation => "Clt_G_PvpInformation",
|
||||
Self::GCltPvpInformation => "G_Clt_PvpInformation",
|
||||
Self::CltGPvpStart => "Clt_G_PvpStart",
|
||||
Self::CltGPvpResult => "Clt_G_PvpResult",
|
||||
Self::GCltActorPvp => "G_Clt_ActorPvp",
|
||||
Self::CltGPvpRecords => "Clt_G_PvpRecords",
|
||||
Self::CltMgPvpOrderList => "Clt_Mg_PvpOrderList",
|
||||
Self::MgCltPvpOrderListData => "Mg_Clt_PvpOrderListData",
|
||||
Self::CltGPatioExchange => "Clt_G_PatioExchange",
|
||||
Self::CltGInAppPurchase => "Clt_G_InAppPurchase",
|
||||
Self::GCltActorPurchase => "G_Clt_ActorPurchase",
|
||||
Self::CltGExchangeItem => "Clt_G_ExchangeItem",
|
||||
Self::CltGNewGuideProgress => "Clt_G_NewGuideProgress",
|
||||
Self::CltGSetHeadicon => "Clt_G_SetHeadicon",
|
||||
Self::CltGBuyAlbum => "Clt_G_BuyAlbum",
|
||||
Self::CltGAdultAuth => "Clt_G_AdultAuth",
|
||||
Self::CltGLevelSweep => "Clt_G_LevelSweep",
|
||||
Self::GCltHorseLight => "G_Clt_HorseLight",
|
||||
Self::CltGSetActorBase => "Clt_G_SetActorBase",
|
||||
Self::CltGStringCheck => "Clt_G_StringCheck",
|
||||
Self::CltGInAppPurchaseTest => "Clt_G_InAppPurchaseTest",
|
||||
Self::CltGVehicleDevelopment => "Clt_G_VehicleDevelopment",
|
||||
Self::CltGVehicleBuyPaint => "Clt_G_VehicleBuyPaint",
|
||||
Self::CltGVehicleSetPaint => "Clt_G_VehicleSetPaint",
|
||||
Self::LCltNldToken => "L_Clt_NldToken",
|
||||
Self::CltLgLegionList => "Clt_Lg_LegionList",
|
||||
Self::LgCltLegionListData => "Lg_Clt_LegionListData",
|
||||
Self::CltLgCreateLegion => "Clt_Lg_CreateLegion",
|
||||
Self::CltLgUpdateLegion => "Clt_Lg_UpdateLegion",
|
||||
Self::CltLgJoinLegion => "Clt_Lg_JoinLegion",
|
||||
Self::CltLgExamineJoinLegion => "Clt_Lg_ExamineJoinLegion",
|
||||
Self::CltLgQuitLegion => "Clt_Lg_QuitLegion",
|
||||
Self::CltLgUpdateMember => "Clt_Lg_UpdateMember",
|
||||
Self::CltLgDismissMember => "Clt_Lg_DismissMember",
|
||||
Self::CltLgGetMyLegionInfo => "Clt_Lg_GetMyLegionInfo",
|
||||
Self::LgCltLegionBase => "Lg_Clt_LegionBase",
|
||||
Self::LgCltLegionMember => "Lg_Clt_LegionMember",
|
||||
Self::LgCltLegionLog => "Lg_Clt_LegionLog",
|
||||
Self::LgCltLegionApply => "Lg_Clt_LegionApply",
|
||||
Self::CltLgLegionPart => "Clt_Lg_LegionPart",
|
||||
Self::CltGCheckCharacter => "Clt_G_CheckCharacter",
|
||||
Self::GCltActorLegion => "G_Clt_ActorLegion",
|
||||
Self::CltLgLegionBattleSignUp => "Clt_Lg_LegionBattleSignUp",
|
||||
Self::GCltPvpRecords => "G_Clt_PvpRecords",
|
||||
Self::CltGBattlePassReward => "Clt_G_BattlePassReward",
|
||||
Self::CltBEnterLegionBattlefield => "Clt_B_EnterLegionBattlefield",
|
||||
Self::CltGBuyBattlePassLevel => "Clt_G_BuyBattlePassLevel",
|
||||
Self::BCltLegionBattlefieldInfo => "B_Clt_LegionBattlefieldInfo",
|
||||
Self::BCltLegionBattlefield => "B_Clt_LegionBattlefield",
|
||||
Self::LgCltJoinedLegion => "Lg_Clt_JoinedLegion",
|
||||
Self::LgCltLoseLegion => "Lg_Clt_LoseLegion",
|
||||
Self::CltBEnterLegionBattlefieldOk => "Clt_B_EnterLegionBattlefieldOk",
|
||||
Self::CltBLegionBattleCommand => "Clt_B_LegionBattleCommand",
|
||||
Self::BCltLegionBattlefieldBuilding => "B_Clt_LegionBattlefieldBuilding",
|
||||
Self::BCltLegionBattlefieldActor => "B_Clt_LegionBattlefieldActor",
|
||||
Self::BCltLegionBattlefieldActorUpdate => {
|
||||
"B_Clt_LegionBattlefieldActorUpdate"
|
||||
}
|
||||
Self::BCltLegionBattlefieldActorCommand => {
|
||||
"B_Clt_LegionBattlefieldActorCommand"
|
||||
}
|
||||
Self::BCltLegionBattlefieldCombatStart => {
|
||||
"B_Clt_LegionBattlefieldCombatStart"
|
||||
}
|
||||
Self::BCltLegionBattlefieldCombatEnd => "B_Clt_LegionBattlefieldCombatEnd",
|
||||
Self::CltBLegionBattleCaptainOrder => "Clt_B_LegionBattleCaptainOrder",
|
||||
Self::BCltLegionBattleCaptainOrder => "B_Clt_LegionBattleCaptainOrder",
|
||||
Self::BCltLegionBattlefieldBuildingUpdate => {
|
||||
"B_Clt_LegionBattlefieldBuildingUpdate"
|
||||
}
|
||||
Self::CltBLegionBattleLog => "Clt_B_LegionBattleLog",
|
||||
Self::BCltLegionBattleLog => "B_Clt_LegionBattleLog",
|
||||
Self::CltLgLegionPostHiring => "Clt_Lg_LegionPostHiring",
|
||||
Self::CltLgMercenarySignUp => "Clt_Lg_MercenarySignUp",
|
||||
Self::CltLgLegionMercenaryApply => "Clt_Lg_LegionMercenaryApply",
|
||||
Self::CltLgLegionMercenaryApprove => "Clt_Lg_LegionMercenaryApprove",
|
||||
Self::CltLgLegionMercenaryHire => "Clt_Lg_LegionMercenaryHire",
|
||||
Self::CltLgLegionMercenaryHireDatas => "Clt_Lg_LegionMercenaryHireDatas",
|
||||
Self::LgCltLegionMercenaryHireDatas => "Lg_Clt_LegionMercenaryHireDatas",
|
||||
Self::CltLgLegionMercenarySignUpDatas => "Clt_Lg_LegionMercenarySignUpDatas",
|
||||
Self::LgCltLegionMercenarySignUpDatas => "Lg_Clt_LegionMercenarySignUpDatas",
|
||||
Self::BCltLegionBattleStatus => "B_Clt_LegionBattleStatus",
|
||||
Self::CltBExitLegionBattlefield => "Clt_B_ExitLegionBattlefield",
|
||||
Self::CltBGetLegionBattleTeams => "Clt_B_GetLegionBattleTeams",
|
||||
Self::BCltGetLegionBattleTeams => "B_Clt_GetLegionBattleTeams",
|
||||
Self::CltLgLegionMercenarySearch => "Clt_Lg_LegionMercenarySearch",
|
||||
Self::LgCltLegionMercenarySearch => "Lg_Clt_LegionMercenarySearch",
|
||||
Self::LgCltLegionMercenaryActor => "Lg_Clt_LegionMercenaryActor",
|
||||
Self::CltGRefreshShop => "Clt_G_RefreshShop",
|
||||
Self::BCltLegionBattleEnd => "B_Clt_LegionBattleEnd",
|
||||
Self::CltGClaimMonthlyPassReward => "Clt_G_ClaimMonthlyPassReward",
|
||||
Self::CltLgLegionMercenaryDatas => "Clt_Lg_LegionMercenaryDatas",
|
||||
Self::LgCltLegionMercenaryDatas => "Lg_Clt_LegionMercenaryDatas",
|
||||
Self::BCltLegionBattlefieldHexes => "B_Clt_LegionBattlefieldHexes",
|
||||
Self::BCltLegionCombatRecords => "B_Clt_LegionCombatRecords",
|
||||
Self::CltGSign => "Clt_G_Sign",
|
||||
Self::CltBSetLegionBattleTeamLock => "Clt_B_SetLegionBattleTeamLock",
|
||||
Self::CltBSelectLegionBattleTeam => "Clt_B_SelectLegionBattleTeam",
|
||||
Self::BCltLegionBattlefieldBuildingScore => {
|
||||
"B_Clt_LegionBattlefieldBuildingScore"
|
||||
}
|
||||
Self::CltGSetAvatar => "Clt_G_SetAvatar",
|
||||
Self::CltGPhxhGiftCode => "Clt_G_PhxhGiftCode",
|
||||
Self::CltGActivityRequest => "Clt_G_ActivityRequest",
|
||||
Self::CltGGetShopList => "Clt_G_GetShopList",
|
||||
Self::GCltGetShopList => "G_Clt_GetShopList",
|
||||
Self::CltGUseItems => "Clt_G_UseItems",
|
||||
Self::CltGSetLockStatus => "Clt_G_SetLockStatus",
|
||||
Self::GCltActorActivity => "G_Clt_ActorActivity",
|
||||
Self::GCltLoginReady => "G_Clt_LoginReady",
|
||||
Self::CltGLogin => "Clt_G_Login",
|
||||
Self::GCltShopRedDot => "G_Clt_ShopRedDot",
|
||||
Self::CltGPostFightData => "Clt_G_PostFightData",
|
||||
Self::GCltActorMusicBox => "G_Clt_ActorMusicBox",
|
||||
Self::CltGActorMusicBoxCollect => "Clt_G_ActorMusicBoxCollect",
|
||||
Self::CltGPostTask => "Clt_G_PostTask",
|
||||
Self::GCltDayChange => "G_Clt_DayChange",
|
||||
Self::CltGBindFacebook => "Clt_G_BindFacebook",
|
||||
Self::CltGBindMail => "Clt_G_BindMail",
|
||||
Self::CltGCharacterCollectReward => "Clt_G_CharacterCollectReward",
|
||||
Self::CltGEnterTrainingLevel => "Clt_G_EnterTrainingLevel",
|
||||
Self::CltGExitTrainingLevel => "Clt_G_ExitTrainingLevel",
|
||||
Self::CltGLegionPveStart => "Clt_G_LegionPveStart",
|
||||
Self::CltGLegionPveEnd => "Clt_G_LegionPveEnd",
|
||||
Self::CltGLegionPveUseResurrectionItem => {
|
||||
"Clt_G_LegionPveUseResurrectionItem"
|
||||
}
|
||||
Self::GCltActorDispatch => "G_Clt_ActorDispatch",
|
||||
Self::CltGDispatchStart => "Clt_G_DispatchStart",
|
||||
Self::CltGDispatchCancel => "Clt_G_DispatchCancel",
|
||||
Self::CltGDispatchClaim => "Clt_G_DispatchClaim",
|
||||
Self::CltGCreateTrainingTeam => "Clt_G_CreateTrainingTeam",
|
||||
Self::CltGDisassembleItem => "Clt_G_DisassembleItem",
|
||||
Self::CltGLegionPveBattleData => "Clt_G_LegionPveBattleData",
|
||||
Self::GCltActorLegionPve => "G_Clt_ActorLegionPve",
|
||||
Self::CltGCreateDispatchTeam => "Clt_G_CreateDispatchTeam",
|
||||
Self::Max => "MSGID_Max",
|
||||
}
|
||||
}
|
||||
/// Creates an enum from field names used in the ProtoBuf definition.
|
||||
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
||||
match value {
|
||||
"None" => Some(Self::None),
|
||||
"Clt_Gt_Handshake" => Some(Self::CltGtHandshake),
|
||||
"Gt_Clt_Handshake" => Some(Self::GtCltHandshake),
|
||||
"Clt_Gt_Heartbeat" => Some(Self::CltGtHeartbeat),
|
||||
"Gt_Clt_Heartbeat" => Some(Self::GtCltHeartbeat),
|
||||
"Gt_Clt_Disconnect" => Some(Self::GtCltDisconnect),
|
||||
"Clt_L_Login" => Some(Self::CltLLogin),
|
||||
"L_Clt_LoginResult" => Some(Self::LCltLoginResult),
|
||||
"G_Clt_LoginResult" => Some(Self::GCltLoginResult),
|
||||
"G_Clt_OpResult" => Some(Self::GCltOpResult),
|
||||
"G_Clt_ActorBase" => Some(Self::GCltActorBase),
|
||||
"G_Clt_ActorItem" => Some(Self::GCltActorItem),
|
||||
"G_Clt_ActorCharacter" => Some(Self::GCltActorCharacter),
|
||||
"Clt_G_CharacterUpgrade" => Some(Self::CltGCharacterUpgrade),
|
||||
"G_Clt_ActorLogic" => Some(Self::GCltActorLogic),
|
||||
"G_Clt_ActorTask" => Some(Self::GCltActorTask),
|
||||
"Clt_G_SetNickname" => Some(Self::CltGSetNickname),
|
||||
"G_Clt_ActorLevel" => Some(Self::GCltActorLevel),
|
||||
"Clt_G_EnterLevel" => Some(Self::CltGEnterLevel),
|
||||
"Clt_G_ExitLevel" => Some(Self::CltGExitLevel),
|
||||
"G_Clt_ActorRaffle" => Some(Self::GCltActorRaffle),
|
||||
"Clt_G_Raffle" => Some(Self::CltGRaffle),
|
||||
"G_Clt_ItemList" => Some(Self::GCltItemList),
|
||||
"Clt_G_GroupReward" => Some(Self::CltGGroupReward),
|
||||
"Clt_G_VehicleUpgrade" => Some(Self::CltGVehicleUpgrade),
|
||||
"G_Clt_ActorTeam" => Some(Self::GCltActorTeam),
|
||||
"Clt_G_CreateTeam" => Some(Self::CltGCreateTeam),
|
||||
"Clt_G_UseItem" => Some(Self::CltGUseItem),
|
||||
"Clt_G_TestInit" => Some(Self::CltGTestInit),
|
||||
"Clt_G_GiftCode" => Some(Self::CltGGiftCode),
|
||||
"Ml_Clt_MailInfo" => Some(Self::MlCltMailInfo),
|
||||
"Clt_Ml_MailRequest" => Some(Self::CltMlMailRequest),
|
||||
"Ml_Clt_MailData" => Some(Self::MlCltMailData),
|
||||
"Clt_Ml_OpenMail" => Some(Self::CltMlOpenMail),
|
||||
"Ml_Clt_NewGlobalMail" => Some(Self::MlCltNewGlobalMail),
|
||||
"G_Clt_LoginKey" => Some(Self::GCltLoginKey),
|
||||
"Clt_G_Relogin" => Some(Self::CltGRelogin),
|
||||
"Clt_Ml_ClaimMailItems" => Some(Self::CltMlClaimMailItems),
|
||||
"Clt_Ml_DeleteMail" => Some(Self::CltMlDeleteMail),
|
||||
"Clt_G_TaskClaim" => Some(Self::CltGTaskClaim),
|
||||
"Clt_G_GetShopContent" => Some(Self::CltGGetShopContent),
|
||||
"G_Clt_ShopDatas" => Some(Self::GCltShopDatas),
|
||||
"Clt_G_ShopPurchase" => Some(Self::CltGShopPurchase),
|
||||
"G_Clt_ActorPlayerSkill" => Some(Self::GCltActorPlayerSkill),
|
||||
"Clt_G_PlayerSkillUpgrade" => Some(Self::CltGPlayerSkillUpgrade),
|
||||
"Clt_G_SetDefenceTeamForPvp" => Some(Self::CltGSetDefenceTeamForPvp),
|
||||
"Clt_G_PvpInformation" => Some(Self::CltGPvpInformation),
|
||||
"G_Clt_PvpInformation" => Some(Self::GCltPvpInformation),
|
||||
"Clt_G_PvpStart" => Some(Self::CltGPvpStart),
|
||||
"Clt_G_PvpResult" => Some(Self::CltGPvpResult),
|
||||
"G_Clt_ActorPvp" => Some(Self::GCltActorPvp),
|
||||
"Clt_G_PvpRecords" => Some(Self::CltGPvpRecords),
|
||||
"Clt_Mg_PvpOrderList" => Some(Self::CltMgPvpOrderList),
|
||||
"Mg_Clt_PvpOrderListData" => Some(Self::MgCltPvpOrderListData),
|
||||
"Clt_G_PatioExchange" => Some(Self::CltGPatioExchange),
|
||||
"Clt_G_InAppPurchase" => Some(Self::CltGInAppPurchase),
|
||||
"G_Clt_ActorPurchase" => Some(Self::GCltActorPurchase),
|
||||
"Clt_G_ExchangeItem" => Some(Self::CltGExchangeItem),
|
||||
"Clt_G_NewGuideProgress" => Some(Self::CltGNewGuideProgress),
|
||||
"Clt_G_SetHeadicon" => Some(Self::CltGSetHeadicon),
|
||||
"Clt_G_BuyAlbum" => Some(Self::CltGBuyAlbum),
|
||||
"Clt_G_AdultAuth" => Some(Self::CltGAdultAuth),
|
||||
"Clt_G_LevelSweep" => Some(Self::CltGLevelSweep),
|
||||
"G_Clt_HorseLight" => Some(Self::GCltHorseLight),
|
||||
"Clt_G_SetActorBase" => Some(Self::CltGSetActorBase),
|
||||
"Clt_G_StringCheck" => Some(Self::CltGStringCheck),
|
||||
"Clt_G_InAppPurchaseTest" => Some(Self::CltGInAppPurchaseTest),
|
||||
"Clt_G_VehicleDevelopment" => Some(Self::CltGVehicleDevelopment),
|
||||
"Clt_G_VehicleBuyPaint" => Some(Self::CltGVehicleBuyPaint),
|
||||
"Clt_G_VehicleSetPaint" => Some(Self::CltGVehicleSetPaint),
|
||||
"L_Clt_NldToken" => Some(Self::LCltNldToken),
|
||||
"Clt_Lg_LegionList" => Some(Self::CltLgLegionList),
|
||||
"Lg_Clt_LegionListData" => Some(Self::LgCltLegionListData),
|
||||
"Clt_Lg_CreateLegion" => Some(Self::CltLgCreateLegion),
|
||||
"Clt_Lg_UpdateLegion" => Some(Self::CltLgUpdateLegion),
|
||||
"Clt_Lg_JoinLegion" => Some(Self::CltLgJoinLegion),
|
||||
"Clt_Lg_ExamineJoinLegion" => Some(Self::CltLgExamineJoinLegion),
|
||||
"Clt_Lg_QuitLegion" => Some(Self::CltLgQuitLegion),
|
||||
"Clt_Lg_UpdateMember" => Some(Self::CltLgUpdateMember),
|
||||
"Clt_Lg_DismissMember" => Some(Self::CltLgDismissMember),
|
||||
"Clt_Lg_GetMyLegionInfo" => Some(Self::CltLgGetMyLegionInfo),
|
||||
"Lg_Clt_LegionBase" => Some(Self::LgCltLegionBase),
|
||||
"Lg_Clt_LegionMember" => Some(Self::LgCltLegionMember),
|
||||
"Lg_Clt_LegionLog" => Some(Self::LgCltLegionLog),
|
||||
"Lg_Clt_LegionApply" => Some(Self::LgCltLegionApply),
|
||||
"Clt_Lg_LegionPart" => Some(Self::CltLgLegionPart),
|
||||
"Clt_G_CheckCharacter" => Some(Self::CltGCheckCharacter),
|
||||
"G_Clt_ActorLegion" => Some(Self::GCltActorLegion),
|
||||
"Clt_Lg_LegionBattleSignUp" => Some(Self::CltLgLegionBattleSignUp),
|
||||
"G_Clt_PvpRecords" => Some(Self::GCltPvpRecords),
|
||||
"Clt_G_BattlePassReward" => Some(Self::CltGBattlePassReward),
|
||||
"Clt_B_EnterLegionBattlefield" => Some(Self::CltBEnterLegionBattlefield),
|
||||
"Clt_G_BuyBattlePassLevel" => Some(Self::CltGBuyBattlePassLevel),
|
||||
"B_Clt_LegionBattlefieldInfo" => Some(Self::BCltLegionBattlefieldInfo),
|
||||
"B_Clt_LegionBattlefield" => Some(Self::BCltLegionBattlefield),
|
||||
"Lg_Clt_JoinedLegion" => Some(Self::LgCltJoinedLegion),
|
||||
"Lg_Clt_LoseLegion" => Some(Self::LgCltLoseLegion),
|
||||
"Clt_B_EnterLegionBattlefieldOk" => Some(Self::CltBEnterLegionBattlefieldOk),
|
||||
"Clt_B_LegionBattleCommand" => Some(Self::CltBLegionBattleCommand),
|
||||
"B_Clt_LegionBattlefieldBuilding" => {
|
||||
Some(Self::BCltLegionBattlefieldBuilding)
|
||||
}
|
||||
"B_Clt_LegionBattlefieldActor" => Some(Self::BCltLegionBattlefieldActor),
|
||||
"B_Clt_LegionBattlefieldActorUpdate" => {
|
||||
Some(Self::BCltLegionBattlefieldActorUpdate)
|
||||
}
|
||||
"B_Clt_LegionBattlefieldActorCommand" => {
|
||||
Some(Self::BCltLegionBattlefieldActorCommand)
|
||||
}
|
||||
"B_Clt_LegionBattlefieldCombatStart" => {
|
||||
Some(Self::BCltLegionBattlefieldCombatStart)
|
||||
}
|
||||
"B_Clt_LegionBattlefieldCombatEnd" => {
|
||||
Some(Self::BCltLegionBattlefieldCombatEnd)
|
||||
}
|
||||
"Clt_B_LegionBattleCaptainOrder" => Some(Self::CltBLegionBattleCaptainOrder),
|
||||
"B_Clt_LegionBattleCaptainOrder" => Some(Self::BCltLegionBattleCaptainOrder),
|
||||
"B_Clt_LegionBattlefieldBuildingUpdate" => {
|
||||
Some(Self::BCltLegionBattlefieldBuildingUpdate)
|
||||
}
|
||||
"Clt_B_LegionBattleLog" => Some(Self::CltBLegionBattleLog),
|
||||
"B_Clt_LegionBattleLog" => Some(Self::BCltLegionBattleLog),
|
||||
"Clt_Lg_LegionPostHiring" => Some(Self::CltLgLegionPostHiring),
|
||||
"Clt_Lg_MercenarySignUp" => Some(Self::CltLgMercenarySignUp),
|
||||
"Clt_Lg_LegionMercenaryApply" => Some(Self::CltLgLegionMercenaryApply),
|
||||
"Clt_Lg_LegionMercenaryApprove" => Some(Self::CltLgLegionMercenaryApprove),
|
||||
"Clt_Lg_LegionMercenaryHire" => Some(Self::CltLgLegionMercenaryHire),
|
||||
"Clt_Lg_LegionMercenaryHireDatas" => {
|
||||
Some(Self::CltLgLegionMercenaryHireDatas)
|
||||
}
|
||||
"Lg_Clt_LegionMercenaryHireDatas" => {
|
||||
Some(Self::LgCltLegionMercenaryHireDatas)
|
||||
}
|
||||
"Clt_Lg_LegionMercenarySignUpDatas" => {
|
||||
Some(Self::CltLgLegionMercenarySignUpDatas)
|
||||
}
|
||||
"Lg_Clt_LegionMercenarySignUpDatas" => {
|
||||
Some(Self::LgCltLegionMercenarySignUpDatas)
|
||||
}
|
||||
"B_Clt_LegionBattleStatus" => Some(Self::BCltLegionBattleStatus),
|
||||
"Clt_B_ExitLegionBattlefield" => Some(Self::CltBExitLegionBattlefield),
|
||||
"Clt_B_GetLegionBattleTeams" => Some(Self::CltBGetLegionBattleTeams),
|
||||
"B_Clt_GetLegionBattleTeams" => Some(Self::BCltGetLegionBattleTeams),
|
||||
"Clt_Lg_LegionMercenarySearch" => Some(Self::CltLgLegionMercenarySearch),
|
||||
"Lg_Clt_LegionMercenarySearch" => Some(Self::LgCltLegionMercenarySearch),
|
||||
"Lg_Clt_LegionMercenaryActor" => Some(Self::LgCltLegionMercenaryActor),
|
||||
"Clt_G_RefreshShop" => Some(Self::CltGRefreshShop),
|
||||
"B_Clt_LegionBattleEnd" => Some(Self::BCltLegionBattleEnd),
|
||||
"Clt_G_ClaimMonthlyPassReward" => Some(Self::CltGClaimMonthlyPassReward),
|
||||
"Clt_Lg_LegionMercenaryDatas" => Some(Self::CltLgLegionMercenaryDatas),
|
||||
"Lg_Clt_LegionMercenaryDatas" => Some(Self::LgCltLegionMercenaryDatas),
|
||||
"B_Clt_LegionBattlefieldHexes" => Some(Self::BCltLegionBattlefieldHexes),
|
||||
"B_Clt_LegionCombatRecords" => Some(Self::BCltLegionCombatRecords),
|
||||
"Clt_G_Sign" => Some(Self::CltGSign),
|
||||
"Clt_B_SetLegionBattleTeamLock" => Some(Self::CltBSetLegionBattleTeamLock),
|
||||
"Clt_B_SelectLegionBattleTeam" => Some(Self::CltBSelectLegionBattleTeam),
|
||||
"B_Clt_LegionBattlefieldBuildingScore" => {
|
||||
Some(Self::BCltLegionBattlefieldBuildingScore)
|
||||
}
|
||||
"Clt_G_SetAvatar" => Some(Self::CltGSetAvatar),
|
||||
"Clt_G_PhxhGiftCode" => Some(Self::CltGPhxhGiftCode),
|
||||
"Clt_G_ActivityRequest" => Some(Self::CltGActivityRequest),
|
||||
"Clt_G_GetShopList" => Some(Self::CltGGetShopList),
|
||||
"G_Clt_GetShopList" => Some(Self::GCltGetShopList),
|
||||
"Clt_G_UseItems" => Some(Self::CltGUseItems),
|
||||
"Clt_G_SetLockStatus" => Some(Self::CltGSetLockStatus),
|
||||
"G_Clt_ActorActivity" => Some(Self::GCltActorActivity),
|
||||
"G_Clt_LoginReady" => Some(Self::GCltLoginReady),
|
||||
"Clt_G_Login" => Some(Self::CltGLogin),
|
||||
"G_Clt_ShopRedDot" => Some(Self::GCltShopRedDot),
|
||||
"Clt_G_PostFightData" => Some(Self::CltGPostFightData),
|
||||
"G_Clt_ActorMusicBox" => Some(Self::GCltActorMusicBox),
|
||||
"Clt_G_ActorMusicBoxCollect" => Some(Self::CltGActorMusicBoxCollect),
|
||||
"Clt_G_PostTask" => Some(Self::CltGPostTask),
|
||||
"G_Clt_DayChange" => Some(Self::GCltDayChange),
|
||||
"Clt_G_BindFacebook" => Some(Self::CltGBindFacebook),
|
||||
"Clt_G_BindMail" => Some(Self::CltGBindMail),
|
||||
"Clt_G_CharacterCollectReward" => Some(Self::CltGCharacterCollectReward),
|
||||
"Clt_G_EnterTrainingLevel" => Some(Self::CltGEnterTrainingLevel),
|
||||
"Clt_G_ExitTrainingLevel" => Some(Self::CltGExitTrainingLevel),
|
||||
"Clt_G_LegionPveStart" => Some(Self::CltGLegionPveStart),
|
||||
"Clt_G_LegionPveEnd" => Some(Self::CltGLegionPveEnd),
|
||||
"Clt_G_LegionPveUseResurrectionItem" => {
|
||||
Some(Self::CltGLegionPveUseResurrectionItem)
|
||||
}
|
||||
"G_Clt_ActorDispatch" => Some(Self::GCltActorDispatch),
|
||||
"Clt_G_DispatchStart" => Some(Self::CltGDispatchStart),
|
||||
"Clt_G_DispatchCancel" => Some(Self::CltGDispatchCancel),
|
||||
"Clt_G_DispatchClaim" => Some(Self::CltGDispatchClaim),
|
||||
"Clt_G_CreateTrainingTeam" => Some(Self::CltGCreateTrainingTeam),
|
||||
"Clt_G_DisassembleItem" => Some(Self::CltGDisassembleItem),
|
||||
"Clt_G_LegionPveBattleData" => Some(Self::CltGLegionPveBattleData),
|
||||
"G_Clt_ActorLegionPve" => Some(Self::GCltActorLegionPve),
|
||||
"Clt_G_CreateDispatchTeam" => Some(Self::CltGCreateDispatchTeam),
|
||||
"MSGID_Max" => Some(Self::Max),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user