mirror of
https://git.neonteam.dev/amizing/robinsr.git
synced 2025-03-12 03:28:30 -04:00
12630 lines
563 KiB
Rust
12630 lines
563 KiB
Rust
// This file is @generated by prost-build.
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EquipRelic {
|
|
#[prost(uint32, tag = "13")]
|
|
pub relic_unique_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub slot: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AvatarSkillTree {
|
|
#[prost(uint32, tag = "1")]
|
|
pub point_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub level: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Avatar {
|
|
#[prost(uint32, tag = "15")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub equipment_unique_id: u32,
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub equip_relic_list: ::prost::alloc::vec::Vec<EquipRelic>,
|
|
#[prost(message, repeated, tag = "14")]
|
|
pub skilltree_list: ::prost::alloc::vec::Vec<AvatarSkillTree>,
|
|
#[prost(uint64, tag = "4")]
|
|
pub first_met_timestamp: u64,
|
|
#[prost(uint32, tag = "13")]
|
|
pub rank: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub dressed_skin_id: u32,
|
|
#[prost(bool, tag = "6")]
|
|
pub is_marked: bool,
|
|
#[prost(uint32, tag = "10")]
|
|
pub exp: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub promotion: u32,
|
|
#[prost(uint32, repeated, tag = "11")]
|
|
pub taken_rewards: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AvatarSync {
|
|
#[prost(message, repeated, tag = "10")]
|
|
pub avatar_list: ::prost::alloc::vec::Vec<Avatar>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleEquipment {
|
|
#[prost(uint32, tag = "1")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub promotion: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub rank: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RelicAffix {
|
|
#[prost(uint32, tag = "1")]
|
|
pub affix_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub cnt: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub step: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleRelic {
|
|
#[prost(uint32, tag = "1")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub main_affix_id: u32,
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub sub_affix_list: ::prost::alloc::vec::Vec<RelicAffix>,
|
|
#[prost(uint32, tag = "5")]
|
|
pub unique_id: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub relic_id: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub slot: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub ckcmdjnelkb: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SpBarInfo {
|
|
#[prost(uint32, tag = "1")]
|
|
pub cur_sp: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub max_sp: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleAvatar {
|
|
#[prost(enumeration = "AvatarType", tag = "1")]
|
|
pub avatar_type: i32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub rank: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub index: u32,
|
|
#[prost(message, repeated, tag = "6")]
|
|
pub skilltree_list: ::prost::alloc::vec::Vec<AvatarSkillTree>,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub equipment_list: ::prost::alloc::vec::Vec<BattleEquipment>,
|
|
#[prost(uint32, tag = "8")]
|
|
pub hp: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub promotion: u32,
|
|
#[prost(message, repeated, tag = "11")]
|
|
pub relic_list: ::prost::alloc::vec::Vec<BattleRelic>,
|
|
#[prost(uint32, tag = "12")]
|
|
pub world_level: u32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub apkmboagcmi: u32,
|
|
#[prost(message, optional, tag = "16")]
|
|
pub sp_bar: ::core::option::Option<SpBarInfo>,
|
|
#[prost(uint32, tag = "17")]
|
|
pub iojopnilicf: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleBuff {
|
|
#[prost(uint32, tag = "1")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub owner_id: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub wave_flag: u32,
|
|
#[prost(uint32, repeated, tag = "5")]
|
|
pub target_index_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(map = "string, float", tag = "6")]
|
|
pub dynamic_values: ::std::collections::HashMap<::prost::alloc::string::String, f32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleTarget {
|
|
#[prost(uint32, tag = "1")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub progress: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub total_progress: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleTargetList {
|
|
#[prost(message, repeated, tag = "1")]
|
|
pub battle_target_list: ::prost::alloc::vec::Vec<BattleTarget>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct HeadIcon {
|
|
#[prost(uint32, tag = "15")]
|
|
pub id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BoardDataSync {
|
|
#[prost(message, repeated, tag = "14")]
|
|
pub unlocked_head_icon_list: ::prost::alloc::vec::Vec<HeadIcon>,
|
|
#[prost(string, tag = "13")]
|
|
pub signature: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "7")]
|
|
pub kdpdlgbfimd: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BuffInfo {
|
|
#[prost(uint32, tag = "14")]
|
|
pub jpbnobgjmin: u32,
|
|
#[prost(uint64, tag = "11")]
|
|
pub add_time_ms: u64,
|
|
#[prost(uint32, tag = "9")]
|
|
pub level: u32,
|
|
#[prost(map = "string, float", tag = "1")]
|
|
pub dynamic_values: ::std::collections::HashMap<::prost::alloc::string::String, f32>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub buff_id: u32,
|
|
#[prost(float, tag = "15")]
|
|
pub life_time: f32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub count: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ChangeLineupLeaderCsReq {
|
|
#[prost(uint32, tag = "8")]
|
|
pub slot: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ChangeLineupLeaderScRsp {
|
|
#[prost(uint32, tag = "11")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub slot: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Chat {
|
|
#[prost(uint32, tag = "2")]
|
|
pub sender_uid: u32,
|
|
#[prost(string, tag = "11")]
|
|
pub text: ::prost::alloc::string::String,
|
|
#[prost(uint64, tag = "12")]
|
|
pub sent_time: u64,
|
|
#[prost(uint32, tag = "3")]
|
|
pub emote: u32,
|
|
#[prost(enumeration = "MsgType", tag = "10")]
|
|
pub msg_type: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ClientDownloadData {
|
|
#[prost(uint32, tag = "1")]
|
|
pub version: u32,
|
|
#[prost(int64, tag = "2")]
|
|
pub time: i64,
|
|
#[prost(bytes = "vec", tag = "3")]
|
|
pub data: ::prost::alloc::vec::Vec<u8>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ContentInfo {
|
|
#[prost(enumeration = "ContentPackageStatus", tag = "12")]
|
|
pub status: i32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub content_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PackageData {
|
|
#[prost(uint32, tag = "2")]
|
|
pub emgkdgbhaff: u32,
|
|
#[prost(message, repeated, tag = "14")]
|
|
pub info_list: ::prost::alloc::vec::Vec<ContentInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ContentPackageSyncDataScNotify {
|
|
#[prost(message, optional, tag = "5")]
|
|
pub data: ::core::option::Option<PackageData>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DressAvatarCsReq {
|
|
#[prost(uint32, tag = "5")]
|
|
pub avatar_id: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub equipment_unique_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RelicParam {
|
|
#[prost(uint32, tag = "6")]
|
|
pub slot: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub relic_unique_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DressRelicAvatarCsReq {
|
|
#[prost(uint32, tag = "15")]
|
|
pub avatar_id: u32,
|
|
#[prost(message, repeated, tag = "13")]
|
|
pub param_list: ::prost::alloc::vec::Vec<RelicParam>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct LineupAvatar {
|
|
#[prost(uint32, tag = "6")]
|
|
pub hp: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub satiety: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub slot: u32,
|
|
#[prost(enumeration = "AvatarType", tag = "1")]
|
|
pub avatar_type: i32,
|
|
#[prost(message, optional, tag = "14")]
|
|
pub sp_bar: ::core::option::Option<SpBarInfo>,
|
|
#[prost(uint32, tag = "8")]
|
|
pub id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct LineupInfo {
|
|
#[prost(bool, tag = "12")]
|
|
pub njfmkhpamdl: bool,
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub avatar_list: ::prost::alloc::vec::Vec<LineupAvatar>,
|
|
#[prost(uint32, repeated, tag = "11")]
|
|
pub lofekgfcmlc: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub ijnpccndcgi: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub index: u32,
|
|
#[prost(bool, tag = "15")]
|
|
pub is_virtual: bool,
|
|
#[prost(uint32, tag = "6")]
|
|
pub mp: u32,
|
|
#[prost(string, tag = "14")]
|
|
pub name: ::prost::alloc::string::String,
|
|
#[prost(enumeration = "ExtraLineupType", tag = "7")]
|
|
pub extra_lineup_type: i32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub plane_id: u32,
|
|
#[prost(uint32, repeated, tag = "5")]
|
|
pub nlkmjkfhebm: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub leader_slot: u32,
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub dfkpgckchah: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "8")]
|
|
pub max_mp: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Vector {
|
|
#[prost(sint32, tag = "14")]
|
|
pub x: i32,
|
|
#[prost(sint32, tag = "5")]
|
|
pub y: i32,
|
|
#[prost(sint32, tag = "3")]
|
|
pub z: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MotionInfo {
|
|
#[prost(message, optional, tag = "14")]
|
|
pub pos: ::core::option::Option<Vector>,
|
|
#[prost(message, optional, tag = "13")]
|
|
pub rot: ::core::option::Option<Vector>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneActorInfo {
|
|
#[prost(uint32, tag = "11")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub map_layer: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub uid: u32,
|
|
#[prost(enumeration = "AvatarType", tag = "6")]
|
|
pub avatar_type: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneNpcMonsterInfo {
|
|
#[prost(bool, tag = "11")]
|
|
pub mcfppkobjog: bool,
|
|
#[prost(uint32, tag = "12")]
|
|
pub monster_id: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub event_id: u32,
|
|
#[prost(bool, tag = "3")]
|
|
pub eanllcnpded: bool,
|
|
#[prost(uint32, tag = "10")]
|
|
pub world_level: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct NpcRogueInfo {
|
|
#[prost(bool, tag = "12")]
|
|
pub modhkobfmbp: bool,
|
|
#[prost(map = "uint32, uint32", tag = "14")]
|
|
pub lpflcicnioa: ::std::collections::HashMap<u32, u32>,
|
|
#[prost(uint32, tag = "5")]
|
|
pub kiakkdiecme: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub jnboodjdmho: u32,
|
|
#[prost(bool, tag = "11")]
|
|
pub idoffgnngem: bool,
|
|
#[prost(bool, tag = "2")]
|
|
pub phddanoooji: bool,
|
|
#[prost(uint32, tag = "3")]
|
|
pub hgfnojflbcl: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub ebffkdhgkgl: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct NpcExtraInfo {
|
|
#[prost(message, optional, tag = "6")]
|
|
pub rogue_info: ::core::option::Option<NpcRogueInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneNpcInfo {
|
|
#[prost(message, optional, tag = "6")]
|
|
pub extra_info: ::core::option::Option<NpcExtraInfo>,
|
|
#[prost(uint32, tag = "3")]
|
|
pub npc_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PropRogueInfo {
|
|
#[prost(uint32, tag = "6")]
|
|
pub hdnlmbacmoa: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub edjpollefac: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub ioijcfnndfi: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub mfdelanaicp: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PropAeonInfo {
|
|
#[prost(uint32, tag = "14")]
|
|
pub add_exp: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub dialogue_group_id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub aeon_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PropExtraInfo {
|
|
#[prost(message, optional, tag = "10")]
|
|
pub rogue_info: ::core::option::Option<PropRogueInfo>,
|
|
#[prost(message, optional, tag = "7")]
|
|
pub aeon_info: ::core::option::Option<PropAeonInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ScenePropInfo {
|
|
#[prost(uint32, tag = "11")]
|
|
pub life_time_ms: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub prop_state: u32,
|
|
#[prost(string, repeated, tag = "14")]
|
|
pub trigger_name_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
#[prost(message, optional, tag = "5")]
|
|
pub extra_info: ::core::option::Option<PropExtraInfo>,
|
|
#[prost(uint32, tag = "10")]
|
|
pub prop_id: u32,
|
|
#[prost(uint64, tag = "9")]
|
|
pub create_time_ms: u64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneSummonUnitInfo {
|
|
#[prost(uint32, tag = "7")]
|
|
pub caster_entity_id: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub attach_entity_id: u32,
|
|
#[prost(string, repeated, tag = "6")]
|
|
pub trigger_name_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
#[prost(int32, tag = "5")]
|
|
pub life_time_ms: i32,
|
|
#[prost(uint64, tag = "11")]
|
|
pub create_time_ms: u64,
|
|
#[prost(uint32, tag = "9")]
|
|
pub summon_unit_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneEntityInfo {
|
|
#[prost(message, optional, tag = "1")]
|
|
pub motion: ::core::option::Option<MotionInfo>,
|
|
#[prost(uint32, tag = "4")]
|
|
pub entity_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub group_id: u32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub inst_id: u32,
|
|
#[prost(oneof = "scene_entity_info::Entity", tags = "10, 14, 11, 8, 15")]
|
|
pub entity: ::core::option::Option<scene_entity_info::Entity>,
|
|
}
|
|
/// Nested message and enum types in `SceneEntityInfo`.
|
|
pub mod scene_entity_info {
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Oneof)]
|
|
pub enum Entity {
|
|
#[prost(message, tag = "10")]
|
|
Actor(super::SceneActorInfo),
|
|
#[prost(message, tag = "14")]
|
|
NpcMonster(super::SceneNpcMonsterInfo),
|
|
#[prost(message, tag = "11")]
|
|
Npc(super::SceneNpcInfo),
|
|
#[prost(message, tag = "8")]
|
|
Prop(super::ScenePropInfo),
|
|
#[prost(message, tag = "15")]
|
|
SummonUnit(super::SceneSummonUnitInfo),
|
|
}
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneGroupState {
|
|
#[prost(uint32, tag = "10")]
|
|
pub group_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub state: u32,
|
|
#[prost(bool, tag = "5")]
|
|
pub is_default: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct CustomSaveData {
|
|
#[prost(string, tag = "10")]
|
|
pub save_data: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "7")]
|
|
pub group_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneEntityGroupInfo {
|
|
#[prost(message, repeated, tag = "8")]
|
|
pub entity_list: ::prost::alloc::vec::Vec<SceneEntityInfo>,
|
|
#[prost(uint32, tag = "4")]
|
|
pub state: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub group_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Mission {
|
|
#[prost(uint32, tag = "5")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub progress: u32,
|
|
#[prost(enumeration = "MissionStatus", tag = "6")]
|
|
pub status: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MissionStatusBySceneInfo {
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub ammgadcegag: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub hiokihlcnfc: ::prost::alloc::vec::Vec<Mission>,
|
|
#[prost(uint32, repeated, tag = "7")]
|
|
pub dabclennonn: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "8")]
|
|
pub dgoigglciko: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EntityBuffInfo {
|
|
#[prost(message, repeated, tag = "14")]
|
|
pub buff_list: ::prost::alloc::vec::Vec<BuffInfo>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub entity_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneInfo {
|
|
#[prost(uint32, tag = "14")]
|
|
pub leader_entity_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub plane_id: u32,
|
|
#[prost(uint32, tag = "81")]
|
|
pub mdkmdbibnae: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub game_mode_type: u32,
|
|
#[prost(message, repeated, tag = "6")]
|
|
pub entity_list: ::prost::alloc::vec::Vec<SceneEntityInfo>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub entry_id: u32,
|
|
#[prost(uint32, tag = "599")]
|
|
pub content_id: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub world_id: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub client_pos_version: u32,
|
|
#[prost(message, repeated, tag = "1577")]
|
|
pub group_state_list: ::prost::alloc::vec::Vec<SceneGroupState>,
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub group_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub sync_buff_info: ::prost::alloc::vec::Vec<BuffInfo>,
|
|
#[prost(message, repeated, tag = "3")]
|
|
pub save_data_list: ::prost::alloc::vec::Vec<CustomSaveData>,
|
|
#[prost(uint32, repeated, tag = "8")]
|
|
pub lighten_section_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "11")]
|
|
pub floor_id: u32,
|
|
#[prost(map = "string, int32", tag = "1458")]
|
|
pub floor_saved_data: ::std::collections::HashMap<
|
|
::prost::alloc::string::String,
|
|
i32,
|
|
>,
|
|
#[prost(uint32, tag = "1226")]
|
|
pub ijnpccndcgi: u32,
|
|
#[prost(message, repeated, tag = "1909")]
|
|
pub entity_group_list: ::prost::alloc::vec::Vec<SceneEntityGroupInfo>,
|
|
#[prost(message, optional, tag = "1816")]
|
|
pub scene_mission_info: ::core::option::Option<MissionStatusBySceneInfo>,
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub nmmlfdlmcoa: ::prost::alloc::vec::Vec<EntityBuffInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EnterSceneByServerScNotify {
|
|
#[prost(message, optional, tag = "14")]
|
|
pub lineup: ::core::option::Option<LineupInfo>,
|
|
#[prost(enumeration = "EnterSceneReason", tag = "11")]
|
|
pub reason: i32,
|
|
#[prost(message, optional, tag = "7")]
|
|
pub scene: ::core::option::Option<SceneInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EnterSceneCsReq {
|
|
#[prost(uint32, tag = "15")]
|
|
pub content_id: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub ijnpccndcgi: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub entry_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub teleport_id: u32,
|
|
#[prost(bool, tag = "2")]
|
|
pub eclblfpbjlf: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EnteredSceneInfo {
|
|
#[prost(uint32, tag = "12")]
|
|
pub plane_id: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub floor_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EntityBuffChangeInfo {
|
|
#[prost(enumeration = "EntityBuffChangeType", tag = "11")]
|
|
pub reason: i32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub entity_id: u32,
|
|
#[prost(oneof = "entity_buff_change_info::Change", tags = "8, 9")]
|
|
pub change: ::core::option::Option<entity_buff_change_info::Change>,
|
|
}
|
|
/// Nested message and enum types in `EntityBuffChangeInfo`.
|
|
pub mod entity_buff_change_info {
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Oneof)]
|
|
pub enum Change {
|
|
#[prost(message, tag = "8")]
|
|
AddBuffInfo(super::BuffInfo),
|
|
#[prost(uint32, tag = "9")]
|
|
RemoveBuffId(u32),
|
|
}
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Equipment {
|
|
#[prost(uint32, tag = "7")]
|
|
pub rank: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub promotion: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub exp: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub unique_id: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub equip_avatar_id: u32,
|
|
#[prost(bool, tag = "14")]
|
|
pub is_protected: bool,
|
|
#[prost(uint32, tag = "13")]
|
|
pub tid: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AssistSimpleInfo {
|
|
#[prost(uint32, tag = "6")]
|
|
pub pos: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub avatar_id: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub dressed_skin_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SimpleInfo {
|
|
#[prost(uint32, tag = "5")]
|
|
pub chat_bubble_id: u32,
|
|
#[prost(string, tag = "6")]
|
|
pub signature: ::prost::alloc::string::String,
|
|
#[prost(message, repeated, tag = "1")]
|
|
pub assist_simple_info: ::prost::alloc::vec::Vec<AssistSimpleInfo>,
|
|
#[prost(string, tag = "10")]
|
|
pub meijfajkmmp: ::prost::alloc::string::String,
|
|
#[prost(enumeration = "PlatformType", tag = "3")]
|
|
pub platform_type: i32,
|
|
#[prost(int64, tag = "11")]
|
|
pub last_active_time: i64,
|
|
#[prost(uint32, tag = "8")]
|
|
pub head_icon: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub uid: u32,
|
|
#[prost(bool, tag = "4")]
|
|
pub is_banned: bool,
|
|
#[prost(string, tag = "7")]
|
|
pub nickname: ::prost::alloc::string::String,
|
|
#[prost(enumeration = "FriendOnlineStatus", tag = "14")]
|
|
pub online_status: i32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub level: u32,
|
|
#[prost(string, tag = "2")]
|
|
pub dmdcpeiefkg: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct FriendListInfo {
|
|
#[prost(enumeration = "PlayingState", tag = "3")]
|
|
pub playing_state: i32,
|
|
#[prost(string, tag = "13")]
|
|
pub friend_name: ::prost::alloc::string::String,
|
|
#[prost(int64, tag = "8")]
|
|
pub sent_time: i64,
|
|
#[prost(bool, tag = "4")]
|
|
pub is_marked: bool,
|
|
#[prost(message, optional, tag = "2")]
|
|
pub simple_info: ::core::option::Option<SimpleInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetAllLineupDataScRsp {
|
|
#[prost(uint32, tag = "1")]
|
|
pub cur_index: u32,
|
|
#[prost(message, repeated, tag = "6")]
|
|
pub lineup_list: ::prost::alloc::vec::Vec<LineupInfo>,
|
|
#[prost(uint32, tag = "7")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RelicArchive {
|
|
#[prost(uint32, tag = "3")]
|
|
pub relic_id: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub slot: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MonsterArchive {
|
|
#[prost(uint32, tag = "9")]
|
|
pub monster_id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub num: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ArchiveData {
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub relic_list: ::prost::alloc::vec::Vec<RelicArchive>,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub archive_monster_id_list: ::prost::alloc::vec::Vec<MonsterArchive>,
|
|
#[prost(uint32, repeated, tag = "12")]
|
|
pub archive_missing_equipment_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "3")]
|
|
pub archive_equipment_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "9")]
|
|
pub archive_missing_avatar_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetArchiveDataScRsp {
|
|
#[prost(message, optional, tag = "3")]
|
|
pub archive_data: ::core::option::Option<ArchiveData>,
|
|
#[prost(uint32, tag = "7")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetAvatarDataCsReq {
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub avatar_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(bool, tag = "3")]
|
|
pub is_get_all: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetAvatarDataScRsp {
|
|
#[prost(uint32, tag = "14")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, repeated, tag = "6")]
|
|
pub cibnempfije: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(bool, tag = "4")]
|
|
pub is_get_all: bool,
|
|
#[prost(message, repeated, tag = "13")]
|
|
pub avatar_list: ::prost::alloc::vec::Vec<Avatar>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Material {
|
|
#[prost(uint32, tag = "6")]
|
|
pub tid: u32,
|
|
#[prost(uint64, tag = "9")]
|
|
pub expire_time: u64,
|
|
#[prost(uint32, tag = "10")]
|
|
pub num: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct WaitDelResource {
|
|
#[prost(uint32, tag = "12")]
|
|
pub num: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub tid: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PileItem {
|
|
#[prost(uint32, tag = "12")]
|
|
pub item_num: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub item_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Material0 {
|
|
#[prost(uint32, tag = "7")]
|
|
pub num: u32,
|
|
#[prost(uint64, tag = "8")]
|
|
pub expire_time: u64,
|
|
#[prost(uint32, tag = "5")]
|
|
pub tid: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Relic {
|
|
#[prost(bool, tag = "11")]
|
|
pub is_discarded: bool,
|
|
#[prost(uint32, tag = "15")]
|
|
pub main_affix_id: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub exp: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub unique_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub tid: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub equip_avatar_id: u32,
|
|
#[prost(message, repeated, tag = "10")]
|
|
pub sub_affix_list: ::prost::alloc::vec::Vec<RelicAffix>,
|
|
#[prost(bool, tag = "4")]
|
|
pub is_protected: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetBagScRsp {
|
|
#[prost(uint32, repeated, tag = "2")]
|
|
pub ikhicomcdhp: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "11")]
|
|
pub ibigdplhfkc: ::prost::alloc::vec::Vec<Material>,
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub wait_del_resource_list: ::prost::alloc::vec::Vec<WaitDelResource>,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub pile_item_list: ::prost::alloc::vec::Vec<PileItem>,
|
|
#[prost(message, repeated, tag = "15")]
|
|
pub epbibaobeoj: ::prost::alloc::vec::Vec<Material0>,
|
|
#[prost(message, repeated, tag = "10")]
|
|
pub relic_list: ::prost::alloc::vec::Vec<Relic>,
|
|
#[prost(message, repeated, tag = "13")]
|
|
pub flnjichokac: ::prost::alloc::vec::Vec<Material0>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub geidcjnjmma: u32,
|
|
#[prost(uint32, repeated, tag = "12")]
|
|
pub ngegmhahglm: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "6")]
|
|
pub equipment_list: ::prost::alloc::vec::Vec<Equipment>,
|
|
#[prost(enumeration = "TurnFoodSwitch", repeated, tag = "8")]
|
|
pub turn_food_switch: ::prost::alloc::vec::Vec<i32>,
|
|
#[prost(message, repeated, tag = "1")]
|
|
pub material_list: ::prost::alloc::vec::Vec<Material>,
|
|
#[prost(uint32, repeated, tag = "7")]
|
|
pub kjibmefiben: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerSettingInfo {
|
|
#[prost(bool, tag = "2")]
|
|
pub jcnincccakl: bool,
|
|
#[prost(bool, tag = "1")]
|
|
pub nhknohpdocc: bool,
|
|
#[prost(bool, tag = "3")]
|
|
pub hhcgdeocomi: bool,
|
|
#[prost(bool, tag = "15")]
|
|
pub ookalmpeleg: bool,
|
|
#[prost(bool, tag = "9")]
|
|
pub defkcpiepnb: bool,
|
|
#[prost(bool, tag = "11")]
|
|
pub ggodaiohjif: bool,
|
|
#[prost(bool, tag = "12")]
|
|
pub kmjdmefgcck: bool,
|
|
#[prost(bool, tag = "7")]
|
|
pub dedidajjmcj: bool,
|
|
#[prost(bool, tag = "14")]
|
|
pub bkpaceckiia: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetBasicInfoScRsp {
|
|
#[prost(uint32, tag = "4")]
|
|
pub gender: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub cur_day: u32,
|
|
#[prost(message, optional, tag = "1")]
|
|
pub player_setting_info: ::core::option::Option<PlayerSettingInfo>,
|
|
#[prost(int64, tag = "8")]
|
|
pub next_recover_time: i64,
|
|
#[prost(bool, tag = "7")]
|
|
pub is_gender_set: bool,
|
|
#[prost(uint32, tag = "2")]
|
|
pub gameplay_birthday: u32,
|
|
#[prost(uint32, tag = "11")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub week_cocoon_finished_count: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub exchange_times: u32,
|
|
#[prost(int64, tag = "13")]
|
|
pub last_set_nickname_time: i64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetCurLineupDataScRsp {
|
|
#[prost(message, optional, tag = "15")]
|
|
pub lineup: ::core::option::Option<LineupInfo>,
|
|
#[prost(uint32, tag = "10")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetCurSceneInfoScRsp {
|
|
#[prost(uint32, tag = "15")]
|
|
pub retcode: u32,
|
|
#[prost(message, optional, tag = "11")]
|
|
pub scene: ::core::option::Option<SceneInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetEnteredSceneScRsp {
|
|
#[prost(uint32, tag = "8")]
|
|
pub retcode: u32,
|
|
#[prost(message, repeated, tag = "9")]
|
|
pub entered_scene_info: ::prost::alloc::vec::Vec<EnteredSceneInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetFriendListInfoScRsp {
|
|
#[prost(message, repeated, tag = "3")]
|
|
pub friend_list: ::prost::alloc::vec::Vec<FriendListInfo>,
|
|
#[prost(uint32, tag = "10")]
|
|
pub retcode: u32,
|
|
#[prost(message, repeated, tag = "1")]
|
|
pub idfijahanmn: ::prost::alloc::vec::Vec<SimpleInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MissionData {
|
|
#[prost(uint32, tag = "5")]
|
|
pub id: u32,
|
|
#[prost(enumeration = "MissionStatus", tag = "7")]
|
|
pub status: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMissionDataScRsp {
|
|
#[prost(uint32, tag = "10")]
|
|
pub retcode: u32,
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub mission_data_list: ::prost::alloc::vec::Vec<MissionData>,
|
|
#[prost(bool, tag = "15")]
|
|
pub nbgdkmbadki: bool,
|
|
#[prost(uint32, tag = "13")]
|
|
pub kcpgeandlei: u32,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub mission_list: ::prost::alloc::vec::Vec<Mission>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMissionStatusCsReq {
|
|
#[prost(uint32, repeated, tag = "8")]
|
|
pub main_mission_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "11")]
|
|
pub mission_event_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "10")]
|
|
pub sub_mission_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMissionStatusScRsp {
|
|
#[prost(message, repeated, tag = "9")]
|
|
pub mission_event_status_list: ::prost::alloc::vec::Vec<Mission>,
|
|
#[prost(uint32, repeated, tag = "6")]
|
|
pub finished_main_mission_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "8")]
|
|
pub sub_mission_status_list: ::prost::alloc::vec::Vec<Mission>,
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub unfinished_main_mission_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "10")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, repeated, tag = "13")]
|
|
pub disabled_main_mission_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MultiPathAvatarTypeInfo {
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub skilltree_list: ::prost::alloc::vec::Vec<AvatarSkillTree>,
|
|
#[prost(uint32, tag = "7")]
|
|
pub rank: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub path_equipment_id: u32,
|
|
#[prost(enumeration = "MultiPathAvatarType", tag = "2")]
|
|
pub avatar_id: i32,
|
|
#[prost(message, repeated, tag = "3")]
|
|
pub equip_relic_list: ::prost::alloc::vec::Vec<EquipRelic>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMultiPathAvatarInfoScRsp {
|
|
#[prost(uint32, tag = "3")]
|
|
pub retcode: u32,
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub multi_path_avatar_type_info_list: ::prost::alloc::vec::Vec<
|
|
MultiPathAvatarTypeInfo,
|
|
>,
|
|
#[prost(uint32, repeated, tag = "4")]
|
|
pub dbkjfgdlemk: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(map = "uint32, enumeration(MultiPathAvatarType)", tag = "13")]
|
|
pub current_multi_path_avatar_id: ::std::collections::HashMap<u32, i32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetPrivateChatHistoryCsReq {
|
|
#[prost(uint32, tag = "2")]
|
|
pub to_uid: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub sender_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetPrivateChatHistoryScRsp {
|
|
#[prost(uint32, tag = "7")]
|
|
pub to_uid: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub sender_id: u32,
|
|
#[prost(message, repeated, tag = "9")]
|
|
pub chat_list: ::prost::alloc::vec::Vec<Chat>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetSceneMapInfoCsReq {
|
|
#[prost(uint32, tag = "14")]
|
|
pub content_id: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub cur_map_entry_id: u32,
|
|
#[prost(bool, tag = "6")]
|
|
pub edpaljjjgki: bool,
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub entry_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MazeGroup {
|
|
#[prost(bool, tag = "2")]
|
|
pub hllognagalg: bool,
|
|
#[prost(uint32, tag = "13")]
|
|
pub group_id: u32,
|
|
#[prost(int64, tag = "9")]
|
|
pub modify_time: i64,
|
|
#[prost(uint32, repeated, tag = "5")]
|
|
pub didcplpbndg: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MazeChest {
|
|
#[prost(enumeration = "MapInfoChestType", tag = "4")]
|
|
pub map_info_chest_type: i32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub unlocked_amount_list: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub total_amount_list: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MazeProp {
|
|
#[prost(uint32, tag = "4")]
|
|
pub config_id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub state: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub group_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MazeMapData {
|
|
#[prost(map = "string, int32", tag = "8")]
|
|
pub floor_saved_data: ::std::collections::HashMap<
|
|
::prost::alloc::string::String,
|
|
i32,
|
|
>,
|
|
#[prost(uint32, repeated, tag = "11")]
|
|
pub unlocked_teleport_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "1")]
|
|
pub maze_group_list: ::prost::alloc::vec::Vec<MazeGroup>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub entry_id: u32,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub unlocked_chest_list: ::prost::alloc::vec::Vec<MazeChest>,
|
|
#[prost(uint32, repeated, tag = "10")]
|
|
pub lighten_section_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "4")]
|
|
pub kpbfldbadan: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub cur_map_entry_id: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub mdkmdbibnae: u32,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub maze_prop_list: ::prost::alloc::vec::Vec<MazeProp>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub content_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetSceneMapInfoScRsp {
|
|
#[prost(bool, tag = "10")]
|
|
pub edpaljjjgki: bool,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub map_list: ::prost::alloc::vec::Vec<MazeMapData>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct InteractPropCsReq {
|
|
#[prost(uint32, tag = "11")]
|
|
pub prop_entity_id: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub interact_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Item {
|
|
#[prost(uint32, tag = "2")]
|
|
pub promotion: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub num: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub unique_id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub main_affix_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub rank: u32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub item_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ItemCost {
|
|
#[prost(message, optional, tag = "12")]
|
|
pub pile_item: ::core::option::Option<PileItem>,
|
|
#[prost(uint32, tag = "11")]
|
|
pub equipment_unique_id: u32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub relic_unique_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerBasicInfo {
|
|
#[prost(string, tag = "1")]
|
|
pub nickname: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "2")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub exp: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub stamina: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub mcoin: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub hcoin: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub scoin: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub world_level: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BlackInfo {
|
|
#[prost(int64, tag = "1")]
|
|
pub begin_time: i64,
|
|
#[prost(int64, tag = "2")]
|
|
pub end_time: i64,
|
|
#[prost(uint32, tag = "3")]
|
|
pub oghdnmjdmlg: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub llbgmngogdl: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerGetTokenScRsp {
|
|
#[prost(uint32, tag = "10")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub uid: u32,
|
|
#[prost(uint64, tag = "5")]
|
|
pub secret_key_seed: u64,
|
|
#[prost(message, optional, tag = "12")]
|
|
pub black_info: ::core::option::Option<BlackInfo>,
|
|
#[prost(string, tag = "3")]
|
|
pub msg: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ClientUploadData {
|
|
#[prost(string, tag = "1")]
|
|
pub iobghgjlokc: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "2")]
|
|
pub nlabndmdikm: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerHeartBeatCsReq {
|
|
#[prost(message, optional, tag = "8")]
|
|
pub eaiebeijmde: ::core::option::Option<ClientUploadData>,
|
|
#[prost(uint32, tag = "5")]
|
|
pub fhbehdlecea: u32,
|
|
#[prost(uint64, tag = "11")]
|
|
pub client_time_ms: u64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerHeartBeatScRsp {
|
|
#[prost(uint64, tag = "12")]
|
|
pub server_time_ms: u64,
|
|
#[prost(uint64, tag = "11")]
|
|
pub client_time_ms: u64,
|
|
#[prost(message, optional, tag = "10")]
|
|
pub download_data: ::core::option::Option<ClientDownloadData>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerLoginCsReq {
|
|
#[prost(uint32, tag = "13")]
|
|
pub bajjablkfab: u32,
|
|
#[prost(string, tag = "14")]
|
|
pub bcijkmpjfni: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "9")]
|
|
pub difcdhddfbp: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "1253")]
|
|
pub lmjolnigkkc: u32,
|
|
#[prost(uint32, tag = "540")]
|
|
pub blclkkidljh: u32,
|
|
#[prost(string, tag = "1012")]
|
|
pub pkgmnimcpdh: ::prost::alloc::string::String,
|
|
#[prost(enumeration = "PlatformType", tag = "5")]
|
|
pub platform_type: i32,
|
|
#[prost(bool, tag = "1976")]
|
|
pub kjfcoglhkfk: bool,
|
|
#[prost(string, tag = "6")]
|
|
pub cost_time: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1866")]
|
|
pub ochimkelcde: ::prost::alloc::string::String,
|
|
#[prost(uint64, tag = "8")]
|
|
pub login_random: u64,
|
|
#[prost(string, tag = "1393")]
|
|
pub dmdcpeiefkg: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "624")]
|
|
pub bhoanekljhm: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "354")]
|
|
pub meijfajkmmp: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "11")]
|
|
pub mkkdakgkkhe: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "7")]
|
|
pub ogilamajgio: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "3")]
|
|
pub ghaifpffmog: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "15")]
|
|
pub fecdamigijp: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "12")]
|
|
pub mddiipbifek: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "2")]
|
|
pub signature: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "4")]
|
|
pub client_res_version: u32,
|
|
#[prost(string, tag = "1")]
|
|
pub mhmockcmeje: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1358")]
|
|
pub fgahpfhnncl: bool,
|
|
#[prost(string, tag = "1183")]
|
|
pub pjieaeapgnl: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerLoginScRsp {
|
|
#[prost(uint64, tag = "13")]
|
|
pub login_random: u64,
|
|
#[prost(string, tag = "2")]
|
|
pub meilhlkmgfn: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "14")]
|
|
pub pnhfbdbkpci: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1")]
|
|
pub kcicanjloba: bool,
|
|
#[prost(bool, tag = "4")]
|
|
pub dlicepdamib: bool,
|
|
#[prost(message, optional, tag = "5")]
|
|
pub basic_info: ::core::option::Option<PlayerBasicInfo>,
|
|
#[prost(uint32, tag = "7")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub stamina: u32,
|
|
#[prost(int32, tag = "3")]
|
|
pub cur_timezone: i32,
|
|
#[prost(uint64, tag = "15")]
|
|
pub server_timestamp_ms: u64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct MissionSync {
|
|
#[prost(uint32, repeated, tag = "10")]
|
|
pub ipodiiadolh: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "6")]
|
|
pub ommnpnbabhn: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub mission_list: ::prost::alloc::vec::Vec<Mission>,
|
|
#[prost(uint32, repeated, tag = "9")]
|
|
pub dgoigglciko: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "1")]
|
|
pub limpnlbchpl: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Quest {
|
|
#[prost(int64, tag = "13")]
|
|
pub finish_time: i64,
|
|
#[prost(uint32, tag = "10")]
|
|
pub id: u32,
|
|
#[prost(enumeration = "QuestStatus", tag = "15")]
|
|
pub status: i32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub progress: u32,
|
|
#[prost(uint32, repeated, tag = "5")]
|
|
pub pnkhfhpabgb: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ItemList {
|
|
#[prost(message, repeated, tag = "10")]
|
|
pub item_list: ::prost::alloc::vec::Vec<Item>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerSyncScNotify {
|
|
#[prost(message, optional, tag = "4")]
|
|
pub basic_info: ::core::option::Option<PlayerBasicInfo>,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub relic_list: ::prost::alloc::vec::Vec<Relic>,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub equipment_list: ::prost::alloc::vec::Vec<Equipment>,
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub wait_del_resource_list: ::prost::alloc::vec::Vec<WaitDelResource>,
|
|
#[prost(message, optional, tag = "9")]
|
|
pub melkjffjnkb: ::core::option::Option<MissionSync>,
|
|
#[prost(message, repeated, tag = "345")]
|
|
pub flnjichokac: ::prost::alloc::vec::Vec<Material>,
|
|
#[prost(message, repeated, tag = "1")]
|
|
pub quest_list: ::prost::alloc::vec::Vec<Quest>,
|
|
#[prost(uint32, repeated, tag = "8")]
|
|
pub del_relic_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "1546")]
|
|
pub mjbalomkgdg: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, optional, tag = "10")]
|
|
pub avatar_sync: ::core::option::Option<AvatarSync>,
|
|
#[prost(message, optional, tag = "1273")]
|
|
pub board_data_sync: ::core::option::Option<BoardDataSync>,
|
|
#[prost(uint32, tag = "1522")]
|
|
pub total_achievement_exp: u32,
|
|
#[prost(message, repeated, tag = "14")]
|
|
pub material_list: ::prost::alloc::vec::Vec<Material>,
|
|
#[prost(uint32, repeated, tag = "12")]
|
|
pub del_equipment_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, repeated, tag = "1834")]
|
|
pub multi_path_avatar_type_info_list: ::prost::alloc::vec::Vec<
|
|
MultiPathAvatarTypeInfo,
|
|
>,
|
|
#[prost(message, optional, tag = "969")]
|
|
pub ilcelhlkamj: ::core::option::Option<ItemList>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RelicRecomendCsReq {
|
|
#[prost(uint32, tag = "10")]
|
|
pub avatar_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct LineupSlotData {
|
|
#[prost(uint32, tag = "10")]
|
|
pub id: u32,
|
|
#[prost(enumeration = "AvatarType", tag = "11")]
|
|
pub avatar_type: i32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub slot: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ReplaceLineupCsReq {
|
|
#[prost(bool, tag = "10")]
|
|
pub is_virtual: bool,
|
|
#[prost(uint32, tag = "4")]
|
|
pub ijnpccndcgi: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub plane_id: u32,
|
|
#[prost(enumeration = "ExtraLineupType", tag = "12")]
|
|
pub extra_lineup_type: i32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub leader_slot: u32,
|
|
#[prost(message, repeated, tag = "9")]
|
|
pub slots: ::prost::alloc::vec::Vec<LineupSlotData>,
|
|
#[prost(uint32, tag = "2")]
|
|
pub index: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RevcMsgScNotify {
|
|
#[prost(uint32, tag = "9")]
|
|
pub from_uid: u32,
|
|
#[prost(string, tag = "7")]
|
|
pub text: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "11")]
|
|
pub emote: u32,
|
|
#[prost(enumeration = "MsgType", tag = "1")]
|
|
pub msg_type: i32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub to_uid: u32,
|
|
#[prost(enumeration = "ChatType", tag = "10")]
|
|
pub chat_type: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleEventInitedData {
|
|
#[prost(message, optional, tag = "2")]
|
|
pub sp_bar: ::core::option::Option<SpBarInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleEventBattleInfo {
|
|
#[prost(uint32, tag = "1")]
|
|
pub battle_event_id: u32,
|
|
#[prost(message, optional, tag = "2")]
|
|
pub status: ::core::option::Option<BattleEventInitedData>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EvolveBuildGearDamageInfo {
|
|
#[prost(uint32, tag = "1")]
|
|
pub gear_id: u32,
|
|
#[prost(double, tag = "2")]
|
|
pub damage: f64,
|
|
#[prost(double, tag = "3")]
|
|
pub hp_damage: f64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EvolveBuildBattleInfo {
|
|
#[prost(uint32, tag = "1")]
|
|
pub cur_level_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub cur_period: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub cur_coin: u32,
|
|
#[prost(uint32, repeated, tag = "6")]
|
|
pub ban_gear_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "8")]
|
|
pub allowed_gear_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub cur_exp: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub cur_reroll: u32,
|
|
#[prost(uint32, tag = "11")]
|
|
pub cur_treasure_miss_cnt: u32,
|
|
#[prost(uint32, repeated, tag = "12")]
|
|
pub period_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub cur_gear_lost_cnt: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub cur_wave: u32,
|
|
#[prost(bool, tag = "15")]
|
|
pub is_unlock_gear_reroll: bool,
|
|
#[prost(bool, tag = "16")]
|
|
pub is_unlock_gear_ban: bool,
|
|
#[prost(message, repeated, tag = "18")]
|
|
pub gear_damage_list: ::prost::alloc::vec::Vec<EvolveBuildGearDamageInfo>,
|
|
#[prost(uint32, repeated, tag = "19")]
|
|
pub stat_params: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(bool, tag = "20")]
|
|
pub is_giveup: bool,
|
|
#[prost(uint32, tag = "21")]
|
|
pub cur_unused_round_cnt: u32,
|
|
#[prost(uint32, tag = "23")]
|
|
pub period_first_random_seed: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneMonster {
|
|
#[prost(uint32, tag = "7")]
|
|
pub max_hp: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub monster_id: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub cur_hp: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneMonsterWaveParam {
|
|
#[prost(uint32, tag = "10")]
|
|
pub gmimbapadel: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub ednldnkdhim: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub level: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub gcljbgjckpi: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneMonsterWave {
|
|
#[prost(uint32, tag = "14")]
|
|
pub stage_id: u32,
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub monster_list: ::prost::alloc::vec::Vec<SceneMonster>,
|
|
#[prost(uint32, tag = "10")]
|
|
pub wave_id: u32,
|
|
#[prost(message, repeated, tag = "3")]
|
|
pub epeemgikihd: ::prost::alloc::vec::Vec<ItemList>,
|
|
#[prost(message, optional, tag = "13")]
|
|
pub wave_param: ::core::option::Option<SceneMonsterWaveParam>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneBattleInfo {
|
|
#[prost(message, repeated, tag = "321")]
|
|
pub event_battle_info_list: ::prost::alloc::vec::Vec<BattleEventBattleInfo>,
|
|
#[prost(message, optional, tag = "471")]
|
|
pub bcilaimkepo: ::core::option::Option<EvolveBuildBattleInfo>,
|
|
#[prost(message, repeated, tag = "14")]
|
|
pub monster_wave_list: ::prost::alloc::vec::Vec<SceneMonsterWave>,
|
|
#[prost(uint32, tag = "2")]
|
|
pub world_level: u32,
|
|
#[prost(message, repeated, tag = "5")]
|
|
pub buff_list: ::prost::alloc::vec::Vec<BattleBuff>,
|
|
#[prost(bool, tag = "11")]
|
|
pub nlhcbhebgog: bool,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub battle_avatar_list: ::prost::alloc::vec::Vec<BattleAvatar>,
|
|
#[prost(uint32, tag = "6")]
|
|
pub logic_random_seed: u32,
|
|
#[prost(map = "uint32, message", tag = "892")]
|
|
pub battle_target_info: ::std::collections::HashMap<u32, BattleTargetList>,
|
|
#[prost(uint32, tag = "4")]
|
|
pub rounds_limit: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub stage_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub wave_count: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub battle_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AssistMonsterWave {
|
|
#[prost(uint32, repeated, tag = "4")]
|
|
pub entity_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneCastSkillCsReq {
|
|
#[prost(string, tag = "11")]
|
|
pub ggogccbgofo: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "14")]
|
|
pub caster_id: u32,
|
|
#[prost(uint32, repeated, tag = "7")]
|
|
pub hit_target_entity_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "10")]
|
|
pub assist_monster_entity_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(message, optional, tag = "5")]
|
|
pub target_motion: ::core::option::Option<MotionInfo>,
|
|
#[prost(uint32, tag = "15")]
|
|
pub attacked_group_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub mkfjacifjmc: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub skill_index: u32,
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub assist_monster_wave_list: ::prost::alloc::vec::Vec<AssistMonsterWave>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneCastSkillScRsp {
|
|
#[prost(uint32, tag = "10")]
|
|
pub attacked_group_id: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub retcode: u32,
|
|
#[prost(message, optional, tag = "13")]
|
|
pub battle_info: ::core::option::Option<SceneBattleInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct EntityMotion {
|
|
#[prost(uint32, tag = "11")]
|
|
pub map_layer: u32,
|
|
#[prost(message, optional, tag = "1")]
|
|
pub motion: ::core::option::Option<MotionInfo>,
|
|
#[prost(uint32, tag = "15")]
|
|
pub entity_id: u32,
|
|
#[prost(bool, tag = "8")]
|
|
pub ccclmigdjkc: bool,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneEntityMoveCsReq {
|
|
#[prost(uint64, tag = "10")]
|
|
pub ihnakchicdm: u64,
|
|
#[prost(message, repeated, tag = "15")]
|
|
pub entity_motion_list: ::prost::alloc::vec::Vec<EntityMotion>,
|
|
#[prost(uint32, tag = "3")]
|
|
pub entry_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneEntityMoveScNotify {
|
|
#[prost(uint32, tag = "10")]
|
|
pub entity_id: u32,
|
|
#[prost(message, optional, tag = "15")]
|
|
pub motion: ::core::option::Option<MotionInfo>,
|
|
#[prost(uint32, tag = "7")]
|
|
pub entry_id: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub client_pos_version: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneEntityRefreshInfo {
|
|
#[prost(oneof = "scene_entity_refresh_info::RefreshType", tags = "5, 3, 14")]
|
|
pub refresh_type: ::core::option::Option<scene_entity_refresh_info::RefreshType>,
|
|
}
|
|
/// Nested message and enum types in `SceneEntityRefreshInfo`.
|
|
pub mod scene_entity_refresh_info {
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Oneof)]
|
|
pub enum RefreshType {
|
|
#[prost(message, tag = "5")]
|
|
AddEntity(super::SceneEntityInfo),
|
|
#[prost(uint32, tag = "3")]
|
|
DelEntity(u32),
|
|
#[prost(uint32, tag = "14")]
|
|
Klmchlokeho(u32),
|
|
}
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneGroupRefreshInfo {
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub refresh_entity: ::prost::alloc::vec::Vec<SceneEntityRefreshInfo>,
|
|
#[prost(enumeration = "SceneGroupRefreshType", tag = "14")]
|
|
pub group_refresh_type: i32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub state: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub group_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SceneGroupRefreshScNotify {
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub group_refresh_info: ::prost::alloc::vec::Vec<SceneGroupRefreshInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SendMsgCsReq {
|
|
#[prost(enumeration = "ChatType", tag = "1")]
|
|
pub chat_type: i32,
|
|
#[prost(enumeration = "MsgType", tag = "3")]
|
|
pub msg_type: i32,
|
|
#[prost(uint32, repeated, tag = "15")]
|
|
pub to_uid_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(string, tag = "6")]
|
|
pub text: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "9")]
|
|
pub emote: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SwitchLineupIndexCsReq {
|
|
#[prost(uint32, tag = "13")]
|
|
pub index: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SwitchLineupIndexScRsp {
|
|
#[prost(uint32, tag = "7")]
|
|
pub index: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SyncEntityBuffChangeListScNotify {
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub entity_buff_info_list: ::prost::alloc::vec::Vec<EntityBuffChangeInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SyncLineupNotify {
|
|
#[prost(enumeration = "SyncReason", repeated, tag = "3")]
|
|
pub reason_list: ::prost::alloc::vec::Vec<i32>,
|
|
#[prost(message, optional, tag = "14")]
|
|
pub lineup: ::core::option::Option<LineupInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct TakeOffEquipmentCsReq {
|
|
#[prost(uint32, tag = "5")]
|
|
pub avatar_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct TakeOffRelicCsReq {
|
|
#[prost(uint32, repeated, tag = "15")]
|
|
pub slot_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "12")]
|
|
pub avatar_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AvatarProperty {
|
|
#[prost(double, tag = "1")]
|
|
pub max_hp: f64,
|
|
#[prost(double, tag = "2")]
|
|
pub attack: f64,
|
|
#[prost(double, tag = "3")]
|
|
pub defence: f64,
|
|
#[prost(double, tag = "4")]
|
|
pub speed: f64,
|
|
#[prost(double, tag = "5")]
|
|
pub left_hp: f64,
|
|
#[prost(double, tag = "6")]
|
|
pub left_sp: f64,
|
|
#[prost(double, tag = "7")]
|
|
pub max_sp: f64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AttackDamageProperty {
|
|
#[prost(string, tag = "1")]
|
|
pub palefhlckln: ::prost::alloc::string::String,
|
|
#[prost(double, tag = "2")]
|
|
pub ohfcbnkchlo: f64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SkillUseProperty {
|
|
#[prost(uint32, tag = "1")]
|
|
pub hgnfloilneg: u32,
|
|
#[prost(string, tag = "2")]
|
|
pub aglbkdknioh: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "3")]
|
|
pub kafehefomai: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub dkecbneeecd: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub okoebgnppii: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub ipacnpiogji: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub cmhakdimelf: u32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub edmjmnfgmad: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub okffdjngjed: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AvatarBattleInfo {
|
|
#[prost(enumeration = "AvatarType", tag = "1")]
|
|
pub avatar_type: i32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub id: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub avatar_level: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub avatar_rank: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub avatar_promotion: u32,
|
|
#[prost(message, optional, tag = "6")]
|
|
pub avatar_status: ::core::option::Option<AvatarProperty>,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub cfohkkgalch: ::prost::alloc::vec::Vec<AvatarSkillTree>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub total_turns: u32,
|
|
#[prost(double, tag = "10")]
|
|
pub total_damage: f64,
|
|
#[prost(double, tag = "11")]
|
|
pub total_heal: f64,
|
|
#[prost(double, tag = "12")]
|
|
pub total_damage_taken: f64,
|
|
#[prost(double, tag = "13")]
|
|
pub total_hp_recover: f64,
|
|
#[prost(double, tag = "14")]
|
|
pub dfgadbjbiob: f64,
|
|
#[prost(uint32, tag = "15")]
|
|
pub stage_id: u32,
|
|
#[prost(uint32, tag = "16")]
|
|
pub stage_type: u32,
|
|
#[prost(double, tag = "17")]
|
|
pub jnchgklgnlf: f64,
|
|
#[prost(message, repeated, tag = "18")]
|
|
pub attack_damage_type: ::prost::alloc::vec::Vec<AttackDamageProperty>,
|
|
#[prost(message, repeated, tag = "19")]
|
|
pub kmkbogbaeno: ::prost::alloc::vec::Vec<AttackDamageProperty>,
|
|
#[prost(message, repeated, tag = "20")]
|
|
pub dcfbmhagghh: ::prost::alloc::vec::Vec<AttackDamageProperty>,
|
|
#[prost(message, repeated, tag = "21")]
|
|
pub skill_times: ::prost::alloc::vec::Vec<SkillUseProperty>,
|
|
#[prost(double, tag = "22")]
|
|
pub delay_cumulate: f64,
|
|
#[prost(uint32, tag = "23")]
|
|
pub okpkiancelf: u32,
|
|
#[prost(uint32, tag = "25")]
|
|
pub kimilnnnflf: u32,
|
|
#[prost(uint32, tag = "26")]
|
|
pub ndlnbbpfffl: u32,
|
|
#[prost(uint32, tag = "27")]
|
|
pub aeddfdkbpep: u32,
|
|
#[prost(uint32, tag = "28")]
|
|
pub omhlpnoflne: u32,
|
|
#[prost(uint32, tag = "29")]
|
|
pub njlpaaookdl: u32,
|
|
#[prost(double, tag = "30")]
|
|
pub ojeocegbkdi: f64,
|
|
#[prost(double, tag = "31")]
|
|
pub lnikhkhpcge: f64,
|
|
#[prost(double, tag = "32")]
|
|
pub emmikoejmph: f64,
|
|
#[prost(message, optional, tag = "33")]
|
|
pub jdmdemjpcia: ::core::option::Option<AvatarProperty>,
|
|
#[prost(message, repeated, tag = "34")]
|
|
pub baeigohghnm: ::prost::alloc::vec::Vec<BattleRelic>,
|
|
#[prost(uint32, tag = "35")]
|
|
pub apkmboagcmi: u32,
|
|
#[prost(message, repeated, tag = "36")]
|
|
pub pnnbhmgbbaf: ::prost::alloc::vec::Vec<AttackDamageProperty>,
|
|
#[prost(double, tag = "37")]
|
|
pub ifogdklojaj: f64,
|
|
#[prost(double, tag = "38")]
|
|
pub fpokhaemoli: f64,
|
|
#[prost(double, tag = "39")]
|
|
pub gdljjodkiip: f64,
|
|
#[prost(double, tag = "40")]
|
|
pub mldjfbabhek: f64,
|
|
#[prost(uint32, tag = "42")]
|
|
pub faomiaggpaa: u32,
|
|
#[prost(uint32, tag = "43")]
|
|
pub fadjmlcifbf: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleStatistics {
|
|
#[prost(uint32, tag = "1")]
|
|
pub pibhifbmjik: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub foibfimjppc: u32,
|
|
#[prost(uint32, repeated, tag = "3")]
|
|
pub avatar_id_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "4")]
|
|
pub fidldfamnmc: u32,
|
|
#[prost(double, tag = "5")]
|
|
pub ahhiiakenmo: f64,
|
|
#[prost(double, tag = "6")]
|
|
pub ldofejlhcgf: f64,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub onjclkidofe: ::prost::alloc::vec::Vec<AvatarBattleInfo>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub ijfifombokm: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub bhmjjlpbfka: u32,
|
|
#[prost(uint32, tag = "11")]
|
|
pub docmipabdde: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub ehmejolhnbj: u32,
|
|
#[prost(map = "string, float", tag = "13")]
|
|
pub omngiehkfcf: ::std::collections::HashMap<::prost::alloc::string::String, f32>,
|
|
#[prost(uint32, tag = "14")]
|
|
pub djggbffcmll: u32,
|
|
#[prost(message, repeated, tag = "16")]
|
|
pub gmdmfihphoc: ::prost::alloc::vec::Vec<BattleEventBattleInfo>,
|
|
#[prost(int32, repeated, tag = "22")]
|
|
pub bkbifgcidje: ::prost::alloc::vec::Vec<i32>,
|
|
#[prost(map = "uint32, message", tag = "28")]
|
|
pub battle_target_info: ::std::collections::HashMap<u32, BattleTargetList>,
|
|
#[prost(message, optional, tag = "30")]
|
|
pub bcilaimkepo: ::core::option::Option<EvolveBuildBattleInfo>,
|
|
#[prost(bool, tag = "32")]
|
|
pub ckopikjmnno: bool,
|
|
#[prost(uint32, tag = "35")]
|
|
pub bfjbhggehfp: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BattleOp {
|
|
#[prost(uint32, tag = "1")]
|
|
pub bdjddegiphb: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub state: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub gdihafinfel: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub mnbkfbffbbc: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub albjdnedggo: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub skill_index: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub hdgdcplilac: u32,
|
|
#[prost(string, tag = "8")]
|
|
pub pmepgjijdmc: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PveBattleResultCsReq {
|
|
#[prost(uint32, tag = "5")]
|
|
pub stage_id: u32,
|
|
#[prost(map = "string, uint32", tag = "7")]
|
|
pub npgbkdmfjjh: ::std::collections::HashMap<::prost::alloc::string::String, u32>,
|
|
#[prost(uint32, tag = "13")]
|
|
pub ldofejlhcgf: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub cost_time: u32,
|
|
#[prost(uint32, tag = "4")]
|
|
pub hfgoninpkpp: u32,
|
|
#[prost(bool, tag = "15")]
|
|
pub jmlmhajmmgm: bool,
|
|
#[prost(enumeration = "BattleEndStatus", tag = "1")]
|
|
pub end_status: i32,
|
|
#[prost(bytes = "vec", tag = "8")]
|
|
pub turn_snapshot_hash: ::prost::alloc::vec::Vec<u8>,
|
|
#[prost(message, optional, tag = "12")]
|
|
pub stt: ::core::option::Option<BattleStatistics>,
|
|
#[prost(bool, tag = "2")]
|
|
pub gnkmjinkoif: bool,
|
|
#[prost(uint32, tag = "9")]
|
|
pub battle_id: u32,
|
|
#[prost(bool, tag = "3")]
|
|
pub eeadhljcghf: bool,
|
|
#[prost(string, tag = "11")]
|
|
pub clhgagmlpgk: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "10")]
|
|
pub client_res_version: u32,
|
|
#[prost(message, repeated, tag = "6")]
|
|
pub op_list: ::prost::alloc::vec::Vec<BattleOp>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PveBattleResultScRsp {
|
|
#[prost(bool, tag = "4")]
|
|
pub check_identical: bool,
|
|
#[prost(message, repeated, tag = "7")]
|
|
pub battle_avatar_list: ::prost::alloc::vec::Vec<BattleAvatar>,
|
|
#[prost(uint32, tag = "14")]
|
|
pub oocaibocjln: u32,
|
|
#[prost(string, tag = "12")]
|
|
pub res_version: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "3")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "11")]
|
|
pub stage_id: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub battle_id: u32,
|
|
#[prost(uint32, tag = "13")]
|
|
pub glplpadhfpd: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub event_id: u32,
|
|
#[prost(message, optional, tag = "5")]
|
|
pub drop_data: ::core::option::Option<ItemList>,
|
|
#[prost(message, optional, tag = "1")]
|
|
pub eahkgakocfi: ::core::option::Option<ItemList>,
|
|
#[prost(message, optional, tag = "73")]
|
|
pub cbilddggofb: ::core::option::Option<ItemList>,
|
|
#[prost(message, optional, tag = "8")]
|
|
pub acpoidmpoae: ::core::option::Option<ItemList>,
|
|
#[prost(uint32, tag = "9")]
|
|
pub gndhohdfcaj: u32,
|
|
#[prost(string, tag = "10")]
|
|
pub bin_version: ::prost::alloc::string::String,
|
|
#[prost(enumeration = "BattleEndStatus", tag = "2")]
|
|
pub end_status: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RegionEntry {
|
|
#[prost(string, tag = "1")]
|
|
pub name: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "2")]
|
|
pub title: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "3")]
|
|
pub dispatch_url: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "4")]
|
|
pub env_type: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "5")]
|
|
pub display_name: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "6")]
|
|
pub msg: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DispatchRegionData {
|
|
#[prost(uint32, tag = "1")]
|
|
pub retcode: u32,
|
|
#[prost(string, tag = "2")]
|
|
pub msg: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "3")]
|
|
pub top_sever_region_name: ::prost::alloc::string::String,
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub region_list: ::prost::alloc::vec::Vec<RegionEntry>,
|
|
#[prost(string, tag = "5")]
|
|
pub stop_desc: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Gateserver {
|
|
#[prost(bool, tag = "1566")]
|
|
pub unk1: bool,
|
|
#[prost(bool, tag = "1952")]
|
|
pub unk2: bool,
|
|
#[prost(string, tag = "563")]
|
|
pub gbicamfdfce: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "5")]
|
|
pub jldldfcajco: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1457")]
|
|
pub unk3: bool,
|
|
#[prost(string, tag = "716")]
|
|
pub oaonlakknih: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1220")]
|
|
pub llbopdmgmlo: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1192")]
|
|
pub degfpdpoihi: ::prost::alloc::string::String,
|
|
#[prost(int64, tag = "15")]
|
|
pub kicppahlghb: i64,
|
|
#[prost(bool, tag = "593")]
|
|
pub unk4: bool,
|
|
#[prost(string, tag = "14")]
|
|
pub ex_resource_url: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "677")]
|
|
pub fphfajbchpg: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "405")]
|
|
pub bhdbhbjjpni: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1113")]
|
|
pub ifix_url: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "87")]
|
|
pub pnhbalgfhoh: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1808")]
|
|
pub dalbcelehgm: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "2")]
|
|
pub port: u32,
|
|
#[prost(string, tag = "1570")]
|
|
pub ndaokpkolki: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1915")]
|
|
pub unk5: bool,
|
|
#[prost(string, tag = "1629")]
|
|
pub ohoginogeog: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1583")]
|
|
pub ifix_version: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "13")]
|
|
pub aomedachljd: u32,
|
|
#[prost(bool, tag = "1")]
|
|
pub unk6: bool,
|
|
#[prost(string, tag = "8")]
|
|
pub fnchmfhfmid: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "11")]
|
|
pub msg: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "915")]
|
|
pub keicdbehmdo: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "3")]
|
|
pub asset_bundle_url: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1028")]
|
|
pub unk7: bool,
|
|
#[prost(string, repeated, tag = "663")]
|
|
pub gbcbidahgjc: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
#[prost(string, tag = "661")]
|
|
pub nkjbgboogfd: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1462")]
|
|
pub jcfgjfmgnlf: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1236")]
|
|
pub bcadojchkae: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1773")]
|
|
pub gmcehmdohdl: ::prost::alloc::string::String,
|
|
#[prost(int64, tag = "9")]
|
|
pub pohjhddoecn: i64,
|
|
#[prost(bool, tag = "297")]
|
|
pub mmcachlfjaa: bool,
|
|
#[prost(bool, tag = "1754")]
|
|
pub ncikdciigof: bool,
|
|
#[prost(string, tag = "1132")]
|
|
pub ihgaicfnadn: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "12")]
|
|
pub retcode: u32,
|
|
#[prost(string, tag = "148")]
|
|
pub npnbjbcfpne: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "6")]
|
|
pub baglofeacnc: u32,
|
|
#[prost(string, tag = "614")]
|
|
pub gdobhndocoj: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "4")]
|
|
pub ip: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1486")]
|
|
pub efknbdlnakj: bool,
|
|
#[prost(bool, tag = "414")]
|
|
pub gpjcfcjdmol: bool,
|
|
#[prost(string, tag = "10")]
|
|
pub lua_url: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1012")]
|
|
pub ghcioialpmh: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1176")]
|
|
pub jipjkleanbd: bool,
|
|
#[prost(uint32, tag = "1710")]
|
|
pub mdailcamoao: u32,
|
|
#[prost(string, tag = "1430")]
|
|
pub habfaofipla: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "1370")]
|
|
pub mnemhhbmkea: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "873")]
|
|
pub mandmjolphh: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "1523")]
|
|
pub pphbpgbnoem: bool,
|
|
#[prost(string, tag = "512")]
|
|
pub lbpfhpcbckl: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "312")]
|
|
pub bfihfklmmek: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "7")]
|
|
pub dhppkkgjldl: bool,
|
|
#[prost(string, tag = "1420")]
|
|
pub enlggeekcjh: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "571")]
|
|
pub meacagafhga: ::prost::alloc::string::String,
|
|
#[prost(bool, tag = "825")]
|
|
pub jidbdekohdh: bool,
|
|
#[prost(string, tag = "1750")]
|
|
pub pkddcfgddde: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct StartCocoonStageCsReq {
|
|
#[prost(uint32, tag = "3")]
|
|
pub wave: u32,
|
|
#[prost(uint32, tag = "5")]
|
|
pub world_level: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub prop_entity_id: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub cocoon_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct StartCocoonStageScRsp {
|
|
#[prost(uint32, tag = "14")]
|
|
pub cocoon_id: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub prop_entity_id: u32,
|
|
#[prost(uint32, tag = "12")]
|
|
pub wave: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub retcode: u32,
|
|
#[prost(message, optional, tag = "9")]
|
|
pub battle_info: ::core::option::Option<SceneBattleInfo>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct PlayerGetTokenCsReq {
|
|
#[prost(uint32, tag = "3")]
|
|
pub platform_type: u32,
|
|
#[prost(string, tag = "4")]
|
|
pub token: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "7")]
|
|
pub blclkkidljh: u32,
|
|
#[prost(string, tag = "10")]
|
|
pub account_uid: ::prost::alloc::string::String,
|
|
#[prost(string, tag = "5")]
|
|
pub lkgbcdgefjf: ::prost::alloc::string::String,
|
|
#[prost(uint32, tag = "2")]
|
|
pub gmcheopahkc: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub pcmajmegbld: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub uid: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetFriendListInfoCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct AvatarPathChangedNotify {
|
|
#[prost(uint32, tag = "3")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(enumeration = "MultiPathAvatarType", tag = "8")]
|
|
pub cur_multi_path_avatar_type: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct SendMsgScRsp {
|
|
#[prost(uint64, tag = "5")]
|
|
pub end_time: u64,
|
|
#[prost(uint32, tag = "12")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetGachaInfoCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GachaCeilingAvatar {
|
|
#[prost(uint32, tag = "5")]
|
|
pub repeated_cnt: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub avatar_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GachaCeiling {
|
|
#[prost(message, repeated, tag = "3")]
|
|
pub avatar_list: ::prost::alloc::vec::Vec<GachaCeilingAvatar>,
|
|
#[prost(bool, tag = "15")]
|
|
pub is_claimed: bool,
|
|
#[prost(uint32, tag = "7")]
|
|
pub ceiling_num: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GachaInfo {
|
|
#[prost(uint32, tag = "13")]
|
|
pub iponcaehhgl: u32,
|
|
#[prost(message, optional, tag = "15")]
|
|
pub gacha_ceiling: ::core::option::Option<GachaCeiling>,
|
|
#[prost(uint32, repeated, tag = "2")]
|
|
pub up_info: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "11")]
|
|
pub gacha_id: u32,
|
|
#[prost(int64, tag = "6")]
|
|
pub begin_time: i64,
|
|
#[prost(uint32, repeated, tag = "4")]
|
|
pub featured: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "1")]
|
|
pub ecapcfaefbo: u32,
|
|
#[prost(string, tag = "10")]
|
|
pub detail_url: ::prost::alloc::string::String,
|
|
#[prost(int64, tag = "5")]
|
|
pub end_time: i64,
|
|
#[prost(string, tag = "9")]
|
|
pub history_url: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetGachaInfoScRsp {
|
|
#[prost(uint32, tag = "7")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub gacha_random: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub chmfglghlcf: u32,
|
|
#[prost(message, repeated, tag = "3")]
|
|
pub gacha_info_list: ::prost::alloc::vec::Vec<GachaInfo>,
|
|
#[prost(uint32, tag = "12")]
|
|
pub lmbmncbfgpj: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub hgaoeennejc: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DoGachaCsReq {
|
|
#[prost(uint32, tag = "8")]
|
|
pub gacha_num: u32,
|
|
#[prost(uint32, tag = "2")]
|
|
pub simulate_magic: u32,
|
|
#[prost(uint32, tag = "9")]
|
|
pub gacha_random: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub gacha_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GachaItem {
|
|
#[prost(bool, tag = "13")]
|
|
pub is_new: bool,
|
|
#[prost(message, optional, tag = "4")]
|
|
pub transfer_item_list: ::core::option::Option<ItemList>,
|
|
#[prost(message, optional, tag = "1")]
|
|
pub gacha_item: ::core::option::Option<Item>,
|
|
#[prost(message, optional, tag = "9")]
|
|
pub token_item: ::core::option::Option<ItemList>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DoGachaScRsp {
|
|
#[prost(uint32, tag = "4")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "1")]
|
|
pub ialfoddhdkp: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub ecapcfaefbo: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub iponcaehhgl: u32,
|
|
#[prost(message, repeated, tag = "12")]
|
|
pub gacha_item_list: ::prost::alloc::vec::Vec<GachaItem>,
|
|
#[prost(uint32, tag = "8")]
|
|
pub gacha_num: u32,
|
|
#[prost(uint32, tag = "7")]
|
|
pub ceiling_num: u32,
|
|
#[prost(uint32, tag = "6")]
|
|
pub gacha_id: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub hgaoeennejc: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetBagCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetArchiveDataCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DressRelicAvatarScRsp {
|
|
#[prost(uint32, tag = "12")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct TakeOffRelicScRsp {
|
|
#[prost(uint32, tag = "5")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct DressAvatarScRsp {
|
|
#[prost(uint32, tag = "12")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct TakeOffEquipmentScRsp {
|
|
#[prost(uint32, tag = "3")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetAllLineupDataCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetCurLineupDataCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct JoinLineupCsReq {
|
|
#[prost(uint32, tag = "2")]
|
|
pub slot: u32,
|
|
#[prost(uint32, tag = "3")]
|
|
pub index: u32,
|
|
#[prost(uint32, tag = "11")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(bool, tag = "13")]
|
|
pub is_virtual: bool,
|
|
#[prost(enumeration = "AvatarType", tag = "15")]
|
|
pub avatar_type: i32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub plane_id: u32,
|
|
#[prost(enumeration = "ExtraLineupType", tag = "9")]
|
|
pub extra_lineup_type: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct JoinLineupScRsp {
|
|
#[prost(uint32, tag = "5")]
|
|
pub retcode: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct QuitLineupCsReq {
|
|
#[prost(enumeration = "ExtraLineupType", tag = "11")]
|
|
pub extra_lineup_type: i32,
|
|
#[prost(enumeration = "AvatarType", tag = "10")]
|
|
pub avatar_type: i32,
|
|
#[prost(uint32, tag = "8")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub index: u32,
|
|
#[prost(bool, tag = "7")]
|
|
pub is_virtual: bool,
|
|
#[prost(uint32, tag = "4")]
|
|
pub plane_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct QuitLineupScRsp {
|
|
#[prost(bool, tag = "13")]
|
|
pub is_virtual: bool,
|
|
#[prost(bool, tag = "4")]
|
|
pub aeoafelaneo: bool,
|
|
#[prost(uint32, tag = "1")]
|
|
pub base_avatar_id: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub retcode: u32,
|
|
#[prost(uint32, tag = "15")]
|
|
pub plane_id: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMailCsReq {
|
|
#[prost(uint32, tag = "12")]
|
|
pub afiomfffjda: u32,
|
|
#[prost(uint32, tag = "10")]
|
|
pub enffacoigfn: u32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ClientMail {
|
|
#[prost(string, tag = "1")]
|
|
pub title: ::prost::alloc::string::String,
|
|
#[prost(message, optional, tag = "14")]
|
|
pub attachment: ::core::option::Option<ItemList>,
|
|
#[prost(uint32, tag = "12")]
|
|
pub id: u32,
|
|
#[prost(string, tag = "11")]
|
|
pub content: ::prost::alloc::string::String,
|
|
#[prost(string, repeated, tag = "9")]
|
|
pub para_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
#[prost(uint32, tag = "8")]
|
|
pub template_id: u32,
|
|
#[prost(enumeration = "MailType", tag = "4")]
|
|
pub mail_type: i32,
|
|
#[prost(int64, tag = "15")]
|
|
pub time: i64,
|
|
#[prost(int64, tag = "3")]
|
|
pub expire_time: i64,
|
|
#[prost(bool, tag = "13")]
|
|
pub is_read: bool,
|
|
#[prost(string, tag = "7")]
|
|
pub sender: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMailScRsp {
|
|
#[prost(bool, tag = "8")]
|
|
pub is_end: bool,
|
|
#[prost(uint32, tag = "1")]
|
|
pub start: u32,
|
|
#[prost(message, repeated, tag = "4")]
|
|
pub notice_mail_list: ::prost::alloc::vec::Vec<ClientMail>,
|
|
#[prost(uint32, tag = "10")]
|
|
pub total_num: u32,
|
|
#[prost(uint32, tag = "14")]
|
|
pub retcode: u32,
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub mail_list: ::prost::alloc::vec::Vec<ClientMail>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetBasicInfoCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetMultiPathAvatarInfoCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetEnteredSceneCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetCurSceneInfoCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetFriendLoginInfoCsReq {}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetFriendLoginInfoScRsp {
|
|
#[prost(bool, tag = "11")]
|
|
pub llcmgmlcjca: bool,
|
|
#[prost(bool, tag = "4")]
|
|
pub degafpjnikk: bool,
|
|
#[prost(uint32, repeated, tag = "7")]
|
|
pub friend_uid_list: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, repeated, tag = "9")]
|
|
pub mnacbpjeche: ::prost::alloc::vec::Vec<u32>,
|
|
#[prost(uint32, tag = "14")]
|
|
pub retcode: u32,
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdActivityType {
|
|
None = 0,
|
|
CmdStartTrialActivityCsReq = 2603,
|
|
CmdGetLoginActivityScRsp = 2606,
|
|
CmdEnterTrialActivityStageScRsp = 2607,
|
|
CmdTakeLoginActivityRewardCsReq = 2611,
|
|
CmdLeaveTrialActivityCsReq = 2613,
|
|
CmdLeaveTrialActivityScRsp = 2614,
|
|
CmdTakeMonsterResearchActivityRewardCsReq = 2617,
|
|
CmdCurTrialActivityScNotify = 2622,
|
|
CmdSubmitMonsterResearchActivityMaterialScRsp = 2624,
|
|
CmdSubmitMonsterResearchActivityMaterialCsReq = 2625,
|
|
CmdStartTrialActivityScRsp = 2626,
|
|
CmdTakeTrialActivityRewardScRsp = 2631,
|
|
CmdTakeTrialActivityRewardCsReq = 2641,
|
|
CmdTakeLoginActivityRewardScRsp = 2643,
|
|
CmdTrialActivityDataChangeScNotify = 2647,
|
|
CmdGetTrialActivityDataCsReq = 2653,
|
|
CmdGetActivityScheduleConfigCsReq = 2656,
|
|
CmdGetTrialActivityDataScRsp = 2658,
|
|
CmdEnterTrialActivityStageCsReq = 2659,
|
|
CmdGetLoginActivityCsReq = 2668,
|
|
CmdTakeMonsterResearchActivityRewardScRsp = 2692,
|
|
CmdGetActivityScheduleConfigScRsp = 2693,
|
|
CmdGetMonsterResearchActivityDataCsReq = 2697,
|
|
CmdGetMonsterResearchActivityDataScRsp = 2698,
|
|
}
|
|
impl CmdActivityType {
|
|
/// 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 {
|
|
CmdActivityType::None => "CmdActivityTypeNone",
|
|
CmdActivityType::CmdStartTrialActivityCsReq => "CmdStartTrialActivityCsReq",
|
|
CmdActivityType::CmdGetLoginActivityScRsp => "CmdGetLoginActivityScRsp",
|
|
CmdActivityType::CmdEnterTrialActivityStageScRsp => {
|
|
"CmdEnterTrialActivityStageScRsp"
|
|
}
|
|
CmdActivityType::CmdTakeLoginActivityRewardCsReq => {
|
|
"CmdTakeLoginActivityRewardCsReq"
|
|
}
|
|
CmdActivityType::CmdLeaveTrialActivityCsReq => "CmdLeaveTrialActivityCsReq",
|
|
CmdActivityType::CmdLeaveTrialActivityScRsp => "CmdLeaveTrialActivityScRsp",
|
|
CmdActivityType::CmdTakeMonsterResearchActivityRewardCsReq => {
|
|
"CmdTakeMonsterResearchActivityRewardCsReq"
|
|
}
|
|
CmdActivityType::CmdCurTrialActivityScNotify => "CmdCurTrialActivityScNotify",
|
|
CmdActivityType::CmdSubmitMonsterResearchActivityMaterialScRsp => {
|
|
"CmdSubmitMonsterResearchActivityMaterialScRsp"
|
|
}
|
|
CmdActivityType::CmdSubmitMonsterResearchActivityMaterialCsReq => {
|
|
"CmdSubmitMonsterResearchActivityMaterialCsReq"
|
|
}
|
|
CmdActivityType::CmdStartTrialActivityScRsp => "CmdStartTrialActivityScRsp",
|
|
CmdActivityType::CmdTakeTrialActivityRewardScRsp => {
|
|
"CmdTakeTrialActivityRewardScRsp"
|
|
}
|
|
CmdActivityType::CmdTakeTrialActivityRewardCsReq => {
|
|
"CmdTakeTrialActivityRewardCsReq"
|
|
}
|
|
CmdActivityType::CmdTakeLoginActivityRewardScRsp => {
|
|
"CmdTakeLoginActivityRewardScRsp"
|
|
}
|
|
CmdActivityType::CmdTrialActivityDataChangeScNotify => {
|
|
"CmdTrialActivityDataChangeScNotify"
|
|
}
|
|
CmdActivityType::CmdGetTrialActivityDataCsReq => {
|
|
"CmdGetTrialActivityDataCsReq"
|
|
}
|
|
CmdActivityType::CmdGetActivityScheduleConfigCsReq => {
|
|
"CmdGetActivityScheduleConfigCsReq"
|
|
}
|
|
CmdActivityType::CmdGetTrialActivityDataScRsp => {
|
|
"CmdGetTrialActivityDataScRsp"
|
|
}
|
|
CmdActivityType::CmdEnterTrialActivityStageCsReq => {
|
|
"CmdEnterTrialActivityStageCsReq"
|
|
}
|
|
CmdActivityType::CmdGetLoginActivityCsReq => "CmdGetLoginActivityCsReq",
|
|
CmdActivityType::CmdTakeMonsterResearchActivityRewardScRsp => {
|
|
"CmdTakeMonsterResearchActivityRewardScRsp"
|
|
}
|
|
CmdActivityType::CmdGetActivityScheduleConfigScRsp => {
|
|
"CmdGetActivityScheduleConfigScRsp"
|
|
}
|
|
CmdActivityType::CmdGetMonsterResearchActivityDataCsReq => {
|
|
"CmdGetMonsterResearchActivityDataCsReq"
|
|
}
|
|
CmdActivityType::CmdGetMonsterResearchActivityDataScRsp => {
|
|
"CmdGetMonsterResearchActivityDataScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdActivityTypeNone" => Some(Self::None),
|
|
"CmdStartTrialActivityCsReq" => Some(Self::CmdStartTrialActivityCsReq),
|
|
"CmdGetLoginActivityScRsp" => Some(Self::CmdGetLoginActivityScRsp),
|
|
"CmdEnterTrialActivityStageScRsp" => {
|
|
Some(Self::CmdEnterTrialActivityStageScRsp)
|
|
}
|
|
"CmdTakeLoginActivityRewardCsReq" => {
|
|
Some(Self::CmdTakeLoginActivityRewardCsReq)
|
|
}
|
|
"CmdLeaveTrialActivityCsReq" => Some(Self::CmdLeaveTrialActivityCsReq),
|
|
"CmdLeaveTrialActivityScRsp" => Some(Self::CmdLeaveTrialActivityScRsp),
|
|
"CmdTakeMonsterResearchActivityRewardCsReq" => {
|
|
Some(Self::CmdTakeMonsterResearchActivityRewardCsReq)
|
|
}
|
|
"CmdCurTrialActivityScNotify" => Some(Self::CmdCurTrialActivityScNotify),
|
|
"CmdSubmitMonsterResearchActivityMaterialScRsp" => {
|
|
Some(Self::CmdSubmitMonsterResearchActivityMaterialScRsp)
|
|
}
|
|
"CmdSubmitMonsterResearchActivityMaterialCsReq" => {
|
|
Some(Self::CmdSubmitMonsterResearchActivityMaterialCsReq)
|
|
}
|
|
"CmdStartTrialActivityScRsp" => Some(Self::CmdStartTrialActivityScRsp),
|
|
"CmdTakeTrialActivityRewardScRsp" => {
|
|
Some(Self::CmdTakeTrialActivityRewardScRsp)
|
|
}
|
|
"CmdTakeTrialActivityRewardCsReq" => {
|
|
Some(Self::CmdTakeTrialActivityRewardCsReq)
|
|
}
|
|
"CmdTakeLoginActivityRewardScRsp" => {
|
|
Some(Self::CmdTakeLoginActivityRewardScRsp)
|
|
}
|
|
"CmdTrialActivityDataChangeScNotify" => {
|
|
Some(Self::CmdTrialActivityDataChangeScNotify)
|
|
}
|
|
"CmdGetTrialActivityDataCsReq" => Some(Self::CmdGetTrialActivityDataCsReq),
|
|
"CmdGetActivityScheduleConfigCsReq" => {
|
|
Some(Self::CmdGetActivityScheduleConfigCsReq)
|
|
}
|
|
"CmdGetTrialActivityDataScRsp" => Some(Self::CmdGetTrialActivityDataScRsp),
|
|
"CmdEnterTrialActivityStageCsReq" => {
|
|
Some(Self::CmdEnterTrialActivityStageCsReq)
|
|
}
|
|
"CmdGetLoginActivityCsReq" => Some(Self::CmdGetLoginActivityCsReq),
|
|
"CmdTakeMonsterResearchActivityRewardScRsp" => {
|
|
Some(Self::CmdTakeMonsterResearchActivityRewardScRsp)
|
|
}
|
|
"CmdGetActivityScheduleConfigScRsp" => {
|
|
Some(Self::CmdGetActivityScheduleConfigScRsp)
|
|
}
|
|
"CmdGetMonsterResearchActivityDataCsReq" => {
|
|
Some(Self::CmdGetMonsterResearchActivityDataCsReq)
|
|
}
|
|
"CmdGetMonsterResearchActivityDataScRsp" => {
|
|
Some(Self::CmdGetMonsterResearchActivityDataScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdAdventureType {
|
|
None = 0,
|
|
CmdEnterAdventureScRsp = 1306,
|
|
CmdGetFarmStageGachaInfoCsReq = 1311,
|
|
CmdGetFarmStageGachaInfoScRsp = 1343,
|
|
CmdEnterAdventureCsReq = 1368,
|
|
}
|
|
impl CmdAdventureType {
|
|
/// 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 {
|
|
CmdAdventureType::None => "CmdAdventureTypeNone",
|
|
CmdAdventureType::CmdEnterAdventureScRsp => "CmdEnterAdventureScRsp",
|
|
CmdAdventureType::CmdGetFarmStageGachaInfoCsReq => {
|
|
"CmdGetFarmStageGachaInfoCsReq"
|
|
}
|
|
CmdAdventureType::CmdGetFarmStageGachaInfoScRsp => {
|
|
"CmdGetFarmStageGachaInfoScRsp"
|
|
}
|
|
CmdAdventureType::CmdEnterAdventureCsReq => "CmdEnterAdventureCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdAdventureTypeNone" => Some(Self::None),
|
|
"CmdEnterAdventureScRsp" => Some(Self::CmdEnterAdventureScRsp),
|
|
"CmdGetFarmStageGachaInfoCsReq" => Some(Self::CmdGetFarmStageGachaInfoCsReq),
|
|
"CmdGetFarmStageGachaInfoScRsp" => Some(Self::CmdGetFarmStageGachaInfoScRsp),
|
|
"CmdEnterAdventureCsReq" => Some(Self::CmdEnterAdventureCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdAetherDivideType {
|
|
None = 0,
|
|
CmdEnterAetherDivideSceneScRsp = 4806,
|
|
CmdGetAetherDivideChallengeInfoScRsp = 4808,
|
|
CmdAetherDivideSpiritInfoScNotify = 4809,
|
|
CmdLeaveAetherDivideSceneCsReq = 4811,
|
|
CmdAetherDivideSkillItemScNotify = 4816,
|
|
CmdStartAetherDivideStageBattleCsReq = 4817,
|
|
CmdAetherDivideLineupScNotify = 4823,
|
|
CmdSwitchAetherDivideLineUpSlotScRsp = 4824,
|
|
CmdSwitchAetherDivideLineUpSlotCsReq = 4825,
|
|
CmdAetherDivideSpiritExpUpScRsp = 4828,
|
|
CmdStartAetherDivideChallengeBattleScRsp = 4829,
|
|
CmdAetherDivideTainerInfoScNotify = 4832,
|
|
CmdEquipAetherDividePassiveSkillScRsp = 4834,
|
|
CmdStartAetherDivideChallengeBattleCsReq = 4839,
|
|
CmdLeaveAetherDivideSceneScRsp = 4843,
|
|
CmdAetherDivideTakeChallengeRewardCsReq = 4845,
|
|
CmdSetAetherDivideLineUpScRsp = 4848,
|
|
CmdAetherDivideRefreshEndlessScNotify = 4849,
|
|
CmdGetAetherDivideInfoScRsp = 4854,
|
|
CmdStartAetherDivideSceneBattleCsReq = 4856,
|
|
CmdSetAetherDivideLineUpCsReq = 4865,
|
|
CmdAetherDivideTakeChallengeRewardScRsp = 4866,
|
|
CmdEnterAetherDivideSceneCsReq = 4868,
|
|
CmdAetherDivideRefreshEndlessScRsp = 4876,
|
|
CmdAetherDivideRefreshEndlessCsReq = 4878,
|
|
CmdAetherDivideFinishChallengeScNotify = 4881,
|
|
CmdEquipAetherDividePassiveSkillCsReq = 4882,
|
|
CmdGetAetherDivideChallengeInfoCsReq = 4888,
|
|
CmdAetherDivideSpiritExpUpCsReq = 4890,
|
|
CmdStartAetherDivideStageBattleScRsp = 4892,
|
|
CmdStartAetherDivideSceneBattleScRsp = 4893,
|
|
CmdClearAetherDividePassiveSkillCsReq = 4897,
|
|
CmdClearAetherDividePassiveSkillScRsp = 4898,
|
|
CmdGetAetherDivideInfoCsReq = 4899,
|
|
}
|
|
impl CmdAetherDivideType {
|
|
/// 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 {
|
|
CmdAetherDivideType::None => "CmdAetherDivideTypeNone",
|
|
CmdAetherDivideType::CmdEnterAetherDivideSceneScRsp => {
|
|
"CmdEnterAetherDivideSceneScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdGetAetherDivideChallengeInfoScRsp => {
|
|
"CmdGetAetherDivideChallengeInfoScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideSpiritInfoScNotify => {
|
|
"CmdAetherDivideSpiritInfoScNotify"
|
|
}
|
|
CmdAetherDivideType::CmdLeaveAetherDivideSceneCsReq => {
|
|
"CmdLeaveAetherDivideSceneCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideSkillItemScNotify => {
|
|
"CmdAetherDivideSkillItemScNotify"
|
|
}
|
|
CmdAetherDivideType::CmdStartAetherDivideStageBattleCsReq => {
|
|
"CmdStartAetherDivideStageBattleCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideLineupScNotify => {
|
|
"CmdAetherDivideLineupScNotify"
|
|
}
|
|
CmdAetherDivideType::CmdSwitchAetherDivideLineUpSlotScRsp => {
|
|
"CmdSwitchAetherDivideLineUpSlotScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdSwitchAetherDivideLineUpSlotCsReq => {
|
|
"CmdSwitchAetherDivideLineUpSlotCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideSpiritExpUpScRsp => {
|
|
"CmdAetherDivideSpiritExpUpScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdStartAetherDivideChallengeBattleScRsp => {
|
|
"CmdStartAetherDivideChallengeBattleScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideTainerInfoScNotify => {
|
|
"CmdAetherDivideTainerInfoScNotify"
|
|
}
|
|
CmdAetherDivideType::CmdEquipAetherDividePassiveSkillScRsp => {
|
|
"CmdEquipAetherDividePassiveSkillScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdStartAetherDivideChallengeBattleCsReq => {
|
|
"CmdStartAetherDivideChallengeBattleCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdLeaveAetherDivideSceneScRsp => {
|
|
"CmdLeaveAetherDivideSceneScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideTakeChallengeRewardCsReq => {
|
|
"CmdAetherDivideTakeChallengeRewardCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdSetAetherDivideLineUpScRsp => {
|
|
"CmdSetAetherDivideLineUpScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideRefreshEndlessScNotify => {
|
|
"CmdAetherDivideRefreshEndlessScNotify"
|
|
}
|
|
CmdAetherDivideType::CmdGetAetherDivideInfoScRsp => {
|
|
"CmdGetAetherDivideInfoScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdStartAetherDivideSceneBattleCsReq => {
|
|
"CmdStartAetherDivideSceneBattleCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdSetAetherDivideLineUpCsReq => {
|
|
"CmdSetAetherDivideLineUpCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideTakeChallengeRewardScRsp => {
|
|
"CmdAetherDivideTakeChallengeRewardScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdEnterAetherDivideSceneCsReq => {
|
|
"CmdEnterAetherDivideSceneCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideRefreshEndlessScRsp => {
|
|
"CmdAetherDivideRefreshEndlessScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideRefreshEndlessCsReq => {
|
|
"CmdAetherDivideRefreshEndlessCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideFinishChallengeScNotify => {
|
|
"CmdAetherDivideFinishChallengeScNotify"
|
|
}
|
|
CmdAetherDivideType::CmdEquipAetherDividePassiveSkillCsReq => {
|
|
"CmdEquipAetherDividePassiveSkillCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdGetAetherDivideChallengeInfoCsReq => {
|
|
"CmdGetAetherDivideChallengeInfoCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdAetherDivideSpiritExpUpCsReq => {
|
|
"CmdAetherDivideSpiritExpUpCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdStartAetherDivideStageBattleScRsp => {
|
|
"CmdStartAetherDivideStageBattleScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdStartAetherDivideSceneBattleScRsp => {
|
|
"CmdStartAetherDivideSceneBattleScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdClearAetherDividePassiveSkillCsReq => {
|
|
"CmdClearAetherDividePassiveSkillCsReq"
|
|
}
|
|
CmdAetherDivideType::CmdClearAetherDividePassiveSkillScRsp => {
|
|
"CmdClearAetherDividePassiveSkillScRsp"
|
|
}
|
|
CmdAetherDivideType::CmdGetAetherDivideInfoCsReq => {
|
|
"CmdGetAetherDivideInfoCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdAetherDivideTypeNone" => Some(Self::None),
|
|
"CmdEnterAetherDivideSceneScRsp" => {
|
|
Some(Self::CmdEnterAetherDivideSceneScRsp)
|
|
}
|
|
"CmdGetAetherDivideChallengeInfoScRsp" => {
|
|
Some(Self::CmdGetAetherDivideChallengeInfoScRsp)
|
|
}
|
|
"CmdAetherDivideSpiritInfoScNotify" => {
|
|
Some(Self::CmdAetherDivideSpiritInfoScNotify)
|
|
}
|
|
"CmdLeaveAetherDivideSceneCsReq" => {
|
|
Some(Self::CmdLeaveAetherDivideSceneCsReq)
|
|
}
|
|
"CmdAetherDivideSkillItemScNotify" => {
|
|
Some(Self::CmdAetherDivideSkillItemScNotify)
|
|
}
|
|
"CmdStartAetherDivideStageBattleCsReq" => {
|
|
Some(Self::CmdStartAetherDivideStageBattleCsReq)
|
|
}
|
|
"CmdAetherDivideLineupScNotify" => Some(Self::CmdAetherDivideLineupScNotify),
|
|
"CmdSwitchAetherDivideLineUpSlotScRsp" => {
|
|
Some(Self::CmdSwitchAetherDivideLineUpSlotScRsp)
|
|
}
|
|
"CmdSwitchAetherDivideLineUpSlotCsReq" => {
|
|
Some(Self::CmdSwitchAetherDivideLineUpSlotCsReq)
|
|
}
|
|
"CmdAetherDivideSpiritExpUpScRsp" => {
|
|
Some(Self::CmdAetherDivideSpiritExpUpScRsp)
|
|
}
|
|
"CmdStartAetherDivideChallengeBattleScRsp" => {
|
|
Some(Self::CmdStartAetherDivideChallengeBattleScRsp)
|
|
}
|
|
"CmdAetherDivideTainerInfoScNotify" => {
|
|
Some(Self::CmdAetherDivideTainerInfoScNotify)
|
|
}
|
|
"CmdEquipAetherDividePassiveSkillScRsp" => {
|
|
Some(Self::CmdEquipAetherDividePassiveSkillScRsp)
|
|
}
|
|
"CmdStartAetherDivideChallengeBattleCsReq" => {
|
|
Some(Self::CmdStartAetherDivideChallengeBattleCsReq)
|
|
}
|
|
"CmdLeaveAetherDivideSceneScRsp" => {
|
|
Some(Self::CmdLeaveAetherDivideSceneScRsp)
|
|
}
|
|
"CmdAetherDivideTakeChallengeRewardCsReq" => {
|
|
Some(Self::CmdAetherDivideTakeChallengeRewardCsReq)
|
|
}
|
|
"CmdSetAetherDivideLineUpScRsp" => Some(Self::CmdSetAetherDivideLineUpScRsp),
|
|
"CmdAetherDivideRefreshEndlessScNotify" => {
|
|
Some(Self::CmdAetherDivideRefreshEndlessScNotify)
|
|
}
|
|
"CmdGetAetherDivideInfoScRsp" => Some(Self::CmdGetAetherDivideInfoScRsp),
|
|
"CmdStartAetherDivideSceneBattleCsReq" => {
|
|
Some(Self::CmdStartAetherDivideSceneBattleCsReq)
|
|
}
|
|
"CmdSetAetherDivideLineUpCsReq" => Some(Self::CmdSetAetherDivideLineUpCsReq),
|
|
"CmdAetherDivideTakeChallengeRewardScRsp" => {
|
|
Some(Self::CmdAetherDivideTakeChallengeRewardScRsp)
|
|
}
|
|
"CmdEnterAetherDivideSceneCsReq" => {
|
|
Some(Self::CmdEnterAetherDivideSceneCsReq)
|
|
}
|
|
"CmdAetherDivideRefreshEndlessScRsp" => {
|
|
Some(Self::CmdAetherDivideRefreshEndlessScRsp)
|
|
}
|
|
"CmdAetherDivideRefreshEndlessCsReq" => {
|
|
Some(Self::CmdAetherDivideRefreshEndlessCsReq)
|
|
}
|
|
"CmdAetherDivideFinishChallengeScNotify" => {
|
|
Some(Self::CmdAetherDivideFinishChallengeScNotify)
|
|
}
|
|
"CmdEquipAetherDividePassiveSkillCsReq" => {
|
|
Some(Self::CmdEquipAetherDividePassiveSkillCsReq)
|
|
}
|
|
"CmdGetAetherDivideChallengeInfoCsReq" => {
|
|
Some(Self::CmdGetAetherDivideChallengeInfoCsReq)
|
|
}
|
|
"CmdAetherDivideSpiritExpUpCsReq" => {
|
|
Some(Self::CmdAetherDivideSpiritExpUpCsReq)
|
|
}
|
|
"CmdStartAetherDivideStageBattleScRsp" => {
|
|
Some(Self::CmdStartAetherDivideStageBattleScRsp)
|
|
}
|
|
"CmdStartAetherDivideSceneBattleScRsp" => {
|
|
Some(Self::CmdStartAetherDivideSceneBattleScRsp)
|
|
}
|
|
"CmdClearAetherDividePassiveSkillCsReq" => {
|
|
Some(Self::CmdClearAetherDividePassiveSkillCsReq)
|
|
}
|
|
"CmdClearAetherDividePassiveSkillScRsp" => {
|
|
Some(Self::CmdClearAetherDividePassiveSkillScRsp)
|
|
}
|
|
"CmdGetAetherDivideInfoCsReq" => Some(Self::CmdGetAetherDivideInfoCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdAlleyType {
|
|
None = 0,
|
|
CmdGetAlleyInfoScRsp = 4706,
|
|
CmdSaveLogisticsScRsp = 4708,
|
|
CmdAlleyShipUnlockScNotify = 4709,
|
|
CmdLogisticsGameCsReq = 4711,
|
|
CmdLogisticsScoreRewardSyncInfoScNotify = 4712,
|
|
CmdGetSaveLogisticsMapCsReq = 4716,
|
|
CmdPrestigeLevelUpCsReq = 4717,
|
|
CmdAlleyShipUsedCountScNotify = 4723,
|
|
CmdAlleyOrderChangedScNotify = 4725,
|
|
CmdAlleyShopLevelScNotify = 4728,
|
|
CmdStartAlleyEventScRsp = 4729,
|
|
CmdActivityRaidPlacingGameCsReq = 4730,
|
|
CmdAlleyShipmentEventEffectsScNotify = 4732,
|
|
CmdAlleyEventEffectNotify = 4733,
|
|
CmdStartAlleyEventCsReq = 4739,
|
|
CmdLogisticsGameScRsp = 4743,
|
|
CmdAlleyTakeEventRewardScRsp = 4745,
|
|
CmdLogisticsDetonateStarSkiffScRsp = 4746,
|
|
CmdAlleyPlacingGameScRsp = 4748,
|
|
CmdAlleyTakeEventRewardCsReq = 4749,
|
|
CmdAlleyEventChangeNotify = 4751,
|
|
CmdTakePrestigeRewardScRsp = 4754,
|
|
CmdAlleyPlacingGameCsReq = 4765,
|
|
CmdLogisticsDetonateStarSkiffCsReq = 4766,
|
|
CmdGetAlleyInfoCsReq = 4768,
|
|
CmdAlleyGuaranteedFundsScRsp = 4776,
|
|
CmdAlleyGuaranteedFundsCsReq = 4778,
|
|
CmdLogisticsInfoScNotify = 4781,
|
|
CmdGetSaveLogisticsMapScRsp = 4784,
|
|
CmdSaveLogisticsCsReq = 4788,
|
|
CmdAlleyFundsScNotify = 4790,
|
|
CmdPrestigeLevelUpScRsp = 4792,
|
|
CmdActivityRaidPlacingGameScRsp = 4795,
|
|
CmdRefreshAlleyOrderCsReq = 4797,
|
|
CmdRefreshAlleyOrderScRsp = 4798,
|
|
CmdTakePrestigeRewardCsReq = 4799,
|
|
}
|
|
impl CmdAlleyType {
|
|
/// 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 {
|
|
CmdAlleyType::None => "CmdAlleyTypeNone",
|
|
CmdAlleyType::CmdGetAlleyInfoScRsp => "CmdGetAlleyInfoScRsp",
|
|
CmdAlleyType::CmdSaveLogisticsScRsp => "CmdSaveLogisticsScRsp",
|
|
CmdAlleyType::CmdAlleyShipUnlockScNotify => "CmdAlleyShipUnlockScNotify",
|
|
CmdAlleyType::CmdLogisticsGameCsReq => "CmdLogisticsGameCsReq",
|
|
CmdAlleyType::CmdLogisticsScoreRewardSyncInfoScNotify => {
|
|
"CmdLogisticsScoreRewardSyncInfoScNotify"
|
|
}
|
|
CmdAlleyType::CmdGetSaveLogisticsMapCsReq => "CmdGetSaveLogisticsMapCsReq",
|
|
CmdAlleyType::CmdPrestigeLevelUpCsReq => "CmdPrestigeLevelUpCsReq",
|
|
CmdAlleyType::CmdAlleyShipUsedCountScNotify => {
|
|
"CmdAlleyShipUsedCountScNotify"
|
|
}
|
|
CmdAlleyType::CmdAlleyOrderChangedScNotify => "CmdAlleyOrderChangedScNotify",
|
|
CmdAlleyType::CmdAlleyShopLevelScNotify => "CmdAlleyShopLevelScNotify",
|
|
CmdAlleyType::CmdStartAlleyEventScRsp => "CmdStartAlleyEventScRsp",
|
|
CmdAlleyType::CmdActivityRaidPlacingGameCsReq => {
|
|
"CmdActivityRaidPlacingGameCsReq"
|
|
}
|
|
CmdAlleyType::CmdAlleyShipmentEventEffectsScNotify => {
|
|
"CmdAlleyShipmentEventEffectsScNotify"
|
|
}
|
|
CmdAlleyType::CmdAlleyEventEffectNotify => "CmdAlleyEventEffectNotify",
|
|
CmdAlleyType::CmdStartAlleyEventCsReq => "CmdStartAlleyEventCsReq",
|
|
CmdAlleyType::CmdLogisticsGameScRsp => "CmdLogisticsGameScRsp",
|
|
CmdAlleyType::CmdAlleyTakeEventRewardScRsp => "CmdAlleyTakeEventRewardScRsp",
|
|
CmdAlleyType::CmdLogisticsDetonateStarSkiffScRsp => {
|
|
"CmdLogisticsDetonateStarSkiffScRsp"
|
|
}
|
|
CmdAlleyType::CmdAlleyPlacingGameScRsp => "CmdAlleyPlacingGameScRsp",
|
|
CmdAlleyType::CmdAlleyTakeEventRewardCsReq => "CmdAlleyTakeEventRewardCsReq",
|
|
CmdAlleyType::CmdAlleyEventChangeNotify => "CmdAlleyEventChangeNotify",
|
|
CmdAlleyType::CmdTakePrestigeRewardScRsp => "CmdTakePrestigeRewardScRsp",
|
|
CmdAlleyType::CmdAlleyPlacingGameCsReq => "CmdAlleyPlacingGameCsReq",
|
|
CmdAlleyType::CmdLogisticsDetonateStarSkiffCsReq => {
|
|
"CmdLogisticsDetonateStarSkiffCsReq"
|
|
}
|
|
CmdAlleyType::CmdGetAlleyInfoCsReq => "CmdGetAlleyInfoCsReq",
|
|
CmdAlleyType::CmdAlleyGuaranteedFundsScRsp => "CmdAlleyGuaranteedFundsScRsp",
|
|
CmdAlleyType::CmdAlleyGuaranteedFundsCsReq => "CmdAlleyGuaranteedFundsCsReq",
|
|
CmdAlleyType::CmdLogisticsInfoScNotify => "CmdLogisticsInfoScNotify",
|
|
CmdAlleyType::CmdGetSaveLogisticsMapScRsp => "CmdGetSaveLogisticsMapScRsp",
|
|
CmdAlleyType::CmdSaveLogisticsCsReq => "CmdSaveLogisticsCsReq",
|
|
CmdAlleyType::CmdAlleyFundsScNotify => "CmdAlleyFundsScNotify",
|
|
CmdAlleyType::CmdPrestigeLevelUpScRsp => "CmdPrestigeLevelUpScRsp",
|
|
CmdAlleyType::CmdActivityRaidPlacingGameScRsp => {
|
|
"CmdActivityRaidPlacingGameScRsp"
|
|
}
|
|
CmdAlleyType::CmdRefreshAlleyOrderCsReq => "CmdRefreshAlleyOrderCsReq",
|
|
CmdAlleyType::CmdRefreshAlleyOrderScRsp => "CmdRefreshAlleyOrderScRsp",
|
|
CmdAlleyType::CmdTakePrestigeRewardCsReq => "CmdTakePrestigeRewardCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdAlleyTypeNone" => Some(Self::None),
|
|
"CmdGetAlleyInfoScRsp" => Some(Self::CmdGetAlleyInfoScRsp),
|
|
"CmdSaveLogisticsScRsp" => Some(Self::CmdSaveLogisticsScRsp),
|
|
"CmdAlleyShipUnlockScNotify" => Some(Self::CmdAlleyShipUnlockScNotify),
|
|
"CmdLogisticsGameCsReq" => Some(Self::CmdLogisticsGameCsReq),
|
|
"CmdLogisticsScoreRewardSyncInfoScNotify" => {
|
|
Some(Self::CmdLogisticsScoreRewardSyncInfoScNotify)
|
|
}
|
|
"CmdGetSaveLogisticsMapCsReq" => Some(Self::CmdGetSaveLogisticsMapCsReq),
|
|
"CmdPrestigeLevelUpCsReq" => Some(Self::CmdPrestigeLevelUpCsReq),
|
|
"CmdAlleyShipUsedCountScNotify" => Some(Self::CmdAlleyShipUsedCountScNotify),
|
|
"CmdAlleyOrderChangedScNotify" => Some(Self::CmdAlleyOrderChangedScNotify),
|
|
"CmdAlleyShopLevelScNotify" => Some(Self::CmdAlleyShopLevelScNotify),
|
|
"CmdStartAlleyEventScRsp" => Some(Self::CmdStartAlleyEventScRsp),
|
|
"CmdActivityRaidPlacingGameCsReq" => {
|
|
Some(Self::CmdActivityRaidPlacingGameCsReq)
|
|
}
|
|
"CmdAlleyShipmentEventEffectsScNotify" => {
|
|
Some(Self::CmdAlleyShipmentEventEffectsScNotify)
|
|
}
|
|
"CmdAlleyEventEffectNotify" => Some(Self::CmdAlleyEventEffectNotify),
|
|
"CmdStartAlleyEventCsReq" => Some(Self::CmdStartAlleyEventCsReq),
|
|
"CmdLogisticsGameScRsp" => Some(Self::CmdLogisticsGameScRsp),
|
|
"CmdAlleyTakeEventRewardScRsp" => Some(Self::CmdAlleyTakeEventRewardScRsp),
|
|
"CmdLogisticsDetonateStarSkiffScRsp" => {
|
|
Some(Self::CmdLogisticsDetonateStarSkiffScRsp)
|
|
}
|
|
"CmdAlleyPlacingGameScRsp" => Some(Self::CmdAlleyPlacingGameScRsp),
|
|
"CmdAlleyTakeEventRewardCsReq" => Some(Self::CmdAlleyTakeEventRewardCsReq),
|
|
"CmdAlleyEventChangeNotify" => Some(Self::CmdAlleyEventChangeNotify),
|
|
"CmdTakePrestigeRewardScRsp" => Some(Self::CmdTakePrestigeRewardScRsp),
|
|
"CmdAlleyPlacingGameCsReq" => Some(Self::CmdAlleyPlacingGameCsReq),
|
|
"CmdLogisticsDetonateStarSkiffCsReq" => {
|
|
Some(Self::CmdLogisticsDetonateStarSkiffCsReq)
|
|
}
|
|
"CmdGetAlleyInfoCsReq" => Some(Self::CmdGetAlleyInfoCsReq),
|
|
"CmdAlleyGuaranteedFundsScRsp" => Some(Self::CmdAlleyGuaranteedFundsScRsp),
|
|
"CmdAlleyGuaranteedFundsCsReq" => Some(Self::CmdAlleyGuaranteedFundsCsReq),
|
|
"CmdLogisticsInfoScNotify" => Some(Self::CmdLogisticsInfoScNotify),
|
|
"CmdGetSaveLogisticsMapScRsp" => Some(Self::CmdGetSaveLogisticsMapScRsp),
|
|
"CmdSaveLogisticsCsReq" => Some(Self::CmdSaveLogisticsCsReq),
|
|
"CmdAlleyFundsScNotify" => Some(Self::CmdAlleyFundsScNotify),
|
|
"CmdPrestigeLevelUpScRsp" => Some(Self::CmdPrestigeLevelUpScRsp),
|
|
"CmdActivityRaidPlacingGameScRsp" => {
|
|
Some(Self::CmdActivityRaidPlacingGameScRsp)
|
|
}
|
|
"CmdRefreshAlleyOrderCsReq" => Some(Self::CmdRefreshAlleyOrderCsReq),
|
|
"CmdRefreshAlleyOrderScRsp" => Some(Self::CmdRefreshAlleyOrderScRsp),
|
|
"CmdTakePrestigeRewardCsReq" => Some(Self::CmdTakePrestigeRewardCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdArchiveType {
|
|
None = 0,
|
|
CmdGetArchiveDataScRsp = 2306,
|
|
CmdGetUpdatedArchiveDataCsReq = 2311,
|
|
CmdGetUpdatedArchiveDataScRsp = 2343,
|
|
CmdGetArchiveDataCsReq = 2368,
|
|
}
|
|
impl CmdArchiveType {
|
|
/// 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 {
|
|
CmdArchiveType::None => "CmdArchiveTypeNone",
|
|
CmdArchiveType::CmdGetArchiveDataScRsp => "CmdGetArchiveDataScRsp",
|
|
CmdArchiveType::CmdGetUpdatedArchiveDataCsReq => {
|
|
"CmdGetUpdatedArchiveDataCsReq"
|
|
}
|
|
CmdArchiveType::CmdGetUpdatedArchiveDataScRsp => {
|
|
"CmdGetUpdatedArchiveDataScRsp"
|
|
}
|
|
CmdArchiveType::CmdGetArchiveDataCsReq => "CmdGetArchiveDataCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdArchiveTypeNone" => Some(Self::None),
|
|
"CmdGetArchiveDataScRsp" => Some(Self::CmdGetArchiveDataScRsp),
|
|
"CmdGetUpdatedArchiveDataCsReq" => Some(Self::CmdGetUpdatedArchiveDataCsReq),
|
|
"CmdGetUpdatedArchiveDataScRsp" => Some(Self::CmdGetUpdatedArchiveDataScRsp),
|
|
"CmdGetArchiveDataCsReq" => Some(Self::CmdGetArchiveDataCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdAvatarType {
|
|
None = 0,
|
|
CmdGetAvatarDataScRsp = 306,
|
|
CmdMarkAvatarCsReq = 308,
|
|
CmdTakeOffAvatarSkinScRsp = 309,
|
|
CmdAvatarExpUpCsReq = 311,
|
|
CmdTakePromotionRewardScRsp = 317,
|
|
CmdTakePromotionRewardCsReq = 324,
|
|
CmdTakeOffRelicScRsp = 325,
|
|
CmdTakeOffAvatarSkinCsReq = 328,
|
|
CmdPromoteAvatarScRsp = 329,
|
|
CmdDressAvatarScRsp = 333,
|
|
CmdDressRelicAvatarCsReq = 334,
|
|
CmdPromoteAvatarCsReq = 339,
|
|
CmdAvatarExpUpScRsp = 343,
|
|
CmdRankUpAvatarCsReq = 348,
|
|
CmdDressAvatarCsReq = 351,
|
|
CmdTakeOffEquipmentScRsp = 354,
|
|
CmdUnlockSkilltreeCsReq = 356,
|
|
CmdAddAvatarScNotify = 365,
|
|
CmdGetAvatarDataCsReq = 368,
|
|
CmdMarkAvatarScRsp = 381,
|
|
CmdRankUpAvatarScRsp = 382,
|
|
CmdUnlockAvatarSkinScNotify = 388,
|
|
CmdDressAvatarSkinScRsp = 390,
|
|
CmdDressAvatarSkinCsReq = 392,
|
|
CmdUnlockSkilltreeScRsp = 393,
|
|
CmdDressRelicAvatarScRsp = 397,
|
|
CmdTakeOffRelicCsReq = 398,
|
|
CmdTakeOffEquipmentCsReq = 399,
|
|
}
|
|
impl CmdAvatarType {
|
|
/// 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 {
|
|
CmdAvatarType::None => "CmdAvatarTypeNone",
|
|
CmdAvatarType::CmdGetAvatarDataScRsp => "CmdGetAvatarDataScRsp",
|
|
CmdAvatarType::CmdMarkAvatarCsReq => "CmdMarkAvatarCsReq",
|
|
CmdAvatarType::CmdTakeOffAvatarSkinScRsp => "CmdTakeOffAvatarSkinScRsp",
|
|
CmdAvatarType::CmdAvatarExpUpCsReq => "CmdAvatarExpUpCsReq",
|
|
CmdAvatarType::CmdTakePromotionRewardScRsp => "CmdTakePromotionRewardScRsp",
|
|
CmdAvatarType::CmdTakePromotionRewardCsReq => "CmdTakePromotionRewardCsReq",
|
|
CmdAvatarType::CmdTakeOffRelicScRsp => "CmdTakeOffRelicScRsp",
|
|
CmdAvatarType::CmdTakeOffAvatarSkinCsReq => "CmdTakeOffAvatarSkinCsReq",
|
|
CmdAvatarType::CmdPromoteAvatarScRsp => "CmdPromoteAvatarScRsp",
|
|
CmdAvatarType::CmdDressAvatarScRsp => "CmdDressAvatarScRsp",
|
|
CmdAvatarType::CmdDressRelicAvatarCsReq => "CmdDressRelicAvatarCsReq",
|
|
CmdAvatarType::CmdPromoteAvatarCsReq => "CmdPromoteAvatarCsReq",
|
|
CmdAvatarType::CmdAvatarExpUpScRsp => "CmdAvatarExpUpScRsp",
|
|
CmdAvatarType::CmdRankUpAvatarCsReq => "CmdRankUpAvatarCsReq",
|
|
CmdAvatarType::CmdDressAvatarCsReq => "CmdDressAvatarCsReq",
|
|
CmdAvatarType::CmdTakeOffEquipmentScRsp => "CmdTakeOffEquipmentScRsp",
|
|
CmdAvatarType::CmdUnlockSkilltreeCsReq => "CmdUnlockSkilltreeCsReq",
|
|
CmdAvatarType::CmdAddAvatarScNotify => "CmdAddAvatarScNotify",
|
|
CmdAvatarType::CmdGetAvatarDataCsReq => "CmdGetAvatarDataCsReq",
|
|
CmdAvatarType::CmdMarkAvatarScRsp => "CmdMarkAvatarScRsp",
|
|
CmdAvatarType::CmdRankUpAvatarScRsp => "CmdRankUpAvatarScRsp",
|
|
CmdAvatarType::CmdUnlockAvatarSkinScNotify => "CmdUnlockAvatarSkinScNotify",
|
|
CmdAvatarType::CmdDressAvatarSkinScRsp => "CmdDressAvatarSkinScRsp",
|
|
CmdAvatarType::CmdDressAvatarSkinCsReq => "CmdDressAvatarSkinCsReq",
|
|
CmdAvatarType::CmdUnlockSkilltreeScRsp => "CmdUnlockSkilltreeScRsp",
|
|
CmdAvatarType::CmdDressRelicAvatarScRsp => "CmdDressRelicAvatarScRsp",
|
|
CmdAvatarType::CmdTakeOffRelicCsReq => "CmdTakeOffRelicCsReq",
|
|
CmdAvatarType::CmdTakeOffEquipmentCsReq => "CmdTakeOffEquipmentCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdAvatarTypeNone" => Some(Self::None),
|
|
"CmdGetAvatarDataScRsp" => Some(Self::CmdGetAvatarDataScRsp),
|
|
"CmdMarkAvatarCsReq" => Some(Self::CmdMarkAvatarCsReq),
|
|
"CmdTakeOffAvatarSkinScRsp" => Some(Self::CmdTakeOffAvatarSkinScRsp),
|
|
"CmdAvatarExpUpCsReq" => Some(Self::CmdAvatarExpUpCsReq),
|
|
"CmdTakePromotionRewardScRsp" => Some(Self::CmdTakePromotionRewardScRsp),
|
|
"CmdTakePromotionRewardCsReq" => Some(Self::CmdTakePromotionRewardCsReq),
|
|
"CmdTakeOffRelicScRsp" => Some(Self::CmdTakeOffRelicScRsp),
|
|
"CmdTakeOffAvatarSkinCsReq" => Some(Self::CmdTakeOffAvatarSkinCsReq),
|
|
"CmdPromoteAvatarScRsp" => Some(Self::CmdPromoteAvatarScRsp),
|
|
"CmdDressAvatarScRsp" => Some(Self::CmdDressAvatarScRsp),
|
|
"CmdDressRelicAvatarCsReq" => Some(Self::CmdDressRelicAvatarCsReq),
|
|
"CmdPromoteAvatarCsReq" => Some(Self::CmdPromoteAvatarCsReq),
|
|
"CmdAvatarExpUpScRsp" => Some(Self::CmdAvatarExpUpScRsp),
|
|
"CmdRankUpAvatarCsReq" => Some(Self::CmdRankUpAvatarCsReq),
|
|
"CmdDressAvatarCsReq" => Some(Self::CmdDressAvatarCsReq),
|
|
"CmdTakeOffEquipmentScRsp" => Some(Self::CmdTakeOffEquipmentScRsp),
|
|
"CmdUnlockSkilltreeCsReq" => Some(Self::CmdUnlockSkilltreeCsReq),
|
|
"CmdAddAvatarScNotify" => Some(Self::CmdAddAvatarScNotify),
|
|
"CmdGetAvatarDataCsReq" => Some(Self::CmdGetAvatarDataCsReq),
|
|
"CmdMarkAvatarScRsp" => Some(Self::CmdMarkAvatarScRsp),
|
|
"CmdRankUpAvatarScRsp" => Some(Self::CmdRankUpAvatarScRsp),
|
|
"CmdUnlockAvatarSkinScNotify" => Some(Self::CmdUnlockAvatarSkinScNotify),
|
|
"CmdDressAvatarSkinScRsp" => Some(Self::CmdDressAvatarSkinScRsp),
|
|
"CmdDressAvatarSkinCsReq" => Some(Self::CmdDressAvatarSkinCsReq),
|
|
"CmdUnlockSkilltreeScRsp" => Some(Self::CmdUnlockSkilltreeScRsp),
|
|
"CmdDressRelicAvatarScRsp" => Some(Self::CmdDressRelicAvatarScRsp),
|
|
"CmdTakeOffRelicCsReq" => Some(Self::CmdTakeOffRelicCsReq),
|
|
"CmdTakeOffEquipmentCsReq" => Some(Self::CmdTakeOffEquipmentCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdBattleType {
|
|
None = 0,
|
|
CmdPveBattleResultScRsp = 106,
|
|
CmdQuitBattleCsReq = 111,
|
|
CmdSyncClientResVersionScRsp = 129,
|
|
CmdBattleLogReportCsReq = 133,
|
|
CmdSyncClientResVersionCsReq = 139,
|
|
CmdQuitBattleScRsp = 143,
|
|
CmdRebattleByClientCsNotify = 148,
|
|
CmdQuitBattleScNotify = 151,
|
|
CmdServerSimulateBattleFinishScNotify = 154,
|
|
CmdGetCurBattleInfoCsReq = 156,
|
|
CmdReBattleAfterBattleLoseCsNotify = 165,
|
|
CmdPveBattleResultCsReq = 168,
|
|
CmdGetCurBattleInfoScRsp = 193,
|
|
CmdBattleLogReportScRsp = 199,
|
|
}
|
|
impl CmdBattleType {
|
|
/// 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 {
|
|
CmdBattleType::None => "CmdBattleTypeNone",
|
|
CmdBattleType::CmdPveBattleResultScRsp => "CmdPVEBattleResultScRsp",
|
|
CmdBattleType::CmdQuitBattleCsReq => "CmdQuitBattleCsReq",
|
|
CmdBattleType::CmdSyncClientResVersionScRsp => "CmdSyncClientResVersionScRsp",
|
|
CmdBattleType::CmdBattleLogReportCsReq => "CmdBattleLogReportCsReq",
|
|
CmdBattleType::CmdSyncClientResVersionCsReq => "CmdSyncClientResVersionCsReq",
|
|
CmdBattleType::CmdQuitBattleScRsp => "CmdQuitBattleScRsp",
|
|
CmdBattleType::CmdRebattleByClientCsNotify => "CmdRebattleByClientCsNotify",
|
|
CmdBattleType::CmdQuitBattleScNotify => "CmdQuitBattleScNotify",
|
|
CmdBattleType::CmdServerSimulateBattleFinishScNotify => {
|
|
"CmdServerSimulateBattleFinishScNotify"
|
|
}
|
|
CmdBattleType::CmdGetCurBattleInfoCsReq => "CmdGetCurBattleInfoCsReq",
|
|
CmdBattleType::CmdReBattleAfterBattleLoseCsNotify => {
|
|
"CmdReBattleAfterBattleLoseCsNotify"
|
|
}
|
|
CmdBattleType::CmdPveBattleResultCsReq => "CmdPVEBattleResultCsReq",
|
|
CmdBattleType::CmdGetCurBattleInfoScRsp => "CmdGetCurBattleInfoScRsp",
|
|
CmdBattleType::CmdBattleLogReportScRsp => "CmdBattleLogReportScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdBattleTypeNone" => Some(Self::None),
|
|
"CmdPVEBattleResultScRsp" => Some(Self::CmdPveBattleResultScRsp),
|
|
"CmdQuitBattleCsReq" => Some(Self::CmdQuitBattleCsReq),
|
|
"CmdSyncClientResVersionScRsp" => Some(Self::CmdSyncClientResVersionScRsp),
|
|
"CmdBattleLogReportCsReq" => Some(Self::CmdBattleLogReportCsReq),
|
|
"CmdSyncClientResVersionCsReq" => Some(Self::CmdSyncClientResVersionCsReq),
|
|
"CmdQuitBattleScRsp" => Some(Self::CmdQuitBattleScRsp),
|
|
"CmdRebattleByClientCsNotify" => Some(Self::CmdRebattleByClientCsNotify),
|
|
"CmdQuitBattleScNotify" => Some(Self::CmdQuitBattleScNotify),
|
|
"CmdServerSimulateBattleFinishScNotify" => {
|
|
Some(Self::CmdServerSimulateBattleFinishScNotify)
|
|
}
|
|
"CmdGetCurBattleInfoCsReq" => Some(Self::CmdGetCurBattleInfoCsReq),
|
|
"CmdReBattleAfterBattleLoseCsNotify" => {
|
|
Some(Self::CmdReBattleAfterBattleLoseCsNotify)
|
|
}
|
|
"CmdPVEBattleResultCsReq" => Some(Self::CmdPveBattleResultCsReq),
|
|
"CmdGetCurBattleInfoScRsp" => Some(Self::CmdGetCurBattleInfoScRsp),
|
|
"CmdBattleLogReportScRsp" => Some(Self::CmdBattleLogReportScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdBattleCollegeType {
|
|
None = 0,
|
|
CmdGetBattleCollegeDataScRsp = 5706,
|
|
CmdBattleCollegeDataChangeScNotify = 5711,
|
|
CmdStartBattleCollegeCsReq = 5743,
|
|
CmdStartBattleCollegeScRsp = 5756,
|
|
CmdGetBattleCollegeDataCsReq = 5768,
|
|
}
|
|
impl CmdBattleCollegeType {
|
|
/// 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 {
|
|
CmdBattleCollegeType::None => "CmdBattleCollegeTypeNone",
|
|
CmdBattleCollegeType::CmdGetBattleCollegeDataScRsp => {
|
|
"CmdGetBattleCollegeDataScRsp"
|
|
}
|
|
CmdBattleCollegeType::CmdBattleCollegeDataChangeScNotify => {
|
|
"CmdBattleCollegeDataChangeScNotify"
|
|
}
|
|
CmdBattleCollegeType::CmdStartBattleCollegeCsReq => {
|
|
"CmdStartBattleCollegeCsReq"
|
|
}
|
|
CmdBattleCollegeType::CmdStartBattleCollegeScRsp => {
|
|
"CmdStartBattleCollegeScRsp"
|
|
}
|
|
CmdBattleCollegeType::CmdGetBattleCollegeDataCsReq => {
|
|
"CmdGetBattleCollegeDataCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdBattleCollegeTypeNone" => Some(Self::None),
|
|
"CmdGetBattleCollegeDataScRsp" => Some(Self::CmdGetBattleCollegeDataScRsp),
|
|
"CmdBattleCollegeDataChangeScNotify" => {
|
|
Some(Self::CmdBattleCollegeDataChangeScNotify)
|
|
}
|
|
"CmdStartBattleCollegeCsReq" => Some(Self::CmdStartBattleCollegeCsReq),
|
|
"CmdStartBattleCollegeScRsp" => Some(Self::CmdStartBattleCollegeScRsp),
|
|
"CmdGetBattleCollegeDataCsReq" => Some(Self::CmdGetBattleCollegeDataCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdBattlePassType {
|
|
None = 0,
|
|
CmdTakeAllRewardCsReq = 3029,
|
|
CmdBuyBpLevelScRsp = 3039,
|
|
CmdTakeBpRewardCsReq = 3043,
|
|
CmdTakeAllRewardScRsp = 3051,
|
|
CmdTakeBpRewardScRsp = 3056,
|
|
CmdBattlePassInfoNotify = 3068,
|
|
CmdBuyBpLevelCsReq = 3093,
|
|
}
|
|
impl CmdBattlePassType {
|
|
/// 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 {
|
|
CmdBattlePassType::None => "CmdBattlePassTypeNone",
|
|
CmdBattlePassType::CmdTakeAllRewardCsReq => "CmdTakeAllRewardCsReq",
|
|
CmdBattlePassType::CmdBuyBpLevelScRsp => "CmdBuyBpLevelScRsp",
|
|
CmdBattlePassType::CmdTakeBpRewardCsReq => "CmdTakeBpRewardCsReq",
|
|
CmdBattlePassType::CmdTakeAllRewardScRsp => "CmdTakeAllRewardScRsp",
|
|
CmdBattlePassType::CmdTakeBpRewardScRsp => "CmdTakeBpRewardScRsp",
|
|
CmdBattlePassType::CmdBattlePassInfoNotify => "CmdBattlePassInfoNotify",
|
|
CmdBattlePassType::CmdBuyBpLevelCsReq => "CmdBuyBpLevelCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdBattlePassTypeNone" => Some(Self::None),
|
|
"CmdTakeAllRewardCsReq" => Some(Self::CmdTakeAllRewardCsReq),
|
|
"CmdBuyBpLevelScRsp" => Some(Self::CmdBuyBpLevelScRsp),
|
|
"CmdTakeBpRewardCsReq" => Some(Self::CmdTakeBpRewardCsReq),
|
|
"CmdTakeAllRewardScRsp" => Some(Self::CmdTakeAllRewardScRsp),
|
|
"CmdTakeBpRewardScRsp" => Some(Self::CmdTakeBpRewardScRsp),
|
|
"CmdBattlePassInfoNotify" => Some(Self::CmdBattlePassInfoNotify),
|
|
"CmdBuyBpLevelCsReq" => Some(Self::CmdBuyBpLevelCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdBoxingClubType {
|
|
None = 0,
|
|
CmdGetBoxingClubInfoScRsp = 4206,
|
|
CmdMatchBoxingClubOpponentCsReq = 4211,
|
|
CmdGiveUpBoxingClubChallengeScRsp = 4229,
|
|
CmdBoxingClubChallengeUpdateScNotify = 4233,
|
|
CmdChooseBoxingClubStageOptionalBuffScRsp = 4234,
|
|
CmdGiveUpBoxingClubChallengeCsReq = 4239,
|
|
CmdMatchBoxingClubOpponentScRsp = 4243,
|
|
CmdSetBoxingClubResonanceLineupScRsp = 4248,
|
|
CmdBoxingClubRewardScNotify = 4251,
|
|
CmdChooseBoxingClubResonanceScRsp = 4254,
|
|
CmdStartBoxingClubBattleCsReq = 4256,
|
|
CmdSetBoxingClubResonanceLineupCsReq = 4265,
|
|
CmdGetBoxingClubInfoCsReq = 4268,
|
|
CmdChooseBoxingClubStageOptionalBuffCsReq = 4282,
|
|
CmdStartBoxingClubBattleScRsp = 4293,
|
|
CmdChooseBoxingClubResonanceCsReq = 4299,
|
|
}
|
|
impl CmdBoxingClubType {
|
|
/// 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 {
|
|
CmdBoxingClubType::None => "CmdBoxingClubTypeNone",
|
|
CmdBoxingClubType::CmdGetBoxingClubInfoScRsp => "CmdGetBoxingClubInfoScRsp",
|
|
CmdBoxingClubType::CmdMatchBoxingClubOpponentCsReq => {
|
|
"CmdMatchBoxingClubOpponentCsReq"
|
|
}
|
|
CmdBoxingClubType::CmdGiveUpBoxingClubChallengeScRsp => {
|
|
"CmdGiveUpBoxingClubChallengeScRsp"
|
|
}
|
|
CmdBoxingClubType::CmdBoxingClubChallengeUpdateScNotify => {
|
|
"CmdBoxingClubChallengeUpdateScNotify"
|
|
}
|
|
CmdBoxingClubType::CmdChooseBoxingClubStageOptionalBuffScRsp => {
|
|
"CmdChooseBoxingClubStageOptionalBuffScRsp"
|
|
}
|
|
CmdBoxingClubType::CmdGiveUpBoxingClubChallengeCsReq => {
|
|
"CmdGiveUpBoxingClubChallengeCsReq"
|
|
}
|
|
CmdBoxingClubType::CmdMatchBoxingClubOpponentScRsp => {
|
|
"CmdMatchBoxingClubOpponentScRsp"
|
|
}
|
|
CmdBoxingClubType::CmdSetBoxingClubResonanceLineupScRsp => {
|
|
"CmdSetBoxingClubResonanceLineupScRsp"
|
|
}
|
|
CmdBoxingClubType::CmdBoxingClubRewardScNotify => {
|
|
"CmdBoxingClubRewardScNotify"
|
|
}
|
|
CmdBoxingClubType::CmdChooseBoxingClubResonanceScRsp => {
|
|
"CmdChooseBoxingClubResonanceScRsp"
|
|
}
|
|
CmdBoxingClubType::CmdStartBoxingClubBattleCsReq => {
|
|
"CmdStartBoxingClubBattleCsReq"
|
|
}
|
|
CmdBoxingClubType::CmdSetBoxingClubResonanceLineupCsReq => {
|
|
"CmdSetBoxingClubResonanceLineupCsReq"
|
|
}
|
|
CmdBoxingClubType::CmdGetBoxingClubInfoCsReq => "CmdGetBoxingClubInfoCsReq",
|
|
CmdBoxingClubType::CmdChooseBoxingClubStageOptionalBuffCsReq => {
|
|
"CmdChooseBoxingClubStageOptionalBuffCsReq"
|
|
}
|
|
CmdBoxingClubType::CmdStartBoxingClubBattleScRsp => {
|
|
"CmdStartBoxingClubBattleScRsp"
|
|
}
|
|
CmdBoxingClubType::CmdChooseBoxingClubResonanceCsReq => {
|
|
"CmdChooseBoxingClubResonanceCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdBoxingClubTypeNone" => Some(Self::None),
|
|
"CmdGetBoxingClubInfoScRsp" => Some(Self::CmdGetBoxingClubInfoScRsp),
|
|
"CmdMatchBoxingClubOpponentCsReq" => {
|
|
Some(Self::CmdMatchBoxingClubOpponentCsReq)
|
|
}
|
|
"CmdGiveUpBoxingClubChallengeScRsp" => {
|
|
Some(Self::CmdGiveUpBoxingClubChallengeScRsp)
|
|
}
|
|
"CmdBoxingClubChallengeUpdateScNotify" => {
|
|
Some(Self::CmdBoxingClubChallengeUpdateScNotify)
|
|
}
|
|
"CmdChooseBoxingClubStageOptionalBuffScRsp" => {
|
|
Some(Self::CmdChooseBoxingClubStageOptionalBuffScRsp)
|
|
}
|
|
"CmdGiveUpBoxingClubChallengeCsReq" => {
|
|
Some(Self::CmdGiveUpBoxingClubChallengeCsReq)
|
|
}
|
|
"CmdMatchBoxingClubOpponentScRsp" => {
|
|
Some(Self::CmdMatchBoxingClubOpponentScRsp)
|
|
}
|
|
"CmdSetBoxingClubResonanceLineupScRsp" => {
|
|
Some(Self::CmdSetBoxingClubResonanceLineupScRsp)
|
|
}
|
|
"CmdBoxingClubRewardScNotify" => Some(Self::CmdBoxingClubRewardScNotify),
|
|
"CmdChooseBoxingClubResonanceScRsp" => {
|
|
Some(Self::CmdChooseBoxingClubResonanceScRsp)
|
|
}
|
|
"CmdStartBoxingClubBattleCsReq" => Some(Self::CmdStartBoxingClubBattleCsReq),
|
|
"CmdSetBoxingClubResonanceLineupCsReq" => {
|
|
Some(Self::CmdSetBoxingClubResonanceLineupCsReq)
|
|
}
|
|
"CmdGetBoxingClubInfoCsReq" => Some(Self::CmdGetBoxingClubInfoCsReq),
|
|
"CmdChooseBoxingClubStageOptionalBuffCsReq" => {
|
|
Some(Self::CmdChooseBoxingClubStageOptionalBuffCsReq)
|
|
}
|
|
"CmdStartBoxingClubBattleScRsp" => Some(Self::CmdStartBoxingClubBattleScRsp),
|
|
"CmdChooseBoxingClubResonanceCsReq" => {
|
|
Some(Self::CmdChooseBoxingClubResonanceCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdChallengeType {
|
|
None = 0,
|
|
CmdGetChallengeScRsp = 1706,
|
|
CmdGetChallengeRecommendLineupListCsReq = 1708,
|
|
CmdEnterChallengeNextPhaseScRsp = 1709,
|
|
CmdStartChallengeCsReq = 1711,
|
|
CmdStartPartialChallengeScRsp = 1724,
|
|
CmdStartPartialChallengeCsReq = 1725,
|
|
CmdEnterChallengeNextPhaseCsReq = 1728,
|
|
CmdGetCurChallengeCsReq = 1733,
|
|
CmdTakeChallengeRewardScRsp = 1734,
|
|
CmdChallengeSettleNotify = 1739,
|
|
CmdStartChallengeScRsp = 1743,
|
|
CmdChallengeLineupNotify = 1754,
|
|
CmdLeaveChallengeCsReq = 1756,
|
|
CmdGetChallengeCsReq = 1768,
|
|
CmdGetChallengeRecommendLineupListScRsp = 1781,
|
|
CmdTakeChallengeRewardCsReq = 1782,
|
|
CmdChallengeBossPhaseSettleNotify = 1788,
|
|
CmdRestartChallengePhaseScRsp = 1790,
|
|
CmdRestartChallengePhaseCsReq = 1792,
|
|
CmdLeaveChallengeScRsp = 1793,
|
|
CmdGetChallengeGroupStatisticsCsReq = 1797,
|
|
CmdGetChallengeGroupStatisticsScRsp = 1798,
|
|
CmdGetCurChallengeScRsp = 1799,
|
|
}
|
|
impl CmdChallengeType {
|
|
/// 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 {
|
|
CmdChallengeType::None => "CmdChallengeTypeNone",
|
|
CmdChallengeType::CmdGetChallengeScRsp => "CmdGetChallengeScRsp",
|
|
CmdChallengeType::CmdGetChallengeRecommendLineupListCsReq => {
|
|
"CmdGetChallengeRecommendLineupListCsReq"
|
|
}
|
|
CmdChallengeType::CmdEnterChallengeNextPhaseScRsp => {
|
|
"CmdEnterChallengeNextPhaseScRsp"
|
|
}
|
|
CmdChallengeType::CmdStartChallengeCsReq => "CmdStartChallengeCsReq",
|
|
CmdChallengeType::CmdStartPartialChallengeScRsp => {
|
|
"CmdStartPartialChallengeScRsp"
|
|
}
|
|
CmdChallengeType::CmdStartPartialChallengeCsReq => {
|
|
"CmdStartPartialChallengeCsReq"
|
|
}
|
|
CmdChallengeType::CmdEnterChallengeNextPhaseCsReq => {
|
|
"CmdEnterChallengeNextPhaseCsReq"
|
|
}
|
|
CmdChallengeType::CmdGetCurChallengeCsReq => "CmdGetCurChallengeCsReq",
|
|
CmdChallengeType::CmdTakeChallengeRewardScRsp => {
|
|
"CmdTakeChallengeRewardScRsp"
|
|
}
|
|
CmdChallengeType::CmdChallengeSettleNotify => "CmdChallengeSettleNotify",
|
|
CmdChallengeType::CmdStartChallengeScRsp => "CmdStartChallengeScRsp",
|
|
CmdChallengeType::CmdChallengeLineupNotify => "CmdChallengeLineupNotify",
|
|
CmdChallengeType::CmdLeaveChallengeCsReq => "CmdLeaveChallengeCsReq",
|
|
CmdChallengeType::CmdGetChallengeCsReq => "CmdGetChallengeCsReq",
|
|
CmdChallengeType::CmdGetChallengeRecommendLineupListScRsp => {
|
|
"CmdGetChallengeRecommendLineupListScRsp"
|
|
}
|
|
CmdChallengeType::CmdTakeChallengeRewardCsReq => {
|
|
"CmdTakeChallengeRewardCsReq"
|
|
}
|
|
CmdChallengeType::CmdChallengeBossPhaseSettleNotify => {
|
|
"CmdChallengeBossPhaseSettleNotify"
|
|
}
|
|
CmdChallengeType::CmdRestartChallengePhaseScRsp => {
|
|
"CmdRestartChallengePhaseScRsp"
|
|
}
|
|
CmdChallengeType::CmdRestartChallengePhaseCsReq => {
|
|
"CmdRestartChallengePhaseCsReq"
|
|
}
|
|
CmdChallengeType::CmdLeaveChallengeScRsp => "CmdLeaveChallengeScRsp",
|
|
CmdChallengeType::CmdGetChallengeGroupStatisticsCsReq => {
|
|
"CmdGetChallengeGroupStatisticsCsReq"
|
|
}
|
|
CmdChallengeType::CmdGetChallengeGroupStatisticsScRsp => {
|
|
"CmdGetChallengeGroupStatisticsScRsp"
|
|
}
|
|
CmdChallengeType::CmdGetCurChallengeScRsp => "CmdGetCurChallengeScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdChallengeTypeNone" => Some(Self::None),
|
|
"CmdGetChallengeScRsp" => Some(Self::CmdGetChallengeScRsp),
|
|
"CmdGetChallengeRecommendLineupListCsReq" => {
|
|
Some(Self::CmdGetChallengeRecommendLineupListCsReq)
|
|
}
|
|
"CmdEnterChallengeNextPhaseScRsp" => {
|
|
Some(Self::CmdEnterChallengeNextPhaseScRsp)
|
|
}
|
|
"CmdStartChallengeCsReq" => Some(Self::CmdStartChallengeCsReq),
|
|
"CmdStartPartialChallengeScRsp" => Some(Self::CmdStartPartialChallengeScRsp),
|
|
"CmdStartPartialChallengeCsReq" => Some(Self::CmdStartPartialChallengeCsReq),
|
|
"CmdEnterChallengeNextPhaseCsReq" => {
|
|
Some(Self::CmdEnterChallengeNextPhaseCsReq)
|
|
}
|
|
"CmdGetCurChallengeCsReq" => Some(Self::CmdGetCurChallengeCsReq),
|
|
"CmdTakeChallengeRewardScRsp" => Some(Self::CmdTakeChallengeRewardScRsp),
|
|
"CmdChallengeSettleNotify" => Some(Self::CmdChallengeSettleNotify),
|
|
"CmdStartChallengeScRsp" => Some(Self::CmdStartChallengeScRsp),
|
|
"CmdChallengeLineupNotify" => Some(Self::CmdChallengeLineupNotify),
|
|
"CmdLeaveChallengeCsReq" => Some(Self::CmdLeaveChallengeCsReq),
|
|
"CmdGetChallengeCsReq" => Some(Self::CmdGetChallengeCsReq),
|
|
"CmdGetChallengeRecommendLineupListScRsp" => {
|
|
Some(Self::CmdGetChallengeRecommendLineupListScRsp)
|
|
}
|
|
"CmdTakeChallengeRewardCsReq" => Some(Self::CmdTakeChallengeRewardCsReq),
|
|
"CmdChallengeBossPhaseSettleNotify" => {
|
|
Some(Self::CmdChallengeBossPhaseSettleNotify)
|
|
}
|
|
"CmdRestartChallengePhaseScRsp" => Some(Self::CmdRestartChallengePhaseScRsp),
|
|
"CmdRestartChallengePhaseCsReq" => Some(Self::CmdRestartChallengePhaseCsReq),
|
|
"CmdLeaveChallengeScRsp" => Some(Self::CmdLeaveChallengeScRsp),
|
|
"CmdGetChallengeGroupStatisticsCsReq" => {
|
|
Some(Self::CmdGetChallengeGroupStatisticsCsReq)
|
|
}
|
|
"CmdGetChallengeGroupStatisticsScRsp" => {
|
|
Some(Self::CmdGetChallengeGroupStatisticsScRsp)
|
|
}
|
|
"CmdGetCurChallengeScRsp" => Some(Self::CmdGetCurChallengeScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdChatType {
|
|
None = 0,
|
|
CmdSendMsgScRsp = 3906,
|
|
CmdRevcMsgScNotify = 3911,
|
|
CmdGetChatFriendHistoryScRsp = 3929,
|
|
CmdGetChatEmojiListScRsp = 3933,
|
|
CmdGetLoginChatInfoScRsp = 3934,
|
|
CmdGetChatFriendHistoryCsReq = 3939,
|
|
CmdPrivateMsgOfflineUsersScNotify = 3943,
|
|
CmdBatchMarkChatEmojiScRsp = 3948,
|
|
CmdGetChatEmojiListCsReq = 3951,
|
|
CmdMarkChatEmojiScRsp = 3954,
|
|
CmdGetPrivateChatHistoryCsReq = 3956,
|
|
CmdBatchMarkChatEmojiCsReq = 3965,
|
|
CmdSendMsgCsReq = 3968,
|
|
CmdGetLoginChatInfoCsReq = 3982,
|
|
CmdGetPrivateChatHistoryScRsp = 3993,
|
|
CmdMarkChatEmojiCsReq = 3999,
|
|
}
|
|
impl CmdChatType {
|
|
/// 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 {
|
|
CmdChatType::None => "CmdChatTypeNone",
|
|
CmdChatType::CmdSendMsgScRsp => "CmdSendMsgScRsp",
|
|
CmdChatType::CmdRevcMsgScNotify => "CmdRevcMsgScNotify",
|
|
CmdChatType::CmdGetChatFriendHistoryScRsp => "CmdGetChatFriendHistoryScRsp",
|
|
CmdChatType::CmdGetChatEmojiListScRsp => "CmdGetChatEmojiListScRsp",
|
|
CmdChatType::CmdGetLoginChatInfoScRsp => "CmdGetLoginChatInfoScRsp",
|
|
CmdChatType::CmdGetChatFriendHistoryCsReq => "CmdGetChatFriendHistoryCsReq",
|
|
CmdChatType::CmdPrivateMsgOfflineUsersScNotify => {
|
|
"CmdPrivateMsgOfflineUsersScNotify"
|
|
}
|
|
CmdChatType::CmdBatchMarkChatEmojiScRsp => "CmdBatchMarkChatEmojiScRsp",
|
|
CmdChatType::CmdGetChatEmojiListCsReq => "CmdGetChatEmojiListCsReq",
|
|
CmdChatType::CmdMarkChatEmojiScRsp => "CmdMarkChatEmojiScRsp",
|
|
CmdChatType::CmdGetPrivateChatHistoryCsReq => "CmdGetPrivateChatHistoryCsReq",
|
|
CmdChatType::CmdBatchMarkChatEmojiCsReq => "CmdBatchMarkChatEmojiCsReq",
|
|
CmdChatType::CmdSendMsgCsReq => "CmdSendMsgCsReq",
|
|
CmdChatType::CmdGetLoginChatInfoCsReq => "CmdGetLoginChatInfoCsReq",
|
|
CmdChatType::CmdGetPrivateChatHistoryScRsp => "CmdGetPrivateChatHistoryScRsp",
|
|
CmdChatType::CmdMarkChatEmojiCsReq => "CmdMarkChatEmojiCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdChatTypeNone" => Some(Self::None),
|
|
"CmdSendMsgScRsp" => Some(Self::CmdSendMsgScRsp),
|
|
"CmdRevcMsgScNotify" => Some(Self::CmdRevcMsgScNotify),
|
|
"CmdGetChatFriendHistoryScRsp" => Some(Self::CmdGetChatFriendHistoryScRsp),
|
|
"CmdGetChatEmojiListScRsp" => Some(Self::CmdGetChatEmojiListScRsp),
|
|
"CmdGetLoginChatInfoScRsp" => Some(Self::CmdGetLoginChatInfoScRsp),
|
|
"CmdGetChatFriendHistoryCsReq" => Some(Self::CmdGetChatFriendHistoryCsReq),
|
|
"CmdPrivateMsgOfflineUsersScNotify" => {
|
|
Some(Self::CmdPrivateMsgOfflineUsersScNotify)
|
|
}
|
|
"CmdBatchMarkChatEmojiScRsp" => Some(Self::CmdBatchMarkChatEmojiScRsp),
|
|
"CmdGetChatEmojiListCsReq" => Some(Self::CmdGetChatEmojiListCsReq),
|
|
"CmdMarkChatEmojiScRsp" => Some(Self::CmdMarkChatEmojiScRsp),
|
|
"CmdGetPrivateChatHistoryCsReq" => Some(Self::CmdGetPrivateChatHistoryCsReq),
|
|
"CmdBatchMarkChatEmojiCsReq" => Some(Self::CmdBatchMarkChatEmojiCsReq),
|
|
"CmdSendMsgCsReq" => Some(Self::CmdSendMsgCsReq),
|
|
"CmdGetLoginChatInfoCsReq" => Some(Self::CmdGetLoginChatInfoCsReq),
|
|
"CmdGetPrivateChatHistoryScRsp" => Some(Self::CmdGetPrivateChatHistoryScRsp),
|
|
"CmdMarkChatEmojiCsReq" => Some(Self::CmdMarkChatEmojiCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdChessRogueType {
|
|
None = 0,
|
|
CmdChessRogueQueryBpCsReq = 5401,
|
|
CmdChessRogueGoAheadCsReq = 5405,
|
|
CmdSelectChessRogueSubStoryCsReq = 5406,
|
|
CmdChessRogueCheatRollCsReq = 5408,
|
|
CmdFinishChessRogueNousSubStoryCsReq = 5409,
|
|
CmdChessRogueQueryAeonDimensionsCsReq = 5413,
|
|
CmdGetChessRogueStoryAeonTalkInfoCsReq = 5417,
|
|
CmdFinishChessRogueSubStoryCsReq = 5418,
|
|
CmdChessRogueMoveCellNotify = 5419,
|
|
CmdChessRogueEnterScRsp = 5421,
|
|
CmdChessRogueChangeyAeonDimensionNotify = 5425,
|
|
CmdChessRogueUpdateAllowedSelectCellScNotify = 5426,
|
|
CmdSelectChessRogueNousSubStoryCsReq = 5427,
|
|
CmdChessRogueUpdateUnlockLevelScNotify = 5430,
|
|
CmdChessRogueUpdateLevelBaseInfoScNotify = 5431,
|
|
CmdChessRogueEnterCellScRsp = 5433,
|
|
CmdChessRogueUpdateReviveInfoScNotify = 5434,
|
|
CmdChessRogueUpdateMoneyInfoScNotify = 5442,
|
|
CmdChessRogueQuitScRsp = 5444,
|
|
CmdChessRogueLeaveCsReq = 5445,
|
|
CmdChessRoguePickAvatarCsReq = 5446,
|
|
CmdChessRogueLeaveScRsp = 5447,
|
|
CmdChessRoguePickAvatarScRsp = 5450,
|
|
CmdSyncChessRogueNousValueScNotify = 5451,
|
|
CmdChessRogueNousDiceSurfaceUnlockNotify = 5453,
|
|
CmdSyncChessRogueNousMainStoryScNotify = 5455,
|
|
CmdChessRogueGiveUpScRsp = 5456,
|
|
CmdEnhanceChessRogueBuffCsReq = 5458,
|
|
CmdChessRogueNousEditDiceCsReq = 5459,
|
|
CmdChessRogueQuestFinishNotify = 5460,
|
|
CmdChessRogueUpdateDiceInfoScNotify = 5461,
|
|
CmdGetChessRogueStoryInfoScRsp = 5462,
|
|
CmdChessRogueUpdateDicePassiveAccumulateValueScNotify = 5463,
|
|
CmdChessRogueFinishCurRoomNotify = 5467,
|
|
CmdChessRogueReRollDiceCsReq = 5474,
|
|
CmdGetChessRogueBuffEnhanceInfoScRsp = 5476,
|
|
CmdChessRogueSkipTeachingLevelCsReq = 5477,
|
|
CmdSyncChessRogueMainStoryFinishScNotify = 5480,
|
|
CmdChessRogueReviveAvatarScRsp = 5481,
|
|
CmdChessRogueNousGetRogueTalentInfoScRsp = 5482,
|
|
CmdSyncChessRogueNousSubStoryScNotify = 5484,
|
|
CmdChessRogueSelectBpCsReq = 5486,
|
|
CmdChessRogueUpdateActionPointScNotify = 5487,
|
|
CmdChessRogueGiveUpRollScRsp = 5489,
|
|
CmdChessRogueEnterCellCsReq = 5490,
|
|
CmdFinishChessRogueSubStoryScRsp = 5491,
|
|
CmdChessRogueEnterNextLayerScRsp = 5492,
|
|
CmdChessRogueQueryCsReq = 5493,
|
|
CmdGetChessRogueStoryInfoCsReq = 5497,
|
|
CmdChessRogueCellUpdateNotify = 5498,
|
|
CmdChessRogueCheatRollScRsp = 5499,
|
|
CmdGetChessRogueNousStoryInfoCsReq = 5501,
|
|
CmdChessRogueQuitCsReq = 5506,
|
|
CmdChessRogueQueryScRsp = 5507,
|
|
CmdChessRogueNousDiceUpdateNotify = 5508,
|
|
CmdChessRogueStartCsReq = 5514,
|
|
CmdChessRogueUpdateBoardScNotify = 5518,
|
|
CmdEnterChessRogueAeonRoomCsReq = 5520,
|
|
CmdSelectChessRogueNousSubStoryScRsp = 5521,
|
|
CmdChessRogueConfirmRollCsReq = 5523,
|
|
CmdChessRogueRollDiceCsReq = 5529,
|
|
CmdChessRogueSkipTeachingLevelScRsp = 5531,
|
|
CmdChessRogueSelectCellScRsp = 5532,
|
|
CmdChessRogueQueryAeonDimensionsScRsp = 5536,
|
|
CmdChessRogueRollDiceScRsp = 5539,
|
|
CmdChessRogueUpdateAeonModifierValueScNotify = 5542,
|
|
CmdGetChessRogueStoryAeonTalkInfoScRsp = 5544,
|
|
CmdChessRogueGiveUpRollCsReq = 5545,
|
|
CmdChessRogueSelectCellCsReq = 5549,
|
|
CmdEnhanceChessRogueBuffScRsp = 5552,
|
|
CmdGetChessRogueBuffEnhanceInfoCsReq = 5555,
|
|
CmdChessRogueGoAheadScRsp = 5556,
|
|
CmdGetChessRogueNousStoryInfoScRsp = 5557,
|
|
CmdChessRogueNousEditDiceScRsp = 5565,
|
|
CmdChessRogueSelectBpScRsp = 5566,
|
|
CmdChessRogueEnterCsReq = 5567,
|
|
CmdChessRogueEnterNextLayerCsReq = 5568,
|
|
CmdChessRogueReviveAvatarCsReq = 5569,
|
|
CmdChessRogueNousEnableRogueTalentCsReq = 5571,
|
|
CmdChessRogueNousEnableRogueTalentScRsp = 5576,
|
|
CmdFinishChessRogueNousSubStoryScRsp = 5577,
|
|
CmdChessRogueGiveUpCsReq = 5585,
|
|
CmdChessRogueReRollDiceScRsp = 5586,
|
|
CmdSelectChessRogueSubStoryScRsp = 5587,
|
|
CmdChessRogueQueryBpScRsp = 5588,
|
|
CmdEnterChessRogueAeonRoomScRsp = 5589,
|
|
CmdChessRogueLayerAccountInfoNotify = 5591,
|
|
CmdChessRogueNousGetRogueTalentInfoCsReq = 5592,
|
|
CmdChessRogueConfirmRollScRsp = 5596,
|
|
CmdChessRogueStartScRsp = 5600,
|
|
}
|
|
impl CmdChessRogueType {
|
|
/// 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 {
|
|
CmdChessRogueType::None => "CmdChessRogueTypeNone",
|
|
CmdChessRogueType::CmdChessRogueQueryBpCsReq => "CmdChessRogueQueryBpCsReq",
|
|
CmdChessRogueType::CmdChessRogueGoAheadCsReq => "CmdChessRogueGoAheadCsReq",
|
|
CmdChessRogueType::CmdSelectChessRogueSubStoryCsReq => {
|
|
"CmdSelectChessRogueSubStoryCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueCheatRollCsReq => {
|
|
"CmdChessRogueCheatRollCsReq"
|
|
}
|
|
CmdChessRogueType::CmdFinishChessRogueNousSubStoryCsReq => {
|
|
"CmdFinishChessRogueNousSubStoryCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQueryAeonDimensionsCsReq => {
|
|
"CmdChessRogueQueryAeonDimensionsCsReq"
|
|
}
|
|
CmdChessRogueType::CmdGetChessRogueStoryAeonTalkInfoCsReq => {
|
|
"CmdGetChessRogueStoryAeonTalkInfoCsReq"
|
|
}
|
|
CmdChessRogueType::CmdFinishChessRogueSubStoryCsReq => {
|
|
"CmdFinishChessRogueSubStoryCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueMoveCellNotify => {
|
|
"CmdChessRogueMoveCellNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueEnterScRsp => "CmdChessRogueEnterScRsp",
|
|
CmdChessRogueType::CmdChessRogueChangeyAeonDimensionNotify => {
|
|
"CmdChessRogueChangeyAeonDimensionNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateAllowedSelectCellScNotify => {
|
|
"CmdChessRogueUpdateAllowedSelectCellScNotify"
|
|
}
|
|
CmdChessRogueType::CmdSelectChessRogueNousSubStoryCsReq => {
|
|
"CmdSelectChessRogueNousSubStoryCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateUnlockLevelScNotify => {
|
|
"CmdChessRogueUpdateUnlockLevelScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateLevelBaseInfoScNotify => {
|
|
"CmdChessRogueUpdateLevelBaseInfoScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueEnterCellScRsp => {
|
|
"CmdChessRogueEnterCellScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateReviveInfoScNotify => {
|
|
"CmdChessRogueUpdateReviveInfoScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateMoneyInfoScNotify => {
|
|
"CmdChessRogueUpdateMoneyInfoScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQuitScRsp => "CmdChessRogueQuitScRsp",
|
|
CmdChessRogueType::CmdChessRogueLeaveCsReq => "CmdChessRogueLeaveCsReq",
|
|
CmdChessRogueType::CmdChessRoguePickAvatarCsReq => {
|
|
"CmdChessRoguePickAvatarCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueLeaveScRsp => "CmdChessRogueLeaveScRsp",
|
|
CmdChessRogueType::CmdChessRoguePickAvatarScRsp => {
|
|
"CmdChessRoguePickAvatarScRsp"
|
|
}
|
|
CmdChessRogueType::CmdSyncChessRogueNousValueScNotify => {
|
|
"CmdSyncChessRogueNousValueScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousDiceSurfaceUnlockNotify => {
|
|
"CmdChessRogueNousDiceSurfaceUnlockNotify"
|
|
}
|
|
CmdChessRogueType::CmdSyncChessRogueNousMainStoryScNotify => {
|
|
"CmdSyncChessRogueNousMainStoryScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueGiveUpScRsp => "CmdChessRogueGiveUpScRsp",
|
|
CmdChessRogueType::CmdEnhanceChessRogueBuffCsReq => {
|
|
"CmdEnhanceChessRogueBuffCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousEditDiceCsReq => {
|
|
"CmdChessRogueNousEditDiceCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQuestFinishNotify => {
|
|
"CmdChessRogueQuestFinishNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateDiceInfoScNotify => {
|
|
"CmdChessRogueUpdateDiceInfoScNotify"
|
|
}
|
|
CmdChessRogueType::CmdGetChessRogueStoryInfoScRsp => {
|
|
"CmdGetChessRogueStoryInfoScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueUpdateDicePassiveAccumulateValueScNotify => {
|
|
"CmdChessRogueUpdateDicePassiveAccumulateValueScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueFinishCurRoomNotify => {
|
|
"CmdChessRogueFinishCurRoomNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueReRollDiceCsReq => {
|
|
"CmdChessRogueReRollDiceCsReq"
|
|
}
|
|
CmdChessRogueType::CmdGetChessRogueBuffEnhanceInfoScRsp => {
|
|
"CmdGetChessRogueBuffEnhanceInfoScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueSkipTeachingLevelCsReq => {
|
|
"CmdChessRogueSkipTeachingLevelCsReq"
|
|
}
|
|
CmdChessRogueType::CmdSyncChessRogueMainStoryFinishScNotify => {
|
|
"CmdSyncChessRogueMainStoryFinishScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueReviveAvatarScRsp => {
|
|
"CmdChessRogueReviveAvatarScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousGetRogueTalentInfoScRsp => {
|
|
"CmdChessRogueNousGetRogueTalentInfoScRsp"
|
|
}
|
|
CmdChessRogueType::CmdSyncChessRogueNousSubStoryScNotify => {
|
|
"CmdSyncChessRogueNousSubStoryScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueSelectBpCsReq => "CmdChessRogueSelectBpCsReq",
|
|
CmdChessRogueType::CmdChessRogueUpdateActionPointScNotify => {
|
|
"CmdChessRogueUpdateActionPointScNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueGiveUpRollScRsp => {
|
|
"CmdChessRogueGiveUpRollScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueEnterCellCsReq => {
|
|
"CmdChessRogueEnterCellCsReq"
|
|
}
|
|
CmdChessRogueType::CmdFinishChessRogueSubStoryScRsp => {
|
|
"CmdFinishChessRogueSubStoryScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueEnterNextLayerScRsp => {
|
|
"CmdChessRogueEnterNextLayerScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQueryCsReq => "CmdChessRogueQueryCsReq",
|
|
CmdChessRogueType::CmdGetChessRogueStoryInfoCsReq => {
|
|
"CmdGetChessRogueStoryInfoCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueCellUpdateNotify => {
|
|
"CmdChessRogueCellUpdateNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueCheatRollScRsp => {
|
|
"CmdChessRogueCheatRollScRsp"
|
|
}
|
|
CmdChessRogueType::CmdGetChessRogueNousStoryInfoCsReq => {
|
|
"CmdGetChessRogueNousStoryInfoCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQuitCsReq => "CmdChessRogueQuitCsReq",
|
|
CmdChessRogueType::CmdChessRogueQueryScRsp => "CmdChessRogueQueryScRsp",
|
|
CmdChessRogueType::CmdChessRogueNousDiceUpdateNotify => {
|
|
"CmdChessRogueNousDiceUpdateNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueStartCsReq => "CmdChessRogueStartCsReq",
|
|
CmdChessRogueType::CmdChessRogueUpdateBoardScNotify => {
|
|
"CmdChessRogueUpdateBoardScNotify"
|
|
}
|
|
CmdChessRogueType::CmdEnterChessRogueAeonRoomCsReq => {
|
|
"CmdEnterChessRogueAeonRoomCsReq"
|
|
}
|
|
CmdChessRogueType::CmdSelectChessRogueNousSubStoryScRsp => {
|
|
"CmdSelectChessRogueNousSubStoryScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueConfirmRollCsReq => {
|
|
"CmdChessRogueConfirmRollCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueRollDiceCsReq => "CmdChessRogueRollDiceCsReq",
|
|
CmdChessRogueType::CmdChessRogueSkipTeachingLevelScRsp => {
|
|
"CmdChessRogueSkipTeachingLevelScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueSelectCellScRsp => {
|
|
"CmdChessRogueSelectCellScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQueryAeonDimensionsScRsp => {
|
|
"CmdChessRogueQueryAeonDimensionsScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueRollDiceScRsp => "CmdChessRogueRollDiceScRsp",
|
|
CmdChessRogueType::CmdChessRogueUpdateAeonModifierValueScNotify => {
|
|
"CmdChessRogueUpdateAeonModifierValueScNotify"
|
|
}
|
|
CmdChessRogueType::CmdGetChessRogueStoryAeonTalkInfoScRsp => {
|
|
"CmdGetChessRogueStoryAeonTalkInfoScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueGiveUpRollCsReq => {
|
|
"CmdChessRogueGiveUpRollCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueSelectCellCsReq => {
|
|
"CmdChessRogueSelectCellCsReq"
|
|
}
|
|
CmdChessRogueType::CmdEnhanceChessRogueBuffScRsp => {
|
|
"CmdEnhanceChessRogueBuffScRsp"
|
|
}
|
|
CmdChessRogueType::CmdGetChessRogueBuffEnhanceInfoCsReq => {
|
|
"CmdGetChessRogueBuffEnhanceInfoCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueGoAheadScRsp => "CmdChessRogueGoAheadScRsp",
|
|
CmdChessRogueType::CmdGetChessRogueNousStoryInfoScRsp => {
|
|
"CmdGetChessRogueNousStoryInfoScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousEditDiceScRsp => {
|
|
"CmdChessRogueNousEditDiceScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueSelectBpScRsp => "CmdChessRogueSelectBpScRsp",
|
|
CmdChessRogueType::CmdChessRogueEnterCsReq => "CmdChessRogueEnterCsReq",
|
|
CmdChessRogueType::CmdChessRogueEnterNextLayerCsReq => {
|
|
"CmdChessRogueEnterNextLayerCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueReviveAvatarCsReq => {
|
|
"CmdChessRogueReviveAvatarCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousEnableRogueTalentCsReq => {
|
|
"CmdChessRogueNousEnableRogueTalentCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousEnableRogueTalentScRsp => {
|
|
"CmdChessRogueNousEnableRogueTalentScRsp"
|
|
}
|
|
CmdChessRogueType::CmdFinishChessRogueNousSubStoryScRsp => {
|
|
"CmdFinishChessRogueNousSubStoryScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueGiveUpCsReq => "CmdChessRogueGiveUpCsReq",
|
|
CmdChessRogueType::CmdChessRogueReRollDiceScRsp => {
|
|
"CmdChessRogueReRollDiceScRsp"
|
|
}
|
|
CmdChessRogueType::CmdSelectChessRogueSubStoryScRsp => {
|
|
"CmdSelectChessRogueSubStoryScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueQueryBpScRsp => "CmdChessRogueQueryBpScRsp",
|
|
CmdChessRogueType::CmdEnterChessRogueAeonRoomScRsp => {
|
|
"CmdEnterChessRogueAeonRoomScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueLayerAccountInfoNotify => {
|
|
"CmdChessRogueLayerAccountInfoNotify"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueNousGetRogueTalentInfoCsReq => {
|
|
"CmdChessRogueNousGetRogueTalentInfoCsReq"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueConfirmRollScRsp => {
|
|
"CmdChessRogueConfirmRollScRsp"
|
|
}
|
|
CmdChessRogueType::CmdChessRogueStartScRsp => "CmdChessRogueStartScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdChessRogueTypeNone" => Some(Self::None),
|
|
"CmdChessRogueQueryBpCsReq" => Some(Self::CmdChessRogueQueryBpCsReq),
|
|
"CmdChessRogueGoAheadCsReq" => Some(Self::CmdChessRogueGoAheadCsReq),
|
|
"CmdSelectChessRogueSubStoryCsReq" => {
|
|
Some(Self::CmdSelectChessRogueSubStoryCsReq)
|
|
}
|
|
"CmdChessRogueCheatRollCsReq" => Some(Self::CmdChessRogueCheatRollCsReq),
|
|
"CmdFinishChessRogueNousSubStoryCsReq" => {
|
|
Some(Self::CmdFinishChessRogueNousSubStoryCsReq)
|
|
}
|
|
"CmdChessRogueQueryAeonDimensionsCsReq" => {
|
|
Some(Self::CmdChessRogueQueryAeonDimensionsCsReq)
|
|
}
|
|
"CmdGetChessRogueStoryAeonTalkInfoCsReq" => {
|
|
Some(Self::CmdGetChessRogueStoryAeonTalkInfoCsReq)
|
|
}
|
|
"CmdFinishChessRogueSubStoryCsReq" => {
|
|
Some(Self::CmdFinishChessRogueSubStoryCsReq)
|
|
}
|
|
"CmdChessRogueMoveCellNotify" => Some(Self::CmdChessRogueMoveCellNotify),
|
|
"CmdChessRogueEnterScRsp" => Some(Self::CmdChessRogueEnterScRsp),
|
|
"CmdChessRogueChangeyAeonDimensionNotify" => {
|
|
Some(Self::CmdChessRogueChangeyAeonDimensionNotify)
|
|
}
|
|
"CmdChessRogueUpdateAllowedSelectCellScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateAllowedSelectCellScNotify)
|
|
}
|
|
"CmdSelectChessRogueNousSubStoryCsReq" => {
|
|
Some(Self::CmdSelectChessRogueNousSubStoryCsReq)
|
|
}
|
|
"CmdChessRogueUpdateUnlockLevelScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateUnlockLevelScNotify)
|
|
}
|
|
"CmdChessRogueUpdateLevelBaseInfoScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateLevelBaseInfoScNotify)
|
|
}
|
|
"CmdChessRogueEnterCellScRsp" => Some(Self::CmdChessRogueEnterCellScRsp),
|
|
"CmdChessRogueUpdateReviveInfoScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateReviveInfoScNotify)
|
|
}
|
|
"CmdChessRogueUpdateMoneyInfoScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateMoneyInfoScNotify)
|
|
}
|
|
"CmdChessRogueQuitScRsp" => Some(Self::CmdChessRogueQuitScRsp),
|
|
"CmdChessRogueLeaveCsReq" => Some(Self::CmdChessRogueLeaveCsReq),
|
|
"CmdChessRoguePickAvatarCsReq" => Some(Self::CmdChessRoguePickAvatarCsReq),
|
|
"CmdChessRogueLeaveScRsp" => Some(Self::CmdChessRogueLeaveScRsp),
|
|
"CmdChessRoguePickAvatarScRsp" => Some(Self::CmdChessRoguePickAvatarScRsp),
|
|
"CmdSyncChessRogueNousValueScNotify" => {
|
|
Some(Self::CmdSyncChessRogueNousValueScNotify)
|
|
}
|
|
"CmdChessRogueNousDiceSurfaceUnlockNotify" => {
|
|
Some(Self::CmdChessRogueNousDiceSurfaceUnlockNotify)
|
|
}
|
|
"CmdSyncChessRogueNousMainStoryScNotify" => {
|
|
Some(Self::CmdSyncChessRogueNousMainStoryScNotify)
|
|
}
|
|
"CmdChessRogueGiveUpScRsp" => Some(Self::CmdChessRogueGiveUpScRsp),
|
|
"CmdEnhanceChessRogueBuffCsReq" => Some(Self::CmdEnhanceChessRogueBuffCsReq),
|
|
"CmdChessRogueNousEditDiceCsReq" => {
|
|
Some(Self::CmdChessRogueNousEditDiceCsReq)
|
|
}
|
|
"CmdChessRogueQuestFinishNotify" => {
|
|
Some(Self::CmdChessRogueQuestFinishNotify)
|
|
}
|
|
"CmdChessRogueUpdateDiceInfoScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateDiceInfoScNotify)
|
|
}
|
|
"CmdGetChessRogueStoryInfoScRsp" => {
|
|
Some(Self::CmdGetChessRogueStoryInfoScRsp)
|
|
}
|
|
"CmdChessRogueUpdateDicePassiveAccumulateValueScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateDicePassiveAccumulateValueScNotify)
|
|
}
|
|
"CmdChessRogueFinishCurRoomNotify" => {
|
|
Some(Self::CmdChessRogueFinishCurRoomNotify)
|
|
}
|
|
"CmdChessRogueReRollDiceCsReq" => Some(Self::CmdChessRogueReRollDiceCsReq),
|
|
"CmdGetChessRogueBuffEnhanceInfoScRsp" => {
|
|
Some(Self::CmdGetChessRogueBuffEnhanceInfoScRsp)
|
|
}
|
|
"CmdChessRogueSkipTeachingLevelCsReq" => {
|
|
Some(Self::CmdChessRogueSkipTeachingLevelCsReq)
|
|
}
|
|
"CmdSyncChessRogueMainStoryFinishScNotify" => {
|
|
Some(Self::CmdSyncChessRogueMainStoryFinishScNotify)
|
|
}
|
|
"CmdChessRogueReviveAvatarScRsp" => {
|
|
Some(Self::CmdChessRogueReviveAvatarScRsp)
|
|
}
|
|
"CmdChessRogueNousGetRogueTalentInfoScRsp" => {
|
|
Some(Self::CmdChessRogueNousGetRogueTalentInfoScRsp)
|
|
}
|
|
"CmdSyncChessRogueNousSubStoryScNotify" => {
|
|
Some(Self::CmdSyncChessRogueNousSubStoryScNotify)
|
|
}
|
|
"CmdChessRogueSelectBpCsReq" => Some(Self::CmdChessRogueSelectBpCsReq),
|
|
"CmdChessRogueUpdateActionPointScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateActionPointScNotify)
|
|
}
|
|
"CmdChessRogueGiveUpRollScRsp" => Some(Self::CmdChessRogueGiveUpRollScRsp),
|
|
"CmdChessRogueEnterCellCsReq" => Some(Self::CmdChessRogueEnterCellCsReq),
|
|
"CmdFinishChessRogueSubStoryScRsp" => {
|
|
Some(Self::CmdFinishChessRogueSubStoryScRsp)
|
|
}
|
|
"CmdChessRogueEnterNextLayerScRsp" => {
|
|
Some(Self::CmdChessRogueEnterNextLayerScRsp)
|
|
}
|
|
"CmdChessRogueQueryCsReq" => Some(Self::CmdChessRogueQueryCsReq),
|
|
"CmdGetChessRogueStoryInfoCsReq" => {
|
|
Some(Self::CmdGetChessRogueStoryInfoCsReq)
|
|
}
|
|
"CmdChessRogueCellUpdateNotify" => Some(Self::CmdChessRogueCellUpdateNotify),
|
|
"CmdChessRogueCheatRollScRsp" => Some(Self::CmdChessRogueCheatRollScRsp),
|
|
"CmdGetChessRogueNousStoryInfoCsReq" => {
|
|
Some(Self::CmdGetChessRogueNousStoryInfoCsReq)
|
|
}
|
|
"CmdChessRogueQuitCsReq" => Some(Self::CmdChessRogueQuitCsReq),
|
|
"CmdChessRogueQueryScRsp" => Some(Self::CmdChessRogueQueryScRsp),
|
|
"CmdChessRogueNousDiceUpdateNotify" => {
|
|
Some(Self::CmdChessRogueNousDiceUpdateNotify)
|
|
}
|
|
"CmdChessRogueStartCsReq" => Some(Self::CmdChessRogueStartCsReq),
|
|
"CmdChessRogueUpdateBoardScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateBoardScNotify)
|
|
}
|
|
"CmdEnterChessRogueAeonRoomCsReq" => {
|
|
Some(Self::CmdEnterChessRogueAeonRoomCsReq)
|
|
}
|
|
"CmdSelectChessRogueNousSubStoryScRsp" => {
|
|
Some(Self::CmdSelectChessRogueNousSubStoryScRsp)
|
|
}
|
|
"CmdChessRogueConfirmRollCsReq" => Some(Self::CmdChessRogueConfirmRollCsReq),
|
|
"CmdChessRogueRollDiceCsReq" => Some(Self::CmdChessRogueRollDiceCsReq),
|
|
"CmdChessRogueSkipTeachingLevelScRsp" => {
|
|
Some(Self::CmdChessRogueSkipTeachingLevelScRsp)
|
|
}
|
|
"CmdChessRogueSelectCellScRsp" => Some(Self::CmdChessRogueSelectCellScRsp),
|
|
"CmdChessRogueQueryAeonDimensionsScRsp" => {
|
|
Some(Self::CmdChessRogueQueryAeonDimensionsScRsp)
|
|
}
|
|
"CmdChessRogueRollDiceScRsp" => Some(Self::CmdChessRogueRollDiceScRsp),
|
|
"CmdChessRogueUpdateAeonModifierValueScNotify" => {
|
|
Some(Self::CmdChessRogueUpdateAeonModifierValueScNotify)
|
|
}
|
|
"CmdGetChessRogueStoryAeonTalkInfoScRsp" => {
|
|
Some(Self::CmdGetChessRogueStoryAeonTalkInfoScRsp)
|
|
}
|
|
"CmdChessRogueGiveUpRollCsReq" => Some(Self::CmdChessRogueGiveUpRollCsReq),
|
|
"CmdChessRogueSelectCellCsReq" => Some(Self::CmdChessRogueSelectCellCsReq),
|
|
"CmdEnhanceChessRogueBuffScRsp" => Some(Self::CmdEnhanceChessRogueBuffScRsp),
|
|
"CmdGetChessRogueBuffEnhanceInfoCsReq" => {
|
|
Some(Self::CmdGetChessRogueBuffEnhanceInfoCsReq)
|
|
}
|
|
"CmdChessRogueGoAheadScRsp" => Some(Self::CmdChessRogueGoAheadScRsp),
|
|
"CmdGetChessRogueNousStoryInfoScRsp" => {
|
|
Some(Self::CmdGetChessRogueNousStoryInfoScRsp)
|
|
}
|
|
"CmdChessRogueNousEditDiceScRsp" => {
|
|
Some(Self::CmdChessRogueNousEditDiceScRsp)
|
|
}
|
|
"CmdChessRogueSelectBpScRsp" => Some(Self::CmdChessRogueSelectBpScRsp),
|
|
"CmdChessRogueEnterCsReq" => Some(Self::CmdChessRogueEnterCsReq),
|
|
"CmdChessRogueEnterNextLayerCsReq" => {
|
|
Some(Self::CmdChessRogueEnterNextLayerCsReq)
|
|
}
|
|
"CmdChessRogueReviveAvatarCsReq" => {
|
|
Some(Self::CmdChessRogueReviveAvatarCsReq)
|
|
}
|
|
"CmdChessRogueNousEnableRogueTalentCsReq" => {
|
|
Some(Self::CmdChessRogueNousEnableRogueTalentCsReq)
|
|
}
|
|
"CmdChessRogueNousEnableRogueTalentScRsp" => {
|
|
Some(Self::CmdChessRogueNousEnableRogueTalentScRsp)
|
|
}
|
|
"CmdFinishChessRogueNousSubStoryScRsp" => {
|
|
Some(Self::CmdFinishChessRogueNousSubStoryScRsp)
|
|
}
|
|
"CmdChessRogueGiveUpCsReq" => Some(Self::CmdChessRogueGiveUpCsReq),
|
|
"CmdChessRogueReRollDiceScRsp" => Some(Self::CmdChessRogueReRollDiceScRsp),
|
|
"CmdSelectChessRogueSubStoryScRsp" => {
|
|
Some(Self::CmdSelectChessRogueSubStoryScRsp)
|
|
}
|
|
"CmdChessRogueQueryBpScRsp" => Some(Self::CmdChessRogueQueryBpScRsp),
|
|
"CmdEnterChessRogueAeonRoomScRsp" => {
|
|
Some(Self::CmdEnterChessRogueAeonRoomScRsp)
|
|
}
|
|
"CmdChessRogueLayerAccountInfoNotify" => {
|
|
Some(Self::CmdChessRogueLayerAccountInfoNotify)
|
|
}
|
|
"CmdChessRogueNousGetRogueTalentInfoCsReq" => {
|
|
Some(Self::CmdChessRogueNousGetRogueTalentInfoCsReq)
|
|
}
|
|
"CmdChessRogueConfirmRollScRsp" => Some(Self::CmdChessRogueConfirmRollScRsp),
|
|
"CmdChessRogueStartScRsp" => Some(Self::CmdChessRogueStartScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdClockParkType {
|
|
None = 0,
|
|
CmdClockParkUseBuffCsReq = 7203,
|
|
CmdClockParkStartScriptScRsp = 7204,
|
|
CmdClockParkQuitScriptCsReq = 7206,
|
|
CmdClockParkGetInfoCsReq = 7207,
|
|
CmdClockParkUnlockTalentScRsp = 7208,
|
|
CmdClockParkUnlockTalentCsReq = 7211,
|
|
CmdClockParkQuitScriptScRsp = 7212,
|
|
CmdClockParkGetOngoingScriptInfoScRsp = 7220,
|
|
CmdClockParkStartScriptCsReq = 7223,
|
|
CmdClockParkGetInfoScRsp = 7224,
|
|
CmdClockParkFinishScriptScNotify = 7225,
|
|
CmdClockParkGetOngoingScriptInfoCsReq = 7234,
|
|
CmdClockParkUseBuffScRsp = 7235,
|
|
CmdClockParkHandleWaitOperationCsReq = 7236,
|
|
CmdClockParkHandleWaitOperationScRsp = 7245,
|
|
CmdClockParkBattleEndScNotify = 7248,
|
|
}
|
|
impl CmdClockParkType {
|
|
/// 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 {
|
|
CmdClockParkType::None => "CmdClockParkTypeNone",
|
|
CmdClockParkType::CmdClockParkUseBuffCsReq => "CmdClockParkUseBuffCsReq",
|
|
CmdClockParkType::CmdClockParkStartScriptScRsp => {
|
|
"CmdClockParkStartScriptScRsp"
|
|
}
|
|
CmdClockParkType::CmdClockParkQuitScriptCsReq => {
|
|
"CmdClockParkQuitScriptCsReq"
|
|
}
|
|
CmdClockParkType::CmdClockParkGetInfoCsReq => "CmdClockParkGetInfoCsReq",
|
|
CmdClockParkType::CmdClockParkUnlockTalentScRsp => {
|
|
"CmdClockParkUnlockTalentScRsp"
|
|
}
|
|
CmdClockParkType::CmdClockParkUnlockTalentCsReq => {
|
|
"CmdClockParkUnlockTalentCsReq"
|
|
}
|
|
CmdClockParkType::CmdClockParkQuitScriptScRsp => {
|
|
"CmdClockParkQuitScriptScRsp"
|
|
}
|
|
CmdClockParkType::CmdClockParkGetOngoingScriptInfoScRsp => {
|
|
"CmdClockParkGetOngoingScriptInfoScRsp"
|
|
}
|
|
CmdClockParkType::CmdClockParkStartScriptCsReq => {
|
|
"CmdClockParkStartScriptCsReq"
|
|
}
|
|
CmdClockParkType::CmdClockParkGetInfoScRsp => "CmdClockParkGetInfoScRsp",
|
|
CmdClockParkType::CmdClockParkFinishScriptScNotify => {
|
|
"CmdClockParkFinishScriptScNotify"
|
|
}
|
|
CmdClockParkType::CmdClockParkGetOngoingScriptInfoCsReq => {
|
|
"CmdClockParkGetOngoingScriptInfoCsReq"
|
|
}
|
|
CmdClockParkType::CmdClockParkUseBuffScRsp => "CmdClockParkUseBuffScRsp",
|
|
CmdClockParkType::CmdClockParkHandleWaitOperationCsReq => {
|
|
"CmdClockParkHandleWaitOperationCsReq"
|
|
}
|
|
CmdClockParkType::CmdClockParkHandleWaitOperationScRsp => {
|
|
"CmdClockParkHandleWaitOperationScRsp"
|
|
}
|
|
CmdClockParkType::CmdClockParkBattleEndScNotify => {
|
|
"CmdClockParkBattleEndScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdClockParkTypeNone" => Some(Self::None),
|
|
"CmdClockParkUseBuffCsReq" => Some(Self::CmdClockParkUseBuffCsReq),
|
|
"CmdClockParkStartScriptScRsp" => Some(Self::CmdClockParkStartScriptScRsp),
|
|
"CmdClockParkQuitScriptCsReq" => Some(Self::CmdClockParkQuitScriptCsReq),
|
|
"CmdClockParkGetInfoCsReq" => Some(Self::CmdClockParkGetInfoCsReq),
|
|
"CmdClockParkUnlockTalentScRsp" => Some(Self::CmdClockParkUnlockTalentScRsp),
|
|
"CmdClockParkUnlockTalentCsReq" => Some(Self::CmdClockParkUnlockTalentCsReq),
|
|
"CmdClockParkQuitScriptScRsp" => Some(Self::CmdClockParkQuitScriptScRsp),
|
|
"CmdClockParkGetOngoingScriptInfoScRsp" => {
|
|
Some(Self::CmdClockParkGetOngoingScriptInfoScRsp)
|
|
}
|
|
"CmdClockParkStartScriptCsReq" => Some(Self::CmdClockParkStartScriptCsReq),
|
|
"CmdClockParkGetInfoScRsp" => Some(Self::CmdClockParkGetInfoScRsp),
|
|
"CmdClockParkFinishScriptScNotify" => {
|
|
Some(Self::CmdClockParkFinishScriptScNotify)
|
|
}
|
|
"CmdClockParkGetOngoingScriptInfoCsReq" => {
|
|
Some(Self::CmdClockParkGetOngoingScriptInfoCsReq)
|
|
}
|
|
"CmdClockParkUseBuffScRsp" => Some(Self::CmdClockParkUseBuffScRsp),
|
|
"CmdClockParkHandleWaitOperationCsReq" => {
|
|
Some(Self::CmdClockParkHandleWaitOperationCsReq)
|
|
}
|
|
"CmdClockParkHandleWaitOperationScRsp" => {
|
|
Some(Self::CmdClockParkHandleWaitOperationScRsp)
|
|
}
|
|
"CmdClockParkBattleEndScNotify" => Some(Self::CmdClockParkBattleEndScNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdContentPackageType {
|
|
None = 0,
|
|
CmdContentPackageGetDataCsReq = 7507,
|
|
CmdContentPackageTransferScNotify = 7508,
|
|
CmdContentPackageUnlockScRsp = 7511,
|
|
CmdContentPackageSyncDataScNotify = 7515,
|
|
CmdContentPackageUnlockCsReq = 7517,
|
|
CmdContentPackageGetDataScRsp = 7524,
|
|
}
|
|
impl CmdContentPackageType {
|
|
/// 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 {
|
|
CmdContentPackageType::None => "CmdContentPackageTypeNone",
|
|
CmdContentPackageType::CmdContentPackageGetDataCsReq => {
|
|
"CmdContentPackageGetDataCsReq"
|
|
}
|
|
CmdContentPackageType::CmdContentPackageTransferScNotify => {
|
|
"CmdContentPackageTransferScNotify"
|
|
}
|
|
CmdContentPackageType::CmdContentPackageUnlockScRsp => {
|
|
"CmdContentPackageUnlockScRsp"
|
|
}
|
|
CmdContentPackageType::CmdContentPackageSyncDataScNotify => {
|
|
"CmdContentPackageSyncDataScNotify"
|
|
}
|
|
CmdContentPackageType::CmdContentPackageUnlockCsReq => {
|
|
"CmdContentPackageUnlockCsReq"
|
|
}
|
|
CmdContentPackageType::CmdContentPackageGetDataScRsp => {
|
|
"CmdContentPackageGetDataScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdContentPackageTypeNone" => Some(Self::None),
|
|
"CmdContentPackageGetDataCsReq" => Some(Self::CmdContentPackageGetDataCsReq),
|
|
"CmdContentPackageTransferScNotify" => {
|
|
Some(Self::CmdContentPackageTransferScNotify)
|
|
}
|
|
"CmdContentPackageUnlockScRsp" => Some(Self::CmdContentPackageUnlockScRsp),
|
|
"CmdContentPackageSyncDataScNotify" => {
|
|
Some(Self::CmdContentPackageSyncDataScNotify)
|
|
}
|
|
"CmdContentPackageUnlockCsReq" => Some(Self::CmdContentPackageUnlockCsReq),
|
|
"CmdContentPackageGetDataScRsp" => Some(Self::CmdContentPackageGetDataScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdDailyActiveType {
|
|
None = 0,
|
|
CmdTakeApRewardScRsp = 3306,
|
|
CmdGetDailyActiveInfoCsReq = 3311,
|
|
CmdTakeAllApRewardScRsp = 3339,
|
|
CmdGetDailyActiveInfoScRsp = 3343,
|
|
CmdDailyActiveInfoNotify = 3356,
|
|
CmdTakeApRewardCsReq = 3368,
|
|
CmdTakeAllApRewardCsReq = 3393,
|
|
}
|
|
impl CmdDailyActiveType {
|
|
/// 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 {
|
|
CmdDailyActiveType::None => "CmdDailyActiveTypeNone",
|
|
CmdDailyActiveType::CmdTakeApRewardScRsp => "CmdTakeApRewardScRsp",
|
|
CmdDailyActiveType::CmdGetDailyActiveInfoCsReq => {
|
|
"CmdGetDailyActiveInfoCsReq"
|
|
}
|
|
CmdDailyActiveType::CmdTakeAllApRewardScRsp => "CmdTakeAllApRewardScRsp",
|
|
CmdDailyActiveType::CmdGetDailyActiveInfoScRsp => {
|
|
"CmdGetDailyActiveInfoScRsp"
|
|
}
|
|
CmdDailyActiveType::CmdDailyActiveInfoNotify => "CmdDailyActiveInfoNotify",
|
|
CmdDailyActiveType::CmdTakeApRewardCsReq => "CmdTakeApRewardCsReq",
|
|
CmdDailyActiveType::CmdTakeAllApRewardCsReq => "CmdTakeAllApRewardCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdDailyActiveTypeNone" => Some(Self::None),
|
|
"CmdTakeApRewardScRsp" => Some(Self::CmdTakeApRewardScRsp),
|
|
"CmdGetDailyActiveInfoCsReq" => Some(Self::CmdGetDailyActiveInfoCsReq),
|
|
"CmdTakeAllApRewardScRsp" => Some(Self::CmdTakeAllApRewardScRsp),
|
|
"CmdGetDailyActiveInfoScRsp" => Some(Self::CmdGetDailyActiveInfoScRsp),
|
|
"CmdDailyActiveInfoNotify" => Some(Self::CmdDailyActiveInfoNotify),
|
|
"CmdTakeApRewardCsReq" => Some(Self::CmdTakeApRewardCsReq),
|
|
"CmdTakeAllApRewardCsReq" => Some(Self::CmdTakeAllApRewardCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdDrinkMakerType {
|
|
None = 0,
|
|
CmdDrinkMakerUpdateTipsNotify = 6981,
|
|
CmdEndDrinkMakerSequenceScRsp = 6982,
|
|
CmdGetDrinkMakerDataScRsp = 6983,
|
|
CmdEndDrinkMakerSequenceCsReq = 6984,
|
|
CmdMakeMissionDrinkScRsp = 6987,
|
|
CmdDrinkMakerDayEndScNotify = 6988,
|
|
CmdDrinkMakerChallengeScRsp = 6990,
|
|
CmdMakeDrinkCsReq = 6992,
|
|
CmdDrinkMakerChallengeCsReq = 6993,
|
|
CmdMakeMissionDrinkCsReq = 6996,
|
|
CmdGetDrinkMakerDataCsReq = 6999,
|
|
CmdMakeDrinkScRsp = 7000,
|
|
}
|
|
impl CmdDrinkMakerType {
|
|
/// 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 {
|
|
CmdDrinkMakerType::None => "CmdDrinkMakerTypeNone",
|
|
CmdDrinkMakerType::CmdDrinkMakerUpdateTipsNotify => {
|
|
"CmdDrinkMakerUpdateTipsNotify"
|
|
}
|
|
CmdDrinkMakerType::CmdEndDrinkMakerSequenceScRsp => {
|
|
"CmdEndDrinkMakerSequenceScRsp"
|
|
}
|
|
CmdDrinkMakerType::CmdGetDrinkMakerDataScRsp => "CmdGetDrinkMakerDataScRsp",
|
|
CmdDrinkMakerType::CmdEndDrinkMakerSequenceCsReq => {
|
|
"CmdEndDrinkMakerSequenceCsReq"
|
|
}
|
|
CmdDrinkMakerType::CmdMakeMissionDrinkScRsp => "CmdMakeMissionDrinkScRsp",
|
|
CmdDrinkMakerType::CmdDrinkMakerDayEndScNotify => {
|
|
"CmdDrinkMakerDayEndScNotify"
|
|
}
|
|
CmdDrinkMakerType::CmdDrinkMakerChallengeScRsp => {
|
|
"CmdDrinkMakerChallengeScRsp"
|
|
}
|
|
CmdDrinkMakerType::CmdMakeDrinkCsReq => "CmdMakeDrinkCsReq",
|
|
CmdDrinkMakerType::CmdDrinkMakerChallengeCsReq => {
|
|
"CmdDrinkMakerChallengeCsReq"
|
|
}
|
|
CmdDrinkMakerType::CmdMakeMissionDrinkCsReq => "CmdMakeMissionDrinkCsReq",
|
|
CmdDrinkMakerType::CmdGetDrinkMakerDataCsReq => "CmdGetDrinkMakerDataCsReq",
|
|
CmdDrinkMakerType::CmdMakeDrinkScRsp => "CmdMakeDrinkScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdDrinkMakerTypeNone" => Some(Self::None),
|
|
"CmdDrinkMakerUpdateTipsNotify" => Some(Self::CmdDrinkMakerUpdateTipsNotify),
|
|
"CmdEndDrinkMakerSequenceScRsp" => Some(Self::CmdEndDrinkMakerSequenceScRsp),
|
|
"CmdGetDrinkMakerDataScRsp" => Some(Self::CmdGetDrinkMakerDataScRsp),
|
|
"CmdEndDrinkMakerSequenceCsReq" => Some(Self::CmdEndDrinkMakerSequenceCsReq),
|
|
"CmdMakeMissionDrinkScRsp" => Some(Self::CmdMakeMissionDrinkScRsp),
|
|
"CmdDrinkMakerDayEndScNotify" => Some(Self::CmdDrinkMakerDayEndScNotify),
|
|
"CmdDrinkMakerChallengeScRsp" => Some(Self::CmdDrinkMakerChallengeScRsp),
|
|
"CmdMakeDrinkCsReq" => Some(Self::CmdMakeDrinkCsReq),
|
|
"CmdDrinkMakerChallengeCsReq" => Some(Self::CmdDrinkMakerChallengeCsReq),
|
|
"CmdMakeMissionDrinkCsReq" => Some(Self::CmdMakeMissionDrinkCsReq),
|
|
"CmdGetDrinkMakerDataCsReq" => Some(Self::CmdGetDrinkMakerDataCsReq),
|
|
"CmdMakeDrinkScRsp" => Some(Self::CmdMakeDrinkScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdEvolveBuild {
|
|
None = 0,
|
|
ShopAbilityDownScRsp = 7103,
|
|
GiveupScRsp = 7104,
|
|
ShopAbilityUpCsReq = 7105,
|
|
ReRandomStageScRsp = 7106,
|
|
QueryInfoCsReq = 7107,
|
|
StartStageScRsp = 7108,
|
|
StartStageCsReq = 7111,
|
|
StartLevelCsReq = 7115,
|
|
StartLevelScRsp = 7117,
|
|
LeaveScRsp = 7120,
|
|
ShopAbilityDownCsReq = 7121,
|
|
GiveupCsReq = 7123,
|
|
QueryInfoScRsp = 7124,
|
|
TakeExpRewardScRsp = 7125,
|
|
CoinNotify = 7127,
|
|
ShopAbilityResetCsReq = 7133,
|
|
LeaveCsReq = 7134,
|
|
TakeExpRewardCsReq = 7135,
|
|
FinishScNotify = 7136,
|
|
ShopAbilityResetScRsp = 7143,
|
|
ReRandomStageCsReq = 7145,
|
|
ShopAbilityUpScRsp = 7148,
|
|
UnlockInfoNotify = 7149,
|
|
}
|
|
impl CmdEvolveBuild {
|
|
/// 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 {
|
|
CmdEvolveBuild::None => "CmdEvolveBuildNone",
|
|
CmdEvolveBuild::ShopAbilityDownScRsp => "CmdEvolveBuildShopAbilityDownScRsp",
|
|
CmdEvolveBuild::GiveupScRsp => "CmdEvolveBuildGiveupScRsp",
|
|
CmdEvolveBuild::ShopAbilityUpCsReq => "CmdEvolveBuildShopAbilityUpCsReq",
|
|
CmdEvolveBuild::ReRandomStageScRsp => "CmdEvolveBuildReRandomStageScRsp",
|
|
CmdEvolveBuild::QueryInfoCsReq => "CmdEvolveBuildQueryInfoCsReq",
|
|
CmdEvolveBuild::StartStageScRsp => "CmdEvolveBuildStartStageScRsp",
|
|
CmdEvolveBuild::StartStageCsReq => "CmdEvolveBuildStartStageCsReq",
|
|
CmdEvolveBuild::StartLevelCsReq => "CmdEvolveBuildStartLevelCsReq",
|
|
CmdEvolveBuild::StartLevelScRsp => "CmdEvolveBuildStartLevelScRsp",
|
|
CmdEvolveBuild::LeaveScRsp => "CmdEvolveBuildLeaveScRsp",
|
|
CmdEvolveBuild::ShopAbilityDownCsReq => "CmdEvolveBuildShopAbilityDownCsReq",
|
|
CmdEvolveBuild::GiveupCsReq => "CmdEvolveBuildGiveupCsReq",
|
|
CmdEvolveBuild::QueryInfoScRsp => "CmdEvolveBuildQueryInfoScRsp",
|
|
CmdEvolveBuild::TakeExpRewardScRsp => "CmdEvolveBuildTakeExpRewardScRsp",
|
|
CmdEvolveBuild::CoinNotify => "CmdEvolveBuildCoinNotify",
|
|
CmdEvolveBuild::ShopAbilityResetCsReq => {
|
|
"CmdEvolveBuildShopAbilityResetCsReq"
|
|
}
|
|
CmdEvolveBuild::LeaveCsReq => "CmdEvolveBuildLeaveCsReq",
|
|
CmdEvolveBuild::TakeExpRewardCsReq => "CmdEvolveBuildTakeExpRewardCsReq",
|
|
CmdEvolveBuild::FinishScNotify => "CmdEvolveBuildFinishScNotify",
|
|
CmdEvolveBuild::ShopAbilityResetScRsp => {
|
|
"CmdEvolveBuildShopAbilityResetScRsp"
|
|
}
|
|
CmdEvolveBuild::ReRandomStageCsReq => "CmdEvolveBuildReRandomStageCsReq",
|
|
CmdEvolveBuild::ShopAbilityUpScRsp => "CmdEvolveBuildShopAbilityUpScRsp",
|
|
CmdEvolveBuild::UnlockInfoNotify => "CmdEvolveBuildUnlockInfoNotify",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdEvolveBuildNone" => Some(Self::None),
|
|
"CmdEvolveBuildShopAbilityDownScRsp" => Some(Self::ShopAbilityDownScRsp),
|
|
"CmdEvolveBuildGiveupScRsp" => Some(Self::GiveupScRsp),
|
|
"CmdEvolveBuildShopAbilityUpCsReq" => Some(Self::ShopAbilityUpCsReq),
|
|
"CmdEvolveBuildReRandomStageScRsp" => Some(Self::ReRandomStageScRsp),
|
|
"CmdEvolveBuildQueryInfoCsReq" => Some(Self::QueryInfoCsReq),
|
|
"CmdEvolveBuildStartStageScRsp" => Some(Self::StartStageScRsp),
|
|
"CmdEvolveBuildStartStageCsReq" => Some(Self::StartStageCsReq),
|
|
"CmdEvolveBuildStartLevelCsReq" => Some(Self::StartLevelCsReq),
|
|
"CmdEvolveBuildStartLevelScRsp" => Some(Self::StartLevelScRsp),
|
|
"CmdEvolveBuildLeaveScRsp" => Some(Self::LeaveScRsp),
|
|
"CmdEvolveBuildShopAbilityDownCsReq" => Some(Self::ShopAbilityDownCsReq),
|
|
"CmdEvolveBuildGiveupCsReq" => Some(Self::GiveupCsReq),
|
|
"CmdEvolveBuildQueryInfoScRsp" => Some(Self::QueryInfoScRsp),
|
|
"CmdEvolveBuildTakeExpRewardScRsp" => Some(Self::TakeExpRewardScRsp),
|
|
"CmdEvolveBuildCoinNotify" => Some(Self::CoinNotify),
|
|
"CmdEvolveBuildShopAbilityResetCsReq" => Some(Self::ShopAbilityResetCsReq),
|
|
"CmdEvolveBuildLeaveCsReq" => Some(Self::LeaveCsReq),
|
|
"CmdEvolveBuildTakeExpRewardCsReq" => Some(Self::TakeExpRewardCsReq),
|
|
"CmdEvolveBuildFinishScNotify" => Some(Self::FinishScNotify),
|
|
"CmdEvolveBuildShopAbilityResetScRsp" => Some(Self::ShopAbilityResetScRsp),
|
|
"CmdEvolveBuildReRandomStageCsReq" => Some(Self::ReRandomStageCsReq),
|
|
"CmdEvolveBuildShopAbilityUpScRsp" => Some(Self::ShopAbilityUpScRsp),
|
|
"CmdEvolveBuildUnlockInfoNotify" => Some(Self::UnlockInfoNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdExpeditionType {
|
|
None = 0,
|
|
CmdGetExpeditionDataScRsp = 2506,
|
|
CmdAcceptExpeditionCsReq = 2511,
|
|
CmdTakeMultipleExpeditionRewardScRsp = 2525,
|
|
CmdTakeExpeditionRewardScRsp = 2529,
|
|
CmdAcceptActivityExpeditionCsReq = 2533,
|
|
CmdAcceptMultipleExpeditionCsReq = 2534,
|
|
CmdTakeExpeditionRewardCsReq = 2539,
|
|
CmdAcceptExpeditionScRsp = 2543,
|
|
CmdTakeActivityExpeditionRewardCsReq = 2548,
|
|
CmdExpeditionDataChangeScNotify = 2551,
|
|
CmdCancelActivityExpeditionCsReq = 2554,
|
|
CmdCancelExpeditionCsReq = 2556,
|
|
CmdCancelActivityExpeditionScRsp = 2565,
|
|
CmdGetExpeditionDataCsReq = 2568,
|
|
CmdTakeActivityExpeditionRewardScRsp = 2582,
|
|
CmdCancelExpeditionScRsp = 2593,
|
|
CmdAcceptMultipleExpeditionScRsp = 2597,
|
|
CmdTakeMultipleExpeditionRewardCsReq = 2598,
|
|
CmdAcceptActivityExpeditionScRsp = 2599,
|
|
}
|
|
impl CmdExpeditionType {
|
|
/// 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 {
|
|
CmdExpeditionType::None => "CmdExpeditionTypeNone",
|
|
CmdExpeditionType::CmdGetExpeditionDataScRsp => "CmdGetExpeditionDataScRsp",
|
|
CmdExpeditionType::CmdAcceptExpeditionCsReq => "CmdAcceptExpeditionCsReq",
|
|
CmdExpeditionType::CmdTakeMultipleExpeditionRewardScRsp => {
|
|
"CmdTakeMultipleExpeditionRewardScRsp"
|
|
}
|
|
CmdExpeditionType::CmdTakeExpeditionRewardScRsp => {
|
|
"CmdTakeExpeditionRewardScRsp"
|
|
}
|
|
CmdExpeditionType::CmdAcceptActivityExpeditionCsReq => {
|
|
"CmdAcceptActivityExpeditionCsReq"
|
|
}
|
|
CmdExpeditionType::CmdAcceptMultipleExpeditionCsReq => {
|
|
"CmdAcceptMultipleExpeditionCsReq"
|
|
}
|
|
CmdExpeditionType::CmdTakeExpeditionRewardCsReq => {
|
|
"CmdTakeExpeditionRewardCsReq"
|
|
}
|
|
CmdExpeditionType::CmdAcceptExpeditionScRsp => "CmdAcceptExpeditionScRsp",
|
|
CmdExpeditionType::CmdTakeActivityExpeditionRewardCsReq => {
|
|
"CmdTakeActivityExpeditionRewardCsReq"
|
|
}
|
|
CmdExpeditionType::CmdExpeditionDataChangeScNotify => {
|
|
"CmdExpeditionDataChangeScNotify"
|
|
}
|
|
CmdExpeditionType::CmdCancelActivityExpeditionCsReq => {
|
|
"CmdCancelActivityExpeditionCsReq"
|
|
}
|
|
CmdExpeditionType::CmdCancelExpeditionCsReq => "CmdCancelExpeditionCsReq",
|
|
CmdExpeditionType::CmdCancelActivityExpeditionScRsp => {
|
|
"CmdCancelActivityExpeditionScRsp"
|
|
}
|
|
CmdExpeditionType::CmdGetExpeditionDataCsReq => "CmdGetExpeditionDataCsReq",
|
|
CmdExpeditionType::CmdTakeActivityExpeditionRewardScRsp => {
|
|
"CmdTakeActivityExpeditionRewardScRsp"
|
|
}
|
|
CmdExpeditionType::CmdCancelExpeditionScRsp => "CmdCancelExpeditionScRsp",
|
|
CmdExpeditionType::CmdAcceptMultipleExpeditionScRsp => {
|
|
"CmdAcceptMultipleExpeditionScRsp"
|
|
}
|
|
CmdExpeditionType::CmdTakeMultipleExpeditionRewardCsReq => {
|
|
"CmdTakeMultipleExpeditionRewardCsReq"
|
|
}
|
|
CmdExpeditionType::CmdAcceptActivityExpeditionScRsp => {
|
|
"CmdAcceptActivityExpeditionScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdExpeditionTypeNone" => Some(Self::None),
|
|
"CmdGetExpeditionDataScRsp" => Some(Self::CmdGetExpeditionDataScRsp),
|
|
"CmdAcceptExpeditionCsReq" => Some(Self::CmdAcceptExpeditionCsReq),
|
|
"CmdTakeMultipleExpeditionRewardScRsp" => {
|
|
Some(Self::CmdTakeMultipleExpeditionRewardScRsp)
|
|
}
|
|
"CmdTakeExpeditionRewardScRsp" => Some(Self::CmdTakeExpeditionRewardScRsp),
|
|
"CmdAcceptActivityExpeditionCsReq" => {
|
|
Some(Self::CmdAcceptActivityExpeditionCsReq)
|
|
}
|
|
"CmdAcceptMultipleExpeditionCsReq" => {
|
|
Some(Self::CmdAcceptMultipleExpeditionCsReq)
|
|
}
|
|
"CmdTakeExpeditionRewardCsReq" => Some(Self::CmdTakeExpeditionRewardCsReq),
|
|
"CmdAcceptExpeditionScRsp" => Some(Self::CmdAcceptExpeditionScRsp),
|
|
"CmdTakeActivityExpeditionRewardCsReq" => {
|
|
Some(Self::CmdTakeActivityExpeditionRewardCsReq)
|
|
}
|
|
"CmdExpeditionDataChangeScNotify" => {
|
|
Some(Self::CmdExpeditionDataChangeScNotify)
|
|
}
|
|
"CmdCancelActivityExpeditionCsReq" => {
|
|
Some(Self::CmdCancelActivityExpeditionCsReq)
|
|
}
|
|
"CmdCancelExpeditionCsReq" => Some(Self::CmdCancelExpeditionCsReq),
|
|
"CmdCancelActivityExpeditionScRsp" => {
|
|
Some(Self::CmdCancelActivityExpeditionScRsp)
|
|
}
|
|
"CmdGetExpeditionDataCsReq" => Some(Self::CmdGetExpeditionDataCsReq),
|
|
"CmdTakeActivityExpeditionRewardScRsp" => {
|
|
Some(Self::CmdTakeActivityExpeditionRewardScRsp)
|
|
}
|
|
"CmdCancelExpeditionScRsp" => Some(Self::CmdCancelExpeditionScRsp),
|
|
"CmdAcceptMultipleExpeditionScRsp" => {
|
|
Some(Self::CmdAcceptMultipleExpeditionScRsp)
|
|
}
|
|
"CmdTakeMultipleExpeditionRewardCsReq" => {
|
|
Some(Self::CmdTakeMultipleExpeditionRewardCsReq)
|
|
}
|
|
"CmdAcceptActivityExpeditionScRsp" => {
|
|
Some(Self::CmdAcceptActivityExpeditionScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFantasticStoryActivityType {
|
|
None = 0,
|
|
CmdGetFantasticStoryActivityDataScRsp = 4906,
|
|
CmdFinishChapterScNotify = 4911,
|
|
CmdEnterFantasticStoryActivityStageCsReq = 4943,
|
|
CmdEnterFantasticStoryActivityStageScRsp = 4956,
|
|
CmdGetFantasticStoryActivityDataCsReq = 4968,
|
|
CmdFantasticStoryActivityBattleEndScNotify = 4993,
|
|
}
|
|
impl CmdFantasticStoryActivityType {
|
|
/// 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 {
|
|
CmdFantasticStoryActivityType::None => "CmdFantasticStoryActivityTypeNone",
|
|
CmdFantasticStoryActivityType::CmdGetFantasticStoryActivityDataScRsp => {
|
|
"CmdGetFantasticStoryActivityDataScRsp"
|
|
}
|
|
CmdFantasticStoryActivityType::CmdFinishChapterScNotify => {
|
|
"CmdFinishChapterScNotify"
|
|
}
|
|
CmdFantasticStoryActivityType::CmdEnterFantasticStoryActivityStageCsReq => {
|
|
"CmdEnterFantasticStoryActivityStageCsReq"
|
|
}
|
|
CmdFantasticStoryActivityType::CmdEnterFantasticStoryActivityStageScRsp => {
|
|
"CmdEnterFantasticStoryActivityStageScRsp"
|
|
}
|
|
CmdFantasticStoryActivityType::CmdGetFantasticStoryActivityDataCsReq => {
|
|
"CmdGetFantasticStoryActivityDataCsReq"
|
|
}
|
|
CmdFantasticStoryActivityType::CmdFantasticStoryActivityBattleEndScNotify => {
|
|
"CmdFantasticStoryActivityBattleEndScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFantasticStoryActivityTypeNone" => Some(Self::None),
|
|
"CmdGetFantasticStoryActivityDataScRsp" => {
|
|
Some(Self::CmdGetFantasticStoryActivityDataScRsp)
|
|
}
|
|
"CmdFinishChapterScNotify" => Some(Self::CmdFinishChapterScNotify),
|
|
"CmdEnterFantasticStoryActivityStageCsReq" => {
|
|
Some(Self::CmdEnterFantasticStoryActivityStageCsReq)
|
|
}
|
|
"CmdEnterFantasticStoryActivityStageScRsp" => {
|
|
Some(Self::CmdEnterFantasticStoryActivityStageScRsp)
|
|
}
|
|
"CmdGetFantasticStoryActivityDataCsReq" => {
|
|
Some(Self::CmdGetFantasticStoryActivityDataCsReq)
|
|
}
|
|
"CmdFantasticStoryActivityBattleEndScNotify" => {
|
|
Some(Self::CmdFantasticStoryActivityBattleEndScNotify)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFeverTimeActivityType {
|
|
None = 0,
|
|
CmdEnterFeverTimeActivityStageCsReq = 7151,
|
|
CmdGetFeverTimeActivityDataScRsp = 7152,
|
|
CmdEnterFeverTimeActivityStageScRsp = 7154,
|
|
CmdFeverTimeActivityBattleEndScNotify = 7159,
|
|
CmdGetFeverTimeActivityDataCsReq = 7160,
|
|
}
|
|
impl CmdFeverTimeActivityType {
|
|
/// 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 {
|
|
CmdFeverTimeActivityType::None => "CmdFeverTimeActivityTypeNone",
|
|
CmdFeverTimeActivityType::CmdEnterFeverTimeActivityStageCsReq => {
|
|
"CmdEnterFeverTimeActivityStageCsReq"
|
|
}
|
|
CmdFeverTimeActivityType::CmdGetFeverTimeActivityDataScRsp => {
|
|
"CmdGetFeverTimeActivityDataScRsp"
|
|
}
|
|
CmdFeverTimeActivityType::CmdEnterFeverTimeActivityStageScRsp => {
|
|
"CmdEnterFeverTimeActivityStageScRsp"
|
|
}
|
|
CmdFeverTimeActivityType::CmdFeverTimeActivityBattleEndScNotify => {
|
|
"CmdFeverTimeActivityBattleEndScNotify"
|
|
}
|
|
CmdFeverTimeActivityType::CmdGetFeverTimeActivityDataCsReq => {
|
|
"CmdGetFeverTimeActivityDataCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFeverTimeActivityTypeNone" => Some(Self::None),
|
|
"CmdEnterFeverTimeActivityStageCsReq" => {
|
|
Some(Self::CmdEnterFeverTimeActivityStageCsReq)
|
|
}
|
|
"CmdGetFeverTimeActivityDataScRsp" => {
|
|
Some(Self::CmdGetFeverTimeActivityDataScRsp)
|
|
}
|
|
"CmdEnterFeverTimeActivityStageScRsp" => {
|
|
Some(Self::CmdEnterFeverTimeActivityStageScRsp)
|
|
}
|
|
"CmdFeverTimeActivityBattleEndScNotify" => {
|
|
Some(Self::CmdFeverTimeActivityBattleEndScNotify)
|
|
}
|
|
"CmdGetFeverTimeActivityDataCsReq" => {
|
|
Some(Self::CmdGetFeverTimeActivityDataCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFightType {
|
|
None = 0,
|
|
CmdFightEnterScRsp = 30006,
|
|
CmdFightLeaveScNotify = 30011,
|
|
CmdFightSessionStopScNotify = 30039,
|
|
CmdFightKickOutScNotify = 30043,
|
|
CmdFightHeartBeatCsReq = 30056,
|
|
CmdFightEnterCsReq = 30068,
|
|
CmdFightHeartBeatScRsp = 30093,
|
|
}
|
|
impl CmdFightType {
|
|
/// 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 {
|
|
CmdFightType::None => "CmdFightTypeNone",
|
|
CmdFightType::CmdFightEnterScRsp => "CmdFightEnterScRsp",
|
|
CmdFightType::CmdFightLeaveScNotify => "CmdFightLeaveScNotify",
|
|
CmdFightType::CmdFightSessionStopScNotify => "CmdFightSessionStopScNotify",
|
|
CmdFightType::CmdFightKickOutScNotify => "CmdFightKickOutScNotify",
|
|
CmdFightType::CmdFightHeartBeatCsReq => "CmdFightHeartBeatCsReq",
|
|
CmdFightType::CmdFightEnterCsReq => "CmdFightEnterCsReq",
|
|
CmdFightType::CmdFightHeartBeatScRsp => "CmdFightHeartBeatScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFightTypeNone" => Some(Self::None),
|
|
"CmdFightEnterScRsp" => Some(Self::CmdFightEnterScRsp),
|
|
"CmdFightLeaveScNotify" => Some(Self::CmdFightLeaveScNotify),
|
|
"CmdFightSessionStopScNotify" => Some(Self::CmdFightSessionStopScNotify),
|
|
"CmdFightKickOutScNotify" => Some(Self::CmdFightKickOutScNotify),
|
|
"CmdFightHeartBeatCsReq" => Some(Self::CmdFightHeartBeatCsReq),
|
|
"CmdFightEnterCsReq" => Some(Self::CmdFightEnterCsReq),
|
|
"CmdFightHeartBeatScRsp" => Some(Self::CmdFightHeartBeatScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFightActivityType {
|
|
None = 0,
|
|
CmdGetFightActivityDataScRsp = 3606,
|
|
CmdFightActivityDataChangeScNotify = 3611,
|
|
CmdTakeFightActivityRewardScRsp = 3639,
|
|
CmdEnterFightActivityStageCsReq = 3643,
|
|
CmdEnterFightActivityStageScRsp = 3656,
|
|
CmdGetFightActivityDataCsReq = 3668,
|
|
CmdTakeFightActivityRewardCsReq = 3693,
|
|
}
|
|
impl CmdFightActivityType {
|
|
/// 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 {
|
|
CmdFightActivityType::None => "CmdFightActivityTypeNone",
|
|
CmdFightActivityType::CmdGetFightActivityDataScRsp => {
|
|
"CmdGetFightActivityDataScRsp"
|
|
}
|
|
CmdFightActivityType::CmdFightActivityDataChangeScNotify => {
|
|
"CmdFightActivityDataChangeScNotify"
|
|
}
|
|
CmdFightActivityType::CmdTakeFightActivityRewardScRsp => {
|
|
"CmdTakeFightActivityRewardScRsp"
|
|
}
|
|
CmdFightActivityType::CmdEnterFightActivityStageCsReq => {
|
|
"CmdEnterFightActivityStageCsReq"
|
|
}
|
|
CmdFightActivityType::CmdEnterFightActivityStageScRsp => {
|
|
"CmdEnterFightActivityStageScRsp"
|
|
}
|
|
CmdFightActivityType::CmdGetFightActivityDataCsReq => {
|
|
"CmdGetFightActivityDataCsReq"
|
|
}
|
|
CmdFightActivityType::CmdTakeFightActivityRewardCsReq => {
|
|
"CmdTakeFightActivityRewardCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFightActivityTypeNone" => Some(Self::None),
|
|
"CmdGetFightActivityDataScRsp" => Some(Self::CmdGetFightActivityDataScRsp),
|
|
"CmdFightActivityDataChangeScNotify" => {
|
|
Some(Self::CmdFightActivityDataChangeScNotify)
|
|
}
|
|
"CmdTakeFightActivityRewardScRsp" => {
|
|
Some(Self::CmdTakeFightActivityRewardScRsp)
|
|
}
|
|
"CmdEnterFightActivityStageCsReq" => {
|
|
Some(Self::CmdEnterFightActivityStageCsReq)
|
|
}
|
|
"CmdEnterFightActivityStageScRsp" => {
|
|
Some(Self::CmdEnterFightActivityStageScRsp)
|
|
}
|
|
"CmdGetFightActivityDataCsReq" => Some(Self::CmdGetFightActivityDataCsReq),
|
|
"CmdTakeFightActivityRewardCsReq" => {
|
|
Some(Self::CmdTakeFightActivityRewardCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFightFestType {
|
|
None = 0,
|
|
CmdFightFestUpdateCoinNotify = 7254,
|
|
CmdGetFightFestDataCsReq = 7257,
|
|
CmdFightFestUnlockSkillNotify = 7258,
|
|
CmdFightFestScoreUpdateNotify = 7261,
|
|
CmdStartFightFestCsReq = 7265,
|
|
CmdStartFightFestScRsp = 7267,
|
|
CmdFightFestUpdateChallengeRecordNotify = 7273,
|
|
CmdGetFightFestDataScRsp = 7274,
|
|
}
|
|
impl CmdFightFestType {
|
|
/// 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 {
|
|
CmdFightFestType::None => "CmdFightFestTypeNone",
|
|
CmdFightFestType::CmdFightFestUpdateCoinNotify => {
|
|
"CmdFightFestUpdateCoinNotify"
|
|
}
|
|
CmdFightFestType::CmdGetFightFestDataCsReq => "CmdGetFightFestDataCsReq",
|
|
CmdFightFestType::CmdFightFestUnlockSkillNotify => {
|
|
"CmdFightFestUnlockSkillNotify"
|
|
}
|
|
CmdFightFestType::CmdFightFestScoreUpdateNotify => {
|
|
"CmdFightFestScoreUpdateNotify"
|
|
}
|
|
CmdFightFestType::CmdStartFightFestCsReq => "CmdStartFightFestCsReq",
|
|
CmdFightFestType::CmdStartFightFestScRsp => "CmdStartFightFestScRsp",
|
|
CmdFightFestType::CmdFightFestUpdateChallengeRecordNotify => {
|
|
"CmdFightFestUpdateChallengeRecordNotify"
|
|
}
|
|
CmdFightFestType::CmdGetFightFestDataScRsp => "CmdGetFightFestDataScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFightFestTypeNone" => Some(Self::None),
|
|
"CmdFightFestUpdateCoinNotify" => Some(Self::CmdFightFestUpdateCoinNotify),
|
|
"CmdGetFightFestDataCsReq" => Some(Self::CmdGetFightFestDataCsReq),
|
|
"CmdFightFestUnlockSkillNotify" => Some(Self::CmdFightFestUnlockSkillNotify),
|
|
"CmdFightFestScoreUpdateNotify" => Some(Self::CmdFightFestScoreUpdateNotify),
|
|
"CmdStartFightFestCsReq" => Some(Self::CmdStartFightFestCsReq),
|
|
"CmdStartFightFestScRsp" => Some(Self::CmdStartFightFestScRsp),
|
|
"CmdFightFestUpdateChallengeRecordNotify" => {
|
|
Some(Self::CmdFightFestUpdateChallengeRecordNotify)
|
|
}
|
|
"CmdGetFightFestDataScRsp" => Some(Self::CmdGetFightFestDataScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFightMathc3Type {
|
|
None = 0,
|
|
CmdFightMatch3DataScRsp = 30106,
|
|
CmdFightMatch3StartCountDownScNotify = 30111,
|
|
CmdFightMatch3OpponentDataScNotify = 30129,
|
|
CmdFightMatch3ChatScRsp = 30133,
|
|
CmdFightMatch3SwapScRsp = 30139,
|
|
CmdFightMatch3TurnStartScNotify = 30143,
|
|
CmdFightMatch3ChatCsReq = 30151,
|
|
CmdFightMatch3ForceUpdateNotify = 30154,
|
|
CmdFightMatch3TurnEndScNotify = 30156,
|
|
CmdFightMatch3DataCsReq = 30168,
|
|
CmdFightMatch3SwapCsReq = 30193,
|
|
CmdFightMatch3ChatScNotify = 30199,
|
|
}
|
|
impl CmdFightMathc3Type {
|
|
/// 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 {
|
|
CmdFightMathc3Type::None => "CmdFightMathc3TypeNone",
|
|
CmdFightMathc3Type::CmdFightMatch3DataScRsp => "CmdFightMatch3DataScRsp",
|
|
CmdFightMathc3Type::CmdFightMatch3StartCountDownScNotify => {
|
|
"CmdFightMatch3StartCountDownScNotify"
|
|
}
|
|
CmdFightMathc3Type::CmdFightMatch3OpponentDataScNotify => {
|
|
"CmdFightMatch3OpponentDataScNotify"
|
|
}
|
|
CmdFightMathc3Type::CmdFightMatch3ChatScRsp => "CmdFightMatch3ChatScRsp",
|
|
CmdFightMathc3Type::CmdFightMatch3SwapScRsp => "CmdFightMatch3SwapScRsp",
|
|
CmdFightMathc3Type::CmdFightMatch3TurnStartScNotify => {
|
|
"CmdFightMatch3TurnStartScNotify"
|
|
}
|
|
CmdFightMathc3Type::CmdFightMatch3ChatCsReq => "CmdFightMatch3ChatCsReq",
|
|
CmdFightMathc3Type::CmdFightMatch3ForceUpdateNotify => {
|
|
"CmdFightMatch3ForceUpdateNotify"
|
|
}
|
|
CmdFightMathc3Type::CmdFightMatch3TurnEndScNotify => {
|
|
"CmdFightMatch3TurnEndScNotify"
|
|
}
|
|
CmdFightMathc3Type::CmdFightMatch3DataCsReq => "CmdFightMatch3DataCsReq",
|
|
CmdFightMathc3Type::CmdFightMatch3SwapCsReq => "CmdFightMatch3SwapCsReq",
|
|
CmdFightMathc3Type::CmdFightMatch3ChatScNotify => {
|
|
"CmdFightMatch3ChatScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFightMathc3TypeNone" => Some(Self::None),
|
|
"CmdFightMatch3DataScRsp" => Some(Self::CmdFightMatch3DataScRsp),
|
|
"CmdFightMatch3StartCountDownScNotify" => {
|
|
Some(Self::CmdFightMatch3StartCountDownScNotify)
|
|
}
|
|
"CmdFightMatch3OpponentDataScNotify" => {
|
|
Some(Self::CmdFightMatch3OpponentDataScNotify)
|
|
}
|
|
"CmdFightMatch3ChatScRsp" => Some(Self::CmdFightMatch3ChatScRsp),
|
|
"CmdFightMatch3SwapScRsp" => Some(Self::CmdFightMatch3SwapScRsp),
|
|
"CmdFightMatch3TurnStartScNotify" => {
|
|
Some(Self::CmdFightMatch3TurnStartScNotify)
|
|
}
|
|
"CmdFightMatch3ChatCsReq" => Some(Self::CmdFightMatch3ChatCsReq),
|
|
"CmdFightMatch3ForceUpdateNotify" => {
|
|
Some(Self::CmdFightMatch3ForceUpdateNotify)
|
|
}
|
|
"CmdFightMatch3TurnEndScNotify" => Some(Self::CmdFightMatch3TurnEndScNotify),
|
|
"CmdFightMatch3DataCsReq" => Some(Self::CmdFightMatch3DataCsReq),
|
|
"CmdFightMatch3SwapCsReq" => Some(Self::CmdFightMatch3SwapCsReq),
|
|
"CmdFightMatch3ChatScNotify" => Some(Self::CmdFightMatch3ChatScNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdFriendType {
|
|
None = 0,
|
|
CmdGetFriendDevelopmentInfoCsReq = 2903,
|
|
CmdGetFriendListInfoScRsp = 2906,
|
|
CmdGetFriendChallengeDetailScRsp = 2907,
|
|
CmdSearchPlayerCsReq = 2908,
|
|
CmdDeleteBlacklistCsReq = 2909,
|
|
CmdGetPlayerDetailInfoCsReq = 2911,
|
|
CmdTakeAssistRewardScRsp = 2912,
|
|
CmdSetForbidOtherApplyFriendCsReq = 2915,
|
|
CmdGetAssistListScRsp = 2916,
|
|
CmdSetFriendRemarkNameCsReq = 2917,
|
|
CmdSetAssistScRsp = 2923,
|
|
CmdGetFriendRecommendListInfoScRsp = 2924,
|
|
CmdGetFriendRecommendListInfoCsReq = 2925,
|
|
CmdGetFriendDevelopmentInfoScRsp = 2926,
|
|
CmdReportPlayerScRsp = 2928,
|
|
CmdApplyFriendScRsp = 2929,
|
|
CmdCurAssistChangedNotify = 2930,
|
|
CmdGetFriendBattleRecordDetailScRsp = 2931,
|
|
CmdGetAssistListCsReq = 2932,
|
|
CmdHandleFriendCsReq = 2933,
|
|
CmdAddBlacklistCsReq = 2934,
|
|
CmdApplyFriendCsReq = 2939,
|
|
CmdSetFriendMarkCsReq = 2940,
|
|
CmdGetFriendBattleRecordDetailCsReq = 2941,
|
|
CmdGetPlayerDetailInfoScRsp = 2943,
|
|
CmdGetAssistHistoryScRsp = 2945,
|
|
CmdTakeAssistRewardCsReq = 2946,
|
|
CmdGetFriendChallengeLineupScRsp = 2947,
|
|
CmdDeleteFriendScRsp = 2948,
|
|
CmdGetAssistHistoryCsReq = 2949,
|
|
CmdSyncApplyFriendScNotify = 2951,
|
|
CmdGetFriendAssistListScRsp = 2953,
|
|
CmdSyncHandleFriendScNotify = 2954,
|
|
CmdGetFriendApplyListInfoCsReq = 2956,
|
|
CmdGetFriendChallengeLineupCsReq = 2958,
|
|
CmdGetFriendChallengeDetailCsReq = 2959,
|
|
CmdDeleteFriendCsReq = 2965,
|
|
CmdNewAssistHistoryNotify = 2966,
|
|
CmdGetFriendLoginInfoScRsp = 2967,
|
|
CmdGetFriendListInfoCsReq = 2968,
|
|
CmdGetFriendLoginInfoCsReq = 2969,
|
|
CmdSetForbidOtherApplyFriendScRsp = 2975,
|
|
CmdGetCurAssistScRsp = 2976,
|
|
CmdGetCurAssistCsReq = 2978,
|
|
CmdSearchPlayerScRsp = 2981,
|
|
CmdSyncDeleteFriendScNotify = 2982,
|
|
CmdSetAssistCsReq = 2984,
|
|
CmdSetFriendMarkScRsp = 2985,
|
|
CmdDeleteBlacklistScRsp = 2988,
|
|
CmdGetPlatformPlayerInfoScRsp = 2989,
|
|
CmdReportPlayerCsReq = 2990,
|
|
CmdSetFriendRemarkNameScRsp = 2992,
|
|
CmdGetFriendApplyListInfoScRsp = 2993,
|
|
CmdGetPlatformPlayerInfoCsReq = 2995,
|
|
CmdAddBlacklistScRsp = 2997,
|
|
CmdSyncAddBlacklistScNotify = 2998,
|
|
CmdHandleFriendScRsp = 2999,
|
|
CmdGetFriendAssistListCsReq = 3000,
|
|
}
|
|
impl CmdFriendType {
|
|
/// 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 {
|
|
CmdFriendType::None => "CmdFriendTypeNone",
|
|
CmdFriendType::CmdGetFriendDevelopmentInfoCsReq => {
|
|
"CmdGetFriendDevelopmentInfoCsReq"
|
|
}
|
|
CmdFriendType::CmdGetFriendListInfoScRsp => "CmdGetFriendListInfoScRsp",
|
|
CmdFriendType::CmdGetFriendChallengeDetailScRsp => {
|
|
"CmdGetFriendChallengeDetailScRsp"
|
|
}
|
|
CmdFriendType::CmdSearchPlayerCsReq => "CmdSearchPlayerCsReq",
|
|
CmdFriendType::CmdDeleteBlacklistCsReq => "CmdDeleteBlacklistCsReq",
|
|
CmdFriendType::CmdGetPlayerDetailInfoCsReq => "CmdGetPlayerDetailInfoCsReq",
|
|
CmdFriendType::CmdTakeAssistRewardScRsp => "CmdTakeAssistRewardScRsp",
|
|
CmdFriendType::CmdSetForbidOtherApplyFriendCsReq => {
|
|
"CmdSetForbidOtherApplyFriendCsReq"
|
|
}
|
|
CmdFriendType::CmdGetAssistListScRsp => "CmdGetAssistListScRsp",
|
|
CmdFriendType::CmdSetFriendRemarkNameCsReq => "CmdSetFriendRemarkNameCsReq",
|
|
CmdFriendType::CmdSetAssistScRsp => "CmdSetAssistScRsp",
|
|
CmdFriendType::CmdGetFriendRecommendListInfoScRsp => {
|
|
"CmdGetFriendRecommendListInfoScRsp"
|
|
}
|
|
CmdFriendType::CmdGetFriendRecommendListInfoCsReq => {
|
|
"CmdGetFriendRecommendListInfoCsReq"
|
|
}
|
|
CmdFriendType::CmdGetFriendDevelopmentInfoScRsp => {
|
|
"CmdGetFriendDevelopmentInfoScRsp"
|
|
}
|
|
CmdFriendType::CmdReportPlayerScRsp => "CmdReportPlayerScRsp",
|
|
CmdFriendType::CmdApplyFriendScRsp => "CmdApplyFriendScRsp",
|
|
CmdFriendType::CmdCurAssistChangedNotify => "CmdCurAssistChangedNotify",
|
|
CmdFriendType::CmdGetFriendBattleRecordDetailScRsp => {
|
|
"CmdGetFriendBattleRecordDetailScRsp"
|
|
}
|
|
CmdFriendType::CmdGetAssistListCsReq => "CmdGetAssistListCsReq",
|
|
CmdFriendType::CmdHandleFriendCsReq => "CmdHandleFriendCsReq",
|
|
CmdFriendType::CmdAddBlacklistCsReq => "CmdAddBlacklistCsReq",
|
|
CmdFriendType::CmdApplyFriendCsReq => "CmdApplyFriendCsReq",
|
|
CmdFriendType::CmdSetFriendMarkCsReq => "CmdSetFriendMarkCsReq",
|
|
CmdFriendType::CmdGetFriendBattleRecordDetailCsReq => {
|
|
"CmdGetFriendBattleRecordDetailCsReq"
|
|
}
|
|
CmdFriendType::CmdGetPlayerDetailInfoScRsp => "CmdGetPlayerDetailInfoScRsp",
|
|
CmdFriendType::CmdGetAssistHistoryScRsp => "CmdGetAssistHistoryScRsp",
|
|
CmdFriendType::CmdTakeAssistRewardCsReq => "CmdTakeAssistRewardCsReq",
|
|
CmdFriendType::CmdGetFriendChallengeLineupScRsp => {
|
|
"CmdGetFriendChallengeLineupScRsp"
|
|
}
|
|
CmdFriendType::CmdDeleteFriendScRsp => "CmdDeleteFriendScRsp",
|
|
CmdFriendType::CmdGetAssistHistoryCsReq => "CmdGetAssistHistoryCsReq",
|
|
CmdFriendType::CmdSyncApplyFriendScNotify => "CmdSyncApplyFriendScNotify",
|
|
CmdFriendType::CmdGetFriendAssistListScRsp => "CmdGetFriendAssistListScRsp",
|
|
CmdFriendType::CmdSyncHandleFriendScNotify => "CmdSyncHandleFriendScNotify",
|
|
CmdFriendType::CmdGetFriendApplyListInfoCsReq => {
|
|
"CmdGetFriendApplyListInfoCsReq"
|
|
}
|
|
CmdFriendType::CmdGetFriendChallengeLineupCsReq => {
|
|
"CmdGetFriendChallengeLineupCsReq"
|
|
}
|
|
CmdFriendType::CmdGetFriendChallengeDetailCsReq => {
|
|
"CmdGetFriendChallengeDetailCsReq"
|
|
}
|
|
CmdFriendType::CmdDeleteFriendCsReq => "CmdDeleteFriendCsReq",
|
|
CmdFriendType::CmdNewAssistHistoryNotify => "CmdNewAssistHistoryNotify",
|
|
CmdFriendType::CmdGetFriendLoginInfoScRsp => "CmdGetFriendLoginInfoScRsp",
|
|
CmdFriendType::CmdGetFriendListInfoCsReq => "CmdGetFriendListInfoCsReq",
|
|
CmdFriendType::CmdGetFriendLoginInfoCsReq => "CmdGetFriendLoginInfoCsReq",
|
|
CmdFriendType::CmdSetForbidOtherApplyFriendScRsp => {
|
|
"CmdSetForbidOtherApplyFriendScRsp"
|
|
}
|
|
CmdFriendType::CmdGetCurAssistScRsp => "CmdGetCurAssistScRsp",
|
|
CmdFriendType::CmdGetCurAssistCsReq => "CmdGetCurAssistCsReq",
|
|
CmdFriendType::CmdSearchPlayerScRsp => "CmdSearchPlayerScRsp",
|
|
CmdFriendType::CmdSyncDeleteFriendScNotify => "CmdSyncDeleteFriendScNotify",
|
|
CmdFriendType::CmdSetAssistCsReq => "CmdSetAssistCsReq",
|
|
CmdFriendType::CmdSetFriendMarkScRsp => "CmdSetFriendMarkScRsp",
|
|
CmdFriendType::CmdDeleteBlacklistScRsp => "CmdDeleteBlacklistScRsp",
|
|
CmdFriendType::CmdGetPlatformPlayerInfoScRsp => {
|
|
"CmdGetPlatformPlayerInfoScRsp"
|
|
}
|
|
CmdFriendType::CmdReportPlayerCsReq => "CmdReportPlayerCsReq",
|
|
CmdFriendType::CmdSetFriendRemarkNameScRsp => "CmdSetFriendRemarkNameScRsp",
|
|
CmdFriendType::CmdGetFriendApplyListInfoScRsp => {
|
|
"CmdGetFriendApplyListInfoScRsp"
|
|
}
|
|
CmdFriendType::CmdGetPlatformPlayerInfoCsReq => {
|
|
"CmdGetPlatformPlayerInfoCsReq"
|
|
}
|
|
CmdFriendType::CmdAddBlacklistScRsp => "CmdAddBlacklistScRsp",
|
|
CmdFriendType::CmdSyncAddBlacklistScNotify => "CmdSyncAddBlacklistScNotify",
|
|
CmdFriendType::CmdHandleFriendScRsp => "CmdHandleFriendScRsp",
|
|
CmdFriendType::CmdGetFriendAssistListCsReq => "CmdGetFriendAssistListCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdFriendTypeNone" => Some(Self::None),
|
|
"CmdGetFriendDevelopmentInfoCsReq" => {
|
|
Some(Self::CmdGetFriendDevelopmentInfoCsReq)
|
|
}
|
|
"CmdGetFriendListInfoScRsp" => Some(Self::CmdGetFriendListInfoScRsp),
|
|
"CmdGetFriendChallengeDetailScRsp" => {
|
|
Some(Self::CmdGetFriendChallengeDetailScRsp)
|
|
}
|
|
"CmdSearchPlayerCsReq" => Some(Self::CmdSearchPlayerCsReq),
|
|
"CmdDeleteBlacklistCsReq" => Some(Self::CmdDeleteBlacklistCsReq),
|
|
"CmdGetPlayerDetailInfoCsReq" => Some(Self::CmdGetPlayerDetailInfoCsReq),
|
|
"CmdTakeAssistRewardScRsp" => Some(Self::CmdTakeAssistRewardScRsp),
|
|
"CmdSetForbidOtherApplyFriendCsReq" => {
|
|
Some(Self::CmdSetForbidOtherApplyFriendCsReq)
|
|
}
|
|
"CmdGetAssistListScRsp" => Some(Self::CmdGetAssistListScRsp),
|
|
"CmdSetFriendRemarkNameCsReq" => Some(Self::CmdSetFriendRemarkNameCsReq),
|
|
"CmdSetAssistScRsp" => Some(Self::CmdSetAssistScRsp),
|
|
"CmdGetFriendRecommendListInfoScRsp" => {
|
|
Some(Self::CmdGetFriendRecommendListInfoScRsp)
|
|
}
|
|
"CmdGetFriendRecommendListInfoCsReq" => {
|
|
Some(Self::CmdGetFriendRecommendListInfoCsReq)
|
|
}
|
|
"CmdGetFriendDevelopmentInfoScRsp" => {
|
|
Some(Self::CmdGetFriendDevelopmentInfoScRsp)
|
|
}
|
|
"CmdReportPlayerScRsp" => Some(Self::CmdReportPlayerScRsp),
|
|
"CmdApplyFriendScRsp" => Some(Self::CmdApplyFriendScRsp),
|
|
"CmdCurAssistChangedNotify" => Some(Self::CmdCurAssistChangedNotify),
|
|
"CmdGetFriendBattleRecordDetailScRsp" => {
|
|
Some(Self::CmdGetFriendBattleRecordDetailScRsp)
|
|
}
|
|
"CmdGetAssistListCsReq" => Some(Self::CmdGetAssistListCsReq),
|
|
"CmdHandleFriendCsReq" => Some(Self::CmdHandleFriendCsReq),
|
|
"CmdAddBlacklistCsReq" => Some(Self::CmdAddBlacklistCsReq),
|
|
"CmdApplyFriendCsReq" => Some(Self::CmdApplyFriendCsReq),
|
|
"CmdSetFriendMarkCsReq" => Some(Self::CmdSetFriendMarkCsReq),
|
|
"CmdGetFriendBattleRecordDetailCsReq" => {
|
|
Some(Self::CmdGetFriendBattleRecordDetailCsReq)
|
|
}
|
|
"CmdGetPlayerDetailInfoScRsp" => Some(Self::CmdGetPlayerDetailInfoScRsp),
|
|
"CmdGetAssistHistoryScRsp" => Some(Self::CmdGetAssistHistoryScRsp),
|
|
"CmdTakeAssistRewardCsReq" => Some(Self::CmdTakeAssistRewardCsReq),
|
|
"CmdGetFriendChallengeLineupScRsp" => {
|
|
Some(Self::CmdGetFriendChallengeLineupScRsp)
|
|
}
|
|
"CmdDeleteFriendScRsp" => Some(Self::CmdDeleteFriendScRsp),
|
|
"CmdGetAssistHistoryCsReq" => Some(Self::CmdGetAssistHistoryCsReq),
|
|
"CmdSyncApplyFriendScNotify" => Some(Self::CmdSyncApplyFriendScNotify),
|
|
"CmdGetFriendAssistListScRsp" => Some(Self::CmdGetFriendAssistListScRsp),
|
|
"CmdSyncHandleFriendScNotify" => Some(Self::CmdSyncHandleFriendScNotify),
|
|
"CmdGetFriendApplyListInfoCsReq" => {
|
|
Some(Self::CmdGetFriendApplyListInfoCsReq)
|
|
}
|
|
"CmdGetFriendChallengeLineupCsReq" => {
|
|
Some(Self::CmdGetFriendChallengeLineupCsReq)
|
|
}
|
|
"CmdGetFriendChallengeDetailCsReq" => {
|
|
Some(Self::CmdGetFriendChallengeDetailCsReq)
|
|
}
|
|
"CmdDeleteFriendCsReq" => Some(Self::CmdDeleteFriendCsReq),
|
|
"CmdNewAssistHistoryNotify" => Some(Self::CmdNewAssistHistoryNotify),
|
|
"CmdGetFriendLoginInfoScRsp" => Some(Self::CmdGetFriendLoginInfoScRsp),
|
|
"CmdGetFriendListInfoCsReq" => Some(Self::CmdGetFriendListInfoCsReq),
|
|
"CmdGetFriendLoginInfoCsReq" => Some(Self::CmdGetFriendLoginInfoCsReq),
|
|
"CmdSetForbidOtherApplyFriendScRsp" => {
|
|
Some(Self::CmdSetForbidOtherApplyFriendScRsp)
|
|
}
|
|
"CmdGetCurAssistScRsp" => Some(Self::CmdGetCurAssistScRsp),
|
|
"CmdGetCurAssistCsReq" => Some(Self::CmdGetCurAssistCsReq),
|
|
"CmdSearchPlayerScRsp" => Some(Self::CmdSearchPlayerScRsp),
|
|
"CmdSyncDeleteFriendScNotify" => Some(Self::CmdSyncDeleteFriendScNotify),
|
|
"CmdSetAssistCsReq" => Some(Self::CmdSetAssistCsReq),
|
|
"CmdSetFriendMarkScRsp" => Some(Self::CmdSetFriendMarkScRsp),
|
|
"CmdDeleteBlacklistScRsp" => Some(Self::CmdDeleteBlacklistScRsp),
|
|
"CmdGetPlatformPlayerInfoScRsp" => Some(Self::CmdGetPlatformPlayerInfoScRsp),
|
|
"CmdReportPlayerCsReq" => Some(Self::CmdReportPlayerCsReq),
|
|
"CmdSetFriendRemarkNameScRsp" => Some(Self::CmdSetFriendRemarkNameScRsp),
|
|
"CmdGetFriendApplyListInfoScRsp" => {
|
|
Some(Self::CmdGetFriendApplyListInfoScRsp)
|
|
}
|
|
"CmdGetPlatformPlayerInfoCsReq" => Some(Self::CmdGetPlatformPlayerInfoCsReq),
|
|
"CmdAddBlacklistScRsp" => Some(Self::CmdAddBlacklistScRsp),
|
|
"CmdSyncAddBlacklistScNotify" => Some(Self::CmdSyncAddBlacklistScNotify),
|
|
"CmdHandleFriendScRsp" => Some(Self::CmdHandleFriendScRsp),
|
|
"CmdGetFriendAssistListCsReq" => Some(Self::CmdGetFriendAssistListCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdGachaType {
|
|
None = 0,
|
|
CmdGetGachaInfoScRsp = 1906,
|
|
CmdDoGachaCsReq = 1911,
|
|
CmdExchangeGachaCeilingScRsp = 1929,
|
|
CmdExchangeGachaCeilingCsReq = 1939,
|
|
CmdDoGachaScRsp = 1943,
|
|
CmdGetGachaCeilingCsReq = 1956,
|
|
CmdGetGachaInfoCsReq = 1968,
|
|
CmdGetGachaCeilingScRsp = 1993,
|
|
}
|
|
impl CmdGachaType {
|
|
/// 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 {
|
|
CmdGachaType::None => "CmdGachaTypeNone",
|
|
CmdGachaType::CmdGetGachaInfoScRsp => "CmdGetGachaInfoScRsp",
|
|
CmdGachaType::CmdDoGachaCsReq => "CmdDoGachaCsReq",
|
|
CmdGachaType::CmdExchangeGachaCeilingScRsp => "CmdExchangeGachaCeilingScRsp",
|
|
CmdGachaType::CmdExchangeGachaCeilingCsReq => "CmdExchangeGachaCeilingCsReq",
|
|
CmdGachaType::CmdDoGachaScRsp => "CmdDoGachaScRsp",
|
|
CmdGachaType::CmdGetGachaCeilingCsReq => "CmdGetGachaCeilingCsReq",
|
|
CmdGachaType::CmdGetGachaInfoCsReq => "CmdGetGachaInfoCsReq",
|
|
CmdGachaType::CmdGetGachaCeilingScRsp => "CmdGetGachaCeilingScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdGachaTypeNone" => Some(Self::None),
|
|
"CmdGetGachaInfoScRsp" => Some(Self::CmdGetGachaInfoScRsp),
|
|
"CmdDoGachaCsReq" => Some(Self::CmdDoGachaCsReq),
|
|
"CmdExchangeGachaCeilingScRsp" => Some(Self::CmdExchangeGachaCeilingScRsp),
|
|
"CmdExchangeGachaCeilingCsReq" => Some(Self::CmdExchangeGachaCeilingCsReq),
|
|
"CmdDoGachaScRsp" => Some(Self::CmdDoGachaScRsp),
|
|
"CmdGetGachaCeilingCsReq" => Some(Self::CmdGetGachaCeilingCsReq),
|
|
"CmdGetGachaInfoCsReq" => Some(Self::CmdGetGachaInfoCsReq),
|
|
"CmdGetGachaCeilingScRsp" => Some(Self::CmdGetGachaCeilingScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdHeartdialType {
|
|
None = 0,
|
|
CmdGetHeartDialInfoScRsp = 6306,
|
|
CmdChangeScriptEmotionCsReq = 6311,
|
|
CmdFinishEmotionDialoguePerformanceScRsp = 6329,
|
|
CmdHeartDialTraceScriptCsReq = 6333,
|
|
CmdFinishEmotionDialoguePerformanceCsReq = 6339,
|
|
CmdChangeScriptEmotionScRsp = 6343,
|
|
CmdHeartDialScriptChangeScNotify = 6351,
|
|
CmdSubmitEmotionItemCsReq = 6356,
|
|
CmdGetHeartDialInfoCsReq = 6368,
|
|
CmdSubmitEmotionItemScRsp = 6393,
|
|
CmdHeartDialTraceScriptScRsp = 6399,
|
|
}
|
|
impl CmdHeartdialType {
|
|
/// 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 {
|
|
CmdHeartdialType::None => "CmdHeartdialTypeNone",
|
|
CmdHeartdialType::CmdGetHeartDialInfoScRsp => "CmdGetHeartDialInfoScRsp",
|
|
CmdHeartdialType::CmdChangeScriptEmotionCsReq => {
|
|
"CmdChangeScriptEmotionCsReq"
|
|
}
|
|
CmdHeartdialType::CmdFinishEmotionDialoguePerformanceScRsp => {
|
|
"CmdFinishEmotionDialoguePerformanceScRsp"
|
|
}
|
|
CmdHeartdialType::CmdHeartDialTraceScriptCsReq => {
|
|
"CmdHeartDialTraceScriptCsReq"
|
|
}
|
|
CmdHeartdialType::CmdFinishEmotionDialoguePerformanceCsReq => {
|
|
"CmdFinishEmotionDialoguePerformanceCsReq"
|
|
}
|
|
CmdHeartdialType::CmdChangeScriptEmotionScRsp => {
|
|
"CmdChangeScriptEmotionScRsp"
|
|
}
|
|
CmdHeartdialType::CmdHeartDialScriptChangeScNotify => {
|
|
"CmdHeartDialScriptChangeScNotify"
|
|
}
|
|
CmdHeartdialType::CmdSubmitEmotionItemCsReq => "CmdSubmitEmotionItemCsReq",
|
|
CmdHeartdialType::CmdGetHeartDialInfoCsReq => "CmdGetHeartDialInfoCsReq",
|
|
CmdHeartdialType::CmdSubmitEmotionItemScRsp => "CmdSubmitEmotionItemScRsp",
|
|
CmdHeartdialType::CmdHeartDialTraceScriptScRsp => {
|
|
"CmdHeartDialTraceScriptScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdHeartdialTypeNone" => Some(Self::None),
|
|
"CmdGetHeartDialInfoScRsp" => Some(Self::CmdGetHeartDialInfoScRsp),
|
|
"CmdChangeScriptEmotionCsReq" => Some(Self::CmdChangeScriptEmotionCsReq),
|
|
"CmdFinishEmotionDialoguePerformanceScRsp" => {
|
|
Some(Self::CmdFinishEmotionDialoguePerformanceScRsp)
|
|
}
|
|
"CmdHeartDialTraceScriptCsReq" => Some(Self::CmdHeartDialTraceScriptCsReq),
|
|
"CmdFinishEmotionDialoguePerformanceCsReq" => {
|
|
Some(Self::CmdFinishEmotionDialoguePerformanceCsReq)
|
|
}
|
|
"CmdChangeScriptEmotionScRsp" => Some(Self::CmdChangeScriptEmotionScRsp),
|
|
"CmdHeartDialScriptChangeScNotify" => {
|
|
Some(Self::CmdHeartDialScriptChangeScNotify)
|
|
}
|
|
"CmdSubmitEmotionItemCsReq" => Some(Self::CmdSubmitEmotionItemCsReq),
|
|
"CmdGetHeartDialInfoCsReq" => Some(Self::CmdGetHeartDialInfoCsReq),
|
|
"CmdSubmitEmotionItemScRsp" => Some(Self::CmdSubmitEmotionItemScRsp),
|
|
"CmdHeartDialTraceScriptScRsp" => Some(Self::CmdHeartDialTraceScriptScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdHeliobusType {
|
|
None = 0,
|
|
CmdHeliobusActivityDataScRsp = 5806,
|
|
CmdHeliobusLineupUpdateScNotify = 5809,
|
|
CmdHeliobusSnsReadCsReq = 5811,
|
|
CmdHeliobusEnterBattleScRsp = 5817,
|
|
CmdHeliobusEnterBattleCsReq = 5824,
|
|
CmdHeliobusChallengeUpdateScNotify = 5828,
|
|
CmdHeliobusSnsLikeScRsp = 5829,
|
|
CmdHeliobusSnsCommentScRsp = 5833,
|
|
CmdHeliobusSelectSkillCsReq = 5834,
|
|
CmdHeliobusSnsLikeCsReq = 5839,
|
|
CmdHeliobusSnsReadScRsp = 5843,
|
|
CmdHeliobusUpgradeLevelScRsp = 5848,
|
|
CmdHeliobusSnsCommentCsReq = 5851,
|
|
CmdHeliobusInfoChangedScNotify = 5854,
|
|
CmdHeliobusSnsPostCsReq = 5856,
|
|
CmdHeliobusUpgradeLevelCsReq = 5865,
|
|
CmdHeliobusActivityDataCsReq = 5868,
|
|
CmdHeliobusUnlockSkillScNotify = 5882,
|
|
CmdHeliobusStartRaidScRsp = 5890,
|
|
CmdHeliobusStartRaidCsReq = 5892,
|
|
CmdHeliobusSnsPostScRsp = 5893,
|
|
CmdHeliobusSelectSkillScRsp = 5897,
|
|
CmdHeliobusSnsUpdateScNotify = 5899,
|
|
}
|
|
impl CmdHeliobusType {
|
|
/// 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 {
|
|
CmdHeliobusType::None => "CmdHeliobusTypeNone",
|
|
CmdHeliobusType::CmdHeliobusActivityDataScRsp => {
|
|
"CmdHeliobusActivityDataScRsp"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusLineupUpdateScNotify => {
|
|
"CmdHeliobusLineupUpdateScNotify"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusSnsReadCsReq => "CmdHeliobusSnsReadCsReq",
|
|
CmdHeliobusType::CmdHeliobusEnterBattleScRsp => "CmdHeliobusEnterBattleScRsp",
|
|
CmdHeliobusType::CmdHeliobusEnterBattleCsReq => "CmdHeliobusEnterBattleCsReq",
|
|
CmdHeliobusType::CmdHeliobusChallengeUpdateScNotify => {
|
|
"CmdHeliobusChallengeUpdateScNotify"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusSnsLikeScRsp => "CmdHeliobusSnsLikeScRsp",
|
|
CmdHeliobusType::CmdHeliobusSnsCommentScRsp => "CmdHeliobusSnsCommentScRsp",
|
|
CmdHeliobusType::CmdHeliobusSelectSkillCsReq => "CmdHeliobusSelectSkillCsReq",
|
|
CmdHeliobusType::CmdHeliobusSnsLikeCsReq => "CmdHeliobusSnsLikeCsReq",
|
|
CmdHeliobusType::CmdHeliobusSnsReadScRsp => "CmdHeliobusSnsReadScRsp",
|
|
CmdHeliobusType::CmdHeliobusUpgradeLevelScRsp => {
|
|
"CmdHeliobusUpgradeLevelScRsp"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusSnsCommentCsReq => "CmdHeliobusSnsCommentCsReq",
|
|
CmdHeliobusType::CmdHeliobusInfoChangedScNotify => {
|
|
"CmdHeliobusInfoChangedScNotify"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusSnsPostCsReq => "CmdHeliobusSnsPostCsReq",
|
|
CmdHeliobusType::CmdHeliobusUpgradeLevelCsReq => {
|
|
"CmdHeliobusUpgradeLevelCsReq"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusActivityDataCsReq => {
|
|
"CmdHeliobusActivityDataCsReq"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusUnlockSkillScNotify => {
|
|
"CmdHeliobusUnlockSkillScNotify"
|
|
}
|
|
CmdHeliobusType::CmdHeliobusStartRaidScRsp => "CmdHeliobusStartRaidScRsp",
|
|
CmdHeliobusType::CmdHeliobusStartRaidCsReq => "CmdHeliobusStartRaidCsReq",
|
|
CmdHeliobusType::CmdHeliobusSnsPostScRsp => "CmdHeliobusSnsPostScRsp",
|
|
CmdHeliobusType::CmdHeliobusSelectSkillScRsp => "CmdHeliobusSelectSkillScRsp",
|
|
CmdHeliobusType::CmdHeliobusSnsUpdateScNotify => {
|
|
"CmdHeliobusSnsUpdateScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdHeliobusTypeNone" => Some(Self::None),
|
|
"CmdHeliobusActivityDataScRsp" => Some(Self::CmdHeliobusActivityDataScRsp),
|
|
"CmdHeliobusLineupUpdateScNotify" => {
|
|
Some(Self::CmdHeliobusLineupUpdateScNotify)
|
|
}
|
|
"CmdHeliobusSnsReadCsReq" => Some(Self::CmdHeliobusSnsReadCsReq),
|
|
"CmdHeliobusEnterBattleScRsp" => Some(Self::CmdHeliobusEnterBattleScRsp),
|
|
"CmdHeliobusEnterBattleCsReq" => Some(Self::CmdHeliobusEnterBattleCsReq),
|
|
"CmdHeliobusChallengeUpdateScNotify" => {
|
|
Some(Self::CmdHeliobusChallengeUpdateScNotify)
|
|
}
|
|
"CmdHeliobusSnsLikeScRsp" => Some(Self::CmdHeliobusSnsLikeScRsp),
|
|
"CmdHeliobusSnsCommentScRsp" => Some(Self::CmdHeliobusSnsCommentScRsp),
|
|
"CmdHeliobusSelectSkillCsReq" => Some(Self::CmdHeliobusSelectSkillCsReq),
|
|
"CmdHeliobusSnsLikeCsReq" => Some(Self::CmdHeliobusSnsLikeCsReq),
|
|
"CmdHeliobusSnsReadScRsp" => Some(Self::CmdHeliobusSnsReadScRsp),
|
|
"CmdHeliobusUpgradeLevelScRsp" => Some(Self::CmdHeliobusUpgradeLevelScRsp),
|
|
"CmdHeliobusSnsCommentCsReq" => Some(Self::CmdHeliobusSnsCommentCsReq),
|
|
"CmdHeliobusInfoChangedScNotify" => {
|
|
Some(Self::CmdHeliobusInfoChangedScNotify)
|
|
}
|
|
"CmdHeliobusSnsPostCsReq" => Some(Self::CmdHeliobusSnsPostCsReq),
|
|
"CmdHeliobusUpgradeLevelCsReq" => Some(Self::CmdHeliobusUpgradeLevelCsReq),
|
|
"CmdHeliobusActivityDataCsReq" => Some(Self::CmdHeliobusActivityDataCsReq),
|
|
"CmdHeliobusUnlockSkillScNotify" => {
|
|
Some(Self::CmdHeliobusUnlockSkillScNotify)
|
|
}
|
|
"CmdHeliobusStartRaidScRsp" => Some(Self::CmdHeliobusStartRaidScRsp),
|
|
"CmdHeliobusStartRaidCsReq" => Some(Self::CmdHeliobusStartRaidCsReq),
|
|
"CmdHeliobusSnsPostScRsp" => Some(Self::CmdHeliobusSnsPostScRsp),
|
|
"CmdHeliobusSelectSkillScRsp" => Some(Self::CmdHeliobusSelectSkillScRsp),
|
|
"CmdHeliobusSnsUpdateScNotify" => Some(Self::CmdHeliobusSnsUpdateScNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdItemType {
|
|
None = 0,
|
|
CmdMarkRelicFilterPlanScRsp = 503,
|
|
CmdGetBagScRsp = 506,
|
|
CmdDeleteRelicFilterPlanCsReq = 507,
|
|
CmdGetRecyleTimeCsReq = 508,
|
|
CmdComposeSelectedRelicScRsp = 509,
|
|
CmdPromoteEquipmentCsReq = 511,
|
|
CmdSetTurnFoodSwitchCsReq = 512,
|
|
CmdRelicRecommendScRsp = 515,
|
|
CmdComposeLimitNumUpdateNotify = 516,
|
|
CmdRechargeSuccNotify = 517,
|
|
CmdDestroyItemScRsp = 523,
|
|
CmdSellItemScRsp = 524,
|
|
CmdSellItemCsReq = 525,
|
|
CmdRelicFilterPlanClearNameScNotify = 526,
|
|
CmdComposeSelectedRelicCsReq = 528,
|
|
CmdUseItemScRsp = 529,
|
|
CmdSetTurnFoodSwitchScRsp = 530,
|
|
CmdMarkRelicFilterPlanCsReq = 531,
|
|
CmdComposeLimitNumCompleteNotify = 532,
|
|
CmdRankUpEquipmentScRsp = 533,
|
|
CmdExpUpRelicScRsp = 534,
|
|
CmdUseItemCsReq = 539,
|
|
CmdRelicAvatarRecommendScRsp = 540,
|
|
CmdDeleteRelicFilterPlanScRsp = 541,
|
|
CmdPromoteEquipmentScRsp = 543,
|
|
CmdMarkItemScRsp = 545,
|
|
CmdSyncTurnFoodNotify = 546,
|
|
CmdModifyRelicFilterPlanCsReq = 547,
|
|
CmdComposeItemScRsp = 548,
|
|
CmdMarkItemCsReq = 549,
|
|
CmdRankUpEquipmentCsReq = 551,
|
|
CmdAddRelicFilterPlanCsReq = 553,
|
|
CmdExpUpEquipmentScRsp = 554,
|
|
CmdLockEquipmentCsReq = 556,
|
|
CmdAddRelicFilterPlanScRsp = 558,
|
|
CmdModifyRelicFilterPlanScRsp = 559,
|
|
CmdComposeItemCsReq = 565,
|
|
CmdCancelMarkItemNotify = 566,
|
|
CmdRelicRecommendCsReq = 567,
|
|
CmdGetBagCsReq = 568,
|
|
CmdDiscardRelicScRsp = 569,
|
|
CmdRelicAvatarRecommendCsReq = 575,
|
|
CmdGetMarkItemListScRsp = 576,
|
|
CmdGetMarkItemListCsReq = 578,
|
|
CmdGetRecyleTimeScRsp = 581,
|
|
CmdExpUpRelicCsReq = 582,
|
|
CmdDestroyItemCsReq = 584,
|
|
CmdGetRelicFilterPlanCsReq = 585,
|
|
CmdAddEquipmentScNotify = 588,
|
|
CmdDiscardRelicCsReq = 589,
|
|
CmdExchangeHcoinScRsp = 590,
|
|
CmdExchangeHcoinCsReq = 592,
|
|
CmdLockEquipmentScRsp = 593,
|
|
CmdGeneralVirtualItemDataNotify = 595,
|
|
CmdLockRelicCsReq = 597,
|
|
CmdLockRelicScRsp = 598,
|
|
CmdExpUpEquipmentCsReq = 599,
|
|
CmdGetRelicFilterPlanScRsp = 600,
|
|
}
|
|
impl CmdItemType {
|
|
/// 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 {
|
|
CmdItemType::None => "CmdItemTypeNone",
|
|
CmdItemType::CmdMarkRelicFilterPlanScRsp => "CmdMarkRelicFilterPlanScRsp",
|
|
CmdItemType::CmdGetBagScRsp => "CmdGetBagScRsp",
|
|
CmdItemType::CmdDeleteRelicFilterPlanCsReq => "CmdDeleteRelicFilterPlanCsReq",
|
|
CmdItemType::CmdGetRecyleTimeCsReq => "CmdGetRecyleTimeCsReq",
|
|
CmdItemType::CmdComposeSelectedRelicScRsp => "CmdComposeSelectedRelicScRsp",
|
|
CmdItemType::CmdPromoteEquipmentCsReq => "CmdPromoteEquipmentCsReq",
|
|
CmdItemType::CmdSetTurnFoodSwitchCsReq => "CmdSetTurnFoodSwitchCsReq",
|
|
CmdItemType::CmdRelicRecommendScRsp => "CmdRelicRecommendScRsp",
|
|
CmdItemType::CmdComposeLimitNumUpdateNotify => {
|
|
"CmdComposeLimitNumUpdateNotify"
|
|
}
|
|
CmdItemType::CmdRechargeSuccNotify => "CmdRechargeSuccNotify",
|
|
CmdItemType::CmdDestroyItemScRsp => "CmdDestroyItemScRsp",
|
|
CmdItemType::CmdSellItemScRsp => "CmdSellItemScRsp",
|
|
CmdItemType::CmdSellItemCsReq => "CmdSellItemCsReq",
|
|
CmdItemType::CmdRelicFilterPlanClearNameScNotify => {
|
|
"CmdRelicFilterPlanClearNameScNotify"
|
|
}
|
|
CmdItemType::CmdComposeSelectedRelicCsReq => "CmdComposeSelectedRelicCsReq",
|
|
CmdItemType::CmdUseItemScRsp => "CmdUseItemScRsp",
|
|
CmdItemType::CmdSetTurnFoodSwitchScRsp => "CmdSetTurnFoodSwitchScRsp",
|
|
CmdItemType::CmdMarkRelicFilterPlanCsReq => "CmdMarkRelicFilterPlanCsReq",
|
|
CmdItemType::CmdComposeLimitNumCompleteNotify => {
|
|
"CmdComposeLimitNumCompleteNotify"
|
|
}
|
|
CmdItemType::CmdRankUpEquipmentScRsp => "CmdRankUpEquipmentScRsp",
|
|
CmdItemType::CmdExpUpRelicScRsp => "CmdExpUpRelicScRsp",
|
|
CmdItemType::CmdUseItemCsReq => "CmdUseItemCsReq",
|
|
CmdItemType::CmdRelicAvatarRecommendScRsp => "CmdRelicAvatarRecommendScRsp",
|
|
CmdItemType::CmdDeleteRelicFilterPlanScRsp => "CmdDeleteRelicFilterPlanScRsp",
|
|
CmdItemType::CmdPromoteEquipmentScRsp => "CmdPromoteEquipmentScRsp",
|
|
CmdItemType::CmdMarkItemScRsp => "CmdMarkItemScRsp",
|
|
CmdItemType::CmdSyncTurnFoodNotify => "CmdSyncTurnFoodNotify",
|
|
CmdItemType::CmdModifyRelicFilterPlanCsReq => "CmdModifyRelicFilterPlanCsReq",
|
|
CmdItemType::CmdComposeItemScRsp => "CmdComposeItemScRsp",
|
|
CmdItemType::CmdMarkItemCsReq => "CmdMarkItemCsReq",
|
|
CmdItemType::CmdRankUpEquipmentCsReq => "CmdRankUpEquipmentCsReq",
|
|
CmdItemType::CmdAddRelicFilterPlanCsReq => "CmdAddRelicFilterPlanCsReq",
|
|
CmdItemType::CmdExpUpEquipmentScRsp => "CmdExpUpEquipmentScRsp",
|
|
CmdItemType::CmdLockEquipmentCsReq => "CmdLockEquipmentCsReq",
|
|
CmdItemType::CmdAddRelicFilterPlanScRsp => "CmdAddRelicFilterPlanScRsp",
|
|
CmdItemType::CmdModifyRelicFilterPlanScRsp => "CmdModifyRelicFilterPlanScRsp",
|
|
CmdItemType::CmdComposeItemCsReq => "CmdComposeItemCsReq",
|
|
CmdItemType::CmdCancelMarkItemNotify => "CmdCancelMarkItemNotify",
|
|
CmdItemType::CmdRelicRecommendCsReq => "CmdRelicRecommendCsReq",
|
|
CmdItemType::CmdGetBagCsReq => "CmdGetBagCsReq",
|
|
CmdItemType::CmdDiscardRelicScRsp => "CmdDiscardRelicScRsp",
|
|
CmdItemType::CmdRelicAvatarRecommendCsReq => "CmdRelicAvatarRecommendCsReq",
|
|
CmdItemType::CmdGetMarkItemListScRsp => "CmdGetMarkItemListScRsp",
|
|
CmdItemType::CmdGetMarkItemListCsReq => "CmdGetMarkItemListCsReq",
|
|
CmdItemType::CmdGetRecyleTimeScRsp => "CmdGetRecyleTimeScRsp",
|
|
CmdItemType::CmdExpUpRelicCsReq => "CmdExpUpRelicCsReq",
|
|
CmdItemType::CmdDestroyItemCsReq => "CmdDestroyItemCsReq",
|
|
CmdItemType::CmdGetRelicFilterPlanCsReq => "CmdGetRelicFilterPlanCsReq",
|
|
CmdItemType::CmdAddEquipmentScNotify => "CmdAddEquipmentScNotify",
|
|
CmdItemType::CmdDiscardRelicCsReq => "CmdDiscardRelicCsReq",
|
|
CmdItemType::CmdExchangeHcoinScRsp => "CmdExchangeHcoinScRsp",
|
|
CmdItemType::CmdExchangeHcoinCsReq => "CmdExchangeHcoinCsReq",
|
|
CmdItemType::CmdLockEquipmentScRsp => "CmdLockEquipmentScRsp",
|
|
CmdItemType::CmdGeneralVirtualItemDataNotify => {
|
|
"CmdGeneralVirtualItemDataNotify"
|
|
}
|
|
CmdItemType::CmdLockRelicCsReq => "CmdLockRelicCsReq",
|
|
CmdItemType::CmdLockRelicScRsp => "CmdLockRelicScRsp",
|
|
CmdItemType::CmdExpUpEquipmentCsReq => "CmdExpUpEquipmentCsReq",
|
|
CmdItemType::CmdGetRelicFilterPlanScRsp => "CmdGetRelicFilterPlanScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdItemTypeNone" => Some(Self::None),
|
|
"CmdMarkRelicFilterPlanScRsp" => Some(Self::CmdMarkRelicFilterPlanScRsp),
|
|
"CmdGetBagScRsp" => Some(Self::CmdGetBagScRsp),
|
|
"CmdDeleteRelicFilterPlanCsReq" => Some(Self::CmdDeleteRelicFilterPlanCsReq),
|
|
"CmdGetRecyleTimeCsReq" => Some(Self::CmdGetRecyleTimeCsReq),
|
|
"CmdComposeSelectedRelicScRsp" => Some(Self::CmdComposeSelectedRelicScRsp),
|
|
"CmdPromoteEquipmentCsReq" => Some(Self::CmdPromoteEquipmentCsReq),
|
|
"CmdSetTurnFoodSwitchCsReq" => Some(Self::CmdSetTurnFoodSwitchCsReq),
|
|
"CmdRelicRecommendScRsp" => Some(Self::CmdRelicRecommendScRsp),
|
|
"CmdComposeLimitNumUpdateNotify" => {
|
|
Some(Self::CmdComposeLimitNumUpdateNotify)
|
|
}
|
|
"CmdRechargeSuccNotify" => Some(Self::CmdRechargeSuccNotify),
|
|
"CmdDestroyItemScRsp" => Some(Self::CmdDestroyItemScRsp),
|
|
"CmdSellItemScRsp" => Some(Self::CmdSellItemScRsp),
|
|
"CmdSellItemCsReq" => Some(Self::CmdSellItemCsReq),
|
|
"CmdRelicFilterPlanClearNameScNotify" => {
|
|
Some(Self::CmdRelicFilterPlanClearNameScNotify)
|
|
}
|
|
"CmdComposeSelectedRelicCsReq" => Some(Self::CmdComposeSelectedRelicCsReq),
|
|
"CmdUseItemScRsp" => Some(Self::CmdUseItemScRsp),
|
|
"CmdSetTurnFoodSwitchScRsp" => Some(Self::CmdSetTurnFoodSwitchScRsp),
|
|
"CmdMarkRelicFilterPlanCsReq" => Some(Self::CmdMarkRelicFilterPlanCsReq),
|
|
"CmdComposeLimitNumCompleteNotify" => {
|
|
Some(Self::CmdComposeLimitNumCompleteNotify)
|
|
}
|
|
"CmdRankUpEquipmentScRsp" => Some(Self::CmdRankUpEquipmentScRsp),
|
|
"CmdExpUpRelicScRsp" => Some(Self::CmdExpUpRelicScRsp),
|
|
"CmdUseItemCsReq" => Some(Self::CmdUseItemCsReq),
|
|
"CmdRelicAvatarRecommendScRsp" => Some(Self::CmdRelicAvatarRecommendScRsp),
|
|
"CmdDeleteRelicFilterPlanScRsp" => Some(Self::CmdDeleteRelicFilterPlanScRsp),
|
|
"CmdPromoteEquipmentScRsp" => Some(Self::CmdPromoteEquipmentScRsp),
|
|
"CmdMarkItemScRsp" => Some(Self::CmdMarkItemScRsp),
|
|
"CmdSyncTurnFoodNotify" => Some(Self::CmdSyncTurnFoodNotify),
|
|
"CmdModifyRelicFilterPlanCsReq" => Some(Self::CmdModifyRelicFilterPlanCsReq),
|
|
"CmdComposeItemScRsp" => Some(Self::CmdComposeItemScRsp),
|
|
"CmdMarkItemCsReq" => Some(Self::CmdMarkItemCsReq),
|
|
"CmdRankUpEquipmentCsReq" => Some(Self::CmdRankUpEquipmentCsReq),
|
|
"CmdAddRelicFilterPlanCsReq" => Some(Self::CmdAddRelicFilterPlanCsReq),
|
|
"CmdExpUpEquipmentScRsp" => Some(Self::CmdExpUpEquipmentScRsp),
|
|
"CmdLockEquipmentCsReq" => Some(Self::CmdLockEquipmentCsReq),
|
|
"CmdAddRelicFilterPlanScRsp" => Some(Self::CmdAddRelicFilterPlanScRsp),
|
|
"CmdModifyRelicFilterPlanScRsp" => Some(Self::CmdModifyRelicFilterPlanScRsp),
|
|
"CmdComposeItemCsReq" => Some(Self::CmdComposeItemCsReq),
|
|
"CmdCancelMarkItemNotify" => Some(Self::CmdCancelMarkItemNotify),
|
|
"CmdRelicRecommendCsReq" => Some(Self::CmdRelicRecommendCsReq),
|
|
"CmdGetBagCsReq" => Some(Self::CmdGetBagCsReq),
|
|
"CmdDiscardRelicScRsp" => Some(Self::CmdDiscardRelicScRsp),
|
|
"CmdRelicAvatarRecommendCsReq" => Some(Self::CmdRelicAvatarRecommendCsReq),
|
|
"CmdGetMarkItemListScRsp" => Some(Self::CmdGetMarkItemListScRsp),
|
|
"CmdGetMarkItemListCsReq" => Some(Self::CmdGetMarkItemListCsReq),
|
|
"CmdGetRecyleTimeScRsp" => Some(Self::CmdGetRecyleTimeScRsp),
|
|
"CmdExpUpRelicCsReq" => Some(Self::CmdExpUpRelicCsReq),
|
|
"CmdDestroyItemCsReq" => Some(Self::CmdDestroyItemCsReq),
|
|
"CmdGetRelicFilterPlanCsReq" => Some(Self::CmdGetRelicFilterPlanCsReq),
|
|
"CmdAddEquipmentScNotify" => Some(Self::CmdAddEquipmentScNotify),
|
|
"CmdDiscardRelicCsReq" => Some(Self::CmdDiscardRelicCsReq),
|
|
"CmdExchangeHcoinScRsp" => Some(Self::CmdExchangeHcoinScRsp),
|
|
"CmdExchangeHcoinCsReq" => Some(Self::CmdExchangeHcoinCsReq),
|
|
"CmdLockEquipmentScRsp" => Some(Self::CmdLockEquipmentScRsp),
|
|
"CmdGeneralVirtualItemDataNotify" => {
|
|
Some(Self::CmdGeneralVirtualItemDataNotify)
|
|
}
|
|
"CmdLockRelicCsReq" => Some(Self::CmdLockRelicCsReq),
|
|
"CmdLockRelicScRsp" => Some(Self::CmdLockRelicScRsp),
|
|
"CmdExpUpEquipmentCsReq" => Some(Self::CmdExpUpEquipmentCsReq),
|
|
"CmdGetRelicFilterPlanScRsp" => Some(Self::CmdGetRelicFilterPlanScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdJukeboxType {
|
|
None = 0,
|
|
CmdGetJukeboxDataScRsp = 3106,
|
|
CmdPlayBackGroundMusicCsReq = 3111,
|
|
CmdTrialBackGroundMusicScRsp = 3129,
|
|
CmdTrialBackGroundMusicCsReq = 3139,
|
|
CmdPlayBackGroundMusicScRsp = 3143,
|
|
CmdUnlockBackGroundMusicCsReq = 3156,
|
|
CmdGetJukeboxDataCsReq = 3168,
|
|
CmdUnlockBackGroundMusicScRsp = 3193,
|
|
}
|
|
impl CmdJukeboxType {
|
|
/// 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 {
|
|
CmdJukeboxType::None => "CmdJukeboxTypeNone",
|
|
CmdJukeboxType::CmdGetJukeboxDataScRsp => "CmdGetJukeboxDataScRsp",
|
|
CmdJukeboxType::CmdPlayBackGroundMusicCsReq => "CmdPlayBackGroundMusicCsReq",
|
|
CmdJukeboxType::CmdTrialBackGroundMusicScRsp => {
|
|
"CmdTrialBackGroundMusicScRsp"
|
|
}
|
|
CmdJukeboxType::CmdTrialBackGroundMusicCsReq => {
|
|
"CmdTrialBackGroundMusicCsReq"
|
|
}
|
|
CmdJukeboxType::CmdPlayBackGroundMusicScRsp => "CmdPlayBackGroundMusicScRsp",
|
|
CmdJukeboxType::CmdUnlockBackGroundMusicCsReq => {
|
|
"CmdUnlockBackGroundMusicCsReq"
|
|
}
|
|
CmdJukeboxType::CmdGetJukeboxDataCsReq => "CmdGetJukeboxDataCsReq",
|
|
CmdJukeboxType::CmdUnlockBackGroundMusicScRsp => {
|
|
"CmdUnlockBackGroundMusicScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdJukeboxTypeNone" => Some(Self::None),
|
|
"CmdGetJukeboxDataScRsp" => Some(Self::CmdGetJukeboxDataScRsp),
|
|
"CmdPlayBackGroundMusicCsReq" => Some(Self::CmdPlayBackGroundMusicCsReq),
|
|
"CmdTrialBackGroundMusicScRsp" => Some(Self::CmdTrialBackGroundMusicScRsp),
|
|
"CmdTrialBackGroundMusicCsReq" => Some(Self::CmdTrialBackGroundMusicCsReq),
|
|
"CmdPlayBackGroundMusicScRsp" => Some(Self::CmdPlayBackGroundMusicScRsp),
|
|
"CmdUnlockBackGroundMusicCsReq" => Some(Self::CmdUnlockBackGroundMusicCsReq),
|
|
"CmdGetJukeboxDataCsReq" => Some(Self::CmdGetJukeboxDataCsReq),
|
|
"CmdUnlockBackGroundMusicScRsp" => Some(Self::CmdUnlockBackGroundMusicScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdLineupType {
|
|
None = 0,
|
|
CmdGetStageLineupScRsp = 706,
|
|
CmdExtraLineupDestroyNotify = 709,
|
|
CmdGetCurLineupDataCsReq = 711,
|
|
CmdGetAllLineupDataScRsp = 717,
|
|
CmdGetAllLineupDataCsReq = 724,
|
|
CmdSetLineupNameScRsp = 725,
|
|
CmdReplaceLineupScRsp = 728,
|
|
CmdQuitLineupScRsp = 729,
|
|
CmdSwapLineupScRsp = 733,
|
|
CmdSwitchLineupIndexCsReq = 734,
|
|
CmdQuitLineupCsReq = 739,
|
|
CmdGetCurLineupDataScRsp = 743,
|
|
CmdChangeLineupLeaderCsReq = 748,
|
|
CmdSwapLineupCsReq = 751,
|
|
CmdGetLineupAvatarDataCsReq = 754,
|
|
CmdJoinLineupCsReq = 756,
|
|
CmdGetLineupAvatarDataScRsp = 765,
|
|
CmdGetStageLineupCsReq = 768,
|
|
CmdChangeLineupLeaderScRsp = 782,
|
|
CmdReplaceLineupCsReq = 790,
|
|
CmdVirtualLineupDestroyNotify = 792,
|
|
CmdJoinLineupScRsp = 793,
|
|
CmdSwitchLineupIndexScRsp = 797,
|
|
CmdSetLineupNameCsReq = 798,
|
|
CmdSyncLineupNotify = 799,
|
|
}
|
|
impl CmdLineupType {
|
|
/// 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 {
|
|
CmdLineupType::None => "CmdLineupTypeNone",
|
|
CmdLineupType::CmdGetStageLineupScRsp => "CmdGetStageLineupScRsp",
|
|
CmdLineupType::CmdExtraLineupDestroyNotify => "CmdExtraLineupDestroyNotify",
|
|
CmdLineupType::CmdGetCurLineupDataCsReq => "CmdGetCurLineupDataCsReq",
|
|
CmdLineupType::CmdGetAllLineupDataScRsp => "CmdGetAllLineupDataScRsp",
|
|
CmdLineupType::CmdGetAllLineupDataCsReq => "CmdGetAllLineupDataCsReq",
|
|
CmdLineupType::CmdSetLineupNameScRsp => "CmdSetLineupNameScRsp",
|
|
CmdLineupType::CmdReplaceLineupScRsp => "CmdReplaceLineupScRsp",
|
|
CmdLineupType::CmdQuitLineupScRsp => "CmdQuitLineupScRsp",
|
|
CmdLineupType::CmdSwapLineupScRsp => "CmdSwapLineupScRsp",
|
|
CmdLineupType::CmdSwitchLineupIndexCsReq => "CmdSwitchLineupIndexCsReq",
|
|
CmdLineupType::CmdQuitLineupCsReq => "CmdQuitLineupCsReq",
|
|
CmdLineupType::CmdGetCurLineupDataScRsp => "CmdGetCurLineupDataScRsp",
|
|
CmdLineupType::CmdChangeLineupLeaderCsReq => "CmdChangeLineupLeaderCsReq",
|
|
CmdLineupType::CmdSwapLineupCsReq => "CmdSwapLineupCsReq",
|
|
CmdLineupType::CmdGetLineupAvatarDataCsReq => "CmdGetLineupAvatarDataCsReq",
|
|
CmdLineupType::CmdJoinLineupCsReq => "CmdJoinLineupCsReq",
|
|
CmdLineupType::CmdGetLineupAvatarDataScRsp => "CmdGetLineupAvatarDataScRsp",
|
|
CmdLineupType::CmdGetStageLineupCsReq => "CmdGetStageLineupCsReq",
|
|
CmdLineupType::CmdChangeLineupLeaderScRsp => "CmdChangeLineupLeaderScRsp",
|
|
CmdLineupType::CmdReplaceLineupCsReq => "CmdReplaceLineupCsReq",
|
|
CmdLineupType::CmdVirtualLineupDestroyNotify => {
|
|
"CmdVirtualLineupDestroyNotify"
|
|
}
|
|
CmdLineupType::CmdJoinLineupScRsp => "CmdJoinLineupScRsp",
|
|
CmdLineupType::CmdSwitchLineupIndexScRsp => "CmdSwitchLineupIndexScRsp",
|
|
CmdLineupType::CmdSetLineupNameCsReq => "CmdSetLineupNameCsReq",
|
|
CmdLineupType::CmdSyncLineupNotify => "CmdSyncLineupNotify",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdLineupTypeNone" => Some(Self::None),
|
|
"CmdGetStageLineupScRsp" => Some(Self::CmdGetStageLineupScRsp),
|
|
"CmdExtraLineupDestroyNotify" => Some(Self::CmdExtraLineupDestroyNotify),
|
|
"CmdGetCurLineupDataCsReq" => Some(Self::CmdGetCurLineupDataCsReq),
|
|
"CmdGetAllLineupDataScRsp" => Some(Self::CmdGetAllLineupDataScRsp),
|
|
"CmdGetAllLineupDataCsReq" => Some(Self::CmdGetAllLineupDataCsReq),
|
|
"CmdSetLineupNameScRsp" => Some(Self::CmdSetLineupNameScRsp),
|
|
"CmdReplaceLineupScRsp" => Some(Self::CmdReplaceLineupScRsp),
|
|
"CmdQuitLineupScRsp" => Some(Self::CmdQuitLineupScRsp),
|
|
"CmdSwapLineupScRsp" => Some(Self::CmdSwapLineupScRsp),
|
|
"CmdSwitchLineupIndexCsReq" => Some(Self::CmdSwitchLineupIndexCsReq),
|
|
"CmdQuitLineupCsReq" => Some(Self::CmdQuitLineupCsReq),
|
|
"CmdGetCurLineupDataScRsp" => Some(Self::CmdGetCurLineupDataScRsp),
|
|
"CmdChangeLineupLeaderCsReq" => Some(Self::CmdChangeLineupLeaderCsReq),
|
|
"CmdSwapLineupCsReq" => Some(Self::CmdSwapLineupCsReq),
|
|
"CmdGetLineupAvatarDataCsReq" => Some(Self::CmdGetLineupAvatarDataCsReq),
|
|
"CmdJoinLineupCsReq" => Some(Self::CmdJoinLineupCsReq),
|
|
"CmdGetLineupAvatarDataScRsp" => Some(Self::CmdGetLineupAvatarDataScRsp),
|
|
"CmdGetStageLineupCsReq" => Some(Self::CmdGetStageLineupCsReq),
|
|
"CmdChangeLineupLeaderScRsp" => Some(Self::CmdChangeLineupLeaderScRsp),
|
|
"CmdReplaceLineupCsReq" => Some(Self::CmdReplaceLineupCsReq),
|
|
"CmdVirtualLineupDestroyNotify" => Some(Self::CmdVirtualLineupDestroyNotify),
|
|
"CmdJoinLineupScRsp" => Some(Self::CmdJoinLineupScRsp),
|
|
"CmdSwitchLineupIndexScRsp" => Some(Self::CmdSwitchLineupIndexScRsp),
|
|
"CmdSetLineupNameCsReq" => Some(Self::CmdSetLineupNameCsReq),
|
|
"CmdSyncLineupNotify" => Some(Self::CmdSyncLineupNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdLobbyType {
|
|
None = 0,
|
|
CmdLobbyModifyPlayerInfoScRsp = 7354,
|
|
CmdLobbyInviteScNotify = 7355,
|
|
CmdLobbyInviteScRsp = 7356,
|
|
CmdLobbyCreateCsReq = 7357,
|
|
CmdLobbyBeginScRsp = 7358,
|
|
CmdLobbyBeginCsReq = 7361,
|
|
CmdLobbyQuitCsReq = 7362,
|
|
CmdLobbyJoinCsReq = 7365,
|
|
CmdLobbyJoinScRsp = 7367,
|
|
CmdLobbyKickOutScRsp = 7370,
|
|
CmdLobbyGetInfoScRsp = 7371,
|
|
CmdLobbyModifyPlayerInfoCsReq = 7373,
|
|
CmdLobbyCreateScRsp = 7374,
|
|
CmdLobbyKickOutCsReq = 7384,
|
|
CmdLobbySyncInfoScNotify = 7386,
|
|
CmdLobbyQuitScRsp = 7389,
|
|
CmdLobbyInviteCsReq = 7395,
|
|
CmdLobbyGetInfoCsReq = 7398,
|
|
}
|
|
impl CmdLobbyType {
|
|
/// 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 {
|
|
CmdLobbyType::None => "CmdLobbyTypeNone",
|
|
CmdLobbyType::CmdLobbyModifyPlayerInfoScRsp => {
|
|
"CmdLobbyModifyPlayerInfoScRsp"
|
|
}
|
|
CmdLobbyType::CmdLobbyInviteScNotify => "CmdLobbyInviteScNotify",
|
|
CmdLobbyType::CmdLobbyInviteScRsp => "CmdLobbyInviteScRsp",
|
|
CmdLobbyType::CmdLobbyCreateCsReq => "CmdLobbyCreateCsReq",
|
|
CmdLobbyType::CmdLobbyBeginScRsp => "CmdLobbyBeginScRsp",
|
|
CmdLobbyType::CmdLobbyBeginCsReq => "CmdLobbyBeginCsReq",
|
|
CmdLobbyType::CmdLobbyQuitCsReq => "CmdLobbyQuitCsReq",
|
|
CmdLobbyType::CmdLobbyJoinCsReq => "CmdLobbyJoinCsReq",
|
|
CmdLobbyType::CmdLobbyJoinScRsp => "CmdLobbyJoinScRsp",
|
|
CmdLobbyType::CmdLobbyKickOutScRsp => "CmdLobbyKickOutScRsp",
|
|
CmdLobbyType::CmdLobbyGetInfoScRsp => "CmdLobbyGetInfoScRsp",
|
|
CmdLobbyType::CmdLobbyModifyPlayerInfoCsReq => {
|
|
"CmdLobbyModifyPlayerInfoCsReq"
|
|
}
|
|
CmdLobbyType::CmdLobbyCreateScRsp => "CmdLobbyCreateScRsp",
|
|
CmdLobbyType::CmdLobbyKickOutCsReq => "CmdLobbyKickOutCsReq",
|
|
CmdLobbyType::CmdLobbySyncInfoScNotify => "CmdLobbySyncInfoScNotify",
|
|
CmdLobbyType::CmdLobbyQuitScRsp => "CmdLobbyQuitScRsp",
|
|
CmdLobbyType::CmdLobbyInviteCsReq => "CmdLobbyInviteCsReq",
|
|
CmdLobbyType::CmdLobbyGetInfoCsReq => "CmdLobbyGetInfoCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdLobbyTypeNone" => Some(Self::None),
|
|
"CmdLobbyModifyPlayerInfoScRsp" => Some(Self::CmdLobbyModifyPlayerInfoScRsp),
|
|
"CmdLobbyInviteScNotify" => Some(Self::CmdLobbyInviteScNotify),
|
|
"CmdLobbyInviteScRsp" => Some(Self::CmdLobbyInviteScRsp),
|
|
"CmdLobbyCreateCsReq" => Some(Self::CmdLobbyCreateCsReq),
|
|
"CmdLobbyBeginScRsp" => Some(Self::CmdLobbyBeginScRsp),
|
|
"CmdLobbyBeginCsReq" => Some(Self::CmdLobbyBeginCsReq),
|
|
"CmdLobbyQuitCsReq" => Some(Self::CmdLobbyQuitCsReq),
|
|
"CmdLobbyJoinCsReq" => Some(Self::CmdLobbyJoinCsReq),
|
|
"CmdLobbyJoinScRsp" => Some(Self::CmdLobbyJoinScRsp),
|
|
"CmdLobbyKickOutScRsp" => Some(Self::CmdLobbyKickOutScRsp),
|
|
"CmdLobbyGetInfoScRsp" => Some(Self::CmdLobbyGetInfoScRsp),
|
|
"CmdLobbyModifyPlayerInfoCsReq" => Some(Self::CmdLobbyModifyPlayerInfoCsReq),
|
|
"CmdLobbyCreateScRsp" => Some(Self::CmdLobbyCreateScRsp),
|
|
"CmdLobbyKickOutCsReq" => Some(Self::CmdLobbyKickOutCsReq),
|
|
"CmdLobbySyncInfoScNotify" => Some(Self::CmdLobbySyncInfoScNotify),
|
|
"CmdLobbyQuitScRsp" => Some(Self::CmdLobbyQuitScRsp),
|
|
"CmdLobbyInviteCsReq" => Some(Self::CmdLobbyInviteCsReq),
|
|
"CmdLobbyGetInfoCsReq" => Some(Self::CmdLobbyGetInfoCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMailType {
|
|
None = 0,
|
|
CmdGetMailScRsp = 806,
|
|
CmdMarkReadMailCsReq = 811,
|
|
CmdTakeMailAttachmentScRsp = 829,
|
|
CmdTakeMailAttachmentCsReq = 839,
|
|
CmdMarkReadMailScRsp = 843,
|
|
CmdNewMailScNotify = 851,
|
|
CmdDelMailCsReq = 856,
|
|
CmdGetMailCsReq = 868,
|
|
CmdDelMailScRsp = 893,
|
|
}
|
|
impl CmdMailType {
|
|
/// 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 {
|
|
CmdMailType::None => "CmdMailTypeNone",
|
|
CmdMailType::CmdGetMailScRsp => "CmdGetMailScRsp",
|
|
CmdMailType::CmdMarkReadMailCsReq => "CmdMarkReadMailCsReq",
|
|
CmdMailType::CmdTakeMailAttachmentScRsp => "CmdTakeMailAttachmentScRsp",
|
|
CmdMailType::CmdTakeMailAttachmentCsReq => "CmdTakeMailAttachmentCsReq",
|
|
CmdMailType::CmdMarkReadMailScRsp => "CmdMarkReadMailScRsp",
|
|
CmdMailType::CmdNewMailScNotify => "CmdNewMailScNotify",
|
|
CmdMailType::CmdDelMailCsReq => "CmdDelMailCsReq",
|
|
CmdMailType::CmdGetMailCsReq => "CmdGetMailCsReq",
|
|
CmdMailType::CmdDelMailScRsp => "CmdDelMailScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMailTypeNone" => Some(Self::None),
|
|
"CmdGetMailScRsp" => Some(Self::CmdGetMailScRsp),
|
|
"CmdMarkReadMailCsReq" => Some(Self::CmdMarkReadMailCsReq),
|
|
"CmdTakeMailAttachmentScRsp" => Some(Self::CmdTakeMailAttachmentScRsp),
|
|
"CmdTakeMailAttachmentCsReq" => Some(Self::CmdTakeMailAttachmentCsReq),
|
|
"CmdMarkReadMailScRsp" => Some(Self::CmdMarkReadMailScRsp),
|
|
"CmdNewMailScNotify" => Some(Self::CmdNewMailScNotify),
|
|
"CmdDelMailCsReq" => Some(Self::CmdDelMailCsReq),
|
|
"CmdGetMailCsReq" => Some(Self::CmdGetMailCsReq),
|
|
"CmdDelMailScRsp" => Some(Self::CmdDelMailScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMapRotationType {
|
|
None = 0,
|
|
CmdEnterMapRotationRegionScRsp = 6806,
|
|
CmdInteractChargerCsReq = 6811,
|
|
CmdUpdateRotaterScNotify = 6824,
|
|
CmdRemoveRotaterScRsp = 6825,
|
|
CmdRotateMapScRsp = 6829,
|
|
CmdLeaveMapRotationRegionScRsp = 6833,
|
|
CmdUpdateEnergyScNotify = 6834,
|
|
CmdRotateMapCsReq = 6839,
|
|
CmdInteractChargerScRsp = 6843,
|
|
CmdResetMapRotationRegionScRsp = 6848,
|
|
CmdLeaveMapRotationRegionCsReq = 6851,
|
|
CmdGetMapRotationDataScRsp = 6854,
|
|
CmdDeployRotaterCsReq = 6856,
|
|
CmdResetMapRotationRegionCsReq = 6865,
|
|
CmdEnterMapRotationRegionCsReq = 6868,
|
|
CmdLeaveMapRotationRegionScNotify = 6882,
|
|
CmdDeployRotaterScRsp = 6893,
|
|
CmdUpdateMapRotationDataScNotify = 6897,
|
|
CmdRemoveRotaterCsReq = 6898,
|
|
CmdGetMapRotationDataCsReq = 6899,
|
|
}
|
|
impl CmdMapRotationType {
|
|
/// 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 {
|
|
CmdMapRotationType::None => "CmdMapRotationTypeNone",
|
|
CmdMapRotationType::CmdEnterMapRotationRegionScRsp => {
|
|
"CmdEnterMapRotationRegionScRsp"
|
|
}
|
|
CmdMapRotationType::CmdInteractChargerCsReq => "CmdInteractChargerCsReq",
|
|
CmdMapRotationType::CmdUpdateRotaterScNotify => "CmdUpdateRotaterScNotify",
|
|
CmdMapRotationType::CmdRemoveRotaterScRsp => "CmdRemoveRotaterScRsp",
|
|
CmdMapRotationType::CmdRotateMapScRsp => "CmdRotateMapScRsp",
|
|
CmdMapRotationType::CmdLeaveMapRotationRegionScRsp => {
|
|
"CmdLeaveMapRotationRegionScRsp"
|
|
}
|
|
CmdMapRotationType::CmdUpdateEnergyScNotify => "CmdUpdateEnergyScNotify",
|
|
CmdMapRotationType::CmdRotateMapCsReq => "CmdRotateMapCsReq",
|
|
CmdMapRotationType::CmdInteractChargerScRsp => "CmdInteractChargerScRsp",
|
|
CmdMapRotationType::CmdResetMapRotationRegionScRsp => {
|
|
"CmdResetMapRotationRegionScRsp"
|
|
}
|
|
CmdMapRotationType::CmdLeaveMapRotationRegionCsReq => {
|
|
"CmdLeaveMapRotationRegionCsReq"
|
|
}
|
|
CmdMapRotationType::CmdGetMapRotationDataScRsp => {
|
|
"CmdGetMapRotationDataScRsp"
|
|
}
|
|
CmdMapRotationType::CmdDeployRotaterCsReq => "CmdDeployRotaterCsReq",
|
|
CmdMapRotationType::CmdResetMapRotationRegionCsReq => {
|
|
"CmdResetMapRotationRegionCsReq"
|
|
}
|
|
CmdMapRotationType::CmdEnterMapRotationRegionCsReq => {
|
|
"CmdEnterMapRotationRegionCsReq"
|
|
}
|
|
CmdMapRotationType::CmdLeaveMapRotationRegionScNotify => {
|
|
"CmdLeaveMapRotationRegionScNotify"
|
|
}
|
|
CmdMapRotationType::CmdDeployRotaterScRsp => "CmdDeployRotaterScRsp",
|
|
CmdMapRotationType::CmdUpdateMapRotationDataScNotify => {
|
|
"CmdUpdateMapRotationDataScNotify"
|
|
}
|
|
CmdMapRotationType::CmdRemoveRotaterCsReq => "CmdRemoveRotaterCsReq",
|
|
CmdMapRotationType::CmdGetMapRotationDataCsReq => {
|
|
"CmdGetMapRotationDataCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMapRotationTypeNone" => Some(Self::None),
|
|
"CmdEnterMapRotationRegionScRsp" => {
|
|
Some(Self::CmdEnterMapRotationRegionScRsp)
|
|
}
|
|
"CmdInteractChargerCsReq" => Some(Self::CmdInteractChargerCsReq),
|
|
"CmdUpdateRotaterScNotify" => Some(Self::CmdUpdateRotaterScNotify),
|
|
"CmdRemoveRotaterScRsp" => Some(Self::CmdRemoveRotaterScRsp),
|
|
"CmdRotateMapScRsp" => Some(Self::CmdRotateMapScRsp),
|
|
"CmdLeaveMapRotationRegionScRsp" => {
|
|
Some(Self::CmdLeaveMapRotationRegionScRsp)
|
|
}
|
|
"CmdUpdateEnergyScNotify" => Some(Self::CmdUpdateEnergyScNotify),
|
|
"CmdRotateMapCsReq" => Some(Self::CmdRotateMapCsReq),
|
|
"CmdInteractChargerScRsp" => Some(Self::CmdInteractChargerScRsp),
|
|
"CmdResetMapRotationRegionScRsp" => {
|
|
Some(Self::CmdResetMapRotationRegionScRsp)
|
|
}
|
|
"CmdLeaveMapRotationRegionCsReq" => {
|
|
Some(Self::CmdLeaveMapRotationRegionCsReq)
|
|
}
|
|
"CmdGetMapRotationDataScRsp" => Some(Self::CmdGetMapRotationDataScRsp),
|
|
"CmdDeployRotaterCsReq" => Some(Self::CmdDeployRotaterCsReq),
|
|
"CmdResetMapRotationRegionCsReq" => {
|
|
Some(Self::CmdResetMapRotationRegionCsReq)
|
|
}
|
|
"CmdEnterMapRotationRegionCsReq" => {
|
|
Some(Self::CmdEnterMapRotationRegionCsReq)
|
|
}
|
|
"CmdLeaveMapRotationRegionScNotify" => {
|
|
Some(Self::CmdLeaveMapRotationRegionScNotify)
|
|
}
|
|
"CmdDeployRotaterScRsp" => Some(Self::CmdDeployRotaterScRsp),
|
|
"CmdUpdateMapRotationDataScNotify" => {
|
|
Some(Self::CmdUpdateMapRotationDataScNotify)
|
|
}
|
|
"CmdRemoveRotaterCsReq" => Some(Self::CmdRemoveRotaterCsReq),
|
|
"CmdGetMapRotationDataCsReq" => Some(Self::CmdGetMapRotationDataCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMatchType {
|
|
None = 0,
|
|
CmdStartMatchCsReq = 7307,
|
|
CmdGetCrossInfoCsReq = 7308,
|
|
CmdMatchResultScNotify = 7311,
|
|
CmdCancelMatchCsReq = 7315,
|
|
CmdCancelMatchScRsp = 7317,
|
|
CmdGetCrossInfoScRsp = 7323,
|
|
CmdStartMatchScRsp = 7324,
|
|
}
|
|
impl CmdMatchType {
|
|
/// 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 {
|
|
CmdMatchType::None => "CmdMatchTypeNone",
|
|
CmdMatchType::CmdStartMatchCsReq => "CmdStartMatchCsReq",
|
|
CmdMatchType::CmdGetCrossInfoCsReq => "CmdGetCrossInfoCsReq",
|
|
CmdMatchType::CmdMatchResultScNotify => "CmdMatchResultScNotify",
|
|
CmdMatchType::CmdCancelMatchCsReq => "CmdCancelMatchCsReq",
|
|
CmdMatchType::CmdCancelMatchScRsp => "CmdCancelMatchScRsp",
|
|
CmdMatchType::CmdGetCrossInfoScRsp => "CmdGetCrossInfoScRsp",
|
|
CmdMatchType::CmdStartMatchScRsp => "CmdStartMatchScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMatchTypeNone" => Some(Self::None),
|
|
"CmdStartMatchCsReq" => Some(Self::CmdStartMatchCsReq),
|
|
"CmdGetCrossInfoCsReq" => Some(Self::CmdGetCrossInfoCsReq),
|
|
"CmdMatchResultScNotify" => Some(Self::CmdMatchResultScNotify),
|
|
"CmdCancelMatchCsReq" => Some(Self::CmdCancelMatchCsReq),
|
|
"CmdCancelMatchScRsp" => Some(Self::CmdCancelMatchScRsp),
|
|
"CmdGetCrossInfoScRsp" => Some(Self::CmdGetCrossInfoScRsp),
|
|
"CmdStartMatchScRsp" => Some(Self::CmdStartMatchScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMatchThreeModuleType {
|
|
None = 0,
|
|
CmdMatchThreeGetDataCsReq = 7407,
|
|
CmdMatchThreeSetBirdPosCsReq = 7408,
|
|
CmdMatchThreeSyncDataScNotify = 7411,
|
|
CmdMatchThreeLevelEndCsReq = 7415,
|
|
CmdMatchThreeLevelEndScRsp = 7417,
|
|
CmdMatchThreeSetBirdPosScRsp = 7423,
|
|
CmdMatchThreeGetDataScRsp = 7424,
|
|
}
|
|
impl CmdMatchThreeModuleType {
|
|
/// 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 {
|
|
CmdMatchThreeModuleType::None => "CmdMatchThreeModuleTypeNone",
|
|
CmdMatchThreeModuleType::CmdMatchThreeGetDataCsReq => {
|
|
"CmdMatchThreeGetDataCsReq"
|
|
}
|
|
CmdMatchThreeModuleType::CmdMatchThreeSetBirdPosCsReq => {
|
|
"CmdMatchThreeSetBirdPosCsReq"
|
|
}
|
|
CmdMatchThreeModuleType::CmdMatchThreeSyncDataScNotify => {
|
|
"CmdMatchThreeSyncDataScNotify"
|
|
}
|
|
CmdMatchThreeModuleType::CmdMatchThreeLevelEndCsReq => {
|
|
"CmdMatchThreeLevelEndCsReq"
|
|
}
|
|
CmdMatchThreeModuleType::CmdMatchThreeLevelEndScRsp => {
|
|
"CmdMatchThreeLevelEndScRsp"
|
|
}
|
|
CmdMatchThreeModuleType::CmdMatchThreeSetBirdPosScRsp => {
|
|
"CmdMatchThreeSetBirdPosScRsp"
|
|
}
|
|
CmdMatchThreeModuleType::CmdMatchThreeGetDataScRsp => {
|
|
"CmdMatchThreeGetDataScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMatchThreeModuleTypeNone" => Some(Self::None),
|
|
"CmdMatchThreeGetDataCsReq" => Some(Self::CmdMatchThreeGetDataCsReq),
|
|
"CmdMatchThreeSetBirdPosCsReq" => Some(Self::CmdMatchThreeSetBirdPosCsReq),
|
|
"CmdMatchThreeSyncDataScNotify" => Some(Self::CmdMatchThreeSyncDataScNotify),
|
|
"CmdMatchThreeLevelEndCsReq" => Some(Self::CmdMatchThreeLevelEndCsReq),
|
|
"CmdMatchThreeLevelEndScRsp" => Some(Self::CmdMatchThreeLevelEndScRsp),
|
|
"CmdMatchThreeSetBirdPosScRsp" => Some(Self::CmdMatchThreeSetBirdPosScRsp),
|
|
"CmdMatchThreeGetDataScRsp" => Some(Self::CmdMatchThreeGetDataScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMessageType {
|
|
None = 0,
|
|
CmdGetNpcMessageGroupScRsp = 2706,
|
|
CmdGetNpcStatusCsReq = 2711,
|
|
CmdFinishSectionIdScRsp = 2729,
|
|
CmdFinishPerformSectionIdScRsp = 2733,
|
|
CmdFinishSectionIdCsReq = 2739,
|
|
CmdGetNpcStatusScRsp = 2743,
|
|
CmdFinishPerformSectionIdCsReq = 2751,
|
|
CmdFinishItemIdCsReq = 2756,
|
|
CmdGetNpcMessageGroupCsReq = 2768,
|
|
CmdFinishItemIdScRsp = 2793,
|
|
}
|
|
impl CmdMessageType {
|
|
/// 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 {
|
|
CmdMessageType::None => "CmdMessageTypeNone",
|
|
CmdMessageType::CmdGetNpcMessageGroupScRsp => "CmdGetNpcMessageGroupScRsp",
|
|
CmdMessageType::CmdGetNpcStatusCsReq => "CmdGetNpcStatusCsReq",
|
|
CmdMessageType::CmdFinishSectionIdScRsp => "CmdFinishSectionIdScRsp",
|
|
CmdMessageType::CmdFinishPerformSectionIdScRsp => {
|
|
"CmdFinishPerformSectionIdScRsp"
|
|
}
|
|
CmdMessageType::CmdFinishSectionIdCsReq => "CmdFinishSectionIdCsReq",
|
|
CmdMessageType::CmdGetNpcStatusScRsp => "CmdGetNpcStatusScRsp",
|
|
CmdMessageType::CmdFinishPerformSectionIdCsReq => {
|
|
"CmdFinishPerformSectionIdCsReq"
|
|
}
|
|
CmdMessageType::CmdFinishItemIdCsReq => "CmdFinishItemIdCsReq",
|
|
CmdMessageType::CmdGetNpcMessageGroupCsReq => "CmdGetNpcMessageGroupCsReq",
|
|
CmdMessageType::CmdFinishItemIdScRsp => "CmdFinishItemIdScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMessageTypeNone" => Some(Self::None),
|
|
"CmdGetNpcMessageGroupScRsp" => Some(Self::CmdGetNpcMessageGroupScRsp),
|
|
"CmdGetNpcStatusCsReq" => Some(Self::CmdGetNpcStatusCsReq),
|
|
"CmdFinishSectionIdScRsp" => Some(Self::CmdFinishSectionIdScRsp),
|
|
"CmdFinishPerformSectionIdScRsp" => {
|
|
Some(Self::CmdFinishPerformSectionIdScRsp)
|
|
}
|
|
"CmdFinishSectionIdCsReq" => Some(Self::CmdFinishSectionIdCsReq),
|
|
"CmdGetNpcStatusScRsp" => Some(Self::CmdGetNpcStatusScRsp),
|
|
"CmdFinishPerformSectionIdCsReq" => {
|
|
Some(Self::CmdFinishPerformSectionIdCsReq)
|
|
}
|
|
"CmdFinishItemIdCsReq" => Some(Self::CmdFinishItemIdCsReq),
|
|
"CmdGetNpcMessageGroupCsReq" => Some(Self::CmdGetNpcMessageGroupCsReq),
|
|
"CmdFinishItemIdScRsp" => Some(Self::CmdFinishItemIdScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMiscModuleType {
|
|
None = 0,
|
|
CmdShareScRsp = 4106,
|
|
CmdUpdateGunPlayDataCsReq = 4108,
|
|
CmdGetGunPlayDataCsReq = 4109,
|
|
CmdGetShareDataCsReq = 4111,
|
|
CmdDifficultyAdjustmentGetDataScRsp = 4116,
|
|
CmdGetMovieRacingDataCsReq = 4117,
|
|
CmdDifficultyAdjustmentUpdateDataScRsp = 4123,
|
|
CmdUpdateMovieRacingDataScRsp = 4128,
|
|
CmdDifficultyAdjustmentGetDataCsReq = 4132,
|
|
CmdCancelCacheNotifyScRsp = 4133,
|
|
CmdSubmitOrigamiItemScRsp = 4134,
|
|
CmdGetShareDataScRsp = 4143,
|
|
CmdTriggerVoiceScRsp = 4148,
|
|
CmdCancelCacheNotifyCsReq = 4151,
|
|
CmdSecurityReportScRsp = 4154,
|
|
CmdTakePictureCsReq = 4156,
|
|
CmdTriggerVoiceCsReq = 4165,
|
|
CmdShareCsReq = 4168,
|
|
CmdUpdateGunPlayDataScRsp = 4181,
|
|
CmdSubmitOrigamiItemCsReq = 4182,
|
|
CmdDifficultyAdjustmentUpdateDataCsReq = 4184,
|
|
CmdGetGunPlayDataScRsp = 4188,
|
|
CmdUpdateMovieRacingDataCsReq = 4190,
|
|
CmdGetMovieRacingDataScRsp = 4192,
|
|
CmdTakePictureScRsp = 4193,
|
|
CmdSecurityReportCsReq = 4199,
|
|
}
|
|
impl CmdMiscModuleType {
|
|
/// 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 {
|
|
CmdMiscModuleType::None => "CmdMiscModuleTypeNone",
|
|
CmdMiscModuleType::CmdShareScRsp => "CmdShareScRsp",
|
|
CmdMiscModuleType::CmdUpdateGunPlayDataCsReq => "CmdUpdateGunPlayDataCsReq",
|
|
CmdMiscModuleType::CmdGetGunPlayDataCsReq => "CmdGetGunPlayDataCsReq",
|
|
CmdMiscModuleType::CmdGetShareDataCsReq => "CmdGetShareDataCsReq",
|
|
CmdMiscModuleType::CmdDifficultyAdjustmentGetDataScRsp => {
|
|
"CmdDifficultyAdjustmentGetDataScRsp"
|
|
}
|
|
CmdMiscModuleType::CmdGetMovieRacingDataCsReq => "CmdGetMovieRacingDataCsReq",
|
|
CmdMiscModuleType::CmdDifficultyAdjustmentUpdateDataScRsp => {
|
|
"CmdDifficultyAdjustmentUpdateDataScRsp"
|
|
}
|
|
CmdMiscModuleType::CmdUpdateMovieRacingDataScRsp => {
|
|
"CmdUpdateMovieRacingDataScRsp"
|
|
}
|
|
CmdMiscModuleType::CmdDifficultyAdjustmentGetDataCsReq => {
|
|
"CmdDifficultyAdjustmentGetDataCsReq"
|
|
}
|
|
CmdMiscModuleType::CmdCancelCacheNotifyScRsp => "CmdCancelCacheNotifyScRsp",
|
|
CmdMiscModuleType::CmdSubmitOrigamiItemScRsp => "CmdSubmitOrigamiItemScRsp",
|
|
CmdMiscModuleType::CmdGetShareDataScRsp => "CmdGetShareDataScRsp",
|
|
CmdMiscModuleType::CmdTriggerVoiceScRsp => "CmdTriggerVoiceScRsp",
|
|
CmdMiscModuleType::CmdCancelCacheNotifyCsReq => "CmdCancelCacheNotifyCsReq",
|
|
CmdMiscModuleType::CmdSecurityReportScRsp => "CmdSecurityReportScRsp",
|
|
CmdMiscModuleType::CmdTakePictureCsReq => "CmdTakePictureCsReq",
|
|
CmdMiscModuleType::CmdTriggerVoiceCsReq => "CmdTriggerVoiceCsReq",
|
|
CmdMiscModuleType::CmdShareCsReq => "CmdShareCsReq",
|
|
CmdMiscModuleType::CmdUpdateGunPlayDataScRsp => "CmdUpdateGunPlayDataScRsp",
|
|
CmdMiscModuleType::CmdSubmitOrigamiItemCsReq => "CmdSubmitOrigamiItemCsReq",
|
|
CmdMiscModuleType::CmdDifficultyAdjustmentUpdateDataCsReq => {
|
|
"CmdDifficultyAdjustmentUpdateDataCsReq"
|
|
}
|
|
CmdMiscModuleType::CmdGetGunPlayDataScRsp => "CmdGetGunPlayDataScRsp",
|
|
CmdMiscModuleType::CmdUpdateMovieRacingDataCsReq => {
|
|
"CmdUpdateMovieRacingDataCsReq"
|
|
}
|
|
CmdMiscModuleType::CmdGetMovieRacingDataScRsp => "CmdGetMovieRacingDataScRsp",
|
|
CmdMiscModuleType::CmdTakePictureScRsp => "CmdTakePictureScRsp",
|
|
CmdMiscModuleType::CmdSecurityReportCsReq => "CmdSecurityReportCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMiscModuleTypeNone" => Some(Self::None),
|
|
"CmdShareScRsp" => Some(Self::CmdShareScRsp),
|
|
"CmdUpdateGunPlayDataCsReq" => Some(Self::CmdUpdateGunPlayDataCsReq),
|
|
"CmdGetGunPlayDataCsReq" => Some(Self::CmdGetGunPlayDataCsReq),
|
|
"CmdGetShareDataCsReq" => Some(Self::CmdGetShareDataCsReq),
|
|
"CmdDifficultyAdjustmentGetDataScRsp" => {
|
|
Some(Self::CmdDifficultyAdjustmentGetDataScRsp)
|
|
}
|
|
"CmdGetMovieRacingDataCsReq" => Some(Self::CmdGetMovieRacingDataCsReq),
|
|
"CmdDifficultyAdjustmentUpdateDataScRsp" => {
|
|
Some(Self::CmdDifficultyAdjustmentUpdateDataScRsp)
|
|
}
|
|
"CmdUpdateMovieRacingDataScRsp" => Some(Self::CmdUpdateMovieRacingDataScRsp),
|
|
"CmdDifficultyAdjustmentGetDataCsReq" => {
|
|
Some(Self::CmdDifficultyAdjustmentGetDataCsReq)
|
|
}
|
|
"CmdCancelCacheNotifyScRsp" => Some(Self::CmdCancelCacheNotifyScRsp),
|
|
"CmdSubmitOrigamiItemScRsp" => Some(Self::CmdSubmitOrigamiItemScRsp),
|
|
"CmdGetShareDataScRsp" => Some(Self::CmdGetShareDataScRsp),
|
|
"CmdTriggerVoiceScRsp" => Some(Self::CmdTriggerVoiceScRsp),
|
|
"CmdCancelCacheNotifyCsReq" => Some(Self::CmdCancelCacheNotifyCsReq),
|
|
"CmdSecurityReportScRsp" => Some(Self::CmdSecurityReportScRsp),
|
|
"CmdTakePictureCsReq" => Some(Self::CmdTakePictureCsReq),
|
|
"CmdTriggerVoiceCsReq" => Some(Self::CmdTriggerVoiceCsReq),
|
|
"CmdShareCsReq" => Some(Self::CmdShareCsReq),
|
|
"CmdUpdateGunPlayDataScRsp" => Some(Self::CmdUpdateGunPlayDataScRsp),
|
|
"CmdSubmitOrigamiItemCsReq" => Some(Self::CmdSubmitOrigamiItemCsReq),
|
|
"CmdDifficultyAdjustmentUpdateDataCsReq" => {
|
|
Some(Self::CmdDifficultyAdjustmentUpdateDataCsReq)
|
|
}
|
|
"CmdGetGunPlayDataScRsp" => Some(Self::CmdGetGunPlayDataScRsp),
|
|
"CmdUpdateMovieRacingDataCsReq" => Some(Self::CmdUpdateMovieRacingDataCsReq),
|
|
"CmdGetMovieRacingDataScRsp" => Some(Self::CmdGetMovieRacingDataScRsp),
|
|
"CmdTakePictureScRsp" => Some(Self::CmdTakePictureScRsp),
|
|
"CmdSecurityReportCsReq" => Some(Self::CmdSecurityReportCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMissionType {
|
|
None = 0,
|
|
CmdGetMissionDataScRsp = 1206,
|
|
CmdTeleportToMissionResetPointCsReq = 1208,
|
|
CmdSetMissionEventProgressScRsp = 1209,
|
|
CmdFinishTalkMissionCsReq = 1211,
|
|
CmdStartFinishMainMissionScNotify = 1216,
|
|
CmdGetMissionStatusScRsp = 1217,
|
|
CmdAcceptMainMissionScRsp = 1223,
|
|
CmdGetMissionStatusCsReq = 1224,
|
|
CmdAcceptMissionEventScRsp = 1225,
|
|
CmdSetMissionEventProgressCsReq = 1228,
|
|
CmdDailyTaskDataScNotify = 1229,
|
|
CmdStartFinishSubMissionScNotify = 1232,
|
|
CmdGetMissionEventDataScRsp = 1234,
|
|
CmdSyncTaskScRsp = 1239,
|
|
CmdFinishTalkMissionScRsp = 1243,
|
|
CmdUpdateTrackMainMissionIdScRsp = 1246,
|
|
CmdFinishCosumeItemMissionScRsp = 1248,
|
|
CmdMissionAcceptScNotify = 1249,
|
|
CmdMissionGroupWarnScNotify = 1254,
|
|
CmdMissionRewardScNotify = 1256,
|
|
CmdFinishCosumeItemMissionCsReq = 1265,
|
|
CmdUpdateTrackMainMissionIdCsReq = 1266,
|
|
CmdGetMissionDataCsReq = 1268,
|
|
CmdGetMainMissionCustomValueScRsp = 1276,
|
|
CmdGetMainMissionCustomValueCsReq = 1278,
|
|
CmdTeleportToMissionResetPointScRsp = 1281,
|
|
CmdGetMissionEventDataCsReq = 1282,
|
|
CmdAcceptMainMissionCsReq = 1284,
|
|
CmdSubMissionRewardScNotify = 1288,
|
|
CmdInterruptMissionEventScRsp = 1290,
|
|
CmdInterruptMissionEventCsReq = 1292,
|
|
CmdSyncTaskCsReq = 1293,
|
|
CmdMissionEventRewardScNotify = 1297,
|
|
CmdAcceptMissionEventCsReq = 1298,
|
|
}
|
|
impl CmdMissionType {
|
|
/// 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 {
|
|
CmdMissionType::None => "CmdMissionTypeNone",
|
|
CmdMissionType::CmdGetMissionDataScRsp => "CmdGetMissionDataScRsp",
|
|
CmdMissionType::CmdTeleportToMissionResetPointCsReq => {
|
|
"CmdTeleportToMissionResetPointCsReq"
|
|
}
|
|
CmdMissionType::CmdSetMissionEventProgressScRsp => {
|
|
"CmdSetMissionEventProgressScRsp"
|
|
}
|
|
CmdMissionType::CmdFinishTalkMissionCsReq => "CmdFinishTalkMissionCsReq",
|
|
CmdMissionType::CmdStartFinishMainMissionScNotify => {
|
|
"CmdStartFinishMainMissionScNotify"
|
|
}
|
|
CmdMissionType::CmdGetMissionStatusScRsp => "CmdGetMissionStatusScRsp",
|
|
CmdMissionType::CmdAcceptMainMissionScRsp => "CmdAcceptMainMissionScRsp",
|
|
CmdMissionType::CmdGetMissionStatusCsReq => "CmdGetMissionStatusCsReq",
|
|
CmdMissionType::CmdAcceptMissionEventScRsp => "CmdAcceptMissionEventScRsp",
|
|
CmdMissionType::CmdSetMissionEventProgressCsReq => {
|
|
"CmdSetMissionEventProgressCsReq"
|
|
}
|
|
CmdMissionType::CmdDailyTaskDataScNotify => "CmdDailyTaskDataScNotify",
|
|
CmdMissionType::CmdStartFinishSubMissionScNotify => {
|
|
"CmdStartFinishSubMissionScNotify"
|
|
}
|
|
CmdMissionType::CmdGetMissionEventDataScRsp => "CmdGetMissionEventDataScRsp",
|
|
CmdMissionType::CmdSyncTaskScRsp => "CmdSyncTaskScRsp",
|
|
CmdMissionType::CmdFinishTalkMissionScRsp => "CmdFinishTalkMissionScRsp",
|
|
CmdMissionType::CmdUpdateTrackMainMissionIdScRsp => {
|
|
"CmdUpdateTrackMainMissionIdScRsp"
|
|
}
|
|
CmdMissionType::CmdFinishCosumeItemMissionScRsp => {
|
|
"CmdFinishCosumeItemMissionScRsp"
|
|
}
|
|
CmdMissionType::CmdMissionAcceptScNotify => "CmdMissionAcceptScNotify",
|
|
CmdMissionType::CmdMissionGroupWarnScNotify => "CmdMissionGroupWarnScNotify",
|
|
CmdMissionType::CmdMissionRewardScNotify => "CmdMissionRewardScNotify",
|
|
CmdMissionType::CmdFinishCosumeItemMissionCsReq => {
|
|
"CmdFinishCosumeItemMissionCsReq"
|
|
}
|
|
CmdMissionType::CmdUpdateTrackMainMissionIdCsReq => {
|
|
"CmdUpdateTrackMainMissionIdCsReq"
|
|
}
|
|
CmdMissionType::CmdGetMissionDataCsReq => "CmdGetMissionDataCsReq",
|
|
CmdMissionType::CmdGetMainMissionCustomValueScRsp => {
|
|
"CmdGetMainMissionCustomValueScRsp"
|
|
}
|
|
CmdMissionType::CmdGetMainMissionCustomValueCsReq => {
|
|
"CmdGetMainMissionCustomValueCsReq"
|
|
}
|
|
CmdMissionType::CmdTeleportToMissionResetPointScRsp => {
|
|
"CmdTeleportToMissionResetPointScRsp"
|
|
}
|
|
CmdMissionType::CmdGetMissionEventDataCsReq => "CmdGetMissionEventDataCsReq",
|
|
CmdMissionType::CmdAcceptMainMissionCsReq => "CmdAcceptMainMissionCsReq",
|
|
CmdMissionType::CmdSubMissionRewardScNotify => "CmdSubMissionRewardScNotify",
|
|
CmdMissionType::CmdInterruptMissionEventScRsp => {
|
|
"CmdInterruptMissionEventScRsp"
|
|
}
|
|
CmdMissionType::CmdInterruptMissionEventCsReq => {
|
|
"CmdInterruptMissionEventCsReq"
|
|
}
|
|
CmdMissionType::CmdSyncTaskCsReq => "CmdSyncTaskCsReq",
|
|
CmdMissionType::CmdMissionEventRewardScNotify => {
|
|
"CmdMissionEventRewardScNotify"
|
|
}
|
|
CmdMissionType::CmdAcceptMissionEventCsReq => "CmdAcceptMissionEventCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMissionTypeNone" => Some(Self::None),
|
|
"CmdGetMissionDataScRsp" => Some(Self::CmdGetMissionDataScRsp),
|
|
"CmdTeleportToMissionResetPointCsReq" => {
|
|
Some(Self::CmdTeleportToMissionResetPointCsReq)
|
|
}
|
|
"CmdSetMissionEventProgressScRsp" => {
|
|
Some(Self::CmdSetMissionEventProgressScRsp)
|
|
}
|
|
"CmdFinishTalkMissionCsReq" => Some(Self::CmdFinishTalkMissionCsReq),
|
|
"CmdStartFinishMainMissionScNotify" => {
|
|
Some(Self::CmdStartFinishMainMissionScNotify)
|
|
}
|
|
"CmdGetMissionStatusScRsp" => Some(Self::CmdGetMissionStatusScRsp),
|
|
"CmdAcceptMainMissionScRsp" => Some(Self::CmdAcceptMainMissionScRsp),
|
|
"CmdGetMissionStatusCsReq" => Some(Self::CmdGetMissionStatusCsReq),
|
|
"CmdAcceptMissionEventScRsp" => Some(Self::CmdAcceptMissionEventScRsp),
|
|
"CmdSetMissionEventProgressCsReq" => {
|
|
Some(Self::CmdSetMissionEventProgressCsReq)
|
|
}
|
|
"CmdDailyTaskDataScNotify" => Some(Self::CmdDailyTaskDataScNotify),
|
|
"CmdStartFinishSubMissionScNotify" => {
|
|
Some(Self::CmdStartFinishSubMissionScNotify)
|
|
}
|
|
"CmdGetMissionEventDataScRsp" => Some(Self::CmdGetMissionEventDataScRsp),
|
|
"CmdSyncTaskScRsp" => Some(Self::CmdSyncTaskScRsp),
|
|
"CmdFinishTalkMissionScRsp" => Some(Self::CmdFinishTalkMissionScRsp),
|
|
"CmdUpdateTrackMainMissionIdScRsp" => {
|
|
Some(Self::CmdUpdateTrackMainMissionIdScRsp)
|
|
}
|
|
"CmdFinishCosumeItemMissionScRsp" => {
|
|
Some(Self::CmdFinishCosumeItemMissionScRsp)
|
|
}
|
|
"CmdMissionAcceptScNotify" => Some(Self::CmdMissionAcceptScNotify),
|
|
"CmdMissionGroupWarnScNotify" => Some(Self::CmdMissionGroupWarnScNotify),
|
|
"CmdMissionRewardScNotify" => Some(Self::CmdMissionRewardScNotify),
|
|
"CmdFinishCosumeItemMissionCsReq" => {
|
|
Some(Self::CmdFinishCosumeItemMissionCsReq)
|
|
}
|
|
"CmdUpdateTrackMainMissionIdCsReq" => {
|
|
Some(Self::CmdUpdateTrackMainMissionIdCsReq)
|
|
}
|
|
"CmdGetMissionDataCsReq" => Some(Self::CmdGetMissionDataCsReq),
|
|
"CmdGetMainMissionCustomValueScRsp" => {
|
|
Some(Self::CmdGetMainMissionCustomValueScRsp)
|
|
}
|
|
"CmdGetMainMissionCustomValueCsReq" => {
|
|
Some(Self::CmdGetMainMissionCustomValueCsReq)
|
|
}
|
|
"CmdTeleportToMissionResetPointScRsp" => {
|
|
Some(Self::CmdTeleportToMissionResetPointScRsp)
|
|
}
|
|
"CmdGetMissionEventDataCsReq" => Some(Self::CmdGetMissionEventDataCsReq),
|
|
"CmdAcceptMainMissionCsReq" => Some(Self::CmdAcceptMainMissionCsReq),
|
|
"CmdSubMissionRewardScNotify" => Some(Self::CmdSubMissionRewardScNotify),
|
|
"CmdInterruptMissionEventScRsp" => Some(Self::CmdInterruptMissionEventScRsp),
|
|
"CmdInterruptMissionEventCsReq" => Some(Self::CmdInterruptMissionEventCsReq),
|
|
"CmdSyncTaskCsReq" => Some(Self::CmdSyncTaskCsReq),
|
|
"CmdMissionEventRewardScNotify" => Some(Self::CmdMissionEventRewardScNotify),
|
|
"CmdAcceptMissionEventCsReq" => Some(Self::CmdAcceptMissionEventCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMonopolyType {
|
|
None = 0,
|
|
CmdGetMonopolyMbtiReportRewardScRsp = 7001,
|
|
CmdMonopolySttUpdateScNotify = 7002,
|
|
CmdGetMbtiReportScRsp = 7003,
|
|
CmdMonopolyGetRegionProgressScRsp = 7005,
|
|
CmdGetMonopolyInfoScRsp = 7006,
|
|
CmdMonopolyLikeScRsp = 7007,
|
|
CmdMonopolyCheatDiceCsReq = 7008,
|
|
CmdMonopolyGiveUpCurContentCsReq = 7009,
|
|
CmdMonopolyScrachRaffleTicketCsReq = 7010,
|
|
CmdMonopolyActionResultScNotify = 7011,
|
|
CmdMonopolyGameCreateScNotify = 7012,
|
|
CmdMonopolyEventSelectFriendScRsp = 7013,
|
|
CmdMonopolySocialEventEffectScNotify = 7014,
|
|
CmdMonopolyQuizDurationChangeScNotify = 7015,
|
|
CmdMonopolyGameRaiseRatioCsReq = 7016,
|
|
CmdMonopolyBuyGoodsCsReq = 7017,
|
|
CmdGetMonopolyDailyReportScRsp = 7020,
|
|
CmdGetSocialEventServerCacheScRsp = 7021,
|
|
CmdGetSocialEventServerCacheCsReq = 7022,
|
|
CmdMonopolyGameSettleScNotify = 7023,
|
|
CmdMonopolyConfirmRandomScRsp = 7024,
|
|
CmdMonopolyConfirmRandomCsReq = 7025,
|
|
CmdMonopolyEventSelectFriendCsReq = 7026,
|
|
CmdMonopolyClickCellScRsp = 7027,
|
|
CmdMonopolyUpgradeAssetScRsp = 7028,
|
|
CmdMonopolyMoveCsReq = 7029,
|
|
CmdMonopolyGuessChooseCsReq = 7030,
|
|
CmdGetMbtiReportCsReq = 7031,
|
|
CmdMonopolyContentUpdateScNotify = 7032,
|
|
CmdMonopolySelectOptionCsReq = 7033,
|
|
CmdMonopolyRollRandomScRsp = 7034,
|
|
CmdMonopolyTakeRaffleTicketRewardScRsp = 7036,
|
|
CmdMonopolyClickMbtiReportCsReq = 7038,
|
|
CmdMonopolyRollDiceScRsp = 7039,
|
|
CmdMonopolyLikeScNotify = 7041,
|
|
CmdMonopolyGetRaffleTicketCsReq = 7042,
|
|
CmdMonopolyCellUpdateNotify = 7043,
|
|
CmdMonopolyGameBingoFlipCardScRsp = 7045,
|
|
CmdMonopolyAcceptQuizScRsp = 7046,
|
|
CmdGetMonopolyFriendRankingListScRsp = 7047,
|
|
CmdDailyFirstEnterMonopolyActivityScRsp = 7048,
|
|
CmdMonopolyGameBingoFlipCardCsReq = 7049,
|
|
CmdMonopolyScrachRaffleTicketScRsp = 7050,
|
|
CmdMonopolyMoveScRsp = 7051,
|
|
CmdMonopolyEventLoadUpdateScNotify = 7052,
|
|
CmdMonopolyDailySettleScNotify = 7053,
|
|
CmdMonopolyGetDailyInitItemScRsp = 7055,
|
|
CmdMonopolyClickCellCsReq = 7057,
|
|
CmdGetMonopolyFriendRankingListCsReq = 7058,
|
|
CmdMonopolyLikeCsReq = 7059,
|
|
CmdMonopolyTakePhaseRewardCsReq = 7061,
|
|
CmdGetMonopolyMbtiReportRewardCsReq = 7062,
|
|
CmdMonopolyConditionUpdateScNotify = 7063,
|
|
CmdMonopolyGetRafflePoolInfoCsReq = 7064,
|
|
CmdDailyFirstEnterMonopolyActivityCsReq = 7065,
|
|
CmdMonopolyAcceptQuizCsReq = 7066,
|
|
CmdMonopolyGuessDrawScNotify = 7067,
|
|
CmdGetMonopolyInfoCsReq = 7068,
|
|
CmdMonopolyGuessBuyInformationScRsp = 7069,
|
|
CmdMonopolyGetRafflePoolInfoScRsp = 7070,
|
|
CmdDeleteSocialEventServerCacheCsReq = 7071,
|
|
CmdMonopolyGetRegionProgressCsReq = 7072,
|
|
CmdDeleteSocialEventServerCacheScRsp = 7073,
|
|
CmdMonopolyGameGachaScRsp = 7076,
|
|
CmdMonopolyGetDailyInitItemCsReq = 7077,
|
|
CmdMonopolyGameGachaCsReq = 7078,
|
|
CmdMonopolyTakePhaseRewardScRsp = 7079,
|
|
CmdMonopolyClickMbtiReportScRsp = 7080,
|
|
CmdMonopolyCheatDiceScRsp = 7081,
|
|
CmdMonopolyRollRandomCsReq = 7082,
|
|
CmdMonopolyGetRaffleTicketScRsp = 7083,
|
|
CmdMonopolyGameRaiseRatioScRsp = 7084,
|
|
CmdMonopolyGiveUpCurContentScRsp = 7088,
|
|
CmdMonopolyGuessBuyInformationCsReq = 7089,
|
|
CmdMonopolyUpgradeAssetCsReq = 7090,
|
|
CmdGetMonopolyDailyReportCsReq = 7091,
|
|
CmdMonopolyBuyGoodsScRsp = 7092,
|
|
CmdMonopolyRollDiceCsReq = 7093,
|
|
CmdMonopolyGuessChooseScRsp = 7095,
|
|
CmdMonopolyTakeRaffleTicketRewardCsReq = 7096,
|
|
CmdMonopolyReRollRandomCsReq = 7097,
|
|
CmdMonopolyReRollRandomScRsp = 7098,
|
|
CmdMonopolySelectOptionScRsp = 7099,
|
|
}
|
|
impl CmdMonopolyType {
|
|
/// 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 {
|
|
CmdMonopolyType::None => "CmdMonopolyTypeNone",
|
|
CmdMonopolyType::CmdGetMonopolyMbtiReportRewardScRsp => {
|
|
"CmdGetMonopolyMbtiReportRewardScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolySttUpdateScNotify => {
|
|
"CmdMonopolySttUpdateScNotify"
|
|
}
|
|
CmdMonopolyType::CmdGetMbtiReportScRsp => "CmdGetMbtiReportScRsp",
|
|
CmdMonopolyType::CmdMonopolyGetRegionProgressScRsp => {
|
|
"CmdMonopolyGetRegionProgressScRsp"
|
|
}
|
|
CmdMonopolyType::CmdGetMonopolyInfoScRsp => "CmdGetMonopolyInfoScRsp",
|
|
CmdMonopolyType::CmdMonopolyLikeScRsp => "CmdMonopolyLikeScRsp",
|
|
CmdMonopolyType::CmdMonopolyCheatDiceCsReq => "CmdMonopolyCheatDiceCsReq",
|
|
CmdMonopolyType::CmdMonopolyGiveUpCurContentCsReq => {
|
|
"CmdMonopolyGiveUpCurContentCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyScrachRaffleTicketCsReq => {
|
|
"CmdMonopolyScrachRaffleTicketCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyActionResultScNotify => {
|
|
"CmdMonopolyActionResultScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameCreateScNotify => {
|
|
"CmdMonopolyGameCreateScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyEventSelectFriendScRsp => {
|
|
"CmdMonopolyEventSelectFriendScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolySocialEventEffectScNotify => {
|
|
"CmdMonopolySocialEventEffectScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyQuizDurationChangeScNotify => {
|
|
"CmdMonopolyQuizDurationChangeScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameRaiseRatioCsReq => {
|
|
"CmdMonopolyGameRaiseRatioCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyBuyGoodsCsReq => "CmdMonopolyBuyGoodsCsReq",
|
|
CmdMonopolyType::CmdGetMonopolyDailyReportScRsp => {
|
|
"CmdGetMonopolyDailyReportScRsp"
|
|
}
|
|
CmdMonopolyType::CmdGetSocialEventServerCacheScRsp => {
|
|
"CmdGetSocialEventServerCacheScRsp"
|
|
}
|
|
CmdMonopolyType::CmdGetSocialEventServerCacheCsReq => {
|
|
"CmdGetSocialEventServerCacheCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameSettleScNotify => {
|
|
"CmdMonopolyGameSettleScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyConfirmRandomScRsp => {
|
|
"CmdMonopolyConfirmRandomScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyConfirmRandomCsReq => {
|
|
"CmdMonopolyConfirmRandomCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyEventSelectFriendCsReq => {
|
|
"CmdMonopolyEventSelectFriendCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyClickCellScRsp => "CmdMonopolyClickCellScRsp",
|
|
CmdMonopolyType::CmdMonopolyUpgradeAssetScRsp => {
|
|
"CmdMonopolyUpgradeAssetScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyMoveCsReq => "CmdMonopolyMoveCsReq",
|
|
CmdMonopolyType::CmdMonopolyGuessChooseCsReq => "CmdMonopolyGuessChooseCsReq",
|
|
CmdMonopolyType::CmdGetMbtiReportCsReq => "CmdGetMbtiReportCsReq",
|
|
CmdMonopolyType::CmdMonopolyContentUpdateScNotify => {
|
|
"CmdMonopolyContentUpdateScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolySelectOptionCsReq => {
|
|
"CmdMonopolySelectOptionCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyRollRandomScRsp => "CmdMonopolyRollRandomScRsp",
|
|
CmdMonopolyType::CmdMonopolyTakeRaffleTicketRewardScRsp => {
|
|
"CmdMonopolyTakeRaffleTicketRewardScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyClickMbtiReportCsReq => {
|
|
"CmdMonopolyClickMbtiReportCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyRollDiceScRsp => "CmdMonopolyRollDiceScRsp",
|
|
CmdMonopolyType::CmdMonopolyLikeScNotify => "CmdMonopolyLikeScNotify",
|
|
CmdMonopolyType::CmdMonopolyGetRaffleTicketCsReq => {
|
|
"CmdMonopolyGetRaffleTicketCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyCellUpdateNotify => "CmdMonopolyCellUpdateNotify",
|
|
CmdMonopolyType::CmdMonopolyGameBingoFlipCardScRsp => {
|
|
"CmdMonopolyGameBingoFlipCardScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyAcceptQuizScRsp => "CmdMonopolyAcceptQuizScRsp",
|
|
CmdMonopolyType::CmdGetMonopolyFriendRankingListScRsp => {
|
|
"CmdGetMonopolyFriendRankingListScRsp"
|
|
}
|
|
CmdMonopolyType::CmdDailyFirstEnterMonopolyActivityScRsp => {
|
|
"CmdDailyFirstEnterMonopolyActivityScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameBingoFlipCardCsReq => {
|
|
"CmdMonopolyGameBingoFlipCardCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyScrachRaffleTicketScRsp => {
|
|
"CmdMonopolyScrachRaffleTicketScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyMoveScRsp => "CmdMonopolyMoveScRsp",
|
|
CmdMonopolyType::CmdMonopolyEventLoadUpdateScNotify => {
|
|
"CmdMonopolyEventLoadUpdateScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyDailySettleScNotify => {
|
|
"CmdMonopolyDailySettleScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGetDailyInitItemScRsp => {
|
|
"CmdMonopolyGetDailyInitItemScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyClickCellCsReq => "CmdMonopolyClickCellCsReq",
|
|
CmdMonopolyType::CmdGetMonopolyFriendRankingListCsReq => {
|
|
"CmdGetMonopolyFriendRankingListCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyLikeCsReq => "CmdMonopolyLikeCsReq",
|
|
CmdMonopolyType::CmdMonopolyTakePhaseRewardCsReq => {
|
|
"CmdMonopolyTakePhaseRewardCsReq"
|
|
}
|
|
CmdMonopolyType::CmdGetMonopolyMbtiReportRewardCsReq => {
|
|
"CmdGetMonopolyMbtiReportRewardCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyConditionUpdateScNotify => {
|
|
"CmdMonopolyConditionUpdateScNotify"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGetRafflePoolInfoCsReq => {
|
|
"CmdMonopolyGetRafflePoolInfoCsReq"
|
|
}
|
|
CmdMonopolyType::CmdDailyFirstEnterMonopolyActivityCsReq => {
|
|
"CmdDailyFirstEnterMonopolyActivityCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyAcceptQuizCsReq => "CmdMonopolyAcceptQuizCsReq",
|
|
CmdMonopolyType::CmdMonopolyGuessDrawScNotify => {
|
|
"CmdMonopolyGuessDrawScNotify"
|
|
}
|
|
CmdMonopolyType::CmdGetMonopolyInfoCsReq => "CmdGetMonopolyInfoCsReq",
|
|
CmdMonopolyType::CmdMonopolyGuessBuyInformationScRsp => {
|
|
"CmdMonopolyGuessBuyInformationScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGetRafflePoolInfoScRsp => {
|
|
"CmdMonopolyGetRafflePoolInfoScRsp"
|
|
}
|
|
CmdMonopolyType::CmdDeleteSocialEventServerCacheCsReq => {
|
|
"CmdDeleteSocialEventServerCacheCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGetRegionProgressCsReq => {
|
|
"CmdMonopolyGetRegionProgressCsReq"
|
|
}
|
|
CmdMonopolyType::CmdDeleteSocialEventServerCacheScRsp => {
|
|
"CmdDeleteSocialEventServerCacheScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameGachaScRsp => "CmdMonopolyGameGachaScRsp",
|
|
CmdMonopolyType::CmdMonopolyGetDailyInitItemCsReq => {
|
|
"CmdMonopolyGetDailyInitItemCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameGachaCsReq => "CmdMonopolyGameGachaCsReq",
|
|
CmdMonopolyType::CmdMonopolyTakePhaseRewardScRsp => {
|
|
"CmdMonopolyTakePhaseRewardScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyClickMbtiReportScRsp => {
|
|
"CmdMonopolyClickMbtiReportScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyCheatDiceScRsp => "CmdMonopolyCheatDiceScRsp",
|
|
CmdMonopolyType::CmdMonopolyRollRandomCsReq => "CmdMonopolyRollRandomCsReq",
|
|
CmdMonopolyType::CmdMonopolyGetRaffleTicketScRsp => {
|
|
"CmdMonopolyGetRaffleTicketScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGameRaiseRatioScRsp => {
|
|
"CmdMonopolyGameRaiseRatioScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGiveUpCurContentScRsp => {
|
|
"CmdMonopolyGiveUpCurContentScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyGuessBuyInformationCsReq => {
|
|
"CmdMonopolyGuessBuyInformationCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyUpgradeAssetCsReq => {
|
|
"CmdMonopolyUpgradeAssetCsReq"
|
|
}
|
|
CmdMonopolyType::CmdGetMonopolyDailyReportCsReq => {
|
|
"CmdGetMonopolyDailyReportCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyBuyGoodsScRsp => "CmdMonopolyBuyGoodsScRsp",
|
|
CmdMonopolyType::CmdMonopolyRollDiceCsReq => "CmdMonopolyRollDiceCsReq",
|
|
CmdMonopolyType::CmdMonopolyGuessChooseScRsp => "CmdMonopolyGuessChooseScRsp",
|
|
CmdMonopolyType::CmdMonopolyTakeRaffleTicketRewardCsReq => {
|
|
"CmdMonopolyTakeRaffleTicketRewardCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyReRollRandomCsReq => {
|
|
"CmdMonopolyReRollRandomCsReq"
|
|
}
|
|
CmdMonopolyType::CmdMonopolyReRollRandomScRsp => {
|
|
"CmdMonopolyReRollRandomScRsp"
|
|
}
|
|
CmdMonopolyType::CmdMonopolySelectOptionScRsp => {
|
|
"CmdMonopolySelectOptionScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMonopolyTypeNone" => Some(Self::None),
|
|
"CmdGetMonopolyMbtiReportRewardScRsp" => {
|
|
Some(Self::CmdGetMonopolyMbtiReportRewardScRsp)
|
|
}
|
|
"CmdMonopolySttUpdateScNotify" => Some(Self::CmdMonopolySttUpdateScNotify),
|
|
"CmdGetMbtiReportScRsp" => Some(Self::CmdGetMbtiReportScRsp),
|
|
"CmdMonopolyGetRegionProgressScRsp" => {
|
|
Some(Self::CmdMonopolyGetRegionProgressScRsp)
|
|
}
|
|
"CmdGetMonopolyInfoScRsp" => Some(Self::CmdGetMonopolyInfoScRsp),
|
|
"CmdMonopolyLikeScRsp" => Some(Self::CmdMonopolyLikeScRsp),
|
|
"CmdMonopolyCheatDiceCsReq" => Some(Self::CmdMonopolyCheatDiceCsReq),
|
|
"CmdMonopolyGiveUpCurContentCsReq" => {
|
|
Some(Self::CmdMonopolyGiveUpCurContentCsReq)
|
|
}
|
|
"CmdMonopolyScrachRaffleTicketCsReq" => {
|
|
Some(Self::CmdMonopolyScrachRaffleTicketCsReq)
|
|
}
|
|
"CmdMonopolyActionResultScNotify" => {
|
|
Some(Self::CmdMonopolyActionResultScNotify)
|
|
}
|
|
"CmdMonopolyGameCreateScNotify" => Some(Self::CmdMonopolyGameCreateScNotify),
|
|
"CmdMonopolyEventSelectFriendScRsp" => {
|
|
Some(Self::CmdMonopolyEventSelectFriendScRsp)
|
|
}
|
|
"CmdMonopolySocialEventEffectScNotify" => {
|
|
Some(Self::CmdMonopolySocialEventEffectScNotify)
|
|
}
|
|
"CmdMonopolyQuizDurationChangeScNotify" => {
|
|
Some(Self::CmdMonopolyQuizDurationChangeScNotify)
|
|
}
|
|
"CmdMonopolyGameRaiseRatioCsReq" => {
|
|
Some(Self::CmdMonopolyGameRaiseRatioCsReq)
|
|
}
|
|
"CmdMonopolyBuyGoodsCsReq" => Some(Self::CmdMonopolyBuyGoodsCsReq),
|
|
"CmdGetMonopolyDailyReportScRsp" => {
|
|
Some(Self::CmdGetMonopolyDailyReportScRsp)
|
|
}
|
|
"CmdGetSocialEventServerCacheScRsp" => {
|
|
Some(Self::CmdGetSocialEventServerCacheScRsp)
|
|
}
|
|
"CmdGetSocialEventServerCacheCsReq" => {
|
|
Some(Self::CmdGetSocialEventServerCacheCsReq)
|
|
}
|
|
"CmdMonopolyGameSettleScNotify" => Some(Self::CmdMonopolyGameSettleScNotify),
|
|
"CmdMonopolyConfirmRandomScRsp" => Some(Self::CmdMonopolyConfirmRandomScRsp),
|
|
"CmdMonopolyConfirmRandomCsReq" => Some(Self::CmdMonopolyConfirmRandomCsReq),
|
|
"CmdMonopolyEventSelectFriendCsReq" => {
|
|
Some(Self::CmdMonopolyEventSelectFriendCsReq)
|
|
}
|
|
"CmdMonopolyClickCellScRsp" => Some(Self::CmdMonopolyClickCellScRsp),
|
|
"CmdMonopolyUpgradeAssetScRsp" => Some(Self::CmdMonopolyUpgradeAssetScRsp),
|
|
"CmdMonopolyMoveCsReq" => Some(Self::CmdMonopolyMoveCsReq),
|
|
"CmdMonopolyGuessChooseCsReq" => Some(Self::CmdMonopolyGuessChooseCsReq),
|
|
"CmdGetMbtiReportCsReq" => Some(Self::CmdGetMbtiReportCsReq),
|
|
"CmdMonopolyContentUpdateScNotify" => {
|
|
Some(Self::CmdMonopolyContentUpdateScNotify)
|
|
}
|
|
"CmdMonopolySelectOptionCsReq" => Some(Self::CmdMonopolySelectOptionCsReq),
|
|
"CmdMonopolyRollRandomScRsp" => Some(Self::CmdMonopolyRollRandomScRsp),
|
|
"CmdMonopolyTakeRaffleTicketRewardScRsp" => {
|
|
Some(Self::CmdMonopolyTakeRaffleTicketRewardScRsp)
|
|
}
|
|
"CmdMonopolyClickMbtiReportCsReq" => {
|
|
Some(Self::CmdMonopolyClickMbtiReportCsReq)
|
|
}
|
|
"CmdMonopolyRollDiceScRsp" => Some(Self::CmdMonopolyRollDiceScRsp),
|
|
"CmdMonopolyLikeScNotify" => Some(Self::CmdMonopolyLikeScNotify),
|
|
"CmdMonopolyGetRaffleTicketCsReq" => {
|
|
Some(Self::CmdMonopolyGetRaffleTicketCsReq)
|
|
}
|
|
"CmdMonopolyCellUpdateNotify" => Some(Self::CmdMonopolyCellUpdateNotify),
|
|
"CmdMonopolyGameBingoFlipCardScRsp" => {
|
|
Some(Self::CmdMonopolyGameBingoFlipCardScRsp)
|
|
}
|
|
"CmdMonopolyAcceptQuizScRsp" => Some(Self::CmdMonopolyAcceptQuizScRsp),
|
|
"CmdGetMonopolyFriendRankingListScRsp" => {
|
|
Some(Self::CmdGetMonopolyFriendRankingListScRsp)
|
|
}
|
|
"CmdDailyFirstEnterMonopolyActivityScRsp" => {
|
|
Some(Self::CmdDailyFirstEnterMonopolyActivityScRsp)
|
|
}
|
|
"CmdMonopolyGameBingoFlipCardCsReq" => {
|
|
Some(Self::CmdMonopolyGameBingoFlipCardCsReq)
|
|
}
|
|
"CmdMonopolyScrachRaffleTicketScRsp" => {
|
|
Some(Self::CmdMonopolyScrachRaffleTicketScRsp)
|
|
}
|
|
"CmdMonopolyMoveScRsp" => Some(Self::CmdMonopolyMoveScRsp),
|
|
"CmdMonopolyEventLoadUpdateScNotify" => {
|
|
Some(Self::CmdMonopolyEventLoadUpdateScNotify)
|
|
}
|
|
"CmdMonopolyDailySettleScNotify" => {
|
|
Some(Self::CmdMonopolyDailySettleScNotify)
|
|
}
|
|
"CmdMonopolyGetDailyInitItemScRsp" => {
|
|
Some(Self::CmdMonopolyGetDailyInitItemScRsp)
|
|
}
|
|
"CmdMonopolyClickCellCsReq" => Some(Self::CmdMonopolyClickCellCsReq),
|
|
"CmdGetMonopolyFriendRankingListCsReq" => {
|
|
Some(Self::CmdGetMonopolyFriendRankingListCsReq)
|
|
}
|
|
"CmdMonopolyLikeCsReq" => Some(Self::CmdMonopolyLikeCsReq),
|
|
"CmdMonopolyTakePhaseRewardCsReq" => {
|
|
Some(Self::CmdMonopolyTakePhaseRewardCsReq)
|
|
}
|
|
"CmdGetMonopolyMbtiReportRewardCsReq" => {
|
|
Some(Self::CmdGetMonopolyMbtiReportRewardCsReq)
|
|
}
|
|
"CmdMonopolyConditionUpdateScNotify" => {
|
|
Some(Self::CmdMonopolyConditionUpdateScNotify)
|
|
}
|
|
"CmdMonopolyGetRafflePoolInfoCsReq" => {
|
|
Some(Self::CmdMonopolyGetRafflePoolInfoCsReq)
|
|
}
|
|
"CmdDailyFirstEnterMonopolyActivityCsReq" => {
|
|
Some(Self::CmdDailyFirstEnterMonopolyActivityCsReq)
|
|
}
|
|
"CmdMonopolyAcceptQuizCsReq" => Some(Self::CmdMonopolyAcceptQuizCsReq),
|
|
"CmdMonopolyGuessDrawScNotify" => Some(Self::CmdMonopolyGuessDrawScNotify),
|
|
"CmdGetMonopolyInfoCsReq" => Some(Self::CmdGetMonopolyInfoCsReq),
|
|
"CmdMonopolyGuessBuyInformationScRsp" => {
|
|
Some(Self::CmdMonopolyGuessBuyInformationScRsp)
|
|
}
|
|
"CmdMonopolyGetRafflePoolInfoScRsp" => {
|
|
Some(Self::CmdMonopolyGetRafflePoolInfoScRsp)
|
|
}
|
|
"CmdDeleteSocialEventServerCacheCsReq" => {
|
|
Some(Self::CmdDeleteSocialEventServerCacheCsReq)
|
|
}
|
|
"CmdMonopolyGetRegionProgressCsReq" => {
|
|
Some(Self::CmdMonopolyGetRegionProgressCsReq)
|
|
}
|
|
"CmdDeleteSocialEventServerCacheScRsp" => {
|
|
Some(Self::CmdDeleteSocialEventServerCacheScRsp)
|
|
}
|
|
"CmdMonopolyGameGachaScRsp" => Some(Self::CmdMonopolyGameGachaScRsp),
|
|
"CmdMonopolyGetDailyInitItemCsReq" => {
|
|
Some(Self::CmdMonopolyGetDailyInitItemCsReq)
|
|
}
|
|
"CmdMonopolyGameGachaCsReq" => Some(Self::CmdMonopolyGameGachaCsReq),
|
|
"CmdMonopolyTakePhaseRewardScRsp" => {
|
|
Some(Self::CmdMonopolyTakePhaseRewardScRsp)
|
|
}
|
|
"CmdMonopolyClickMbtiReportScRsp" => {
|
|
Some(Self::CmdMonopolyClickMbtiReportScRsp)
|
|
}
|
|
"CmdMonopolyCheatDiceScRsp" => Some(Self::CmdMonopolyCheatDiceScRsp),
|
|
"CmdMonopolyRollRandomCsReq" => Some(Self::CmdMonopolyRollRandomCsReq),
|
|
"CmdMonopolyGetRaffleTicketScRsp" => {
|
|
Some(Self::CmdMonopolyGetRaffleTicketScRsp)
|
|
}
|
|
"CmdMonopolyGameRaiseRatioScRsp" => {
|
|
Some(Self::CmdMonopolyGameRaiseRatioScRsp)
|
|
}
|
|
"CmdMonopolyGiveUpCurContentScRsp" => {
|
|
Some(Self::CmdMonopolyGiveUpCurContentScRsp)
|
|
}
|
|
"CmdMonopolyGuessBuyInformationCsReq" => {
|
|
Some(Self::CmdMonopolyGuessBuyInformationCsReq)
|
|
}
|
|
"CmdMonopolyUpgradeAssetCsReq" => Some(Self::CmdMonopolyUpgradeAssetCsReq),
|
|
"CmdGetMonopolyDailyReportCsReq" => {
|
|
Some(Self::CmdGetMonopolyDailyReportCsReq)
|
|
}
|
|
"CmdMonopolyBuyGoodsScRsp" => Some(Self::CmdMonopolyBuyGoodsScRsp),
|
|
"CmdMonopolyRollDiceCsReq" => Some(Self::CmdMonopolyRollDiceCsReq),
|
|
"CmdMonopolyGuessChooseScRsp" => Some(Self::CmdMonopolyGuessChooseScRsp),
|
|
"CmdMonopolyTakeRaffleTicketRewardCsReq" => {
|
|
Some(Self::CmdMonopolyTakeRaffleTicketRewardCsReq)
|
|
}
|
|
"CmdMonopolyReRollRandomCsReq" => Some(Self::CmdMonopolyReRollRandomCsReq),
|
|
"CmdMonopolyReRollRandomScRsp" => Some(Self::CmdMonopolyReRollRandomScRsp),
|
|
"CmdMonopolySelectOptionScRsp" => Some(Self::CmdMonopolySelectOptionScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMultiplayerType {
|
|
None = 0,
|
|
CmdMultiplayerFightGameStateScRsp = 1006,
|
|
CmdMultiplayerGetFightGateCsReq = 1011,
|
|
CmdMultiplayerFightGameFinishScNotify = 1029,
|
|
CmdMultiplayerFightGameStartScNotify = 1039,
|
|
CmdMultiplayerGetFightGateScRsp = 1043,
|
|
CmdMultiplayerMatch3FinishScNotify = 1051,
|
|
CmdMultiplayerFightGiveUpCsReq = 1056,
|
|
CmdMultiplayerFightGameStateCsReq = 1068,
|
|
CmdMultiplayerFightGiveUpScRsp = 1093,
|
|
}
|
|
impl CmdMultiplayerType {
|
|
/// 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 {
|
|
CmdMultiplayerType::None => "CmdMultiplayerTypeNone",
|
|
CmdMultiplayerType::CmdMultiplayerFightGameStateScRsp => {
|
|
"CmdMultiplayerFightGameStateScRsp"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerGetFightGateCsReq => {
|
|
"CmdMultiplayerGetFightGateCsReq"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerFightGameFinishScNotify => {
|
|
"CmdMultiplayerFightGameFinishScNotify"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerFightGameStartScNotify => {
|
|
"CmdMultiplayerFightGameStartScNotify"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerGetFightGateScRsp => {
|
|
"CmdMultiplayerGetFightGateScRsp"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerMatch3FinishScNotify => {
|
|
"CmdMultiplayerMatch3FinishScNotify"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerFightGiveUpCsReq => {
|
|
"CmdMultiplayerFightGiveUpCsReq"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerFightGameStateCsReq => {
|
|
"CmdMultiplayerFightGameStateCsReq"
|
|
}
|
|
CmdMultiplayerType::CmdMultiplayerFightGiveUpScRsp => {
|
|
"CmdMultiplayerFightGiveUpScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMultiplayerTypeNone" => Some(Self::None),
|
|
"CmdMultiplayerFightGameStateScRsp" => {
|
|
Some(Self::CmdMultiplayerFightGameStateScRsp)
|
|
}
|
|
"CmdMultiplayerGetFightGateCsReq" => {
|
|
Some(Self::CmdMultiplayerGetFightGateCsReq)
|
|
}
|
|
"CmdMultiplayerFightGameFinishScNotify" => {
|
|
Some(Self::CmdMultiplayerFightGameFinishScNotify)
|
|
}
|
|
"CmdMultiplayerFightGameStartScNotify" => {
|
|
Some(Self::CmdMultiplayerFightGameStartScNotify)
|
|
}
|
|
"CmdMultiplayerGetFightGateScRsp" => {
|
|
Some(Self::CmdMultiplayerGetFightGateScRsp)
|
|
}
|
|
"CmdMultiplayerMatch3FinishScNotify" => {
|
|
Some(Self::CmdMultiplayerMatch3FinishScNotify)
|
|
}
|
|
"CmdMultiplayerFightGiveUpCsReq" => {
|
|
Some(Self::CmdMultiplayerFightGiveUpCsReq)
|
|
}
|
|
"CmdMultiplayerFightGameStateCsReq" => {
|
|
Some(Self::CmdMultiplayerFightGameStateCsReq)
|
|
}
|
|
"CmdMultiplayerFightGiveUpScRsp" => {
|
|
Some(Self::CmdMultiplayerFightGiveUpScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMultipleDropType {
|
|
None = 0,
|
|
CmdGetMultipleDropInfoScRsp = 4606,
|
|
CmdMultipleDropInfoScNotify = 4611,
|
|
CmdGetPlayerReturnMultiDropInfoCsReq = 4643,
|
|
CmdGetPlayerReturnMultiDropInfoScRsp = 4656,
|
|
CmdGetMultipleDropInfoCsReq = 4668,
|
|
CmdMultipleDropInfoNotify = 4693,
|
|
}
|
|
impl CmdMultipleDropType {
|
|
/// 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 {
|
|
CmdMultipleDropType::None => "CmdMultipleDropTypeNone",
|
|
CmdMultipleDropType::CmdGetMultipleDropInfoScRsp => {
|
|
"CmdGetMultipleDropInfoScRsp"
|
|
}
|
|
CmdMultipleDropType::CmdMultipleDropInfoScNotify => {
|
|
"CmdMultipleDropInfoScNotify"
|
|
}
|
|
CmdMultipleDropType::CmdGetPlayerReturnMultiDropInfoCsReq => {
|
|
"CmdGetPlayerReturnMultiDropInfoCsReq"
|
|
}
|
|
CmdMultipleDropType::CmdGetPlayerReturnMultiDropInfoScRsp => {
|
|
"CmdGetPlayerReturnMultiDropInfoScRsp"
|
|
}
|
|
CmdMultipleDropType::CmdGetMultipleDropInfoCsReq => {
|
|
"CmdGetMultipleDropInfoCsReq"
|
|
}
|
|
CmdMultipleDropType::CmdMultipleDropInfoNotify => "CmdMultipleDropInfoNotify",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMultipleDropTypeNone" => Some(Self::None),
|
|
"CmdGetMultipleDropInfoScRsp" => Some(Self::CmdGetMultipleDropInfoScRsp),
|
|
"CmdMultipleDropInfoScNotify" => Some(Self::CmdMultipleDropInfoScNotify),
|
|
"CmdGetPlayerReturnMultiDropInfoCsReq" => {
|
|
Some(Self::CmdGetPlayerReturnMultiDropInfoCsReq)
|
|
}
|
|
"CmdGetPlayerReturnMultiDropInfoScRsp" => {
|
|
Some(Self::CmdGetPlayerReturnMultiDropInfoScRsp)
|
|
}
|
|
"CmdGetMultipleDropInfoCsReq" => Some(Self::CmdGetMultipleDropInfoCsReq),
|
|
"CmdMultipleDropInfoNotify" => Some(Self::CmdMultipleDropInfoNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdMuseumType {
|
|
None = 0,
|
|
CmdGetMuseumInfoScRsp = 4306,
|
|
CmdMuseumTargetRewardNotify = 4308,
|
|
CmdMuseumTargetStartNotify = 4309,
|
|
CmdBuyNpcStuffCsReq = 4311,
|
|
CmdMuseumRandomEventQueryScRsp = 4317,
|
|
CmdMuseumRandomEventQueryCsReq = 4324,
|
|
CmdMuseumRandomEventStartScNotify = 4325,
|
|
CmdMuseumDispatchFinishedScNotify = 4328,
|
|
CmdRemoveStuffFromAreaScRsp = 4329,
|
|
CmdMuseumTakeCollectRewardScRsp = 4332,
|
|
CmdGetExhibitScNotify = 4333,
|
|
CmdUpgradeAreaStatScRsp = 4334,
|
|
CmdRemoveStuffFromAreaCsReq = 4339,
|
|
CmdBuyNpcStuffScRsp = 4343,
|
|
CmdUpgradeAreaScRsp = 4348,
|
|
CmdGetStuffScNotify = 4351,
|
|
CmdFinishCurTurnScRsp = 4354,
|
|
CmdSetStuffToAreaCsReq = 4356,
|
|
CmdUpgradeAreaCsReq = 4365,
|
|
CmdGetMuseumInfoCsReq = 4368,
|
|
CmdMuseumTakeCollectRewardCsReq = 4381,
|
|
CmdUpgradeAreaStatCsReq = 4382,
|
|
CmdMuseumTargetMissionFinishNotify = 4388,
|
|
CmdMuseumRandomEventSelectScRsp = 4390,
|
|
CmdMuseumRandomEventSelectCsReq = 4392,
|
|
CmdSetStuffToAreaScRsp = 4393,
|
|
CmdMuseumInfoChangedScNotify = 4397,
|
|
CmdMuseumFundsChangedScNotify = 4398,
|
|
CmdFinishCurTurnCsReq = 4399,
|
|
}
|
|
impl CmdMuseumType {
|
|
/// 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 {
|
|
CmdMuseumType::None => "CmdMuseumTypeNone",
|
|
CmdMuseumType::CmdGetMuseumInfoScRsp => "CmdGetMuseumInfoScRsp",
|
|
CmdMuseumType::CmdMuseumTargetRewardNotify => "CmdMuseumTargetRewardNotify",
|
|
CmdMuseumType::CmdMuseumTargetStartNotify => "CmdMuseumTargetStartNotify",
|
|
CmdMuseumType::CmdBuyNpcStuffCsReq => "CmdBuyNpcStuffCsReq",
|
|
CmdMuseumType::CmdMuseumRandomEventQueryScRsp => {
|
|
"CmdMuseumRandomEventQueryScRsp"
|
|
}
|
|
CmdMuseumType::CmdMuseumRandomEventQueryCsReq => {
|
|
"CmdMuseumRandomEventQueryCsReq"
|
|
}
|
|
CmdMuseumType::CmdMuseumRandomEventStartScNotify => {
|
|
"CmdMuseumRandomEventStartScNotify"
|
|
}
|
|
CmdMuseumType::CmdMuseumDispatchFinishedScNotify => {
|
|
"CmdMuseumDispatchFinishedScNotify"
|
|
}
|
|
CmdMuseumType::CmdRemoveStuffFromAreaScRsp => "CmdRemoveStuffFromAreaScRsp",
|
|
CmdMuseumType::CmdMuseumTakeCollectRewardScRsp => {
|
|
"CmdMuseumTakeCollectRewardScRsp"
|
|
}
|
|
CmdMuseumType::CmdGetExhibitScNotify => "CmdGetExhibitScNotify",
|
|
CmdMuseumType::CmdUpgradeAreaStatScRsp => "CmdUpgradeAreaStatScRsp",
|
|
CmdMuseumType::CmdRemoveStuffFromAreaCsReq => "CmdRemoveStuffFromAreaCsReq",
|
|
CmdMuseumType::CmdBuyNpcStuffScRsp => "CmdBuyNpcStuffScRsp",
|
|
CmdMuseumType::CmdUpgradeAreaScRsp => "CmdUpgradeAreaScRsp",
|
|
CmdMuseumType::CmdGetStuffScNotify => "CmdGetStuffScNotify",
|
|
CmdMuseumType::CmdFinishCurTurnScRsp => "CmdFinishCurTurnScRsp",
|
|
CmdMuseumType::CmdSetStuffToAreaCsReq => "CmdSetStuffToAreaCsReq",
|
|
CmdMuseumType::CmdUpgradeAreaCsReq => "CmdUpgradeAreaCsReq",
|
|
CmdMuseumType::CmdGetMuseumInfoCsReq => "CmdGetMuseumInfoCsReq",
|
|
CmdMuseumType::CmdMuseumTakeCollectRewardCsReq => {
|
|
"CmdMuseumTakeCollectRewardCsReq"
|
|
}
|
|
CmdMuseumType::CmdUpgradeAreaStatCsReq => "CmdUpgradeAreaStatCsReq",
|
|
CmdMuseumType::CmdMuseumTargetMissionFinishNotify => {
|
|
"CmdMuseumTargetMissionFinishNotify"
|
|
}
|
|
CmdMuseumType::CmdMuseumRandomEventSelectScRsp => {
|
|
"CmdMuseumRandomEventSelectScRsp"
|
|
}
|
|
CmdMuseumType::CmdMuseumRandomEventSelectCsReq => {
|
|
"CmdMuseumRandomEventSelectCsReq"
|
|
}
|
|
CmdMuseumType::CmdSetStuffToAreaScRsp => "CmdSetStuffToAreaScRsp",
|
|
CmdMuseumType::CmdMuseumInfoChangedScNotify => "CmdMuseumInfoChangedScNotify",
|
|
CmdMuseumType::CmdMuseumFundsChangedScNotify => {
|
|
"CmdMuseumFundsChangedScNotify"
|
|
}
|
|
CmdMuseumType::CmdFinishCurTurnCsReq => "CmdFinishCurTurnCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdMuseumTypeNone" => Some(Self::None),
|
|
"CmdGetMuseumInfoScRsp" => Some(Self::CmdGetMuseumInfoScRsp),
|
|
"CmdMuseumTargetRewardNotify" => Some(Self::CmdMuseumTargetRewardNotify),
|
|
"CmdMuseumTargetStartNotify" => Some(Self::CmdMuseumTargetStartNotify),
|
|
"CmdBuyNpcStuffCsReq" => Some(Self::CmdBuyNpcStuffCsReq),
|
|
"CmdMuseumRandomEventQueryScRsp" => {
|
|
Some(Self::CmdMuseumRandomEventQueryScRsp)
|
|
}
|
|
"CmdMuseumRandomEventQueryCsReq" => {
|
|
Some(Self::CmdMuseumRandomEventQueryCsReq)
|
|
}
|
|
"CmdMuseumRandomEventStartScNotify" => {
|
|
Some(Self::CmdMuseumRandomEventStartScNotify)
|
|
}
|
|
"CmdMuseumDispatchFinishedScNotify" => {
|
|
Some(Self::CmdMuseumDispatchFinishedScNotify)
|
|
}
|
|
"CmdRemoveStuffFromAreaScRsp" => Some(Self::CmdRemoveStuffFromAreaScRsp),
|
|
"CmdMuseumTakeCollectRewardScRsp" => {
|
|
Some(Self::CmdMuseumTakeCollectRewardScRsp)
|
|
}
|
|
"CmdGetExhibitScNotify" => Some(Self::CmdGetExhibitScNotify),
|
|
"CmdUpgradeAreaStatScRsp" => Some(Self::CmdUpgradeAreaStatScRsp),
|
|
"CmdRemoveStuffFromAreaCsReq" => Some(Self::CmdRemoveStuffFromAreaCsReq),
|
|
"CmdBuyNpcStuffScRsp" => Some(Self::CmdBuyNpcStuffScRsp),
|
|
"CmdUpgradeAreaScRsp" => Some(Self::CmdUpgradeAreaScRsp),
|
|
"CmdGetStuffScNotify" => Some(Self::CmdGetStuffScNotify),
|
|
"CmdFinishCurTurnScRsp" => Some(Self::CmdFinishCurTurnScRsp),
|
|
"CmdSetStuffToAreaCsReq" => Some(Self::CmdSetStuffToAreaCsReq),
|
|
"CmdUpgradeAreaCsReq" => Some(Self::CmdUpgradeAreaCsReq),
|
|
"CmdGetMuseumInfoCsReq" => Some(Self::CmdGetMuseumInfoCsReq),
|
|
"CmdMuseumTakeCollectRewardCsReq" => {
|
|
Some(Self::CmdMuseumTakeCollectRewardCsReq)
|
|
}
|
|
"CmdUpgradeAreaStatCsReq" => Some(Self::CmdUpgradeAreaStatCsReq),
|
|
"CmdMuseumTargetMissionFinishNotify" => {
|
|
Some(Self::CmdMuseumTargetMissionFinishNotify)
|
|
}
|
|
"CmdMuseumRandomEventSelectScRsp" => {
|
|
Some(Self::CmdMuseumRandomEventSelectScRsp)
|
|
}
|
|
"CmdMuseumRandomEventSelectCsReq" => {
|
|
Some(Self::CmdMuseumRandomEventSelectCsReq)
|
|
}
|
|
"CmdSetStuffToAreaScRsp" => Some(Self::CmdSetStuffToAreaScRsp),
|
|
"CmdMuseumInfoChangedScNotify" => Some(Self::CmdMuseumInfoChangedScNotify),
|
|
"CmdMuseumFundsChangedScNotify" => Some(Self::CmdMuseumFundsChangedScNotify),
|
|
"CmdFinishCurTurnCsReq" => Some(Self::CmdFinishCurTurnCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdOfferingType {
|
|
None = 0,
|
|
CmdTakeOfferingRewardScRsp = 6922,
|
|
CmdGetOfferingInfoScRsp = 6923,
|
|
CmdTakeOfferingRewardCsReq = 6924,
|
|
CmdSubmitOfferingItemCsReq = 6932,
|
|
CmdOfferingInfoScNotify = 6936,
|
|
CmdGetOfferingInfoCsReq = 6939,
|
|
CmdSubmitOfferingItemScRsp = 6940,
|
|
}
|
|
impl CmdOfferingType {
|
|
/// 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 {
|
|
CmdOfferingType::None => "CmdOfferingTypeNone",
|
|
CmdOfferingType::CmdTakeOfferingRewardScRsp => "CmdTakeOfferingRewardScRsp",
|
|
CmdOfferingType::CmdGetOfferingInfoScRsp => "CmdGetOfferingInfoScRsp",
|
|
CmdOfferingType::CmdTakeOfferingRewardCsReq => "CmdTakeOfferingRewardCsReq",
|
|
CmdOfferingType::CmdSubmitOfferingItemCsReq => "CmdSubmitOfferingItemCsReq",
|
|
CmdOfferingType::CmdOfferingInfoScNotify => "CmdOfferingInfoScNotify",
|
|
CmdOfferingType::CmdGetOfferingInfoCsReq => "CmdGetOfferingInfoCsReq",
|
|
CmdOfferingType::CmdSubmitOfferingItemScRsp => "CmdSubmitOfferingItemScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdOfferingTypeNone" => Some(Self::None),
|
|
"CmdTakeOfferingRewardScRsp" => Some(Self::CmdTakeOfferingRewardScRsp),
|
|
"CmdGetOfferingInfoScRsp" => Some(Self::CmdGetOfferingInfoScRsp),
|
|
"CmdTakeOfferingRewardCsReq" => Some(Self::CmdTakeOfferingRewardCsReq),
|
|
"CmdSubmitOfferingItemCsReq" => Some(Self::CmdSubmitOfferingItemCsReq),
|
|
"CmdOfferingInfoScNotify" => Some(Self::CmdOfferingInfoScNotify),
|
|
"CmdGetOfferingInfoCsReq" => Some(Self::CmdGetOfferingInfoCsReq),
|
|
"CmdSubmitOfferingItemScRsp" => Some(Self::CmdSubmitOfferingItemScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPamMissionType {
|
|
None = 0,
|
|
CmdAcceptedPamMissionExpireScRsp = 4006,
|
|
CmdSyncAcceptedPamMissionNotify = 4011,
|
|
CmdAcceptedPamMissionExpireCsReq = 4068,
|
|
}
|
|
impl CmdPamMissionType {
|
|
/// 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 {
|
|
CmdPamMissionType::None => "CmdPamMissionTypeNone",
|
|
CmdPamMissionType::CmdAcceptedPamMissionExpireScRsp => {
|
|
"CmdAcceptedPamMissionExpireScRsp"
|
|
}
|
|
CmdPamMissionType::CmdSyncAcceptedPamMissionNotify => {
|
|
"CmdSyncAcceptedPamMissionNotify"
|
|
}
|
|
CmdPamMissionType::CmdAcceptedPamMissionExpireCsReq => {
|
|
"CmdAcceptedPamMissionExpireCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPamMissionTypeNone" => Some(Self::None),
|
|
"CmdAcceptedPamMissionExpireScRsp" => {
|
|
Some(Self::CmdAcceptedPamMissionExpireScRsp)
|
|
}
|
|
"CmdSyncAcceptedPamMissionNotify" => {
|
|
Some(Self::CmdSyncAcceptedPamMissionNotify)
|
|
}
|
|
"CmdAcceptedPamMissionExpireCsReq" => {
|
|
Some(Self::CmdAcceptedPamMissionExpireCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPetType {
|
|
None = 0,
|
|
CmdGetPetDataCsReq = 7607,
|
|
CmdRecallPetScRsp = 7608,
|
|
CmdRecallPetCsReq = 7611,
|
|
CmdSummonPetCsReq = 7615,
|
|
CmdSummonPetScRsp = 7617,
|
|
CmdCurPetChangedScNotify = 7623,
|
|
CmdGetPetDataScRsp = 7624,
|
|
}
|
|
impl CmdPetType {
|
|
/// 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 {
|
|
CmdPetType::None => "CmdPetTypeNone",
|
|
CmdPetType::CmdGetPetDataCsReq => "CmdGetPetDataCsReq",
|
|
CmdPetType::CmdRecallPetScRsp => "CmdRecallPetScRsp",
|
|
CmdPetType::CmdRecallPetCsReq => "CmdRecallPetCsReq",
|
|
CmdPetType::CmdSummonPetCsReq => "CmdSummonPetCsReq",
|
|
CmdPetType::CmdSummonPetScRsp => "CmdSummonPetScRsp",
|
|
CmdPetType::CmdCurPetChangedScNotify => "CmdCurPetChangedScNotify",
|
|
CmdPetType::CmdGetPetDataScRsp => "CmdGetPetDataScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPetTypeNone" => Some(Self::None),
|
|
"CmdGetPetDataCsReq" => Some(Self::CmdGetPetDataCsReq),
|
|
"CmdRecallPetScRsp" => Some(Self::CmdRecallPetScRsp),
|
|
"CmdRecallPetCsReq" => Some(Self::CmdRecallPetCsReq),
|
|
"CmdSummonPetCsReq" => Some(Self::CmdSummonPetCsReq),
|
|
"CmdSummonPetScRsp" => Some(Self::CmdSummonPetScRsp),
|
|
"CmdCurPetChangedScNotify" => Some(Self::CmdCurPetChangedScNotify),
|
|
"CmdGetPetDataScRsp" => Some(Self::CmdGetPetDataScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPhoneType {
|
|
None = 0,
|
|
CmdGetPhoneDataScRsp = 5106,
|
|
CmdSelectChatBubbleCsReq = 5111,
|
|
CmdUnlockPhoneThemeScNotify = 5129,
|
|
CmdSelectPhoneThemeScRsp = 5139,
|
|
CmdSelectChatBubbleScRsp = 5143,
|
|
CmdUnlockChatBubbleScNotify = 5156,
|
|
CmdGetPhoneDataCsReq = 5168,
|
|
CmdSelectPhoneThemeCsReq = 5193,
|
|
}
|
|
impl CmdPhoneType {
|
|
/// 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 {
|
|
CmdPhoneType::None => "CmdPhoneTypeNone",
|
|
CmdPhoneType::CmdGetPhoneDataScRsp => "CmdGetPhoneDataScRsp",
|
|
CmdPhoneType::CmdSelectChatBubbleCsReq => "CmdSelectChatBubbleCsReq",
|
|
CmdPhoneType::CmdUnlockPhoneThemeScNotify => "CmdUnlockPhoneThemeScNotify",
|
|
CmdPhoneType::CmdSelectPhoneThemeScRsp => "CmdSelectPhoneThemeScRsp",
|
|
CmdPhoneType::CmdSelectChatBubbleScRsp => "CmdSelectChatBubbleScRsp",
|
|
CmdPhoneType::CmdUnlockChatBubbleScNotify => "CmdUnlockChatBubbleScNotify",
|
|
CmdPhoneType::CmdGetPhoneDataCsReq => "CmdGetPhoneDataCsReq",
|
|
CmdPhoneType::CmdSelectPhoneThemeCsReq => "CmdSelectPhoneThemeCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPhoneTypeNone" => Some(Self::None),
|
|
"CmdGetPhoneDataScRsp" => Some(Self::CmdGetPhoneDataScRsp),
|
|
"CmdSelectChatBubbleCsReq" => Some(Self::CmdSelectChatBubbleCsReq),
|
|
"CmdUnlockPhoneThemeScNotify" => Some(Self::CmdUnlockPhoneThemeScNotify),
|
|
"CmdSelectPhoneThemeScRsp" => Some(Self::CmdSelectPhoneThemeScRsp),
|
|
"CmdSelectChatBubbleScRsp" => Some(Self::CmdSelectChatBubbleScRsp),
|
|
"CmdUnlockChatBubbleScNotify" => Some(Self::CmdUnlockChatBubbleScNotify),
|
|
"CmdGetPhoneDataCsReq" => Some(Self::CmdGetPhoneDataCsReq),
|
|
"CmdSelectPhoneThemeCsReq" => Some(Self::CmdSelectPhoneThemeCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPlayerType {
|
|
None = 0,
|
|
CmdUpdatePsnSettingsInfoCsReq = 2,
|
|
CmdPlayerHeartBeatScRsp = 3,
|
|
CmdSetMultipleAvatarPathsScRsp = 4,
|
|
CmdStaminaInfoScNotify = 5,
|
|
CmdPlayerLoginScRsp = 6,
|
|
CmdMonthCardRewardNotify = 7,
|
|
CmdGetLevelRewardScRsp = 9,
|
|
CmdPlayerLogoutCsReq = 11,
|
|
CmdSetGenderScRsp = 12,
|
|
CmdFeatureSwitchClosedScNotify = 13,
|
|
CmdClientDownloadDataScNotify = 15,
|
|
CmdServerAnnounceNotify = 16,
|
|
CmdSetNicknameScRsp = 17,
|
|
CmdSetAvatarPathCsReq = 20,
|
|
CmdGetSecretKeyInfoCsReq = 21,
|
|
CmdSetNicknameCsReq = 24,
|
|
CmdAntiAddictScNotify = 25,
|
|
CmdGateServerScNotify = 26,
|
|
CmdGetMultiPathAvatarInfoCsReq = 27,
|
|
CmdGetLevelRewardCsReq = 28,
|
|
CmdGmTalkScNotify = 29,
|
|
CmdSetPlayerInfoCsReq = 30,
|
|
CmdPlayerHeartBeatCsReq = 31,
|
|
CmdSetLanguageScRsp = 32,
|
|
CmdGmTalkCsReq = 33,
|
|
CmdGetAuthkeyCsReq = 34,
|
|
CmdUnlockAvatarPathScRsp = 38,
|
|
CmdGetBasicInfoCsReq = 40,
|
|
CmdretcodeNotify = 41,
|
|
CmdGetVideoVersionKeyCsReq = 42,
|
|
CmdPlayerLogoutScRsp = 43,
|
|
CmdSetGenderCsReq = 46,
|
|
CmdAceAntiCheaterCsReq = 47,
|
|
CmdExchangeStaminaCsReq = 48,
|
|
CmdReserveStaminaExchangeCsReq = 50,
|
|
CmdPlayerKickOutScNotify = 51,
|
|
CmdClientObjUploadScRsp = 52,
|
|
CmdSetGameplayBirthdayCsReq = 53,
|
|
CmdAvatarPathChangedNotify = 55,
|
|
CmdPlayerGetTokenCsReq = 56,
|
|
CmdSetAvatarPathScRsp = 57,
|
|
CmdSetGameplayBirthdayScRsp = 58,
|
|
CmdAceAntiCheaterScRsp = 59,
|
|
CmdClientObjDownloadDataScNotify = 61,
|
|
CmdUpdatePsnSettingsInfoScRsp = 62,
|
|
CmdUnlockAvatarPathCsReq = 63,
|
|
CmdUpdatePlayerSettingCsReq = 64,
|
|
CmdQueryProductInfoScRsp = 67,
|
|
CmdPlayerLoginCsReq = 68,
|
|
CmdQueryProductInfoCsReq = 69,
|
|
CmdUpdatePlayerSettingScRsp = 70,
|
|
CmdGetSecretKeyInfoScRsp = 71,
|
|
CmdReserveStaminaExchangeScRsp = 72,
|
|
CmdPlayerLoginFinishCsReq = 73,
|
|
CmdUpdateFeatureSwitchScNotify = 75,
|
|
CmdGetMultiPathAvatarInfoScRsp = 77,
|
|
CmdClientObjUploadCsReq = 79,
|
|
CmdSetMultipleAvatarPathsCsReq = 80,
|
|
CmdSetLanguageCsReq = 81,
|
|
CmdExchangeStaminaScRsp = 82,
|
|
CmdGetVideoVersionKeyScRsp = 83,
|
|
CmdGetBasicInfoScRsp = 85,
|
|
CmdPlayerLoginFinishScRsp = 86,
|
|
CmdGetLevelRewardTakenListScRsp = 90,
|
|
CmdGetLevelRewardTakenListCsReq = 92,
|
|
CmdPlayerGetTokenScRsp = 93,
|
|
CmdSetPlayerInfoScRsp = 95,
|
|
CmdSetRedPointStatusScNotify = 96,
|
|
CmdGetAuthkeyScRsp = 97,
|
|
CmdRegionStopScNotify = 98,
|
|
CmdGmTalkScRsp = 99,
|
|
CmdDailyRefreshNotify = 100,
|
|
}
|
|
impl CmdPlayerType {
|
|
/// 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 {
|
|
CmdPlayerType::None => "CmdPlayerTypeNone",
|
|
CmdPlayerType::CmdUpdatePsnSettingsInfoCsReq => {
|
|
"CmdUpdatePsnSettingsInfoCsReq"
|
|
}
|
|
CmdPlayerType::CmdPlayerHeartBeatScRsp => "CmdPlayerHeartBeatScRsp",
|
|
CmdPlayerType::CmdSetMultipleAvatarPathsScRsp => {
|
|
"CmdSetMultipleAvatarPathsScRsp"
|
|
}
|
|
CmdPlayerType::CmdStaminaInfoScNotify => "CmdStaminaInfoScNotify",
|
|
CmdPlayerType::CmdPlayerLoginScRsp => "CmdPlayerLoginScRsp",
|
|
CmdPlayerType::CmdMonthCardRewardNotify => "CmdMonthCardRewardNotify",
|
|
CmdPlayerType::CmdGetLevelRewardScRsp => "CmdGetLevelRewardScRsp",
|
|
CmdPlayerType::CmdPlayerLogoutCsReq => "CmdPlayerLogoutCsReq",
|
|
CmdPlayerType::CmdSetGenderScRsp => "CmdSetGenderScRsp",
|
|
CmdPlayerType::CmdFeatureSwitchClosedScNotify => {
|
|
"CmdFeatureSwitchClosedScNotify"
|
|
}
|
|
CmdPlayerType::CmdClientDownloadDataScNotify => {
|
|
"CmdClientDownloadDataScNotify"
|
|
}
|
|
CmdPlayerType::CmdServerAnnounceNotify => "CmdServerAnnounceNotify",
|
|
CmdPlayerType::CmdSetNicknameScRsp => "CmdSetNicknameScRsp",
|
|
CmdPlayerType::CmdSetAvatarPathCsReq => "CmdSetAvatarPathCsReq",
|
|
CmdPlayerType::CmdGetSecretKeyInfoCsReq => "CmdGetSecretKeyInfoCsReq",
|
|
CmdPlayerType::CmdSetNicknameCsReq => "CmdSetNicknameCsReq",
|
|
CmdPlayerType::CmdAntiAddictScNotify => "CmdAntiAddictScNotify",
|
|
CmdPlayerType::CmdGateServerScNotify => "CmdGateServerScNotify",
|
|
CmdPlayerType::CmdGetMultiPathAvatarInfoCsReq => {
|
|
"CmdGetMultiPathAvatarInfoCsReq"
|
|
}
|
|
CmdPlayerType::CmdGetLevelRewardCsReq => "CmdGetLevelRewardCsReq",
|
|
CmdPlayerType::CmdGmTalkScNotify => "CmdGmTalkScNotify",
|
|
CmdPlayerType::CmdSetPlayerInfoCsReq => "CmdSetPlayerInfoCsReq",
|
|
CmdPlayerType::CmdPlayerHeartBeatCsReq => "CmdPlayerHeartBeatCsReq",
|
|
CmdPlayerType::CmdSetLanguageScRsp => "CmdSetLanguageScRsp",
|
|
CmdPlayerType::CmdGmTalkCsReq => "CmdGmTalkCsReq",
|
|
CmdPlayerType::CmdGetAuthkeyCsReq => "CmdGetAuthkeyCsReq",
|
|
CmdPlayerType::CmdUnlockAvatarPathScRsp => "CmdUnlockAvatarPathScRsp",
|
|
CmdPlayerType::CmdGetBasicInfoCsReq => "CmdGetBasicInfoCsReq",
|
|
CmdPlayerType::CmdretcodeNotify => "CmdretcodeNotify",
|
|
CmdPlayerType::CmdGetVideoVersionKeyCsReq => "CmdGetVideoVersionKeyCsReq",
|
|
CmdPlayerType::CmdPlayerLogoutScRsp => "CmdPlayerLogoutScRsp",
|
|
CmdPlayerType::CmdSetGenderCsReq => "CmdSetGenderCsReq",
|
|
CmdPlayerType::CmdAceAntiCheaterCsReq => "CmdAceAntiCheaterCsReq",
|
|
CmdPlayerType::CmdExchangeStaminaCsReq => "CmdExchangeStaminaCsReq",
|
|
CmdPlayerType::CmdReserveStaminaExchangeCsReq => {
|
|
"CmdReserveStaminaExchangeCsReq"
|
|
}
|
|
CmdPlayerType::CmdPlayerKickOutScNotify => "CmdPlayerKickOutScNotify",
|
|
CmdPlayerType::CmdClientObjUploadScRsp => "CmdClientObjUploadScRsp",
|
|
CmdPlayerType::CmdSetGameplayBirthdayCsReq => "CmdSetGameplayBirthdayCsReq",
|
|
CmdPlayerType::CmdAvatarPathChangedNotify => "CmdAvatarPathChangedNotify",
|
|
CmdPlayerType::CmdPlayerGetTokenCsReq => "CmdPlayerGetTokenCsReq",
|
|
CmdPlayerType::CmdSetAvatarPathScRsp => "CmdSetAvatarPathScRsp",
|
|
CmdPlayerType::CmdSetGameplayBirthdayScRsp => "CmdSetGameplayBirthdayScRsp",
|
|
CmdPlayerType::CmdAceAntiCheaterScRsp => "CmdAceAntiCheaterScRsp",
|
|
CmdPlayerType::CmdClientObjDownloadDataScNotify => {
|
|
"CmdClientObjDownloadDataScNotify"
|
|
}
|
|
CmdPlayerType::CmdUpdatePsnSettingsInfoScRsp => {
|
|
"CmdUpdatePsnSettingsInfoScRsp"
|
|
}
|
|
CmdPlayerType::CmdUnlockAvatarPathCsReq => "CmdUnlockAvatarPathCsReq",
|
|
CmdPlayerType::CmdUpdatePlayerSettingCsReq => "CmdUpdatePlayerSettingCsReq",
|
|
CmdPlayerType::CmdQueryProductInfoScRsp => "CmdQueryProductInfoScRsp",
|
|
CmdPlayerType::CmdPlayerLoginCsReq => "CmdPlayerLoginCsReq",
|
|
CmdPlayerType::CmdQueryProductInfoCsReq => "CmdQueryProductInfoCsReq",
|
|
CmdPlayerType::CmdUpdatePlayerSettingScRsp => "CmdUpdatePlayerSettingScRsp",
|
|
CmdPlayerType::CmdGetSecretKeyInfoScRsp => "CmdGetSecretKeyInfoScRsp",
|
|
CmdPlayerType::CmdReserveStaminaExchangeScRsp => {
|
|
"CmdReserveStaminaExchangeScRsp"
|
|
}
|
|
CmdPlayerType::CmdPlayerLoginFinishCsReq => "CmdPlayerLoginFinishCsReq",
|
|
CmdPlayerType::CmdUpdateFeatureSwitchScNotify => {
|
|
"CmdUpdateFeatureSwitchScNotify"
|
|
}
|
|
CmdPlayerType::CmdGetMultiPathAvatarInfoScRsp => {
|
|
"CmdGetMultiPathAvatarInfoScRsp"
|
|
}
|
|
CmdPlayerType::CmdClientObjUploadCsReq => "CmdClientObjUploadCsReq",
|
|
CmdPlayerType::CmdSetMultipleAvatarPathsCsReq => {
|
|
"CmdSetMultipleAvatarPathsCsReq"
|
|
}
|
|
CmdPlayerType::CmdSetLanguageCsReq => "CmdSetLanguageCsReq",
|
|
CmdPlayerType::CmdExchangeStaminaScRsp => "CmdExchangeStaminaScRsp",
|
|
CmdPlayerType::CmdGetVideoVersionKeyScRsp => "CmdGetVideoVersionKeyScRsp",
|
|
CmdPlayerType::CmdGetBasicInfoScRsp => "CmdGetBasicInfoScRsp",
|
|
CmdPlayerType::CmdPlayerLoginFinishScRsp => "CmdPlayerLoginFinishScRsp",
|
|
CmdPlayerType::CmdGetLevelRewardTakenListScRsp => {
|
|
"CmdGetLevelRewardTakenListScRsp"
|
|
}
|
|
CmdPlayerType::CmdGetLevelRewardTakenListCsReq => {
|
|
"CmdGetLevelRewardTakenListCsReq"
|
|
}
|
|
CmdPlayerType::CmdPlayerGetTokenScRsp => "CmdPlayerGetTokenScRsp",
|
|
CmdPlayerType::CmdSetPlayerInfoScRsp => "CmdSetPlayerInfoScRsp",
|
|
CmdPlayerType::CmdSetRedPointStatusScNotify => "CmdSetRedPointStatusScNotify",
|
|
CmdPlayerType::CmdGetAuthkeyScRsp => "CmdGetAuthkeyScRsp",
|
|
CmdPlayerType::CmdRegionStopScNotify => "CmdRegionStopScNotify",
|
|
CmdPlayerType::CmdGmTalkScRsp => "CmdGmTalkScRsp",
|
|
CmdPlayerType::CmdDailyRefreshNotify => "CmdDailyRefreshNotify",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPlayerTypeNone" => Some(Self::None),
|
|
"CmdUpdatePsnSettingsInfoCsReq" => Some(Self::CmdUpdatePsnSettingsInfoCsReq),
|
|
"CmdPlayerHeartBeatScRsp" => Some(Self::CmdPlayerHeartBeatScRsp),
|
|
"CmdSetMultipleAvatarPathsScRsp" => {
|
|
Some(Self::CmdSetMultipleAvatarPathsScRsp)
|
|
}
|
|
"CmdStaminaInfoScNotify" => Some(Self::CmdStaminaInfoScNotify),
|
|
"CmdPlayerLoginScRsp" => Some(Self::CmdPlayerLoginScRsp),
|
|
"CmdMonthCardRewardNotify" => Some(Self::CmdMonthCardRewardNotify),
|
|
"CmdGetLevelRewardScRsp" => Some(Self::CmdGetLevelRewardScRsp),
|
|
"CmdPlayerLogoutCsReq" => Some(Self::CmdPlayerLogoutCsReq),
|
|
"CmdSetGenderScRsp" => Some(Self::CmdSetGenderScRsp),
|
|
"CmdFeatureSwitchClosedScNotify" => {
|
|
Some(Self::CmdFeatureSwitchClosedScNotify)
|
|
}
|
|
"CmdClientDownloadDataScNotify" => Some(Self::CmdClientDownloadDataScNotify),
|
|
"CmdServerAnnounceNotify" => Some(Self::CmdServerAnnounceNotify),
|
|
"CmdSetNicknameScRsp" => Some(Self::CmdSetNicknameScRsp),
|
|
"CmdSetAvatarPathCsReq" => Some(Self::CmdSetAvatarPathCsReq),
|
|
"CmdGetSecretKeyInfoCsReq" => Some(Self::CmdGetSecretKeyInfoCsReq),
|
|
"CmdSetNicknameCsReq" => Some(Self::CmdSetNicknameCsReq),
|
|
"CmdAntiAddictScNotify" => Some(Self::CmdAntiAddictScNotify),
|
|
"CmdGateServerScNotify" => Some(Self::CmdGateServerScNotify),
|
|
"CmdGetMultiPathAvatarInfoCsReq" => {
|
|
Some(Self::CmdGetMultiPathAvatarInfoCsReq)
|
|
}
|
|
"CmdGetLevelRewardCsReq" => Some(Self::CmdGetLevelRewardCsReq),
|
|
"CmdGmTalkScNotify" => Some(Self::CmdGmTalkScNotify),
|
|
"CmdSetPlayerInfoCsReq" => Some(Self::CmdSetPlayerInfoCsReq),
|
|
"CmdPlayerHeartBeatCsReq" => Some(Self::CmdPlayerHeartBeatCsReq),
|
|
"CmdSetLanguageScRsp" => Some(Self::CmdSetLanguageScRsp),
|
|
"CmdGmTalkCsReq" => Some(Self::CmdGmTalkCsReq),
|
|
"CmdGetAuthkeyCsReq" => Some(Self::CmdGetAuthkeyCsReq),
|
|
"CmdUnlockAvatarPathScRsp" => Some(Self::CmdUnlockAvatarPathScRsp),
|
|
"CmdGetBasicInfoCsReq" => Some(Self::CmdGetBasicInfoCsReq),
|
|
"CmdretcodeNotify" => Some(Self::CmdretcodeNotify),
|
|
"CmdGetVideoVersionKeyCsReq" => Some(Self::CmdGetVideoVersionKeyCsReq),
|
|
"CmdPlayerLogoutScRsp" => Some(Self::CmdPlayerLogoutScRsp),
|
|
"CmdSetGenderCsReq" => Some(Self::CmdSetGenderCsReq),
|
|
"CmdAceAntiCheaterCsReq" => Some(Self::CmdAceAntiCheaterCsReq),
|
|
"CmdExchangeStaminaCsReq" => Some(Self::CmdExchangeStaminaCsReq),
|
|
"CmdReserveStaminaExchangeCsReq" => {
|
|
Some(Self::CmdReserveStaminaExchangeCsReq)
|
|
}
|
|
"CmdPlayerKickOutScNotify" => Some(Self::CmdPlayerKickOutScNotify),
|
|
"CmdClientObjUploadScRsp" => Some(Self::CmdClientObjUploadScRsp),
|
|
"CmdSetGameplayBirthdayCsReq" => Some(Self::CmdSetGameplayBirthdayCsReq),
|
|
"CmdAvatarPathChangedNotify" => Some(Self::CmdAvatarPathChangedNotify),
|
|
"CmdPlayerGetTokenCsReq" => Some(Self::CmdPlayerGetTokenCsReq),
|
|
"CmdSetAvatarPathScRsp" => Some(Self::CmdSetAvatarPathScRsp),
|
|
"CmdSetGameplayBirthdayScRsp" => Some(Self::CmdSetGameplayBirthdayScRsp),
|
|
"CmdAceAntiCheaterScRsp" => Some(Self::CmdAceAntiCheaterScRsp),
|
|
"CmdClientObjDownloadDataScNotify" => {
|
|
Some(Self::CmdClientObjDownloadDataScNotify)
|
|
}
|
|
"CmdUpdatePsnSettingsInfoScRsp" => Some(Self::CmdUpdatePsnSettingsInfoScRsp),
|
|
"CmdUnlockAvatarPathCsReq" => Some(Self::CmdUnlockAvatarPathCsReq),
|
|
"CmdUpdatePlayerSettingCsReq" => Some(Self::CmdUpdatePlayerSettingCsReq),
|
|
"CmdQueryProductInfoScRsp" => Some(Self::CmdQueryProductInfoScRsp),
|
|
"CmdPlayerLoginCsReq" => Some(Self::CmdPlayerLoginCsReq),
|
|
"CmdQueryProductInfoCsReq" => Some(Self::CmdQueryProductInfoCsReq),
|
|
"CmdUpdatePlayerSettingScRsp" => Some(Self::CmdUpdatePlayerSettingScRsp),
|
|
"CmdGetSecretKeyInfoScRsp" => Some(Self::CmdGetSecretKeyInfoScRsp),
|
|
"CmdReserveStaminaExchangeScRsp" => {
|
|
Some(Self::CmdReserveStaminaExchangeScRsp)
|
|
}
|
|
"CmdPlayerLoginFinishCsReq" => Some(Self::CmdPlayerLoginFinishCsReq),
|
|
"CmdUpdateFeatureSwitchScNotify" => {
|
|
Some(Self::CmdUpdateFeatureSwitchScNotify)
|
|
}
|
|
"CmdGetMultiPathAvatarInfoScRsp" => {
|
|
Some(Self::CmdGetMultiPathAvatarInfoScRsp)
|
|
}
|
|
"CmdClientObjUploadCsReq" => Some(Self::CmdClientObjUploadCsReq),
|
|
"CmdSetMultipleAvatarPathsCsReq" => {
|
|
Some(Self::CmdSetMultipleAvatarPathsCsReq)
|
|
}
|
|
"CmdSetLanguageCsReq" => Some(Self::CmdSetLanguageCsReq),
|
|
"CmdExchangeStaminaScRsp" => Some(Self::CmdExchangeStaminaScRsp),
|
|
"CmdGetVideoVersionKeyScRsp" => Some(Self::CmdGetVideoVersionKeyScRsp),
|
|
"CmdGetBasicInfoScRsp" => Some(Self::CmdGetBasicInfoScRsp),
|
|
"CmdPlayerLoginFinishScRsp" => Some(Self::CmdPlayerLoginFinishScRsp),
|
|
"CmdGetLevelRewardTakenListScRsp" => {
|
|
Some(Self::CmdGetLevelRewardTakenListScRsp)
|
|
}
|
|
"CmdGetLevelRewardTakenListCsReq" => {
|
|
Some(Self::CmdGetLevelRewardTakenListCsReq)
|
|
}
|
|
"CmdPlayerGetTokenScRsp" => Some(Self::CmdPlayerGetTokenScRsp),
|
|
"CmdSetPlayerInfoScRsp" => Some(Self::CmdSetPlayerInfoScRsp),
|
|
"CmdSetRedPointStatusScNotify" => Some(Self::CmdSetRedPointStatusScNotify),
|
|
"CmdGetAuthkeyScRsp" => Some(Self::CmdGetAuthkeyScRsp),
|
|
"CmdRegionStopScNotify" => Some(Self::CmdRegionStopScNotify),
|
|
"CmdGmTalkScRsp" => Some(Self::CmdGmTalkScRsp),
|
|
"CmdDailyRefreshNotify" => Some(Self::CmdDailyRefreshNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPlayerBoardType {
|
|
None = 0,
|
|
CmdGetPlayerBoardDataScRsp = 2806,
|
|
CmdSetHeadIconCsReq = 2811,
|
|
CmdSetIsDisplayAvatarInfoScRsp = 2829,
|
|
CmdSetSignatureCsReq = 2833,
|
|
CmdSetIsDisplayAvatarInfoCsReq = 2839,
|
|
CmdSetHeadIconScRsp = 2843,
|
|
CmdUnlockHeadIconScNotify = 2851,
|
|
CmdSetAssistAvatarCsReq = 2854,
|
|
CmdSetDisplayAvatarCsReq = 2856,
|
|
CmdSetAssistAvatarScRsp = 2865,
|
|
CmdGetPlayerBoardDataCsReq = 2868,
|
|
CmdSetDisplayAvatarScRsp = 2893,
|
|
CmdSetSignatureScRsp = 2899,
|
|
}
|
|
impl CmdPlayerBoardType {
|
|
/// 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 {
|
|
CmdPlayerBoardType::None => "CmdPlayerBoardTypeNone",
|
|
CmdPlayerBoardType::CmdGetPlayerBoardDataScRsp => {
|
|
"CmdGetPlayerBoardDataScRsp"
|
|
}
|
|
CmdPlayerBoardType::CmdSetHeadIconCsReq => "CmdSetHeadIconCsReq",
|
|
CmdPlayerBoardType::CmdSetIsDisplayAvatarInfoScRsp => {
|
|
"CmdSetIsDisplayAvatarInfoScRsp"
|
|
}
|
|
CmdPlayerBoardType::CmdSetSignatureCsReq => "CmdSetSignatureCsReq",
|
|
CmdPlayerBoardType::CmdSetIsDisplayAvatarInfoCsReq => {
|
|
"CmdSetIsDisplayAvatarInfoCsReq"
|
|
}
|
|
CmdPlayerBoardType::CmdSetHeadIconScRsp => "CmdSetHeadIconScRsp",
|
|
CmdPlayerBoardType::CmdUnlockHeadIconScNotify => "CmdUnlockHeadIconScNotify",
|
|
CmdPlayerBoardType::CmdSetAssistAvatarCsReq => "CmdSetAssistAvatarCsReq",
|
|
CmdPlayerBoardType::CmdSetDisplayAvatarCsReq => "CmdSetDisplayAvatarCsReq",
|
|
CmdPlayerBoardType::CmdSetAssistAvatarScRsp => "CmdSetAssistAvatarScRsp",
|
|
CmdPlayerBoardType::CmdGetPlayerBoardDataCsReq => {
|
|
"CmdGetPlayerBoardDataCsReq"
|
|
}
|
|
CmdPlayerBoardType::CmdSetDisplayAvatarScRsp => "CmdSetDisplayAvatarScRsp",
|
|
CmdPlayerBoardType::CmdSetSignatureScRsp => "CmdSetSignatureScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPlayerBoardTypeNone" => Some(Self::None),
|
|
"CmdGetPlayerBoardDataScRsp" => Some(Self::CmdGetPlayerBoardDataScRsp),
|
|
"CmdSetHeadIconCsReq" => Some(Self::CmdSetHeadIconCsReq),
|
|
"CmdSetIsDisplayAvatarInfoScRsp" => {
|
|
Some(Self::CmdSetIsDisplayAvatarInfoScRsp)
|
|
}
|
|
"CmdSetSignatureCsReq" => Some(Self::CmdSetSignatureCsReq),
|
|
"CmdSetIsDisplayAvatarInfoCsReq" => {
|
|
Some(Self::CmdSetIsDisplayAvatarInfoCsReq)
|
|
}
|
|
"CmdSetHeadIconScRsp" => Some(Self::CmdSetHeadIconScRsp),
|
|
"CmdUnlockHeadIconScNotify" => Some(Self::CmdUnlockHeadIconScNotify),
|
|
"CmdSetAssistAvatarCsReq" => Some(Self::CmdSetAssistAvatarCsReq),
|
|
"CmdSetDisplayAvatarCsReq" => Some(Self::CmdSetDisplayAvatarCsReq),
|
|
"CmdSetAssistAvatarScRsp" => Some(Self::CmdSetAssistAvatarScRsp),
|
|
"CmdGetPlayerBoardDataCsReq" => Some(Self::CmdGetPlayerBoardDataCsReq),
|
|
"CmdSetDisplayAvatarScRsp" => Some(Self::CmdSetDisplayAvatarScRsp),
|
|
"CmdSetSignatureScRsp" => Some(Self::CmdSetSignatureScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPlayerReturnType {
|
|
None = 0,
|
|
CmdPlayerReturnSignCsReq = 4506,
|
|
CmdPlayerReturnSignScRsp = 4511,
|
|
CmdPlayerReturnTakeRewardScRsp = 4529,
|
|
CmdPlayerReturnInfoQueryScRsp = 4533,
|
|
CmdPlayerReturnTakeRewardCsReq = 4539,
|
|
CmdPlayerReturnPointChangeScNotify = 4543,
|
|
CmdPlayerReturnInfoQueryCsReq = 4551,
|
|
CmdPlayerReturnTakePointRewardCsReq = 4556,
|
|
CmdPlayerReturnStartScNotify = 4568,
|
|
CmdPlayerReturnTakePointRewardScRsp = 4593,
|
|
CmdPlayerReturnForceFinishScNotify = 4599,
|
|
}
|
|
impl CmdPlayerReturnType {
|
|
/// 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 {
|
|
CmdPlayerReturnType::None => "CmdPlayerReturnTypeNone",
|
|
CmdPlayerReturnType::CmdPlayerReturnSignCsReq => "CmdPlayerReturnSignCsReq",
|
|
CmdPlayerReturnType::CmdPlayerReturnSignScRsp => "CmdPlayerReturnSignScRsp",
|
|
CmdPlayerReturnType::CmdPlayerReturnTakeRewardScRsp => {
|
|
"CmdPlayerReturnTakeRewardScRsp"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnInfoQueryScRsp => {
|
|
"CmdPlayerReturnInfoQueryScRsp"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnTakeRewardCsReq => {
|
|
"CmdPlayerReturnTakeRewardCsReq"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnPointChangeScNotify => {
|
|
"CmdPlayerReturnPointChangeScNotify"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnInfoQueryCsReq => {
|
|
"CmdPlayerReturnInfoQueryCsReq"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnTakePointRewardCsReq => {
|
|
"CmdPlayerReturnTakePointRewardCsReq"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnStartScNotify => {
|
|
"CmdPlayerReturnStartScNotify"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnTakePointRewardScRsp => {
|
|
"CmdPlayerReturnTakePointRewardScRsp"
|
|
}
|
|
CmdPlayerReturnType::CmdPlayerReturnForceFinishScNotify => {
|
|
"CmdPlayerReturnForceFinishScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPlayerReturnTypeNone" => Some(Self::None),
|
|
"CmdPlayerReturnSignCsReq" => Some(Self::CmdPlayerReturnSignCsReq),
|
|
"CmdPlayerReturnSignScRsp" => Some(Self::CmdPlayerReturnSignScRsp),
|
|
"CmdPlayerReturnTakeRewardScRsp" => {
|
|
Some(Self::CmdPlayerReturnTakeRewardScRsp)
|
|
}
|
|
"CmdPlayerReturnInfoQueryScRsp" => Some(Self::CmdPlayerReturnInfoQueryScRsp),
|
|
"CmdPlayerReturnTakeRewardCsReq" => {
|
|
Some(Self::CmdPlayerReturnTakeRewardCsReq)
|
|
}
|
|
"CmdPlayerReturnPointChangeScNotify" => {
|
|
Some(Self::CmdPlayerReturnPointChangeScNotify)
|
|
}
|
|
"CmdPlayerReturnInfoQueryCsReq" => Some(Self::CmdPlayerReturnInfoQueryCsReq),
|
|
"CmdPlayerReturnTakePointRewardCsReq" => {
|
|
Some(Self::CmdPlayerReturnTakePointRewardCsReq)
|
|
}
|
|
"CmdPlayerReturnStartScNotify" => Some(Self::CmdPlayerReturnStartScNotify),
|
|
"CmdPlayerReturnTakePointRewardScRsp" => {
|
|
Some(Self::CmdPlayerReturnTakePointRewardScRsp)
|
|
}
|
|
"CmdPlayerReturnForceFinishScNotify" => {
|
|
Some(Self::CmdPlayerReturnForceFinishScNotify)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPlotType {
|
|
None = 0,
|
|
CmdFinishPlotScRsp = 1106,
|
|
CmdFinishPlotCsReq = 1168,
|
|
}
|
|
impl CmdPlotType {
|
|
/// 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 {
|
|
CmdPlotType::None => "CmdPlotTypeNone",
|
|
CmdPlotType::CmdFinishPlotScRsp => "CmdFinishPlotScRsp",
|
|
CmdPlotType::CmdFinishPlotCsReq => "CmdFinishPlotCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPlotTypeNone" => Some(Self::None),
|
|
"CmdFinishPlotScRsp" => Some(Self::CmdFinishPlotScRsp),
|
|
"CmdFinishPlotCsReq" => Some(Self::CmdFinishPlotCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPunkLordType {
|
|
None = 0,
|
|
CmdGetPunkLordMonsterDataScRsp = 3206,
|
|
CmdGetKilledPunkLordMonsterDataScRsp = 3209,
|
|
CmdStartPunkLordRaidCsReq = 3211,
|
|
CmdTakeKilledPunkLordMonsterScoreScRsp = 3216,
|
|
CmdGetPunkLordBattleRecordCsReq = 3223,
|
|
CmdPunkLordRaidTimeOutScNotify = 3225,
|
|
CmdGetKilledPunkLordMonsterDataCsReq = 3228,
|
|
CmdSummonPunkLordMonsterScRsp = 3229,
|
|
CmdTakeKilledPunkLordMonsterScoreCsReq = 3232,
|
|
CmdGetPunkLordDataCsReq = 3234,
|
|
CmdSummonPunkLordMonsterCsReq = 3239,
|
|
CmdStartPunkLordRaidScRsp = 3243,
|
|
CmdTakePunkLordPointRewardScRsp = 3248,
|
|
CmdSharePunkLordMonsterCsReq = 3256,
|
|
CmdTakePunkLordPointRewardCsReq = 3265,
|
|
CmdGetPunkLordMonsterDataCsReq = 3268,
|
|
CmdGetPunkLordBattleRecordScRsp = 3278,
|
|
CmdPunkLordMonsterKilledNotify = 3281,
|
|
CmdPunkLordMonsterInfoScNotify = 3282,
|
|
CmdPunkLordDataChangeNotify = 3284,
|
|
CmdPunkLordBattleResultScNotify = 3290,
|
|
CmdSharePunkLordMonsterScRsp = 3293,
|
|
CmdGetPunkLordDataScRsp = 3297,
|
|
}
|
|
impl CmdPunkLordType {
|
|
/// 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 {
|
|
CmdPunkLordType::None => "CmdPunkLordTypeNone",
|
|
CmdPunkLordType::CmdGetPunkLordMonsterDataScRsp => {
|
|
"CmdGetPunkLordMonsterDataScRsp"
|
|
}
|
|
CmdPunkLordType::CmdGetKilledPunkLordMonsterDataScRsp => {
|
|
"CmdGetKilledPunkLordMonsterDataScRsp"
|
|
}
|
|
CmdPunkLordType::CmdStartPunkLordRaidCsReq => "CmdStartPunkLordRaidCsReq",
|
|
CmdPunkLordType::CmdTakeKilledPunkLordMonsterScoreScRsp => {
|
|
"CmdTakeKilledPunkLordMonsterScoreScRsp"
|
|
}
|
|
CmdPunkLordType::CmdGetPunkLordBattleRecordCsReq => {
|
|
"CmdGetPunkLordBattleRecordCsReq"
|
|
}
|
|
CmdPunkLordType::CmdPunkLordRaidTimeOutScNotify => {
|
|
"CmdPunkLordRaidTimeOutScNotify"
|
|
}
|
|
CmdPunkLordType::CmdGetKilledPunkLordMonsterDataCsReq => {
|
|
"CmdGetKilledPunkLordMonsterDataCsReq"
|
|
}
|
|
CmdPunkLordType::CmdSummonPunkLordMonsterScRsp => {
|
|
"CmdSummonPunkLordMonsterScRsp"
|
|
}
|
|
CmdPunkLordType::CmdTakeKilledPunkLordMonsterScoreCsReq => {
|
|
"CmdTakeKilledPunkLordMonsterScoreCsReq"
|
|
}
|
|
CmdPunkLordType::CmdGetPunkLordDataCsReq => "CmdGetPunkLordDataCsReq",
|
|
CmdPunkLordType::CmdSummonPunkLordMonsterCsReq => {
|
|
"CmdSummonPunkLordMonsterCsReq"
|
|
}
|
|
CmdPunkLordType::CmdStartPunkLordRaidScRsp => "CmdStartPunkLordRaidScRsp",
|
|
CmdPunkLordType::CmdTakePunkLordPointRewardScRsp => {
|
|
"CmdTakePunkLordPointRewardScRsp"
|
|
}
|
|
CmdPunkLordType::CmdSharePunkLordMonsterCsReq => {
|
|
"CmdSharePunkLordMonsterCsReq"
|
|
}
|
|
CmdPunkLordType::CmdTakePunkLordPointRewardCsReq => {
|
|
"CmdTakePunkLordPointRewardCsReq"
|
|
}
|
|
CmdPunkLordType::CmdGetPunkLordMonsterDataCsReq => {
|
|
"CmdGetPunkLordMonsterDataCsReq"
|
|
}
|
|
CmdPunkLordType::CmdGetPunkLordBattleRecordScRsp => {
|
|
"CmdGetPunkLordBattleRecordScRsp"
|
|
}
|
|
CmdPunkLordType::CmdPunkLordMonsterKilledNotify => {
|
|
"CmdPunkLordMonsterKilledNotify"
|
|
}
|
|
CmdPunkLordType::CmdPunkLordMonsterInfoScNotify => {
|
|
"CmdPunkLordMonsterInfoScNotify"
|
|
}
|
|
CmdPunkLordType::CmdPunkLordDataChangeNotify => "CmdPunkLordDataChangeNotify",
|
|
CmdPunkLordType::CmdPunkLordBattleResultScNotify => {
|
|
"CmdPunkLordBattleResultScNotify"
|
|
}
|
|
CmdPunkLordType::CmdSharePunkLordMonsterScRsp => {
|
|
"CmdSharePunkLordMonsterScRsp"
|
|
}
|
|
CmdPunkLordType::CmdGetPunkLordDataScRsp => "CmdGetPunkLordDataScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPunkLordTypeNone" => Some(Self::None),
|
|
"CmdGetPunkLordMonsterDataScRsp" => {
|
|
Some(Self::CmdGetPunkLordMonsterDataScRsp)
|
|
}
|
|
"CmdGetKilledPunkLordMonsterDataScRsp" => {
|
|
Some(Self::CmdGetKilledPunkLordMonsterDataScRsp)
|
|
}
|
|
"CmdStartPunkLordRaidCsReq" => Some(Self::CmdStartPunkLordRaidCsReq),
|
|
"CmdTakeKilledPunkLordMonsterScoreScRsp" => {
|
|
Some(Self::CmdTakeKilledPunkLordMonsterScoreScRsp)
|
|
}
|
|
"CmdGetPunkLordBattleRecordCsReq" => {
|
|
Some(Self::CmdGetPunkLordBattleRecordCsReq)
|
|
}
|
|
"CmdPunkLordRaidTimeOutScNotify" => {
|
|
Some(Self::CmdPunkLordRaidTimeOutScNotify)
|
|
}
|
|
"CmdGetKilledPunkLordMonsterDataCsReq" => {
|
|
Some(Self::CmdGetKilledPunkLordMonsterDataCsReq)
|
|
}
|
|
"CmdSummonPunkLordMonsterScRsp" => Some(Self::CmdSummonPunkLordMonsterScRsp),
|
|
"CmdTakeKilledPunkLordMonsterScoreCsReq" => {
|
|
Some(Self::CmdTakeKilledPunkLordMonsterScoreCsReq)
|
|
}
|
|
"CmdGetPunkLordDataCsReq" => Some(Self::CmdGetPunkLordDataCsReq),
|
|
"CmdSummonPunkLordMonsterCsReq" => Some(Self::CmdSummonPunkLordMonsterCsReq),
|
|
"CmdStartPunkLordRaidScRsp" => Some(Self::CmdStartPunkLordRaidScRsp),
|
|
"CmdTakePunkLordPointRewardScRsp" => {
|
|
Some(Self::CmdTakePunkLordPointRewardScRsp)
|
|
}
|
|
"CmdSharePunkLordMonsterCsReq" => Some(Self::CmdSharePunkLordMonsterCsReq),
|
|
"CmdTakePunkLordPointRewardCsReq" => {
|
|
Some(Self::CmdTakePunkLordPointRewardCsReq)
|
|
}
|
|
"CmdGetPunkLordMonsterDataCsReq" => {
|
|
Some(Self::CmdGetPunkLordMonsterDataCsReq)
|
|
}
|
|
"CmdGetPunkLordBattleRecordScRsp" => {
|
|
Some(Self::CmdGetPunkLordBattleRecordScRsp)
|
|
}
|
|
"CmdPunkLordMonsterKilledNotify" => {
|
|
Some(Self::CmdPunkLordMonsterKilledNotify)
|
|
}
|
|
"CmdPunkLordMonsterInfoScNotify" => {
|
|
Some(Self::CmdPunkLordMonsterInfoScNotify)
|
|
}
|
|
"CmdPunkLordDataChangeNotify" => Some(Self::CmdPunkLordDataChangeNotify),
|
|
"CmdPunkLordBattleResultScNotify" => {
|
|
Some(Self::CmdPunkLordBattleResultScNotify)
|
|
}
|
|
"CmdSharePunkLordMonsterScRsp" => Some(Self::CmdSharePunkLordMonsterScRsp),
|
|
"CmdGetPunkLordDataScRsp" => Some(Self::CmdGetPunkLordDataScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdQuestType {
|
|
None = 0,
|
|
CmdGetQuestDataScRsp = 906,
|
|
CmdTakeQuestRewardCsReq = 911,
|
|
CmdGetQuestRecordScRsp = 929,
|
|
CmdFinishQuestCsReq = 933,
|
|
CmdBatchGetQuestDataScRsp = 934,
|
|
CmdGetQuestRecordCsReq = 939,
|
|
CmdTakeQuestRewardScRsp = 943,
|
|
CmdQuestRecordScNotify = 951,
|
|
CmdTakeQuestOptionalRewardCsReq = 954,
|
|
CmdTakeQuestOptionalRewardScRsp = 965,
|
|
CmdGetQuestDataCsReq = 968,
|
|
CmdBatchGetQuestDataCsReq = 982,
|
|
CmdFinishQuestScRsp = 999,
|
|
}
|
|
impl CmdQuestType {
|
|
/// 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 {
|
|
CmdQuestType::None => "CmdQuestTypeNone",
|
|
CmdQuestType::CmdGetQuestDataScRsp => "CmdGetQuestDataScRsp",
|
|
CmdQuestType::CmdTakeQuestRewardCsReq => "CmdTakeQuestRewardCsReq",
|
|
CmdQuestType::CmdGetQuestRecordScRsp => "CmdGetQuestRecordScRsp",
|
|
CmdQuestType::CmdFinishQuestCsReq => "CmdFinishQuestCsReq",
|
|
CmdQuestType::CmdBatchGetQuestDataScRsp => "CmdBatchGetQuestDataScRsp",
|
|
CmdQuestType::CmdGetQuestRecordCsReq => "CmdGetQuestRecordCsReq",
|
|
CmdQuestType::CmdTakeQuestRewardScRsp => "CmdTakeQuestRewardScRsp",
|
|
CmdQuestType::CmdQuestRecordScNotify => "CmdQuestRecordScNotify",
|
|
CmdQuestType::CmdTakeQuestOptionalRewardCsReq => {
|
|
"CmdTakeQuestOptionalRewardCsReq"
|
|
}
|
|
CmdQuestType::CmdTakeQuestOptionalRewardScRsp => {
|
|
"CmdTakeQuestOptionalRewardScRsp"
|
|
}
|
|
CmdQuestType::CmdGetQuestDataCsReq => "CmdGetQuestDataCsReq",
|
|
CmdQuestType::CmdBatchGetQuestDataCsReq => "CmdBatchGetQuestDataCsReq",
|
|
CmdQuestType::CmdFinishQuestScRsp => "CmdFinishQuestScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdQuestTypeNone" => Some(Self::None),
|
|
"CmdGetQuestDataScRsp" => Some(Self::CmdGetQuestDataScRsp),
|
|
"CmdTakeQuestRewardCsReq" => Some(Self::CmdTakeQuestRewardCsReq),
|
|
"CmdGetQuestRecordScRsp" => Some(Self::CmdGetQuestRecordScRsp),
|
|
"CmdFinishQuestCsReq" => Some(Self::CmdFinishQuestCsReq),
|
|
"CmdBatchGetQuestDataScRsp" => Some(Self::CmdBatchGetQuestDataScRsp),
|
|
"CmdGetQuestRecordCsReq" => Some(Self::CmdGetQuestRecordCsReq),
|
|
"CmdTakeQuestRewardScRsp" => Some(Self::CmdTakeQuestRewardScRsp),
|
|
"CmdQuestRecordScNotify" => Some(Self::CmdQuestRecordScNotify),
|
|
"CmdTakeQuestOptionalRewardCsReq" => {
|
|
Some(Self::CmdTakeQuestOptionalRewardCsReq)
|
|
}
|
|
"CmdTakeQuestOptionalRewardScRsp" => {
|
|
Some(Self::CmdTakeQuestOptionalRewardScRsp)
|
|
}
|
|
"CmdGetQuestDataCsReq" => Some(Self::CmdGetQuestDataCsReq),
|
|
"CmdBatchGetQuestDataCsReq" => Some(Self::CmdBatchGetQuestDataCsReq),
|
|
"CmdFinishQuestScRsp" => Some(Self::CmdFinishQuestScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRaidType {
|
|
None = 0,
|
|
CmdStartRaidScRsp = 2206,
|
|
CmdLeaveRaidCsReq = 2211,
|
|
CmdRaidKickByServerScNotify = 2224,
|
|
CmdDelSaveRaidScNotify = 2225,
|
|
CmdTakeChallengeRaidRewardCsReq = 2229,
|
|
CmdChallengeRaidNotify = 2233,
|
|
CmdGetSaveRaidScRsp = 2234,
|
|
CmdGetChallengeRaidInfoScRsp = 2239,
|
|
CmdLeaveRaidScRsp = 2243,
|
|
CmdSetClientRaidTargetCountScRsp = 2248,
|
|
CmdTakeChallengeRaidRewardScRsp = 2251,
|
|
CmdGetRaidInfoScRsp = 2254,
|
|
CmdRaidInfoNotify = 2256,
|
|
CmdSetClientRaidTargetCountCsReq = 2265,
|
|
CmdStartRaidCsReq = 2268,
|
|
CmdGetSaveRaidCsReq = 2282,
|
|
CmdGetChallengeRaidInfoCsReq = 2293,
|
|
CmdGetAllSaveRaidCsReq = 2297,
|
|
CmdGetAllSaveRaidScRsp = 2298,
|
|
CmdGetRaidInfoCsReq = 2299,
|
|
}
|
|
impl CmdRaidType {
|
|
/// 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 {
|
|
CmdRaidType::None => "CmdRaidTypeNone",
|
|
CmdRaidType::CmdStartRaidScRsp => "CmdStartRaidScRsp",
|
|
CmdRaidType::CmdLeaveRaidCsReq => "CmdLeaveRaidCsReq",
|
|
CmdRaidType::CmdRaidKickByServerScNotify => "CmdRaidKickByServerScNotify",
|
|
CmdRaidType::CmdDelSaveRaidScNotify => "CmdDelSaveRaidScNotify",
|
|
CmdRaidType::CmdTakeChallengeRaidRewardCsReq => {
|
|
"CmdTakeChallengeRaidRewardCsReq"
|
|
}
|
|
CmdRaidType::CmdChallengeRaidNotify => "CmdChallengeRaidNotify",
|
|
CmdRaidType::CmdGetSaveRaidScRsp => "CmdGetSaveRaidScRsp",
|
|
CmdRaidType::CmdGetChallengeRaidInfoScRsp => "CmdGetChallengeRaidInfoScRsp",
|
|
CmdRaidType::CmdLeaveRaidScRsp => "CmdLeaveRaidScRsp",
|
|
CmdRaidType::CmdSetClientRaidTargetCountScRsp => {
|
|
"CmdSetClientRaidTargetCountScRsp"
|
|
}
|
|
CmdRaidType::CmdTakeChallengeRaidRewardScRsp => {
|
|
"CmdTakeChallengeRaidRewardScRsp"
|
|
}
|
|
CmdRaidType::CmdGetRaidInfoScRsp => "CmdGetRaidInfoScRsp",
|
|
CmdRaidType::CmdRaidInfoNotify => "CmdRaidInfoNotify",
|
|
CmdRaidType::CmdSetClientRaidTargetCountCsReq => {
|
|
"CmdSetClientRaidTargetCountCsReq"
|
|
}
|
|
CmdRaidType::CmdStartRaidCsReq => "CmdStartRaidCsReq",
|
|
CmdRaidType::CmdGetSaveRaidCsReq => "CmdGetSaveRaidCsReq",
|
|
CmdRaidType::CmdGetChallengeRaidInfoCsReq => "CmdGetChallengeRaidInfoCsReq",
|
|
CmdRaidType::CmdGetAllSaveRaidCsReq => "CmdGetAllSaveRaidCsReq",
|
|
CmdRaidType::CmdGetAllSaveRaidScRsp => "CmdGetAllSaveRaidScRsp",
|
|
CmdRaidType::CmdGetRaidInfoCsReq => "CmdGetRaidInfoCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRaidTypeNone" => Some(Self::None),
|
|
"CmdStartRaidScRsp" => Some(Self::CmdStartRaidScRsp),
|
|
"CmdLeaveRaidCsReq" => Some(Self::CmdLeaveRaidCsReq),
|
|
"CmdRaidKickByServerScNotify" => Some(Self::CmdRaidKickByServerScNotify),
|
|
"CmdDelSaveRaidScNotify" => Some(Self::CmdDelSaveRaidScNotify),
|
|
"CmdTakeChallengeRaidRewardCsReq" => {
|
|
Some(Self::CmdTakeChallengeRaidRewardCsReq)
|
|
}
|
|
"CmdChallengeRaidNotify" => Some(Self::CmdChallengeRaidNotify),
|
|
"CmdGetSaveRaidScRsp" => Some(Self::CmdGetSaveRaidScRsp),
|
|
"CmdGetChallengeRaidInfoScRsp" => Some(Self::CmdGetChallengeRaidInfoScRsp),
|
|
"CmdLeaveRaidScRsp" => Some(Self::CmdLeaveRaidScRsp),
|
|
"CmdSetClientRaidTargetCountScRsp" => {
|
|
Some(Self::CmdSetClientRaidTargetCountScRsp)
|
|
}
|
|
"CmdTakeChallengeRaidRewardScRsp" => {
|
|
Some(Self::CmdTakeChallengeRaidRewardScRsp)
|
|
}
|
|
"CmdGetRaidInfoScRsp" => Some(Self::CmdGetRaidInfoScRsp),
|
|
"CmdRaidInfoNotify" => Some(Self::CmdRaidInfoNotify),
|
|
"CmdSetClientRaidTargetCountCsReq" => {
|
|
Some(Self::CmdSetClientRaidTargetCountCsReq)
|
|
}
|
|
"CmdStartRaidCsReq" => Some(Self::CmdStartRaidCsReq),
|
|
"CmdGetSaveRaidCsReq" => Some(Self::CmdGetSaveRaidCsReq),
|
|
"CmdGetChallengeRaidInfoCsReq" => Some(Self::CmdGetChallengeRaidInfoCsReq),
|
|
"CmdGetAllSaveRaidCsReq" => Some(Self::CmdGetAllSaveRaidCsReq),
|
|
"CmdGetAllSaveRaidScRsp" => Some(Self::CmdGetAllSaveRaidScRsp),
|
|
"CmdGetRaidInfoCsReq" => Some(Self::CmdGetRaidInfoCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRaidCollectionType {
|
|
None = 0,
|
|
CmdRaidCollectionDataScRsp = 6943,
|
|
CmdRaidCollectionEnterNextRaidScRsp = 6944,
|
|
CmdRaidCollectionDataScNotify = 6952,
|
|
CmdRaidCollectionDataCsReq = 6959,
|
|
CmdRaidCollectionEnterNextRaidCsReq = 6960,
|
|
}
|
|
impl CmdRaidCollectionType {
|
|
/// 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 {
|
|
CmdRaidCollectionType::None => "CmdRaidCollectionTypeNone",
|
|
CmdRaidCollectionType::CmdRaidCollectionDataScRsp => {
|
|
"CmdRaidCollectionDataScRsp"
|
|
}
|
|
CmdRaidCollectionType::CmdRaidCollectionEnterNextRaidScRsp => {
|
|
"CmdRaidCollectionEnterNextRaidScRsp"
|
|
}
|
|
CmdRaidCollectionType::CmdRaidCollectionDataScNotify => {
|
|
"CmdRaidCollectionDataScNotify"
|
|
}
|
|
CmdRaidCollectionType::CmdRaidCollectionDataCsReq => {
|
|
"CmdRaidCollectionDataCsReq"
|
|
}
|
|
CmdRaidCollectionType::CmdRaidCollectionEnterNextRaidCsReq => {
|
|
"CmdRaidCollectionEnterNextRaidCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRaidCollectionTypeNone" => Some(Self::None),
|
|
"CmdRaidCollectionDataScRsp" => Some(Self::CmdRaidCollectionDataScRsp),
|
|
"CmdRaidCollectionEnterNextRaidScRsp" => {
|
|
Some(Self::CmdRaidCollectionEnterNextRaidScRsp)
|
|
}
|
|
"CmdRaidCollectionDataScNotify" => Some(Self::CmdRaidCollectionDataScNotify),
|
|
"CmdRaidCollectionDataCsReq" => Some(Self::CmdRaidCollectionDataCsReq),
|
|
"CmdRaidCollectionEnterNextRaidCsReq" => {
|
|
Some(Self::CmdRaidCollectionEnterNextRaidCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRedDotType {
|
|
None = 0,
|
|
CmdGetAllRedDotDataScRsp = 5906,
|
|
CmdUpdateRedDotDataCsReq = 5911,
|
|
CmdUpdateRedDotDataScRsp = 5943,
|
|
CmdGetSingleRedDotParamGroupCsReq = 5956,
|
|
CmdGetAllRedDotDataCsReq = 5968,
|
|
CmdGetSingleRedDotParamGroupScRsp = 5993,
|
|
}
|
|
impl CmdRedDotType {
|
|
/// 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 {
|
|
CmdRedDotType::None => "CmdRedDotTypeNone",
|
|
CmdRedDotType::CmdGetAllRedDotDataScRsp => "CmdGetAllRedDotDataScRsp",
|
|
CmdRedDotType::CmdUpdateRedDotDataCsReq => "CmdUpdateRedDotDataCsReq",
|
|
CmdRedDotType::CmdUpdateRedDotDataScRsp => "CmdUpdateRedDotDataScRsp",
|
|
CmdRedDotType::CmdGetSingleRedDotParamGroupCsReq => {
|
|
"CmdGetSingleRedDotParamGroupCsReq"
|
|
}
|
|
CmdRedDotType::CmdGetAllRedDotDataCsReq => "CmdGetAllRedDotDataCsReq",
|
|
CmdRedDotType::CmdGetSingleRedDotParamGroupScRsp => {
|
|
"CmdGetSingleRedDotParamGroupScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRedDotTypeNone" => Some(Self::None),
|
|
"CmdGetAllRedDotDataScRsp" => Some(Self::CmdGetAllRedDotDataScRsp),
|
|
"CmdUpdateRedDotDataCsReq" => Some(Self::CmdUpdateRedDotDataCsReq),
|
|
"CmdUpdateRedDotDataScRsp" => Some(Self::CmdUpdateRedDotDataScRsp),
|
|
"CmdGetSingleRedDotParamGroupCsReq" => {
|
|
Some(Self::CmdGetSingleRedDotParamGroupCsReq)
|
|
}
|
|
"CmdGetAllRedDotDataCsReq" => Some(Self::CmdGetAllRedDotDataCsReq),
|
|
"CmdGetSingleRedDotParamGroupScRsp" => {
|
|
Some(Self::CmdGetSingleRedDotParamGroupScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdReplayType {
|
|
None = 0,
|
|
CmdGetReplayTokenScRsp = 3506,
|
|
CmdGetPlayerReplayInfoCsReq = 3511,
|
|
CmdGetPlayerReplayInfoScRsp = 3543,
|
|
CmdGetReplayTokenCsReq = 3568,
|
|
}
|
|
impl CmdReplayType {
|
|
/// 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 {
|
|
CmdReplayType::None => "CmdReplayTypeNone",
|
|
CmdReplayType::CmdGetReplayTokenScRsp => "CmdGetReplayTokenScRsp",
|
|
CmdReplayType::CmdGetPlayerReplayInfoCsReq => "CmdGetPlayerReplayInfoCsReq",
|
|
CmdReplayType::CmdGetPlayerReplayInfoScRsp => "CmdGetPlayerReplayInfoScRsp",
|
|
CmdReplayType::CmdGetReplayTokenCsReq => "CmdGetReplayTokenCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdReplayTypeNone" => Some(Self::None),
|
|
"CmdGetReplayTokenScRsp" => Some(Self::CmdGetReplayTokenScRsp),
|
|
"CmdGetPlayerReplayInfoCsReq" => Some(Self::CmdGetPlayerReplayInfoCsReq),
|
|
"CmdGetPlayerReplayInfoScRsp" => Some(Self::CmdGetPlayerReplayInfoScRsp),
|
|
"CmdGetReplayTokenCsReq" => Some(Self::CmdGetReplayTokenCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRndOptionType {
|
|
None = 0,
|
|
CmdGetRndOptionScRsp = 3406,
|
|
CmdDailyFirstMeetPamCsReq = 3411,
|
|
CmdDailyFirstMeetPamScRsp = 3443,
|
|
CmdGetRndOptionCsReq = 3468,
|
|
}
|
|
impl CmdRndOptionType {
|
|
/// 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 {
|
|
CmdRndOptionType::None => "CmdRndOptionTypeNone",
|
|
CmdRndOptionType::CmdGetRndOptionScRsp => "CmdGetRndOptionScRsp",
|
|
CmdRndOptionType::CmdDailyFirstMeetPamCsReq => "CmdDailyFirstMeetPamCsReq",
|
|
CmdRndOptionType::CmdDailyFirstMeetPamScRsp => "CmdDailyFirstMeetPamScRsp",
|
|
CmdRndOptionType::CmdGetRndOptionCsReq => "CmdGetRndOptionCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRndOptionTypeNone" => Some(Self::None),
|
|
"CmdGetRndOptionScRsp" => Some(Self::CmdGetRndOptionScRsp),
|
|
"CmdDailyFirstMeetPamCsReq" => Some(Self::CmdDailyFirstMeetPamCsReq),
|
|
"CmdDailyFirstMeetPamScRsp" => Some(Self::CmdDailyFirstMeetPamScRsp),
|
|
"CmdGetRndOptionCsReq" => Some(Self::CmdGetRndOptionCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRogueType {
|
|
None = 0,
|
|
CmdExchangeRogueRewardKeyScRsp = 1803,
|
|
CmdEnableRogueTalentScRsp = 1804,
|
|
CmdGetRogueInfoScRsp = 1806,
|
|
CmdOpenRogueChestCsReq = 1807,
|
|
CmdEnhanceRogueBuffCsReq = 1809,
|
|
CmdTakeRogueAeonLevelRewardCsReq = 1810,
|
|
CmdStartRogueCsReq = 1811,
|
|
CmdEnterRogueMapRoomCsReq = 1812,
|
|
CmdTakeRogueScoreRewardCsReq = 1817,
|
|
CmdSyncRogueRewardInfoScNotify = 1818,
|
|
CmdSyncRogueVirtualItemInfoScNotify = 1819,
|
|
CmdQuitRogueCsReq = 1823,
|
|
CmdReviveRogueAvatarScRsp = 1824,
|
|
CmdReviveRogueAvatarCsReq = 1825,
|
|
CmdGetRogueAeonInfoScRsp = 1827,
|
|
CmdGetRogueBuffEnhanceInfoScRsp = 1828,
|
|
CmdLeaveRogueScRsp = 1829,
|
|
CmdEnterRogueMapRoomScRsp = 1830,
|
|
CmdExchangeRogueRewardKeyCsReq = 1831,
|
|
CmdPickRogueAvatarCsReq = 1834,
|
|
CmdSyncRoguePickAvatarInfoScNotify = 1835,
|
|
CmdSyncRogueGetItemScNotify = 1836,
|
|
CmdGetRogueTalentInfoScRsp = 1838,
|
|
CmdLeaveRogueCsReq = 1839,
|
|
CmdOpenRogueChestScRsp = 1841,
|
|
CmdStartRogueScRsp = 1843,
|
|
CmdSyncRogueSeasonFinishScNotify = 1845,
|
|
CmdSyncRogueExploreWinScNotify = 1849,
|
|
CmdTakeRogueAeonLevelRewardScRsp = 1850,
|
|
CmdFinishAeonDialogueGroupScRsp = 1855,
|
|
CmdEnterRogueCsReq = 1856,
|
|
CmdGetRogueAeonInfoCsReq = 1857,
|
|
CmdGetRogueScoreRewardInfoCsReq = 1861,
|
|
CmdGetRogueTalentInfoCsReq = 1863,
|
|
CmdGetRogueInfoCsReq = 1868,
|
|
CmdSyncRogueMapRoomScNotify = 1869,
|
|
CmdSyncRogueAeonLevelUpRewardScNotify = 1870,
|
|
CmdFinishAeonDialogueGroupCsReq = 1877,
|
|
CmdQuitRogueScRsp = 1878,
|
|
CmdGetRogueScoreRewardInfoScRsp = 1879,
|
|
CmdEnableRogueTalentCsReq = 1880,
|
|
CmdSyncRogueFinishScNotify = 1882,
|
|
CmdSyncRogueAeonScNotify = 1883,
|
|
CmdSyncRogueReviveInfoScNotify = 1884,
|
|
CmdSyncRogueStatusScNotify = 1887,
|
|
CmdEnhanceRogueBuffScRsp = 1888,
|
|
CmdGetRogueInitialScoreScRsp = 1889,
|
|
CmdGetRogueBuffEnhanceInfoCsReq = 1890,
|
|
CmdTakeRogueScoreRewardScRsp = 1892,
|
|
CmdEnterRogueScRsp = 1893,
|
|
CmdGetRogueInitialScoreCsReq = 1895,
|
|
CmdSyncRogueAreaUnlockScNotify = 1896,
|
|
CmdPickRogueAvatarScRsp = 1897,
|
|
}
|
|
impl CmdRogueType {
|
|
/// 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 {
|
|
CmdRogueType::None => "CmdRogueTypeNone",
|
|
CmdRogueType::CmdExchangeRogueRewardKeyScRsp => {
|
|
"CmdExchangeRogueRewardKeyScRsp"
|
|
}
|
|
CmdRogueType::CmdEnableRogueTalentScRsp => "CmdEnableRogueTalentScRsp",
|
|
CmdRogueType::CmdGetRogueInfoScRsp => "CmdGetRogueInfoScRsp",
|
|
CmdRogueType::CmdOpenRogueChestCsReq => "CmdOpenRogueChestCsReq",
|
|
CmdRogueType::CmdEnhanceRogueBuffCsReq => "CmdEnhanceRogueBuffCsReq",
|
|
CmdRogueType::CmdTakeRogueAeonLevelRewardCsReq => {
|
|
"CmdTakeRogueAeonLevelRewardCsReq"
|
|
}
|
|
CmdRogueType::CmdStartRogueCsReq => "CmdStartRogueCsReq",
|
|
CmdRogueType::CmdEnterRogueMapRoomCsReq => "CmdEnterRogueMapRoomCsReq",
|
|
CmdRogueType::CmdTakeRogueScoreRewardCsReq => "CmdTakeRogueScoreRewardCsReq",
|
|
CmdRogueType::CmdSyncRogueRewardInfoScNotify => {
|
|
"CmdSyncRogueRewardInfoScNotify"
|
|
}
|
|
CmdRogueType::CmdSyncRogueVirtualItemInfoScNotify => {
|
|
"CmdSyncRogueVirtualItemInfoScNotify"
|
|
}
|
|
CmdRogueType::CmdQuitRogueCsReq => "CmdQuitRogueCsReq",
|
|
CmdRogueType::CmdReviveRogueAvatarScRsp => "CmdReviveRogueAvatarScRsp",
|
|
CmdRogueType::CmdReviveRogueAvatarCsReq => "CmdReviveRogueAvatarCsReq",
|
|
CmdRogueType::CmdGetRogueAeonInfoScRsp => "CmdGetRogueAeonInfoScRsp",
|
|
CmdRogueType::CmdGetRogueBuffEnhanceInfoScRsp => {
|
|
"CmdGetRogueBuffEnhanceInfoScRsp"
|
|
}
|
|
CmdRogueType::CmdLeaveRogueScRsp => "CmdLeaveRogueScRsp",
|
|
CmdRogueType::CmdEnterRogueMapRoomScRsp => "CmdEnterRogueMapRoomScRsp",
|
|
CmdRogueType::CmdExchangeRogueRewardKeyCsReq => {
|
|
"CmdExchangeRogueRewardKeyCsReq"
|
|
}
|
|
CmdRogueType::CmdPickRogueAvatarCsReq => "CmdPickRogueAvatarCsReq",
|
|
CmdRogueType::CmdSyncRoguePickAvatarInfoScNotify => {
|
|
"CmdSyncRoguePickAvatarInfoScNotify"
|
|
}
|
|
CmdRogueType::CmdSyncRogueGetItemScNotify => "CmdSyncRogueGetItemScNotify",
|
|
CmdRogueType::CmdGetRogueTalentInfoScRsp => "CmdGetRogueTalentInfoScRsp",
|
|
CmdRogueType::CmdLeaveRogueCsReq => "CmdLeaveRogueCsReq",
|
|
CmdRogueType::CmdOpenRogueChestScRsp => "CmdOpenRogueChestScRsp",
|
|
CmdRogueType::CmdStartRogueScRsp => "CmdStartRogueScRsp",
|
|
CmdRogueType::CmdSyncRogueSeasonFinishScNotify => {
|
|
"CmdSyncRogueSeasonFinishScNotify"
|
|
}
|
|
CmdRogueType::CmdSyncRogueExploreWinScNotify => {
|
|
"CmdSyncRogueExploreWinScNotify"
|
|
}
|
|
CmdRogueType::CmdTakeRogueAeonLevelRewardScRsp => {
|
|
"CmdTakeRogueAeonLevelRewardScRsp"
|
|
}
|
|
CmdRogueType::CmdFinishAeonDialogueGroupScRsp => {
|
|
"CmdFinishAeonDialogueGroupScRsp"
|
|
}
|
|
CmdRogueType::CmdEnterRogueCsReq => "CmdEnterRogueCsReq",
|
|
CmdRogueType::CmdGetRogueAeonInfoCsReq => "CmdGetRogueAeonInfoCsReq",
|
|
CmdRogueType::CmdGetRogueScoreRewardInfoCsReq => {
|
|
"CmdGetRogueScoreRewardInfoCsReq"
|
|
}
|
|
CmdRogueType::CmdGetRogueTalentInfoCsReq => "CmdGetRogueTalentInfoCsReq",
|
|
CmdRogueType::CmdGetRogueInfoCsReq => "CmdGetRogueInfoCsReq",
|
|
CmdRogueType::CmdSyncRogueMapRoomScNotify => "CmdSyncRogueMapRoomScNotify",
|
|
CmdRogueType::CmdSyncRogueAeonLevelUpRewardScNotify => {
|
|
"CmdSyncRogueAeonLevelUpRewardScNotify"
|
|
}
|
|
CmdRogueType::CmdFinishAeonDialogueGroupCsReq => {
|
|
"CmdFinishAeonDialogueGroupCsReq"
|
|
}
|
|
CmdRogueType::CmdQuitRogueScRsp => "CmdQuitRogueScRsp",
|
|
CmdRogueType::CmdGetRogueScoreRewardInfoScRsp => {
|
|
"CmdGetRogueScoreRewardInfoScRsp"
|
|
}
|
|
CmdRogueType::CmdEnableRogueTalentCsReq => "CmdEnableRogueTalentCsReq",
|
|
CmdRogueType::CmdSyncRogueFinishScNotify => "CmdSyncRogueFinishScNotify",
|
|
CmdRogueType::CmdSyncRogueAeonScNotify => "CmdSyncRogueAeonScNotify",
|
|
CmdRogueType::CmdSyncRogueReviveInfoScNotify => {
|
|
"CmdSyncRogueReviveInfoScNotify"
|
|
}
|
|
CmdRogueType::CmdSyncRogueStatusScNotify => "CmdSyncRogueStatusScNotify",
|
|
CmdRogueType::CmdEnhanceRogueBuffScRsp => "CmdEnhanceRogueBuffScRsp",
|
|
CmdRogueType::CmdGetRogueInitialScoreScRsp => "CmdGetRogueInitialScoreScRsp",
|
|
CmdRogueType::CmdGetRogueBuffEnhanceInfoCsReq => {
|
|
"CmdGetRogueBuffEnhanceInfoCsReq"
|
|
}
|
|
CmdRogueType::CmdTakeRogueScoreRewardScRsp => "CmdTakeRogueScoreRewardScRsp",
|
|
CmdRogueType::CmdEnterRogueScRsp => "CmdEnterRogueScRsp",
|
|
CmdRogueType::CmdGetRogueInitialScoreCsReq => "CmdGetRogueInitialScoreCsReq",
|
|
CmdRogueType::CmdSyncRogueAreaUnlockScNotify => {
|
|
"CmdSyncRogueAreaUnlockScNotify"
|
|
}
|
|
CmdRogueType::CmdPickRogueAvatarScRsp => "CmdPickRogueAvatarScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRogueTypeNone" => Some(Self::None),
|
|
"CmdExchangeRogueRewardKeyScRsp" => {
|
|
Some(Self::CmdExchangeRogueRewardKeyScRsp)
|
|
}
|
|
"CmdEnableRogueTalentScRsp" => Some(Self::CmdEnableRogueTalentScRsp),
|
|
"CmdGetRogueInfoScRsp" => Some(Self::CmdGetRogueInfoScRsp),
|
|
"CmdOpenRogueChestCsReq" => Some(Self::CmdOpenRogueChestCsReq),
|
|
"CmdEnhanceRogueBuffCsReq" => Some(Self::CmdEnhanceRogueBuffCsReq),
|
|
"CmdTakeRogueAeonLevelRewardCsReq" => {
|
|
Some(Self::CmdTakeRogueAeonLevelRewardCsReq)
|
|
}
|
|
"CmdStartRogueCsReq" => Some(Self::CmdStartRogueCsReq),
|
|
"CmdEnterRogueMapRoomCsReq" => Some(Self::CmdEnterRogueMapRoomCsReq),
|
|
"CmdTakeRogueScoreRewardCsReq" => Some(Self::CmdTakeRogueScoreRewardCsReq),
|
|
"CmdSyncRogueRewardInfoScNotify" => {
|
|
Some(Self::CmdSyncRogueRewardInfoScNotify)
|
|
}
|
|
"CmdSyncRogueVirtualItemInfoScNotify" => {
|
|
Some(Self::CmdSyncRogueVirtualItemInfoScNotify)
|
|
}
|
|
"CmdQuitRogueCsReq" => Some(Self::CmdQuitRogueCsReq),
|
|
"CmdReviveRogueAvatarScRsp" => Some(Self::CmdReviveRogueAvatarScRsp),
|
|
"CmdReviveRogueAvatarCsReq" => Some(Self::CmdReviveRogueAvatarCsReq),
|
|
"CmdGetRogueAeonInfoScRsp" => Some(Self::CmdGetRogueAeonInfoScRsp),
|
|
"CmdGetRogueBuffEnhanceInfoScRsp" => {
|
|
Some(Self::CmdGetRogueBuffEnhanceInfoScRsp)
|
|
}
|
|
"CmdLeaveRogueScRsp" => Some(Self::CmdLeaveRogueScRsp),
|
|
"CmdEnterRogueMapRoomScRsp" => Some(Self::CmdEnterRogueMapRoomScRsp),
|
|
"CmdExchangeRogueRewardKeyCsReq" => {
|
|
Some(Self::CmdExchangeRogueRewardKeyCsReq)
|
|
}
|
|
"CmdPickRogueAvatarCsReq" => Some(Self::CmdPickRogueAvatarCsReq),
|
|
"CmdSyncRoguePickAvatarInfoScNotify" => {
|
|
Some(Self::CmdSyncRoguePickAvatarInfoScNotify)
|
|
}
|
|
"CmdSyncRogueGetItemScNotify" => Some(Self::CmdSyncRogueGetItemScNotify),
|
|
"CmdGetRogueTalentInfoScRsp" => Some(Self::CmdGetRogueTalentInfoScRsp),
|
|
"CmdLeaveRogueCsReq" => Some(Self::CmdLeaveRogueCsReq),
|
|
"CmdOpenRogueChestScRsp" => Some(Self::CmdOpenRogueChestScRsp),
|
|
"CmdStartRogueScRsp" => Some(Self::CmdStartRogueScRsp),
|
|
"CmdSyncRogueSeasonFinishScNotify" => {
|
|
Some(Self::CmdSyncRogueSeasonFinishScNotify)
|
|
}
|
|
"CmdSyncRogueExploreWinScNotify" => {
|
|
Some(Self::CmdSyncRogueExploreWinScNotify)
|
|
}
|
|
"CmdTakeRogueAeonLevelRewardScRsp" => {
|
|
Some(Self::CmdTakeRogueAeonLevelRewardScRsp)
|
|
}
|
|
"CmdFinishAeonDialogueGroupScRsp" => {
|
|
Some(Self::CmdFinishAeonDialogueGroupScRsp)
|
|
}
|
|
"CmdEnterRogueCsReq" => Some(Self::CmdEnterRogueCsReq),
|
|
"CmdGetRogueAeonInfoCsReq" => Some(Self::CmdGetRogueAeonInfoCsReq),
|
|
"CmdGetRogueScoreRewardInfoCsReq" => {
|
|
Some(Self::CmdGetRogueScoreRewardInfoCsReq)
|
|
}
|
|
"CmdGetRogueTalentInfoCsReq" => Some(Self::CmdGetRogueTalentInfoCsReq),
|
|
"CmdGetRogueInfoCsReq" => Some(Self::CmdGetRogueInfoCsReq),
|
|
"CmdSyncRogueMapRoomScNotify" => Some(Self::CmdSyncRogueMapRoomScNotify),
|
|
"CmdSyncRogueAeonLevelUpRewardScNotify" => {
|
|
Some(Self::CmdSyncRogueAeonLevelUpRewardScNotify)
|
|
}
|
|
"CmdFinishAeonDialogueGroupCsReq" => {
|
|
Some(Self::CmdFinishAeonDialogueGroupCsReq)
|
|
}
|
|
"CmdQuitRogueScRsp" => Some(Self::CmdQuitRogueScRsp),
|
|
"CmdGetRogueScoreRewardInfoScRsp" => {
|
|
Some(Self::CmdGetRogueScoreRewardInfoScRsp)
|
|
}
|
|
"CmdEnableRogueTalentCsReq" => Some(Self::CmdEnableRogueTalentCsReq),
|
|
"CmdSyncRogueFinishScNotify" => Some(Self::CmdSyncRogueFinishScNotify),
|
|
"CmdSyncRogueAeonScNotify" => Some(Self::CmdSyncRogueAeonScNotify),
|
|
"CmdSyncRogueReviveInfoScNotify" => {
|
|
Some(Self::CmdSyncRogueReviveInfoScNotify)
|
|
}
|
|
"CmdSyncRogueStatusScNotify" => Some(Self::CmdSyncRogueStatusScNotify),
|
|
"CmdEnhanceRogueBuffScRsp" => Some(Self::CmdEnhanceRogueBuffScRsp),
|
|
"CmdGetRogueInitialScoreScRsp" => Some(Self::CmdGetRogueInitialScoreScRsp),
|
|
"CmdGetRogueBuffEnhanceInfoCsReq" => {
|
|
Some(Self::CmdGetRogueBuffEnhanceInfoCsReq)
|
|
}
|
|
"CmdTakeRogueScoreRewardScRsp" => Some(Self::CmdTakeRogueScoreRewardScRsp),
|
|
"CmdEnterRogueScRsp" => Some(Self::CmdEnterRogueScRsp),
|
|
"CmdGetRogueInitialScoreCsReq" => Some(Self::CmdGetRogueInitialScoreCsReq),
|
|
"CmdSyncRogueAreaUnlockScNotify" => {
|
|
Some(Self::CmdSyncRogueAreaUnlockScNotify)
|
|
}
|
|
"CmdPickRogueAvatarScRsp" => Some(Self::CmdPickRogueAvatarScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRogueArcadeType {
|
|
None = 0,
|
|
CmdRogueArcadeGetInfoScRsp = 7654,
|
|
CmdRogueArcadeStartCsReq = 7657,
|
|
CmdRogueArcadeRestartScRsp = 7658,
|
|
CmdRogueArcadeRestartCsReq = 7661,
|
|
CmdRogueArcadeLeaveCsReq = 7665,
|
|
CmdRogueArcadeLeaveScRsp = 7667,
|
|
CmdRogueArcadeGetInfoCsReq = 7673,
|
|
CmdRogueArcadeStartScRsp = 7674,
|
|
}
|
|
impl CmdRogueArcadeType {
|
|
/// 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 {
|
|
CmdRogueArcadeType::None => "CmdRogueArcadeTypeNone",
|
|
CmdRogueArcadeType::CmdRogueArcadeGetInfoScRsp => {
|
|
"CmdRogueArcadeGetInfoScRsp"
|
|
}
|
|
CmdRogueArcadeType::CmdRogueArcadeStartCsReq => "CmdRogueArcadeStartCsReq",
|
|
CmdRogueArcadeType::CmdRogueArcadeRestartScRsp => {
|
|
"CmdRogueArcadeRestartScRsp"
|
|
}
|
|
CmdRogueArcadeType::CmdRogueArcadeRestartCsReq => {
|
|
"CmdRogueArcadeRestartCsReq"
|
|
}
|
|
CmdRogueArcadeType::CmdRogueArcadeLeaveCsReq => "CmdRogueArcadeLeaveCsReq",
|
|
CmdRogueArcadeType::CmdRogueArcadeLeaveScRsp => "CmdRogueArcadeLeaveScRsp",
|
|
CmdRogueArcadeType::CmdRogueArcadeGetInfoCsReq => {
|
|
"CmdRogueArcadeGetInfoCsReq"
|
|
}
|
|
CmdRogueArcadeType::CmdRogueArcadeStartScRsp => "CmdRogueArcadeStartScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRogueArcadeTypeNone" => Some(Self::None),
|
|
"CmdRogueArcadeGetInfoScRsp" => Some(Self::CmdRogueArcadeGetInfoScRsp),
|
|
"CmdRogueArcadeStartCsReq" => Some(Self::CmdRogueArcadeStartCsReq),
|
|
"CmdRogueArcadeRestartScRsp" => Some(Self::CmdRogueArcadeRestartScRsp),
|
|
"CmdRogueArcadeRestartCsReq" => Some(Self::CmdRogueArcadeRestartCsReq),
|
|
"CmdRogueArcadeLeaveCsReq" => Some(Self::CmdRogueArcadeLeaveCsReq),
|
|
"CmdRogueArcadeLeaveScRsp" => Some(Self::CmdRogueArcadeLeaveScRsp),
|
|
"CmdRogueArcadeGetInfoCsReq" => Some(Self::CmdRogueArcadeGetInfoCsReq),
|
|
"CmdRogueArcadeStartScRsp" => Some(Self::CmdRogueArcadeStartScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRogueCommonType {
|
|
None = 0,
|
|
CmdGetRogueCommonDialogueDataCsReq = 5603,
|
|
CmdSetRogueCollectionScRsp = 5605,
|
|
CmdPrepareRogueAdventureRoomCsReq = 5606,
|
|
CmdCommonRogueQueryCsReq = 5607,
|
|
CmdStopRogueAdventureRoomCsReq = 5609,
|
|
CmdGetRogueCollectionCsReq = 5610,
|
|
CmdPrepareRogueAdventureRoomScRsp = 5611,
|
|
CmdSyncRogueHandbookDataUpdateScNotify = 5612,
|
|
CmdSelectRogueCommonDialogueOptionCsReq = 5613,
|
|
CmdSelectRogueCommonDialogueOptionScRsp = 5614,
|
|
CmdSyncRogueCommonPendingActionScNotify = 5615,
|
|
CmdGetEnhanceCommonRogueBuffInfoCsReq = 5617,
|
|
CmdRogueGetGambleInfoScRsp = 5620,
|
|
CmdFinishRogueCommonDialogueScRsp = 5621,
|
|
CmdFinishRogueCommonDialogueCsReq = 5622,
|
|
CmdExchangeRogueBuffWithMiracleScRsp = 5624,
|
|
CmdExchangeRogueBuffWithMiracleCsReq = 5625,
|
|
CmdGetRogueCommonDialogueDataScRsp = 5626,
|
|
CmdRogueDoGambleScRsp = 5627,
|
|
CmdEnhanceCommonRogueBuffScRsp = 5628,
|
|
CmdBuyRogueShopMiracleCsReq = 5629,
|
|
CmdTakeRogueMiracleHandbookRewardCsReq = 5630,
|
|
CmdCommonRogueUpdateScNotify = 5631,
|
|
CmdBuyRogueShopBuffCsReq = 5633,
|
|
CmdRogueWorkbenchHandleFuncScRsp = 5636,
|
|
CmdGetRogueShopBuffInfoScRsp = 5639,
|
|
CmdUpdateRogueAdventureRoomScoreScRsp = 5640,
|
|
CmdCommonRogueQueryScRsp = 5641,
|
|
CmdRogueWorkbenchGetInfoCsReq = 5642,
|
|
CmdGetRogueShopMiracleInfoCsReq = 5643,
|
|
CmdGetRogueHandbookDataScRsp = 5646,
|
|
CmdHandleRogueCommonPendingActionCsReq = 5647,
|
|
CmdGetRogueAdventureRoomInfoCsReq = 5648,
|
|
CmdGetRogueCollectionScRsp = 5650,
|
|
CmdBuyRogueShopMiracleScRsp = 5651,
|
|
CmdRogueNpcDisappearCsReq = 5654,
|
|
CmdRogueWorkbenchSelectFuncScRsp = 5655,
|
|
CmdGetRogueShopMiracleInfoScRsp = 5656,
|
|
CmdRogueDoGambleCsReq = 5657,
|
|
CmdHandleRogueCommonPendingActionScRsp = 5659,
|
|
CmdSetRogueExhibitionCsReq = 5661,
|
|
CmdGetRogueExhibitionCsReq = 5664,
|
|
CmdRogueNpcDisappearScRsp = 5665,
|
|
CmdGetRogueHandbookDataCsReq = 5666,
|
|
CmdSyncRogueCommonActionResultScNotify = 5667,
|
|
CmdSyncRogueAdventureRoomInfoScNotify = 5668,
|
|
CmdTakeRogueEventHandbookRewardScRsp = 5669,
|
|
CmdGetRogueExhibitionScRsp = 5670,
|
|
CmdSyncRogueCommonDialogueDataScNotify = 5671,
|
|
CmdSetRogueCollectionCsReq = 5672,
|
|
CmdSyncRogueCommonDialogueOptionFinishScNotify = 5673,
|
|
CmdUpdateRogueAdventureRoomScoreCsReq = 5675,
|
|
CmdRogueWorkbenchSelectFuncCsReq = 5677,
|
|
CmdSetRogueExhibitionScRsp = 5679,
|
|
CmdGetRogueAdventureRoomInfoScRsp = 5682,
|
|
CmdRogueWorkbenchGetInfoScRsp = 5683,
|
|
CmdSyncRogueCommonVirtualItemInfoScNotify = 5685,
|
|
CmdCommonRogueComponentUpdateScNotify = 5686,
|
|
CmdStopRogueAdventureRoomScRsp = 5688,
|
|
CmdTakeRogueEventHandbookRewardCsReq = 5689,
|
|
CmdEnhanceCommonRogueBuffCsReq = 5690,
|
|
CmdRogueGetGambleInfoCsReq = 5691,
|
|
CmdGetEnhanceCommonRogueBuffInfoScRsp = 5692,
|
|
CmdGetRogueShopBuffInfoCsReq = 5693,
|
|
CmdTakeRogueMiracleHandbookRewardScRsp = 5695,
|
|
CmdRogueWorkbenchHandleFuncCsReq = 5696,
|
|
CmdBuyRogueShopBuffScRsp = 5699,
|
|
}
|
|
impl CmdRogueCommonType {
|
|
/// 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 {
|
|
CmdRogueCommonType::None => "CmdRogueCommonTypeNone",
|
|
CmdRogueCommonType::CmdGetRogueCommonDialogueDataCsReq => {
|
|
"CmdGetRogueCommonDialogueDataCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdSetRogueCollectionScRsp => {
|
|
"CmdSetRogueCollectionScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdPrepareRogueAdventureRoomCsReq => {
|
|
"CmdPrepareRogueAdventureRoomCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdCommonRogueQueryCsReq => "CmdCommonRogueQueryCsReq",
|
|
CmdRogueCommonType::CmdStopRogueAdventureRoomCsReq => {
|
|
"CmdStopRogueAdventureRoomCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueCollectionCsReq => {
|
|
"CmdGetRogueCollectionCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdPrepareRogueAdventureRoomScRsp => {
|
|
"CmdPrepareRogueAdventureRoomScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueHandbookDataUpdateScNotify => {
|
|
"CmdSyncRogueHandbookDataUpdateScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdSelectRogueCommonDialogueOptionCsReq => {
|
|
"CmdSelectRogueCommonDialogueOptionCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdSelectRogueCommonDialogueOptionScRsp => {
|
|
"CmdSelectRogueCommonDialogueOptionScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueCommonPendingActionScNotify => {
|
|
"CmdSyncRogueCommonPendingActionScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdGetEnhanceCommonRogueBuffInfoCsReq => {
|
|
"CmdGetEnhanceCommonRogueBuffInfoCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdRogueGetGambleInfoScRsp => {
|
|
"CmdRogueGetGambleInfoScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdFinishRogueCommonDialogueScRsp => {
|
|
"CmdFinishRogueCommonDialogueScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdFinishRogueCommonDialogueCsReq => {
|
|
"CmdFinishRogueCommonDialogueCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdExchangeRogueBuffWithMiracleScRsp => {
|
|
"CmdExchangeRogueBuffWithMiracleScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdExchangeRogueBuffWithMiracleCsReq => {
|
|
"CmdExchangeRogueBuffWithMiracleCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueCommonDialogueDataScRsp => {
|
|
"CmdGetRogueCommonDialogueDataScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdRogueDoGambleScRsp => "CmdRogueDoGambleScRsp",
|
|
CmdRogueCommonType::CmdEnhanceCommonRogueBuffScRsp => {
|
|
"CmdEnhanceCommonRogueBuffScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdBuyRogueShopMiracleCsReq => {
|
|
"CmdBuyRogueShopMiracleCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdTakeRogueMiracleHandbookRewardCsReq => {
|
|
"CmdTakeRogueMiracleHandbookRewardCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdCommonRogueUpdateScNotify => {
|
|
"CmdCommonRogueUpdateScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdBuyRogueShopBuffCsReq => "CmdBuyRogueShopBuffCsReq",
|
|
CmdRogueCommonType::CmdRogueWorkbenchHandleFuncScRsp => {
|
|
"CmdRogueWorkbenchHandleFuncScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueShopBuffInfoScRsp => {
|
|
"CmdGetRogueShopBuffInfoScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdUpdateRogueAdventureRoomScoreScRsp => {
|
|
"CmdUpdateRogueAdventureRoomScoreScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdCommonRogueQueryScRsp => "CmdCommonRogueQueryScRsp",
|
|
CmdRogueCommonType::CmdRogueWorkbenchGetInfoCsReq => {
|
|
"CmdRogueWorkbenchGetInfoCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueShopMiracleInfoCsReq => {
|
|
"CmdGetRogueShopMiracleInfoCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueHandbookDataScRsp => {
|
|
"CmdGetRogueHandbookDataScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdHandleRogueCommonPendingActionCsReq => {
|
|
"CmdHandleRogueCommonPendingActionCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueAdventureRoomInfoCsReq => {
|
|
"CmdGetRogueAdventureRoomInfoCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueCollectionScRsp => {
|
|
"CmdGetRogueCollectionScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdBuyRogueShopMiracleScRsp => {
|
|
"CmdBuyRogueShopMiracleScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdRogueNpcDisappearCsReq => "CmdRogueNpcDisappearCsReq",
|
|
CmdRogueCommonType::CmdRogueWorkbenchSelectFuncScRsp => {
|
|
"CmdRogueWorkbenchSelectFuncScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueShopMiracleInfoScRsp => {
|
|
"CmdGetRogueShopMiracleInfoScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdRogueDoGambleCsReq => "CmdRogueDoGambleCsReq",
|
|
CmdRogueCommonType::CmdHandleRogueCommonPendingActionScRsp => {
|
|
"CmdHandleRogueCommonPendingActionScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdSetRogueExhibitionCsReq => {
|
|
"CmdSetRogueExhibitionCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueExhibitionCsReq => {
|
|
"CmdGetRogueExhibitionCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdRogueNpcDisappearScRsp => "CmdRogueNpcDisappearScRsp",
|
|
CmdRogueCommonType::CmdGetRogueHandbookDataCsReq => {
|
|
"CmdGetRogueHandbookDataCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueCommonActionResultScNotify => {
|
|
"CmdSyncRogueCommonActionResultScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueAdventureRoomInfoScNotify => {
|
|
"CmdSyncRogueAdventureRoomInfoScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdTakeRogueEventHandbookRewardScRsp => {
|
|
"CmdTakeRogueEventHandbookRewardScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueExhibitionScRsp => {
|
|
"CmdGetRogueExhibitionScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueCommonDialogueDataScNotify => {
|
|
"CmdSyncRogueCommonDialogueDataScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdSetRogueCollectionCsReq => {
|
|
"CmdSetRogueCollectionCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueCommonDialogueOptionFinishScNotify => {
|
|
"CmdSyncRogueCommonDialogueOptionFinishScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdUpdateRogueAdventureRoomScoreCsReq => {
|
|
"CmdUpdateRogueAdventureRoomScoreCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdRogueWorkbenchSelectFuncCsReq => {
|
|
"CmdRogueWorkbenchSelectFuncCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdSetRogueExhibitionScRsp => {
|
|
"CmdSetRogueExhibitionScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueAdventureRoomInfoScRsp => {
|
|
"CmdGetRogueAdventureRoomInfoScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdRogueWorkbenchGetInfoScRsp => {
|
|
"CmdRogueWorkbenchGetInfoScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdSyncRogueCommonVirtualItemInfoScNotify => {
|
|
"CmdSyncRogueCommonVirtualItemInfoScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdCommonRogueComponentUpdateScNotify => {
|
|
"CmdCommonRogueComponentUpdateScNotify"
|
|
}
|
|
CmdRogueCommonType::CmdStopRogueAdventureRoomScRsp => {
|
|
"CmdStopRogueAdventureRoomScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdTakeRogueEventHandbookRewardCsReq => {
|
|
"CmdTakeRogueEventHandbookRewardCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdEnhanceCommonRogueBuffCsReq => {
|
|
"CmdEnhanceCommonRogueBuffCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdRogueGetGambleInfoCsReq => {
|
|
"CmdRogueGetGambleInfoCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdGetEnhanceCommonRogueBuffInfoScRsp => {
|
|
"CmdGetEnhanceCommonRogueBuffInfoScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdGetRogueShopBuffInfoCsReq => {
|
|
"CmdGetRogueShopBuffInfoCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdTakeRogueMiracleHandbookRewardScRsp => {
|
|
"CmdTakeRogueMiracleHandbookRewardScRsp"
|
|
}
|
|
CmdRogueCommonType::CmdRogueWorkbenchHandleFuncCsReq => {
|
|
"CmdRogueWorkbenchHandleFuncCsReq"
|
|
}
|
|
CmdRogueCommonType::CmdBuyRogueShopBuffScRsp => "CmdBuyRogueShopBuffScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRogueCommonTypeNone" => Some(Self::None),
|
|
"CmdGetRogueCommonDialogueDataCsReq" => {
|
|
Some(Self::CmdGetRogueCommonDialogueDataCsReq)
|
|
}
|
|
"CmdSetRogueCollectionScRsp" => Some(Self::CmdSetRogueCollectionScRsp),
|
|
"CmdPrepareRogueAdventureRoomCsReq" => {
|
|
Some(Self::CmdPrepareRogueAdventureRoomCsReq)
|
|
}
|
|
"CmdCommonRogueQueryCsReq" => Some(Self::CmdCommonRogueQueryCsReq),
|
|
"CmdStopRogueAdventureRoomCsReq" => {
|
|
Some(Self::CmdStopRogueAdventureRoomCsReq)
|
|
}
|
|
"CmdGetRogueCollectionCsReq" => Some(Self::CmdGetRogueCollectionCsReq),
|
|
"CmdPrepareRogueAdventureRoomScRsp" => {
|
|
Some(Self::CmdPrepareRogueAdventureRoomScRsp)
|
|
}
|
|
"CmdSyncRogueHandbookDataUpdateScNotify" => {
|
|
Some(Self::CmdSyncRogueHandbookDataUpdateScNotify)
|
|
}
|
|
"CmdSelectRogueCommonDialogueOptionCsReq" => {
|
|
Some(Self::CmdSelectRogueCommonDialogueOptionCsReq)
|
|
}
|
|
"CmdSelectRogueCommonDialogueOptionScRsp" => {
|
|
Some(Self::CmdSelectRogueCommonDialogueOptionScRsp)
|
|
}
|
|
"CmdSyncRogueCommonPendingActionScNotify" => {
|
|
Some(Self::CmdSyncRogueCommonPendingActionScNotify)
|
|
}
|
|
"CmdGetEnhanceCommonRogueBuffInfoCsReq" => {
|
|
Some(Self::CmdGetEnhanceCommonRogueBuffInfoCsReq)
|
|
}
|
|
"CmdRogueGetGambleInfoScRsp" => Some(Self::CmdRogueGetGambleInfoScRsp),
|
|
"CmdFinishRogueCommonDialogueScRsp" => {
|
|
Some(Self::CmdFinishRogueCommonDialogueScRsp)
|
|
}
|
|
"CmdFinishRogueCommonDialogueCsReq" => {
|
|
Some(Self::CmdFinishRogueCommonDialogueCsReq)
|
|
}
|
|
"CmdExchangeRogueBuffWithMiracleScRsp" => {
|
|
Some(Self::CmdExchangeRogueBuffWithMiracleScRsp)
|
|
}
|
|
"CmdExchangeRogueBuffWithMiracleCsReq" => {
|
|
Some(Self::CmdExchangeRogueBuffWithMiracleCsReq)
|
|
}
|
|
"CmdGetRogueCommonDialogueDataScRsp" => {
|
|
Some(Self::CmdGetRogueCommonDialogueDataScRsp)
|
|
}
|
|
"CmdRogueDoGambleScRsp" => Some(Self::CmdRogueDoGambleScRsp),
|
|
"CmdEnhanceCommonRogueBuffScRsp" => {
|
|
Some(Self::CmdEnhanceCommonRogueBuffScRsp)
|
|
}
|
|
"CmdBuyRogueShopMiracleCsReq" => Some(Self::CmdBuyRogueShopMiracleCsReq),
|
|
"CmdTakeRogueMiracleHandbookRewardCsReq" => {
|
|
Some(Self::CmdTakeRogueMiracleHandbookRewardCsReq)
|
|
}
|
|
"CmdCommonRogueUpdateScNotify" => Some(Self::CmdCommonRogueUpdateScNotify),
|
|
"CmdBuyRogueShopBuffCsReq" => Some(Self::CmdBuyRogueShopBuffCsReq),
|
|
"CmdRogueWorkbenchHandleFuncScRsp" => {
|
|
Some(Self::CmdRogueWorkbenchHandleFuncScRsp)
|
|
}
|
|
"CmdGetRogueShopBuffInfoScRsp" => Some(Self::CmdGetRogueShopBuffInfoScRsp),
|
|
"CmdUpdateRogueAdventureRoomScoreScRsp" => {
|
|
Some(Self::CmdUpdateRogueAdventureRoomScoreScRsp)
|
|
}
|
|
"CmdCommonRogueQueryScRsp" => Some(Self::CmdCommonRogueQueryScRsp),
|
|
"CmdRogueWorkbenchGetInfoCsReq" => Some(Self::CmdRogueWorkbenchGetInfoCsReq),
|
|
"CmdGetRogueShopMiracleInfoCsReq" => {
|
|
Some(Self::CmdGetRogueShopMiracleInfoCsReq)
|
|
}
|
|
"CmdGetRogueHandbookDataScRsp" => Some(Self::CmdGetRogueHandbookDataScRsp),
|
|
"CmdHandleRogueCommonPendingActionCsReq" => {
|
|
Some(Self::CmdHandleRogueCommonPendingActionCsReq)
|
|
}
|
|
"CmdGetRogueAdventureRoomInfoCsReq" => {
|
|
Some(Self::CmdGetRogueAdventureRoomInfoCsReq)
|
|
}
|
|
"CmdGetRogueCollectionScRsp" => Some(Self::CmdGetRogueCollectionScRsp),
|
|
"CmdBuyRogueShopMiracleScRsp" => Some(Self::CmdBuyRogueShopMiracleScRsp),
|
|
"CmdRogueNpcDisappearCsReq" => Some(Self::CmdRogueNpcDisappearCsReq),
|
|
"CmdRogueWorkbenchSelectFuncScRsp" => {
|
|
Some(Self::CmdRogueWorkbenchSelectFuncScRsp)
|
|
}
|
|
"CmdGetRogueShopMiracleInfoScRsp" => {
|
|
Some(Self::CmdGetRogueShopMiracleInfoScRsp)
|
|
}
|
|
"CmdRogueDoGambleCsReq" => Some(Self::CmdRogueDoGambleCsReq),
|
|
"CmdHandleRogueCommonPendingActionScRsp" => {
|
|
Some(Self::CmdHandleRogueCommonPendingActionScRsp)
|
|
}
|
|
"CmdSetRogueExhibitionCsReq" => Some(Self::CmdSetRogueExhibitionCsReq),
|
|
"CmdGetRogueExhibitionCsReq" => Some(Self::CmdGetRogueExhibitionCsReq),
|
|
"CmdRogueNpcDisappearScRsp" => Some(Self::CmdRogueNpcDisappearScRsp),
|
|
"CmdGetRogueHandbookDataCsReq" => Some(Self::CmdGetRogueHandbookDataCsReq),
|
|
"CmdSyncRogueCommonActionResultScNotify" => {
|
|
Some(Self::CmdSyncRogueCommonActionResultScNotify)
|
|
}
|
|
"CmdSyncRogueAdventureRoomInfoScNotify" => {
|
|
Some(Self::CmdSyncRogueAdventureRoomInfoScNotify)
|
|
}
|
|
"CmdTakeRogueEventHandbookRewardScRsp" => {
|
|
Some(Self::CmdTakeRogueEventHandbookRewardScRsp)
|
|
}
|
|
"CmdGetRogueExhibitionScRsp" => Some(Self::CmdGetRogueExhibitionScRsp),
|
|
"CmdSyncRogueCommonDialogueDataScNotify" => {
|
|
Some(Self::CmdSyncRogueCommonDialogueDataScNotify)
|
|
}
|
|
"CmdSetRogueCollectionCsReq" => Some(Self::CmdSetRogueCollectionCsReq),
|
|
"CmdSyncRogueCommonDialogueOptionFinishScNotify" => {
|
|
Some(Self::CmdSyncRogueCommonDialogueOptionFinishScNotify)
|
|
}
|
|
"CmdUpdateRogueAdventureRoomScoreCsReq" => {
|
|
Some(Self::CmdUpdateRogueAdventureRoomScoreCsReq)
|
|
}
|
|
"CmdRogueWorkbenchSelectFuncCsReq" => {
|
|
Some(Self::CmdRogueWorkbenchSelectFuncCsReq)
|
|
}
|
|
"CmdSetRogueExhibitionScRsp" => Some(Self::CmdSetRogueExhibitionScRsp),
|
|
"CmdGetRogueAdventureRoomInfoScRsp" => {
|
|
Some(Self::CmdGetRogueAdventureRoomInfoScRsp)
|
|
}
|
|
"CmdRogueWorkbenchGetInfoScRsp" => Some(Self::CmdRogueWorkbenchGetInfoScRsp),
|
|
"CmdSyncRogueCommonVirtualItemInfoScNotify" => {
|
|
Some(Self::CmdSyncRogueCommonVirtualItemInfoScNotify)
|
|
}
|
|
"CmdCommonRogueComponentUpdateScNotify" => {
|
|
Some(Self::CmdCommonRogueComponentUpdateScNotify)
|
|
}
|
|
"CmdStopRogueAdventureRoomScRsp" => {
|
|
Some(Self::CmdStopRogueAdventureRoomScRsp)
|
|
}
|
|
"CmdTakeRogueEventHandbookRewardCsReq" => {
|
|
Some(Self::CmdTakeRogueEventHandbookRewardCsReq)
|
|
}
|
|
"CmdEnhanceCommonRogueBuffCsReq" => {
|
|
Some(Self::CmdEnhanceCommonRogueBuffCsReq)
|
|
}
|
|
"CmdRogueGetGambleInfoCsReq" => Some(Self::CmdRogueGetGambleInfoCsReq),
|
|
"CmdGetEnhanceCommonRogueBuffInfoScRsp" => {
|
|
Some(Self::CmdGetEnhanceCommonRogueBuffInfoScRsp)
|
|
}
|
|
"CmdGetRogueShopBuffInfoCsReq" => Some(Self::CmdGetRogueShopBuffInfoCsReq),
|
|
"CmdTakeRogueMiracleHandbookRewardScRsp" => {
|
|
Some(Self::CmdTakeRogueMiracleHandbookRewardScRsp)
|
|
}
|
|
"CmdRogueWorkbenchHandleFuncCsReq" => {
|
|
Some(Self::CmdRogueWorkbenchHandleFuncCsReq)
|
|
}
|
|
"CmdBuyRogueShopBuffScRsp" => Some(Self::CmdBuyRogueShopBuffScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRogueEndless {
|
|
None = 0,
|
|
CmdGetRogueEndlessActivityDataCsReq = 6001,
|
|
ActivityBattleEndScNotify = 6002,
|
|
CmdTakeRogueEndlessActivityAllBonusRewardCsReq = 6003,
|
|
CmdGetRogueEndlessActivityDataScRsp = 6004,
|
|
CmdTakeRogueEndlessActivityAllBonusRewardScRsp = 6005,
|
|
CmdTakeRogueEndlessActivityPointRewardCsReq = 6006,
|
|
CmdTakeRogueEndlessActivityPointRewardScRsp = 6007,
|
|
CmdEnterRogueEndlessActivityStageCsReq = 6009,
|
|
CmdEnterRogueEndlessActivityStageScRsp = 6010,
|
|
}
|
|
impl CmdRogueEndless {
|
|
/// 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 {
|
|
CmdRogueEndless::None => "CmdRogueEndlessNone",
|
|
CmdRogueEndless::CmdGetRogueEndlessActivityDataCsReq => {
|
|
"CmdGetRogueEndlessActivityDataCsReq"
|
|
}
|
|
CmdRogueEndless::ActivityBattleEndScNotify => {
|
|
"CmdRogueEndlessActivityBattleEndScNotify"
|
|
}
|
|
CmdRogueEndless::CmdTakeRogueEndlessActivityAllBonusRewardCsReq => {
|
|
"CmdTakeRogueEndlessActivityAllBonusRewardCsReq"
|
|
}
|
|
CmdRogueEndless::CmdGetRogueEndlessActivityDataScRsp => {
|
|
"CmdGetRogueEndlessActivityDataScRsp"
|
|
}
|
|
CmdRogueEndless::CmdTakeRogueEndlessActivityAllBonusRewardScRsp => {
|
|
"CmdTakeRogueEndlessActivityAllBonusRewardScRsp"
|
|
}
|
|
CmdRogueEndless::CmdTakeRogueEndlessActivityPointRewardCsReq => {
|
|
"CmdTakeRogueEndlessActivityPointRewardCsReq"
|
|
}
|
|
CmdRogueEndless::CmdTakeRogueEndlessActivityPointRewardScRsp => {
|
|
"CmdTakeRogueEndlessActivityPointRewardScRsp"
|
|
}
|
|
CmdRogueEndless::CmdEnterRogueEndlessActivityStageCsReq => {
|
|
"CmdEnterRogueEndlessActivityStageCsReq"
|
|
}
|
|
CmdRogueEndless::CmdEnterRogueEndlessActivityStageScRsp => {
|
|
"CmdEnterRogueEndlessActivityStageScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRogueEndlessNone" => Some(Self::None),
|
|
"CmdGetRogueEndlessActivityDataCsReq" => {
|
|
Some(Self::CmdGetRogueEndlessActivityDataCsReq)
|
|
}
|
|
"CmdRogueEndlessActivityBattleEndScNotify" => {
|
|
Some(Self::ActivityBattleEndScNotify)
|
|
}
|
|
"CmdTakeRogueEndlessActivityAllBonusRewardCsReq" => {
|
|
Some(Self::CmdTakeRogueEndlessActivityAllBonusRewardCsReq)
|
|
}
|
|
"CmdGetRogueEndlessActivityDataScRsp" => {
|
|
Some(Self::CmdGetRogueEndlessActivityDataScRsp)
|
|
}
|
|
"CmdTakeRogueEndlessActivityAllBonusRewardScRsp" => {
|
|
Some(Self::CmdTakeRogueEndlessActivityAllBonusRewardScRsp)
|
|
}
|
|
"CmdTakeRogueEndlessActivityPointRewardCsReq" => {
|
|
Some(Self::CmdTakeRogueEndlessActivityPointRewardCsReq)
|
|
}
|
|
"CmdTakeRogueEndlessActivityPointRewardScRsp" => {
|
|
Some(Self::CmdTakeRogueEndlessActivityPointRewardScRsp)
|
|
}
|
|
"CmdEnterRogueEndlessActivityStageCsReq" => {
|
|
Some(Self::CmdEnterRogueEndlessActivityStageCsReq)
|
|
}
|
|
"CmdEnterRogueEndlessActivityStageScRsp" => {
|
|
Some(Self::CmdEnterRogueEndlessActivityStageScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRogueModifierType {
|
|
None = 0,
|
|
CmdRogueModifierAddNotify = 5311,
|
|
CmdRogueModifierUpdateNotify = 5329,
|
|
CmdRogueModifierStageStartNotify = 5333,
|
|
CmdRogueModifierSelectCellCsReq = 5343,
|
|
CmdRogueModifierDelNotify = 5351,
|
|
CmdRogueModifierSelectCellScRsp = 5356,
|
|
}
|
|
impl CmdRogueModifierType {
|
|
/// 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 {
|
|
CmdRogueModifierType::None => "CmdRogueModifierTypeNone",
|
|
CmdRogueModifierType::CmdRogueModifierAddNotify => {
|
|
"CmdRogueModifierAddNotify"
|
|
}
|
|
CmdRogueModifierType::CmdRogueModifierUpdateNotify => {
|
|
"CmdRogueModifierUpdateNotify"
|
|
}
|
|
CmdRogueModifierType::CmdRogueModifierStageStartNotify => {
|
|
"CmdRogueModifierStageStartNotify"
|
|
}
|
|
CmdRogueModifierType::CmdRogueModifierSelectCellCsReq => {
|
|
"CmdRogueModifierSelectCellCsReq"
|
|
}
|
|
CmdRogueModifierType::CmdRogueModifierDelNotify => {
|
|
"CmdRogueModifierDelNotify"
|
|
}
|
|
CmdRogueModifierType::CmdRogueModifierSelectCellScRsp => {
|
|
"CmdRogueModifierSelectCellScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRogueModifierTypeNone" => Some(Self::None),
|
|
"CmdRogueModifierAddNotify" => Some(Self::CmdRogueModifierAddNotify),
|
|
"CmdRogueModifierUpdateNotify" => Some(Self::CmdRogueModifierUpdateNotify),
|
|
"CmdRogueModifierStageStartNotify" => {
|
|
Some(Self::CmdRogueModifierStageStartNotify)
|
|
}
|
|
"CmdRogueModifierSelectCellCsReq" => {
|
|
Some(Self::CmdRogueModifierSelectCellCsReq)
|
|
}
|
|
"CmdRogueModifierDelNotify" => Some(Self::CmdRogueModifierDelNotify),
|
|
"CmdRogueModifierSelectCellScRsp" => {
|
|
Some(Self::CmdRogueModifierSelectCellScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRogueTournType {
|
|
None = 0,
|
|
CmdRogueTournGetMiscRealTimeDataScRsp = 6013,
|
|
CmdRogueTournDeleteArchiveCsReq = 6016,
|
|
CmdRogueTournExpNotify = 6017,
|
|
CmdRogueTournGetAllArchiveScRsp = 6018,
|
|
CmdRogueTournEnterRoomScRsp = 6019,
|
|
CmdRogueTournBattleFailSettleInfoScNotify = 6020,
|
|
CmdRogueTournResetPermanentTalentCsReq = 6021,
|
|
CmdRogueTournEnablePermanentTalentCsReq = 6022,
|
|
CmdRogueTournConfirmSettleCsReq = 6023,
|
|
CmdRogueTournConfirmSettleScRsp = 6024,
|
|
CmdRogueTournEnterRogueCocoonSceneScRsp = 6025,
|
|
CmdRogueTournGetPermanentTalentInfoCsReq = 6026,
|
|
CmdRogueTournTakeExpRewardCsReq = 6027,
|
|
CmdRogueTournGetArchiveRepositoryScRsp = 6031,
|
|
CmdRogueTournWeekChallengeUpdateScNotify = 6032,
|
|
CmdRogueTournEnterScRsp = 6033,
|
|
CmdRogueTournQueryCsReq = 6034,
|
|
CmdRogueTournDeleteArchiveScRsp = 6035,
|
|
CmdRogueTournGetSettleInfoScRsp = 6036,
|
|
CmdRogueTournLevelInfoUpdateScNotify = 6038,
|
|
CmdRogueTournStartScRsp = 6039,
|
|
CmdRogueTournQueryScRsp = 6040,
|
|
CmdRogueTournGetCurRogueCocoonInfoScRsp = 6041,
|
|
CmdRogueTournReviveAvatarScRsp = 6042,
|
|
CmdRogueTournSettleScRsp = 6043,
|
|
CmdRogueTournRenameArchiveCsReq = 6044,
|
|
CmdRogueTournTakeExpRewardScRsp = 6049,
|
|
CmdRogueTournReEnterRogueCocoonStageScRsp = 6050,
|
|
CmdRogueTournGetCurRogueCocoonInfoCsReq = 6051,
|
|
CmdRogueTournEnablePermanentTalentScRsp = 6053,
|
|
CmdRogueTournDifficultyCompNotify = 6055,
|
|
CmdRogueTournHandBookNotify = 6056,
|
|
CmdRogueTournClearArchiveNameScNotify = 6057,
|
|
CmdRogueTournEnterLayerScRsp = 6058,
|
|
CmdRogueTournLeaveCsReq = 6059,
|
|
CmdRogueTournReEnterRogueCocoonStageCsReq = 6063,
|
|
CmdRogueTournLeaveRogueCocoonSceneCsReq = 6064,
|
|
CmdRogueTournAreaUpdateScNotify = 6066,
|
|
CmdRogueTournGetAllArchiveCsReq = 6068,
|
|
CmdRogueTournGetSettleInfoCsReq = 6077,
|
|
CmdRogueTournLeaveScRsp = 6078,
|
|
CmdRogueTournGetMiscRealTimeDataCsReq = 6079,
|
|
CmdRogueTournReviveAvatarCsReq = 6081,
|
|
CmdRogueTournGetArchiveRepositoryCsReq = 6082,
|
|
CmdRogueTournStartCsReq = 6083,
|
|
CmdRogueTournGetPermanentTalentInfoScRsp = 6085,
|
|
CmdRogueTournLeaveRogueCocoonSceneScRsp = 6086,
|
|
CmdRogueTournReviveCostUpdateScNotify = 6087,
|
|
CmdRogueTournRenameArchiveScRsp = 6088,
|
|
CmdRogueTournEnterRoomCsReq = 6089,
|
|
CmdRogueTournEnterLayerCsReq = 6092,
|
|
CmdRogueTournEnterRogueCocoonSceneCsReq = 6095,
|
|
CmdRogueTournResetPermanentTalentScRsp = 6096,
|
|
CmdRogueTournEnterCsReq = 6099,
|
|
CmdRogueTournSettleCsReq = 6100,
|
|
}
|
|
impl CmdRogueTournType {
|
|
/// 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 {
|
|
CmdRogueTournType::None => "CmdRogueTournTypeNone",
|
|
CmdRogueTournType::CmdRogueTournGetMiscRealTimeDataScRsp => {
|
|
"CmdRogueTournGetMiscRealTimeDataScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournDeleteArchiveCsReq => {
|
|
"CmdRogueTournDeleteArchiveCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournExpNotify => "CmdRogueTournExpNotify",
|
|
CmdRogueTournType::CmdRogueTournGetAllArchiveScRsp => {
|
|
"CmdRogueTournGetAllArchiveScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterRoomScRsp => {
|
|
"CmdRogueTournEnterRoomScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournBattleFailSettleInfoScNotify => {
|
|
"CmdRogueTournBattleFailSettleInfoScNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournResetPermanentTalentCsReq => {
|
|
"CmdRogueTournResetPermanentTalentCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnablePermanentTalentCsReq => {
|
|
"CmdRogueTournEnablePermanentTalentCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournConfirmSettleCsReq => {
|
|
"CmdRogueTournConfirmSettleCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournConfirmSettleScRsp => {
|
|
"CmdRogueTournConfirmSettleScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterRogueCocoonSceneScRsp => {
|
|
"CmdRogueTournEnterRogueCocoonSceneScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetPermanentTalentInfoCsReq => {
|
|
"CmdRogueTournGetPermanentTalentInfoCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournTakeExpRewardCsReq => {
|
|
"CmdRogueTournTakeExpRewardCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetArchiveRepositoryScRsp => {
|
|
"CmdRogueTournGetArchiveRepositoryScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournWeekChallengeUpdateScNotify => {
|
|
"CmdRogueTournWeekChallengeUpdateScNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterScRsp => "CmdRogueTournEnterScRsp",
|
|
CmdRogueTournType::CmdRogueTournQueryCsReq => "CmdRogueTournQueryCsReq",
|
|
CmdRogueTournType::CmdRogueTournDeleteArchiveScRsp => {
|
|
"CmdRogueTournDeleteArchiveScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetSettleInfoScRsp => {
|
|
"CmdRogueTournGetSettleInfoScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournLevelInfoUpdateScNotify => {
|
|
"CmdRogueTournLevelInfoUpdateScNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournStartScRsp => "CmdRogueTournStartScRsp",
|
|
CmdRogueTournType::CmdRogueTournQueryScRsp => "CmdRogueTournQueryScRsp",
|
|
CmdRogueTournType::CmdRogueTournGetCurRogueCocoonInfoScRsp => {
|
|
"CmdRogueTournGetCurRogueCocoonInfoScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournReviveAvatarScRsp => {
|
|
"CmdRogueTournReviveAvatarScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournSettleScRsp => "CmdRogueTournSettleScRsp",
|
|
CmdRogueTournType::CmdRogueTournRenameArchiveCsReq => {
|
|
"CmdRogueTournRenameArchiveCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournTakeExpRewardScRsp => {
|
|
"CmdRogueTournTakeExpRewardScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournReEnterRogueCocoonStageScRsp => {
|
|
"CmdRogueTournReEnterRogueCocoonStageScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetCurRogueCocoonInfoCsReq => {
|
|
"CmdRogueTournGetCurRogueCocoonInfoCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnablePermanentTalentScRsp => {
|
|
"CmdRogueTournEnablePermanentTalentScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournDifficultyCompNotify => {
|
|
"CmdRogueTournDifficultyCompNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournHandBookNotify => {
|
|
"CmdRogueTournHandBookNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournClearArchiveNameScNotify => {
|
|
"CmdRogueTournClearArchiveNameScNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterLayerScRsp => {
|
|
"CmdRogueTournEnterLayerScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournLeaveCsReq => "CmdRogueTournLeaveCsReq",
|
|
CmdRogueTournType::CmdRogueTournReEnterRogueCocoonStageCsReq => {
|
|
"CmdRogueTournReEnterRogueCocoonStageCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournLeaveRogueCocoonSceneCsReq => {
|
|
"CmdRogueTournLeaveRogueCocoonSceneCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournAreaUpdateScNotify => {
|
|
"CmdRogueTournAreaUpdateScNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetAllArchiveCsReq => {
|
|
"CmdRogueTournGetAllArchiveCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetSettleInfoCsReq => {
|
|
"CmdRogueTournGetSettleInfoCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournLeaveScRsp => "CmdRogueTournLeaveScRsp",
|
|
CmdRogueTournType::CmdRogueTournGetMiscRealTimeDataCsReq => {
|
|
"CmdRogueTournGetMiscRealTimeDataCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournReviveAvatarCsReq => {
|
|
"CmdRogueTournReviveAvatarCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournGetArchiveRepositoryCsReq => {
|
|
"CmdRogueTournGetArchiveRepositoryCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournStartCsReq => "CmdRogueTournStartCsReq",
|
|
CmdRogueTournType::CmdRogueTournGetPermanentTalentInfoScRsp => {
|
|
"CmdRogueTournGetPermanentTalentInfoScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournLeaveRogueCocoonSceneScRsp => {
|
|
"CmdRogueTournLeaveRogueCocoonSceneScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournReviveCostUpdateScNotify => {
|
|
"CmdRogueTournReviveCostUpdateScNotify"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournRenameArchiveScRsp => {
|
|
"CmdRogueTournRenameArchiveScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterRoomCsReq => {
|
|
"CmdRogueTournEnterRoomCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterLayerCsReq => {
|
|
"CmdRogueTournEnterLayerCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterRogueCocoonSceneCsReq => {
|
|
"CmdRogueTournEnterRogueCocoonSceneCsReq"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournResetPermanentTalentScRsp => {
|
|
"CmdRogueTournResetPermanentTalentScRsp"
|
|
}
|
|
CmdRogueTournType::CmdRogueTournEnterCsReq => "CmdRogueTournEnterCsReq",
|
|
CmdRogueTournType::CmdRogueTournSettleCsReq => "CmdRogueTournSettleCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRogueTournTypeNone" => Some(Self::None),
|
|
"CmdRogueTournGetMiscRealTimeDataScRsp" => {
|
|
Some(Self::CmdRogueTournGetMiscRealTimeDataScRsp)
|
|
}
|
|
"CmdRogueTournDeleteArchiveCsReq" => {
|
|
Some(Self::CmdRogueTournDeleteArchiveCsReq)
|
|
}
|
|
"CmdRogueTournExpNotify" => Some(Self::CmdRogueTournExpNotify),
|
|
"CmdRogueTournGetAllArchiveScRsp" => {
|
|
Some(Self::CmdRogueTournGetAllArchiveScRsp)
|
|
}
|
|
"CmdRogueTournEnterRoomScRsp" => Some(Self::CmdRogueTournEnterRoomScRsp),
|
|
"CmdRogueTournBattleFailSettleInfoScNotify" => {
|
|
Some(Self::CmdRogueTournBattleFailSettleInfoScNotify)
|
|
}
|
|
"CmdRogueTournResetPermanentTalentCsReq" => {
|
|
Some(Self::CmdRogueTournResetPermanentTalentCsReq)
|
|
}
|
|
"CmdRogueTournEnablePermanentTalentCsReq" => {
|
|
Some(Self::CmdRogueTournEnablePermanentTalentCsReq)
|
|
}
|
|
"CmdRogueTournConfirmSettleCsReq" => {
|
|
Some(Self::CmdRogueTournConfirmSettleCsReq)
|
|
}
|
|
"CmdRogueTournConfirmSettleScRsp" => {
|
|
Some(Self::CmdRogueTournConfirmSettleScRsp)
|
|
}
|
|
"CmdRogueTournEnterRogueCocoonSceneScRsp" => {
|
|
Some(Self::CmdRogueTournEnterRogueCocoonSceneScRsp)
|
|
}
|
|
"CmdRogueTournGetPermanentTalentInfoCsReq" => {
|
|
Some(Self::CmdRogueTournGetPermanentTalentInfoCsReq)
|
|
}
|
|
"CmdRogueTournTakeExpRewardCsReq" => {
|
|
Some(Self::CmdRogueTournTakeExpRewardCsReq)
|
|
}
|
|
"CmdRogueTournGetArchiveRepositoryScRsp" => {
|
|
Some(Self::CmdRogueTournGetArchiveRepositoryScRsp)
|
|
}
|
|
"CmdRogueTournWeekChallengeUpdateScNotify" => {
|
|
Some(Self::CmdRogueTournWeekChallengeUpdateScNotify)
|
|
}
|
|
"CmdRogueTournEnterScRsp" => Some(Self::CmdRogueTournEnterScRsp),
|
|
"CmdRogueTournQueryCsReq" => Some(Self::CmdRogueTournQueryCsReq),
|
|
"CmdRogueTournDeleteArchiveScRsp" => {
|
|
Some(Self::CmdRogueTournDeleteArchiveScRsp)
|
|
}
|
|
"CmdRogueTournGetSettleInfoScRsp" => {
|
|
Some(Self::CmdRogueTournGetSettleInfoScRsp)
|
|
}
|
|
"CmdRogueTournLevelInfoUpdateScNotify" => {
|
|
Some(Self::CmdRogueTournLevelInfoUpdateScNotify)
|
|
}
|
|
"CmdRogueTournStartScRsp" => Some(Self::CmdRogueTournStartScRsp),
|
|
"CmdRogueTournQueryScRsp" => Some(Self::CmdRogueTournQueryScRsp),
|
|
"CmdRogueTournGetCurRogueCocoonInfoScRsp" => {
|
|
Some(Self::CmdRogueTournGetCurRogueCocoonInfoScRsp)
|
|
}
|
|
"CmdRogueTournReviveAvatarScRsp" => {
|
|
Some(Self::CmdRogueTournReviveAvatarScRsp)
|
|
}
|
|
"CmdRogueTournSettleScRsp" => Some(Self::CmdRogueTournSettleScRsp),
|
|
"CmdRogueTournRenameArchiveCsReq" => {
|
|
Some(Self::CmdRogueTournRenameArchiveCsReq)
|
|
}
|
|
"CmdRogueTournTakeExpRewardScRsp" => {
|
|
Some(Self::CmdRogueTournTakeExpRewardScRsp)
|
|
}
|
|
"CmdRogueTournReEnterRogueCocoonStageScRsp" => {
|
|
Some(Self::CmdRogueTournReEnterRogueCocoonStageScRsp)
|
|
}
|
|
"CmdRogueTournGetCurRogueCocoonInfoCsReq" => {
|
|
Some(Self::CmdRogueTournGetCurRogueCocoonInfoCsReq)
|
|
}
|
|
"CmdRogueTournEnablePermanentTalentScRsp" => {
|
|
Some(Self::CmdRogueTournEnablePermanentTalentScRsp)
|
|
}
|
|
"CmdRogueTournDifficultyCompNotify" => {
|
|
Some(Self::CmdRogueTournDifficultyCompNotify)
|
|
}
|
|
"CmdRogueTournHandBookNotify" => Some(Self::CmdRogueTournHandBookNotify),
|
|
"CmdRogueTournClearArchiveNameScNotify" => {
|
|
Some(Self::CmdRogueTournClearArchiveNameScNotify)
|
|
}
|
|
"CmdRogueTournEnterLayerScRsp" => Some(Self::CmdRogueTournEnterLayerScRsp),
|
|
"CmdRogueTournLeaveCsReq" => Some(Self::CmdRogueTournLeaveCsReq),
|
|
"CmdRogueTournReEnterRogueCocoonStageCsReq" => {
|
|
Some(Self::CmdRogueTournReEnterRogueCocoonStageCsReq)
|
|
}
|
|
"CmdRogueTournLeaveRogueCocoonSceneCsReq" => {
|
|
Some(Self::CmdRogueTournLeaveRogueCocoonSceneCsReq)
|
|
}
|
|
"CmdRogueTournAreaUpdateScNotify" => {
|
|
Some(Self::CmdRogueTournAreaUpdateScNotify)
|
|
}
|
|
"CmdRogueTournGetAllArchiveCsReq" => {
|
|
Some(Self::CmdRogueTournGetAllArchiveCsReq)
|
|
}
|
|
"CmdRogueTournGetSettleInfoCsReq" => {
|
|
Some(Self::CmdRogueTournGetSettleInfoCsReq)
|
|
}
|
|
"CmdRogueTournLeaveScRsp" => Some(Self::CmdRogueTournLeaveScRsp),
|
|
"CmdRogueTournGetMiscRealTimeDataCsReq" => {
|
|
Some(Self::CmdRogueTournGetMiscRealTimeDataCsReq)
|
|
}
|
|
"CmdRogueTournReviveAvatarCsReq" => {
|
|
Some(Self::CmdRogueTournReviveAvatarCsReq)
|
|
}
|
|
"CmdRogueTournGetArchiveRepositoryCsReq" => {
|
|
Some(Self::CmdRogueTournGetArchiveRepositoryCsReq)
|
|
}
|
|
"CmdRogueTournStartCsReq" => Some(Self::CmdRogueTournStartCsReq),
|
|
"CmdRogueTournGetPermanentTalentInfoScRsp" => {
|
|
Some(Self::CmdRogueTournGetPermanentTalentInfoScRsp)
|
|
}
|
|
"CmdRogueTournLeaveRogueCocoonSceneScRsp" => {
|
|
Some(Self::CmdRogueTournLeaveRogueCocoonSceneScRsp)
|
|
}
|
|
"CmdRogueTournReviveCostUpdateScNotify" => {
|
|
Some(Self::CmdRogueTournReviveCostUpdateScNotify)
|
|
}
|
|
"CmdRogueTournRenameArchiveScRsp" => {
|
|
Some(Self::CmdRogueTournRenameArchiveScRsp)
|
|
}
|
|
"CmdRogueTournEnterRoomCsReq" => Some(Self::CmdRogueTournEnterRoomCsReq),
|
|
"CmdRogueTournEnterLayerCsReq" => Some(Self::CmdRogueTournEnterLayerCsReq),
|
|
"CmdRogueTournEnterRogueCocoonSceneCsReq" => {
|
|
Some(Self::CmdRogueTournEnterRogueCocoonSceneCsReq)
|
|
}
|
|
"CmdRogueTournResetPermanentTalentScRsp" => {
|
|
Some(Self::CmdRogueTournResetPermanentTalentScRsp)
|
|
}
|
|
"CmdRogueTournEnterCsReq" => Some(Self::CmdRogueTournEnterCsReq),
|
|
"CmdRogueTournSettleCsReq" => Some(Self::CmdRogueTournSettleCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdRollShopType {
|
|
None = 0,
|
|
CmdTakeRollShopRewardScRsp = 6902,
|
|
CmdGetRollShopInfoScRsp = 6903,
|
|
CmdTakeRollShopRewardCsReq = 6904,
|
|
CmdDoGachaInRollShopCsReq = 6912,
|
|
CmdGetRollShopInfoCsReq = 6919,
|
|
CmdDoGachaInRollShopScRsp = 6920,
|
|
}
|
|
impl CmdRollShopType {
|
|
/// 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 {
|
|
CmdRollShopType::None => "CmdRollShopTypeNone",
|
|
CmdRollShopType::CmdTakeRollShopRewardScRsp => "CmdTakeRollShopRewardScRsp",
|
|
CmdRollShopType::CmdGetRollShopInfoScRsp => "CmdGetRollShopInfoScRsp",
|
|
CmdRollShopType::CmdTakeRollShopRewardCsReq => "CmdTakeRollShopRewardCsReq",
|
|
CmdRollShopType::CmdDoGachaInRollShopCsReq => "CmdDoGachaInRollShopCsReq",
|
|
CmdRollShopType::CmdGetRollShopInfoCsReq => "CmdGetRollShopInfoCsReq",
|
|
CmdRollShopType::CmdDoGachaInRollShopScRsp => "CmdDoGachaInRollShopScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdRollShopTypeNone" => Some(Self::None),
|
|
"CmdTakeRollShopRewardScRsp" => Some(Self::CmdTakeRollShopRewardScRsp),
|
|
"CmdGetRollShopInfoScRsp" => Some(Self::CmdGetRollShopInfoScRsp),
|
|
"CmdTakeRollShopRewardCsReq" => Some(Self::CmdTakeRollShopRewardCsReq),
|
|
"CmdDoGachaInRollShopCsReq" => Some(Self::CmdDoGachaInRollShopCsReq),
|
|
"CmdGetRollShopInfoCsReq" => Some(Self::CmdGetRollShopInfoCsReq),
|
|
"CmdDoGachaInRollShopScRsp" => Some(Self::CmdDoGachaInRollShopScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdSceneType {
|
|
None = 0,
|
|
CmdGameplayCounterRecoverScRsp = 1401,
|
|
CmdSceneGroupRefreshScNotify = 1402,
|
|
CmdSetGroupCustomSaveDataCsReq = 1403,
|
|
CmdDeleteSummonUnitCsReq = 1404,
|
|
CmdGetUnlockTeleportScRsp = 1405,
|
|
CmdSceneEntityMoveScRsp = 1406,
|
|
CmdSpringRecoverSingleAvatarCsReq = 1407,
|
|
CmdEnterSectionCsReq = 1408,
|
|
CmdSceneReviveAfterRebattleCsReq = 1409,
|
|
CmdGetSceneMapInfoScRsp = 1410,
|
|
CmdInteractPropCsReq = 1411,
|
|
CmdEntityBindPropScRsp = 1412,
|
|
CmdActivateFarmElementCsReq = 1415,
|
|
CmdReturnLastTownCsReq = 1417,
|
|
CmdUnlockTeleportNotify = 1418,
|
|
CmdStartTimedFarmElementCsReq = 1419,
|
|
CmdGroupStateChangeScRsp = 1420,
|
|
CmdReEnterLastElementStageScRsp = 1421,
|
|
CmdReEnterLastElementStageCsReq = 1422,
|
|
CmdSetCurInteractEntityScRsp = 1423,
|
|
CmdLastSpringRefreshTimeNotify = 1424,
|
|
CmdSpringRefreshScRsp = 1425,
|
|
CmdSetGroupCustomSaveDataScRsp = 1426,
|
|
CmdGetEnteredSceneCsReq = 1427,
|
|
CmdSceneEnterStageScRsp = 1428,
|
|
CmdGetCurSceneInfoScRsp = 1429,
|
|
CmdSetClientPausedCsReq = 1430,
|
|
CmdUpdateMechanismBarScNotify = 1431,
|
|
CmdSceneCastSkillMpUpdateScNotify = 1434,
|
|
CmdGetSceneMapInfoCsReq = 1436,
|
|
CmdDeleteSummonUnitScRsp = 1437,
|
|
CmdRefreshTriggerByClientScRsp = 1438,
|
|
CmdGetCurSceneInfoCsReq = 1439,
|
|
CmdGetSpringRecoverDataCsReq = 1440,
|
|
CmdSpringRecoverSingleAvatarScRsp = 1441,
|
|
CmdEnterSceneScRsp = 1442,
|
|
CmdInteractPropScRsp = 1443,
|
|
CmdStartTimedCocoonStageCsReq = 1444,
|
|
CmdStartCocoonStageCsReq = 1445,
|
|
CmdEntityBindPropCsReq = 1446,
|
|
CmdSpringRecoverScRsp = 1447,
|
|
CmdSceneCastSkillCostMpCsReq = 1448,
|
|
CmdSavePointsInfoNotify = 1449,
|
|
CmdSyncServerSceneChangeNotify = 1450,
|
|
CmdGameplayCounterUpdateScNotify = 1452,
|
|
CmdSetSpringRecoverConfigScRsp = 1453,
|
|
CmdSceneUpdatePositionVersionNotify = 1454,
|
|
CmdEnteredSceneChangeScNotify = 1455,
|
|
CmdSceneCastSkillCsReq = 1456,
|
|
CmdGroupStateChangeScNotify = 1457,
|
|
CmdSpringRecoverCsReq = 1458,
|
|
CmdHealPoolInfoNotify = 1459,
|
|
CmdGameplayCounterCountDownCsReq = 1461,
|
|
CmdGameplayCounterRecoverCsReq = 1462,
|
|
CmdRefreshTriggerByClientCsReq = 1463,
|
|
CmdSyncEntityBuffChangeListScNotify = 1465,
|
|
CmdStartCocoonStageScRsp = 1466,
|
|
CmdDeactivateFarmElementScRsp = 1467,
|
|
CmdSceneEntityMoveCsReq = 1468,
|
|
CmdDeactivateFarmElementCsReq = 1469,
|
|
CmdUpdateFloorSavedValueNotify = 1470,
|
|
CmdSceneEntityTeleportCsReq = 1471,
|
|
CmdGetUnlockTeleportCsReq = 1472,
|
|
CmdSceneEntityTeleportScRsp = 1473,
|
|
CmdStartTimedCocoonStageScRsp = 1474,
|
|
CmdActivateFarmElementScRsp = 1475,
|
|
CmdRecoverAllLineupScRsp = 1476,
|
|
CmdGetEnteredSceneScRsp = 1477,
|
|
CmdRecoverAllLineupCsReq = 1478,
|
|
CmdGameplayCounterCountDownScRsp = 1479,
|
|
CmdRefreshTriggerByClientScNotify = 1480,
|
|
CmdEnterSectionScRsp = 1481,
|
|
CmdSceneCastSkillCostMpScRsp = 1482,
|
|
CmdEnterSceneByServerScNotify = 1483,
|
|
CmdSetCurInteractEntityCsReq = 1484,
|
|
CmdGetSpringRecoverDataScRsp = 1485,
|
|
CmdEnterSceneCsReq = 1486,
|
|
CmdStartTimedFarmElementScRsp = 1487,
|
|
CmdSceneReviveAfterRebattleScRsp = 1488,
|
|
CmdSceneEnterStageCsReq = 1490,
|
|
CmdGroupStateChangeCsReq = 1491,
|
|
CmdReturnLastTownScRsp = 1492,
|
|
CmdSceneCastSkillScRsp = 1493,
|
|
CmdUnlockedAreaMapScNotify = 1494,
|
|
CmdSetClientPausedScRsp = 1495,
|
|
CmdScenePlaneEventScNotify = 1496,
|
|
CmdSpringRefreshCsReq = 1498,
|
|
CmdSceneEntityMoveScNotify = 1499,
|
|
CmdSetSpringRecoverConfigCsReq = 1500,
|
|
}
|
|
impl CmdSceneType {
|
|
/// 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 {
|
|
CmdSceneType::None => "CmdSceneTypeNone",
|
|
CmdSceneType::CmdGameplayCounterRecoverScRsp => {
|
|
"CmdGameplayCounterRecoverScRsp"
|
|
}
|
|
CmdSceneType::CmdSceneGroupRefreshScNotify => "CmdSceneGroupRefreshScNotify",
|
|
CmdSceneType::CmdSetGroupCustomSaveDataCsReq => {
|
|
"CmdSetGroupCustomSaveDataCsReq"
|
|
}
|
|
CmdSceneType::CmdDeleteSummonUnitCsReq => "CmdDeleteSummonUnitCsReq",
|
|
CmdSceneType::CmdGetUnlockTeleportScRsp => "CmdGetUnlockTeleportScRsp",
|
|
CmdSceneType::CmdSceneEntityMoveScRsp => "CmdSceneEntityMoveScRsp",
|
|
CmdSceneType::CmdSpringRecoverSingleAvatarCsReq => {
|
|
"CmdSpringRecoverSingleAvatarCsReq"
|
|
}
|
|
CmdSceneType::CmdEnterSectionCsReq => "CmdEnterSectionCsReq",
|
|
CmdSceneType::CmdSceneReviveAfterRebattleCsReq => {
|
|
"CmdSceneReviveAfterRebattleCsReq"
|
|
}
|
|
CmdSceneType::CmdGetSceneMapInfoScRsp => "CmdGetSceneMapInfoScRsp",
|
|
CmdSceneType::CmdInteractPropCsReq => "CmdInteractPropCsReq",
|
|
CmdSceneType::CmdEntityBindPropScRsp => "CmdEntityBindPropScRsp",
|
|
CmdSceneType::CmdActivateFarmElementCsReq => "CmdActivateFarmElementCsReq",
|
|
CmdSceneType::CmdReturnLastTownCsReq => "CmdReturnLastTownCsReq",
|
|
CmdSceneType::CmdUnlockTeleportNotify => "CmdUnlockTeleportNotify",
|
|
CmdSceneType::CmdStartTimedFarmElementCsReq => {
|
|
"CmdStartTimedFarmElementCsReq"
|
|
}
|
|
CmdSceneType::CmdGroupStateChangeScRsp => "CmdGroupStateChangeScRsp",
|
|
CmdSceneType::CmdReEnterLastElementStageScRsp => {
|
|
"CmdReEnterLastElementStageScRsp"
|
|
}
|
|
CmdSceneType::CmdReEnterLastElementStageCsReq => {
|
|
"CmdReEnterLastElementStageCsReq"
|
|
}
|
|
CmdSceneType::CmdSetCurInteractEntityScRsp => "CmdSetCurInteractEntityScRsp",
|
|
CmdSceneType::CmdLastSpringRefreshTimeNotify => {
|
|
"CmdLastSpringRefreshTimeNotify"
|
|
}
|
|
CmdSceneType::CmdSpringRefreshScRsp => "CmdSpringRefreshScRsp",
|
|
CmdSceneType::CmdSetGroupCustomSaveDataScRsp => {
|
|
"CmdSetGroupCustomSaveDataScRsp"
|
|
}
|
|
CmdSceneType::CmdGetEnteredSceneCsReq => "CmdGetEnteredSceneCsReq",
|
|
CmdSceneType::CmdSceneEnterStageScRsp => "CmdSceneEnterStageScRsp",
|
|
CmdSceneType::CmdGetCurSceneInfoScRsp => "CmdGetCurSceneInfoScRsp",
|
|
CmdSceneType::CmdSetClientPausedCsReq => "CmdSetClientPausedCsReq",
|
|
CmdSceneType::CmdUpdateMechanismBarScNotify => {
|
|
"CmdUpdateMechanismBarScNotify"
|
|
}
|
|
CmdSceneType::CmdSceneCastSkillMpUpdateScNotify => {
|
|
"CmdSceneCastSkillMpUpdateScNotify"
|
|
}
|
|
CmdSceneType::CmdGetSceneMapInfoCsReq => "CmdGetSceneMapInfoCsReq",
|
|
CmdSceneType::CmdDeleteSummonUnitScRsp => "CmdDeleteSummonUnitScRsp",
|
|
CmdSceneType::CmdRefreshTriggerByClientScRsp => {
|
|
"CmdRefreshTriggerByClientScRsp"
|
|
}
|
|
CmdSceneType::CmdGetCurSceneInfoCsReq => "CmdGetCurSceneInfoCsReq",
|
|
CmdSceneType::CmdGetSpringRecoverDataCsReq => "CmdGetSpringRecoverDataCsReq",
|
|
CmdSceneType::CmdSpringRecoverSingleAvatarScRsp => {
|
|
"CmdSpringRecoverSingleAvatarScRsp"
|
|
}
|
|
CmdSceneType::CmdEnterSceneScRsp => "CmdEnterSceneScRsp",
|
|
CmdSceneType::CmdInteractPropScRsp => "CmdInteractPropScRsp",
|
|
CmdSceneType::CmdStartTimedCocoonStageCsReq => {
|
|
"CmdStartTimedCocoonStageCsReq"
|
|
}
|
|
CmdSceneType::CmdStartCocoonStageCsReq => "CmdStartCocoonStageCsReq",
|
|
CmdSceneType::CmdEntityBindPropCsReq => "CmdEntityBindPropCsReq",
|
|
CmdSceneType::CmdSpringRecoverScRsp => "CmdSpringRecoverScRsp",
|
|
CmdSceneType::CmdSceneCastSkillCostMpCsReq => "CmdSceneCastSkillCostMpCsReq",
|
|
CmdSceneType::CmdSavePointsInfoNotify => "CmdSavePointsInfoNotify",
|
|
CmdSceneType::CmdSyncServerSceneChangeNotify => {
|
|
"CmdSyncServerSceneChangeNotify"
|
|
}
|
|
CmdSceneType::CmdGameplayCounterUpdateScNotify => {
|
|
"CmdGameplayCounterUpdateScNotify"
|
|
}
|
|
CmdSceneType::CmdSetSpringRecoverConfigScRsp => {
|
|
"CmdSetSpringRecoverConfigScRsp"
|
|
}
|
|
CmdSceneType::CmdSceneUpdatePositionVersionNotify => {
|
|
"CmdSceneUpdatePositionVersionNotify"
|
|
}
|
|
CmdSceneType::CmdEnteredSceneChangeScNotify => {
|
|
"CmdEnteredSceneChangeScNotify"
|
|
}
|
|
CmdSceneType::CmdSceneCastSkillCsReq => "CmdSceneCastSkillCsReq",
|
|
CmdSceneType::CmdGroupStateChangeScNotify => "CmdGroupStateChangeScNotify",
|
|
CmdSceneType::CmdSpringRecoverCsReq => "CmdSpringRecoverCsReq",
|
|
CmdSceneType::CmdHealPoolInfoNotify => "CmdHealPoolInfoNotify",
|
|
CmdSceneType::CmdGameplayCounterCountDownCsReq => {
|
|
"CmdGameplayCounterCountDownCsReq"
|
|
}
|
|
CmdSceneType::CmdGameplayCounterRecoverCsReq => {
|
|
"CmdGameplayCounterRecoverCsReq"
|
|
}
|
|
CmdSceneType::CmdRefreshTriggerByClientCsReq => {
|
|
"CmdRefreshTriggerByClientCsReq"
|
|
}
|
|
CmdSceneType::CmdSyncEntityBuffChangeListScNotify => {
|
|
"CmdSyncEntityBuffChangeListScNotify"
|
|
}
|
|
CmdSceneType::CmdStartCocoonStageScRsp => "CmdStartCocoonStageScRsp",
|
|
CmdSceneType::CmdDeactivateFarmElementScRsp => {
|
|
"CmdDeactivateFarmElementScRsp"
|
|
}
|
|
CmdSceneType::CmdSceneEntityMoveCsReq => "CmdSceneEntityMoveCsReq",
|
|
CmdSceneType::CmdDeactivateFarmElementCsReq => {
|
|
"CmdDeactivateFarmElementCsReq"
|
|
}
|
|
CmdSceneType::CmdUpdateFloorSavedValueNotify => {
|
|
"CmdUpdateFloorSavedValueNotify"
|
|
}
|
|
CmdSceneType::CmdSceneEntityTeleportCsReq => "CmdSceneEntityTeleportCsReq",
|
|
CmdSceneType::CmdGetUnlockTeleportCsReq => "CmdGetUnlockTeleportCsReq",
|
|
CmdSceneType::CmdSceneEntityTeleportScRsp => "CmdSceneEntityTeleportScRsp",
|
|
CmdSceneType::CmdStartTimedCocoonStageScRsp => {
|
|
"CmdStartTimedCocoonStageScRsp"
|
|
}
|
|
CmdSceneType::CmdActivateFarmElementScRsp => "CmdActivateFarmElementScRsp",
|
|
CmdSceneType::CmdRecoverAllLineupScRsp => "CmdRecoverAllLineupScRsp",
|
|
CmdSceneType::CmdGetEnteredSceneScRsp => "CmdGetEnteredSceneScRsp",
|
|
CmdSceneType::CmdRecoverAllLineupCsReq => "CmdRecoverAllLineupCsReq",
|
|
CmdSceneType::CmdGameplayCounterCountDownScRsp => {
|
|
"CmdGameplayCounterCountDownScRsp"
|
|
}
|
|
CmdSceneType::CmdRefreshTriggerByClientScNotify => {
|
|
"CmdRefreshTriggerByClientScNotify"
|
|
}
|
|
CmdSceneType::CmdEnterSectionScRsp => "CmdEnterSectionScRsp",
|
|
CmdSceneType::CmdSceneCastSkillCostMpScRsp => "CmdSceneCastSkillCostMpScRsp",
|
|
CmdSceneType::CmdEnterSceneByServerScNotify => {
|
|
"CmdEnterSceneByServerScNotify"
|
|
}
|
|
CmdSceneType::CmdSetCurInteractEntityCsReq => "CmdSetCurInteractEntityCsReq",
|
|
CmdSceneType::CmdGetSpringRecoverDataScRsp => "CmdGetSpringRecoverDataScRsp",
|
|
CmdSceneType::CmdEnterSceneCsReq => "CmdEnterSceneCsReq",
|
|
CmdSceneType::CmdStartTimedFarmElementScRsp => {
|
|
"CmdStartTimedFarmElementScRsp"
|
|
}
|
|
CmdSceneType::CmdSceneReviveAfterRebattleScRsp => {
|
|
"CmdSceneReviveAfterRebattleScRsp"
|
|
}
|
|
CmdSceneType::CmdSceneEnterStageCsReq => "CmdSceneEnterStageCsReq",
|
|
CmdSceneType::CmdGroupStateChangeCsReq => "CmdGroupStateChangeCsReq",
|
|
CmdSceneType::CmdReturnLastTownScRsp => "CmdReturnLastTownScRsp",
|
|
CmdSceneType::CmdSceneCastSkillScRsp => "CmdSceneCastSkillScRsp",
|
|
CmdSceneType::CmdUnlockedAreaMapScNotify => "CmdUnlockedAreaMapScNotify",
|
|
CmdSceneType::CmdSetClientPausedScRsp => "CmdSetClientPausedScRsp",
|
|
CmdSceneType::CmdScenePlaneEventScNotify => "CmdScenePlaneEventScNotify",
|
|
CmdSceneType::CmdSpringRefreshCsReq => "CmdSpringRefreshCsReq",
|
|
CmdSceneType::CmdSceneEntityMoveScNotify => "CmdSceneEntityMoveScNotify",
|
|
CmdSceneType::CmdSetSpringRecoverConfigCsReq => {
|
|
"CmdSetSpringRecoverConfigCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdSceneTypeNone" => Some(Self::None),
|
|
"CmdGameplayCounterRecoverScRsp" => {
|
|
Some(Self::CmdGameplayCounterRecoverScRsp)
|
|
}
|
|
"CmdSceneGroupRefreshScNotify" => Some(Self::CmdSceneGroupRefreshScNotify),
|
|
"CmdSetGroupCustomSaveDataCsReq" => {
|
|
Some(Self::CmdSetGroupCustomSaveDataCsReq)
|
|
}
|
|
"CmdDeleteSummonUnitCsReq" => Some(Self::CmdDeleteSummonUnitCsReq),
|
|
"CmdGetUnlockTeleportScRsp" => Some(Self::CmdGetUnlockTeleportScRsp),
|
|
"CmdSceneEntityMoveScRsp" => Some(Self::CmdSceneEntityMoveScRsp),
|
|
"CmdSpringRecoverSingleAvatarCsReq" => {
|
|
Some(Self::CmdSpringRecoverSingleAvatarCsReq)
|
|
}
|
|
"CmdEnterSectionCsReq" => Some(Self::CmdEnterSectionCsReq),
|
|
"CmdSceneReviveAfterRebattleCsReq" => {
|
|
Some(Self::CmdSceneReviveAfterRebattleCsReq)
|
|
}
|
|
"CmdGetSceneMapInfoScRsp" => Some(Self::CmdGetSceneMapInfoScRsp),
|
|
"CmdInteractPropCsReq" => Some(Self::CmdInteractPropCsReq),
|
|
"CmdEntityBindPropScRsp" => Some(Self::CmdEntityBindPropScRsp),
|
|
"CmdActivateFarmElementCsReq" => Some(Self::CmdActivateFarmElementCsReq),
|
|
"CmdReturnLastTownCsReq" => Some(Self::CmdReturnLastTownCsReq),
|
|
"CmdUnlockTeleportNotify" => Some(Self::CmdUnlockTeleportNotify),
|
|
"CmdStartTimedFarmElementCsReq" => Some(Self::CmdStartTimedFarmElementCsReq),
|
|
"CmdGroupStateChangeScRsp" => Some(Self::CmdGroupStateChangeScRsp),
|
|
"CmdReEnterLastElementStageScRsp" => {
|
|
Some(Self::CmdReEnterLastElementStageScRsp)
|
|
}
|
|
"CmdReEnterLastElementStageCsReq" => {
|
|
Some(Self::CmdReEnterLastElementStageCsReq)
|
|
}
|
|
"CmdSetCurInteractEntityScRsp" => Some(Self::CmdSetCurInteractEntityScRsp),
|
|
"CmdLastSpringRefreshTimeNotify" => {
|
|
Some(Self::CmdLastSpringRefreshTimeNotify)
|
|
}
|
|
"CmdSpringRefreshScRsp" => Some(Self::CmdSpringRefreshScRsp),
|
|
"CmdSetGroupCustomSaveDataScRsp" => {
|
|
Some(Self::CmdSetGroupCustomSaveDataScRsp)
|
|
}
|
|
"CmdGetEnteredSceneCsReq" => Some(Self::CmdGetEnteredSceneCsReq),
|
|
"CmdSceneEnterStageScRsp" => Some(Self::CmdSceneEnterStageScRsp),
|
|
"CmdGetCurSceneInfoScRsp" => Some(Self::CmdGetCurSceneInfoScRsp),
|
|
"CmdSetClientPausedCsReq" => Some(Self::CmdSetClientPausedCsReq),
|
|
"CmdUpdateMechanismBarScNotify" => Some(Self::CmdUpdateMechanismBarScNotify),
|
|
"CmdSceneCastSkillMpUpdateScNotify" => {
|
|
Some(Self::CmdSceneCastSkillMpUpdateScNotify)
|
|
}
|
|
"CmdGetSceneMapInfoCsReq" => Some(Self::CmdGetSceneMapInfoCsReq),
|
|
"CmdDeleteSummonUnitScRsp" => Some(Self::CmdDeleteSummonUnitScRsp),
|
|
"CmdRefreshTriggerByClientScRsp" => {
|
|
Some(Self::CmdRefreshTriggerByClientScRsp)
|
|
}
|
|
"CmdGetCurSceneInfoCsReq" => Some(Self::CmdGetCurSceneInfoCsReq),
|
|
"CmdGetSpringRecoverDataCsReq" => Some(Self::CmdGetSpringRecoverDataCsReq),
|
|
"CmdSpringRecoverSingleAvatarScRsp" => {
|
|
Some(Self::CmdSpringRecoverSingleAvatarScRsp)
|
|
}
|
|
"CmdEnterSceneScRsp" => Some(Self::CmdEnterSceneScRsp),
|
|
"CmdInteractPropScRsp" => Some(Self::CmdInteractPropScRsp),
|
|
"CmdStartTimedCocoonStageCsReq" => Some(Self::CmdStartTimedCocoonStageCsReq),
|
|
"CmdStartCocoonStageCsReq" => Some(Self::CmdStartCocoonStageCsReq),
|
|
"CmdEntityBindPropCsReq" => Some(Self::CmdEntityBindPropCsReq),
|
|
"CmdSpringRecoverScRsp" => Some(Self::CmdSpringRecoverScRsp),
|
|
"CmdSceneCastSkillCostMpCsReq" => Some(Self::CmdSceneCastSkillCostMpCsReq),
|
|
"CmdSavePointsInfoNotify" => Some(Self::CmdSavePointsInfoNotify),
|
|
"CmdSyncServerSceneChangeNotify" => {
|
|
Some(Self::CmdSyncServerSceneChangeNotify)
|
|
}
|
|
"CmdGameplayCounterUpdateScNotify" => {
|
|
Some(Self::CmdGameplayCounterUpdateScNotify)
|
|
}
|
|
"CmdSetSpringRecoverConfigScRsp" => {
|
|
Some(Self::CmdSetSpringRecoverConfigScRsp)
|
|
}
|
|
"CmdSceneUpdatePositionVersionNotify" => {
|
|
Some(Self::CmdSceneUpdatePositionVersionNotify)
|
|
}
|
|
"CmdEnteredSceneChangeScNotify" => Some(Self::CmdEnteredSceneChangeScNotify),
|
|
"CmdSceneCastSkillCsReq" => Some(Self::CmdSceneCastSkillCsReq),
|
|
"CmdGroupStateChangeScNotify" => Some(Self::CmdGroupStateChangeScNotify),
|
|
"CmdSpringRecoverCsReq" => Some(Self::CmdSpringRecoverCsReq),
|
|
"CmdHealPoolInfoNotify" => Some(Self::CmdHealPoolInfoNotify),
|
|
"CmdGameplayCounterCountDownCsReq" => {
|
|
Some(Self::CmdGameplayCounterCountDownCsReq)
|
|
}
|
|
"CmdGameplayCounterRecoverCsReq" => {
|
|
Some(Self::CmdGameplayCounterRecoverCsReq)
|
|
}
|
|
"CmdRefreshTriggerByClientCsReq" => {
|
|
Some(Self::CmdRefreshTriggerByClientCsReq)
|
|
}
|
|
"CmdSyncEntityBuffChangeListScNotify" => {
|
|
Some(Self::CmdSyncEntityBuffChangeListScNotify)
|
|
}
|
|
"CmdStartCocoonStageScRsp" => Some(Self::CmdStartCocoonStageScRsp),
|
|
"CmdDeactivateFarmElementScRsp" => Some(Self::CmdDeactivateFarmElementScRsp),
|
|
"CmdSceneEntityMoveCsReq" => Some(Self::CmdSceneEntityMoveCsReq),
|
|
"CmdDeactivateFarmElementCsReq" => Some(Self::CmdDeactivateFarmElementCsReq),
|
|
"CmdUpdateFloorSavedValueNotify" => {
|
|
Some(Self::CmdUpdateFloorSavedValueNotify)
|
|
}
|
|
"CmdSceneEntityTeleportCsReq" => Some(Self::CmdSceneEntityTeleportCsReq),
|
|
"CmdGetUnlockTeleportCsReq" => Some(Self::CmdGetUnlockTeleportCsReq),
|
|
"CmdSceneEntityTeleportScRsp" => Some(Self::CmdSceneEntityTeleportScRsp),
|
|
"CmdStartTimedCocoonStageScRsp" => Some(Self::CmdStartTimedCocoonStageScRsp),
|
|
"CmdActivateFarmElementScRsp" => Some(Self::CmdActivateFarmElementScRsp),
|
|
"CmdRecoverAllLineupScRsp" => Some(Self::CmdRecoverAllLineupScRsp),
|
|
"CmdGetEnteredSceneScRsp" => Some(Self::CmdGetEnteredSceneScRsp),
|
|
"CmdRecoverAllLineupCsReq" => Some(Self::CmdRecoverAllLineupCsReq),
|
|
"CmdGameplayCounterCountDownScRsp" => {
|
|
Some(Self::CmdGameplayCounterCountDownScRsp)
|
|
}
|
|
"CmdRefreshTriggerByClientScNotify" => {
|
|
Some(Self::CmdRefreshTriggerByClientScNotify)
|
|
}
|
|
"CmdEnterSectionScRsp" => Some(Self::CmdEnterSectionScRsp),
|
|
"CmdSceneCastSkillCostMpScRsp" => Some(Self::CmdSceneCastSkillCostMpScRsp),
|
|
"CmdEnterSceneByServerScNotify" => Some(Self::CmdEnterSceneByServerScNotify),
|
|
"CmdSetCurInteractEntityCsReq" => Some(Self::CmdSetCurInteractEntityCsReq),
|
|
"CmdGetSpringRecoverDataScRsp" => Some(Self::CmdGetSpringRecoverDataScRsp),
|
|
"CmdEnterSceneCsReq" => Some(Self::CmdEnterSceneCsReq),
|
|
"CmdStartTimedFarmElementScRsp" => Some(Self::CmdStartTimedFarmElementScRsp),
|
|
"CmdSceneReviveAfterRebattleScRsp" => {
|
|
Some(Self::CmdSceneReviveAfterRebattleScRsp)
|
|
}
|
|
"CmdSceneEnterStageCsReq" => Some(Self::CmdSceneEnterStageCsReq),
|
|
"CmdGroupStateChangeCsReq" => Some(Self::CmdGroupStateChangeCsReq),
|
|
"CmdReturnLastTownScRsp" => Some(Self::CmdReturnLastTownScRsp),
|
|
"CmdSceneCastSkillScRsp" => Some(Self::CmdSceneCastSkillScRsp),
|
|
"CmdUnlockedAreaMapScNotify" => Some(Self::CmdUnlockedAreaMapScNotify),
|
|
"CmdSetClientPausedScRsp" => Some(Self::CmdSetClientPausedScRsp),
|
|
"CmdScenePlaneEventScNotify" => Some(Self::CmdScenePlaneEventScNotify),
|
|
"CmdSpringRefreshCsReq" => Some(Self::CmdSpringRefreshCsReq),
|
|
"CmdSceneEntityMoveScNotify" => Some(Self::CmdSceneEntityMoveScNotify),
|
|
"CmdSetSpringRecoverConfigCsReq" => {
|
|
Some(Self::CmdSetSpringRecoverConfigCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdServerPrefsType {
|
|
None = 0,
|
|
CmdGetAllServerPrefsDataScRsp = 6106,
|
|
CmdGetServerPrefsDataCsReq = 6111,
|
|
CmdGetServerPrefsDataScRsp = 6143,
|
|
CmdUpdateServerPrefsDataCsReq = 6156,
|
|
CmdGetAllServerPrefsDataCsReq = 6168,
|
|
CmdUpdateServerPrefsDataScRsp = 6193,
|
|
}
|
|
impl CmdServerPrefsType {
|
|
/// 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 {
|
|
CmdServerPrefsType::None => "CmdServerPrefsTypeNone",
|
|
CmdServerPrefsType::CmdGetAllServerPrefsDataScRsp => {
|
|
"CmdGetAllServerPrefsDataScRsp"
|
|
}
|
|
CmdServerPrefsType::CmdGetServerPrefsDataCsReq => {
|
|
"CmdGetServerPrefsDataCsReq"
|
|
}
|
|
CmdServerPrefsType::CmdGetServerPrefsDataScRsp => {
|
|
"CmdGetServerPrefsDataScRsp"
|
|
}
|
|
CmdServerPrefsType::CmdUpdateServerPrefsDataCsReq => {
|
|
"CmdUpdateServerPrefsDataCsReq"
|
|
}
|
|
CmdServerPrefsType::CmdGetAllServerPrefsDataCsReq => {
|
|
"CmdGetAllServerPrefsDataCsReq"
|
|
}
|
|
CmdServerPrefsType::CmdUpdateServerPrefsDataScRsp => {
|
|
"CmdUpdateServerPrefsDataScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdServerPrefsTypeNone" => Some(Self::None),
|
|
"CmdGetAllServerPrefsDataScRsp" => Some(Self::CmdGetAllServerPrefsDataScRsp),
|
|
"CmdGetServerPrefsDataCsReq" => Some(Self::CmdGetServerPrefsDataCsReq),
|
|
"CmdGetServerPrefsDataScRsp" => Some(Self::CmdGetServerPrefsDataScRsp),
|
|
"CmdUpdateServerPrefsDataCsReq" => Some(Self::CmdUpdateServerPrefsDataCsReq),
|
|
"CmdGetAllServerPrefsDataCsReq" => Some(Self::CmdGetAllServerPrefsDataCsReq),
|
|
"CmdUpdateServerPrefsDataScRsp" => Some(Self::CmdUpdateServerPrefsDataScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdShopType {
|
|
None = 0,
|
|
CmdGetShopListScRsp = 1506,
|
|
CmdBuyGoodsCsReq = 1511,
|
|
CmdCityShopInfoScNotify = 1539,
|
|
CmdBuyGoodsScRsp = 1543,
|
|
CmdTakeCityShopRewardCsReq = 1556,
|
|
CmdGetShopListCsReq = 1568,
|
|
CmdTakeCityShopRewardScRsp = 1593,
|
|
}
|
|
impl CmdShopType {
|
|
/// 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 {
|
|
CmdShopType::None => "CmdShopTypeNone",
|
|
CmdShopType::CmdGetShopListScRsp => "CmdGetShopListScRsp",
|
|
CmdShopType::CmdBuyGoodsCsReq => "CmdBuyGoodsCsReq",
|
|
CmdShopType::CmdCityShopInfoScNotify => "CmdCityShopInfoScNotify",
|
|
CmdShopType::CmdBuyGoodsScRsp => "CmdBuyGoodsScRsp",
|
|
CmdShopType::CmdTakeCityShopRewardCsReq => "CmdTakeCityShopRewardCsReq",
|
|
CmdShopType::CmdGetShopListCsReq => "CmdGetShopListCsReq",
|
|
CmdShopType::CmdTakeCityShopRewardScRsp => "CmdTakeCityShopRewardScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdShopTypeNone" => Some(Self::None),
|
|
"CmdGetShopListScRsp" => Some(Self::CmdGetShopListScRsp),
|
|
"CmdBuyGoodsCsReq" => Some(Self::CmdBuyGoodsCsReq),
|
|
"CmdCityShopInfoScNotify" => Some(Self::CmdCityShopInfoScNotify),
|
|
"CmdBuyGoodsScRsp" => Some(Self::CmdBuyGoodsScRsp),
|
|
"CmdTakeCityShopRewardCsReq" => Some(Self::CmdTakeCityShopRewardCsReq),
|
|
"CmdGetShopListCsReq" => Some(Self::CmdGetShopListCsReq),
|
|
"CmdTakeCityShopRewardScRsp" => Some(Self::CmdTakeCityShopRewardScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdSpaceZooType {
|
|
None = 0,
|
|
CmdSpaceZooDataScRsp = 6706,
|
|
CmdSpaceZooBornCsReq = 6711,
|
|
CmdSpaceZooOpCatteryScRsp = 6729,
|
|
CmdSpaceZooDeleteCatScRsp = 6733,
|
|
CmdSpaceZooOpCatteryCsReq = 6739,
|
|
CmdSpaceZooBornScRsp = 6743,
|
|
CmdSpaceZooTakeCsReq = 6748,
|
|
CmdSpaceZooDeleteCatCsReq = 6751,
|
|
CmdSpaceZooExchangeItemCsReq = 6754,
|
|
CmdSpaceZooMutateCsReq = 6756,
|
|
CmdSpaceZooExchangeItemScRsp = 6765,
|
|
CmdSpaceZooDataCsReq = 6768,
|
|
CmdSpaceZooTakeScRsp = 6782,
|
|
CmdSpaceZooMutateScRsp = 6793,
|
|
CmdSpaceZooCatUpdateNotify = 6799,
|
|
}
|
|
impl CmdSpaceZooType {
|
|
/// 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 {
|
|
CmdSpaceZooType::None => "CmdSpaceZooTypeNone",
|
|
CmdSpaceZooType::CmdSpaceZooDataScRsp => "CmdSpaceZooDataScRsp",
|
|
CmdSpaceZooType::CmdSpaceZooBornCsReq => "CmdSpaceZooBornCsReq",
|
|
CmdSpaceZooType::CmdSpaceZooOpCatteryScRsp => "CmdSpaceZooOpCatteryScRsp",
|
|
CmdSpaceZooType::CmdSpaceZooDeleteCatScRsp => "CmdSpaceZooDeleteCatScRsp",
|
|
CmdSpaceZooType::CmdSpaceZooOpCatteryCsReq => "CmdSpaceZooOpCatteryCsReq",
|
|
CmdSpaceZooType::CmdSpaceZooBornScRsp => "CmdSpaceZooBornScRsp",
|
|
CmdSpaceZooType::CmdSpaceZooTakeCsReq => "CmdSpaceZooTakeCsReq",
|
|
CmdSpaceZooType::CmdSpaceZooDeleteCatCsReq => "CmdSpaceZooDeleteCatCsReq",
|
|
CmdSpaceZooType::CmdSpaceZooExchangeItemCsReq => {
|
|
"CmdSpaceZooExchangeItemCsReq"
|
|
}
|
|
CmdSpaceZooType::CmdSpaceZooMutateCsReq => "CmdSpaceZooMutateCsReq",
|
|
CmdSpaceZooType::CmdSpaceZooExchangeItemScRsp => {
|
|
"CmdSpaceZooExchangeItemScRsp"
|
|
}
|
|
CmdSpaceZooType::CmdSpaceZooDataCsReq => "CmdSpaceZooDataCsReq",
|
|
CmdSpaceZooType::CmdSpaceZooTakeScRsp => "CmdSpaceZooTakeScRsp",
|
|
CmdSpaceZooType::CmdSpaceZooMutateScRsp => "CmdSpaceZooMutateScRsp",
|
|
CmdSpaceZooType::CmdSpaceZooCatUpdateNotify => "CmdSpaceZooCatUpdateNotify",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdSpaceZooTypeNone" => Some(Self::None),
|
|
"CmdSpaceZooDataScRsp" => Some(Self::CmdSpaceZooDataScRsp),
|
|
"CmdSpaceZooBornCsReq" => Some(Self::CmdSpaceZooBornCsReq),
|
|
"CmdSpaceZooOpCatteryScRsp" => Some(Self::CmdSpaceZooOpCatteryScRsp),
|
|
"CmdSpaceZooDeleteCatScRsp" => Some(Self::CmdSpaceZooDeleteCatScRsp),
|
|
"CmdSpaceZooOpCatteryCsReq" => Some(Self::CmdSpaceZooOpCatteryCsReq),
|
|
"CmdSpaceZooBornScRsp" => Some(Self::CmdSpaceZooBornScRsp),
|
|
"CmdSpaceZooTakeCsReq" => Some(Self::CmdSpaceZooTakeCsReq),
|
|
"CmdSpaceZooDeleteCatCsReq" => Some(Self::CmdSpaceZooDeleteCatCsReq),
|
|
"CmdSpaceZooExchangeItemCsReq" => Some(Self::CmdSpaceZooExchangeItemCsReq),
|
|
"CmdSpaceZooMutateCsReq" => Some(Self::CmdSpaceZooMutateCsReq),
|
|
"CmdSpaceZooExchangeItemScRsp" => Some(Self::CmdSpaceZooExchangeItemScRsp),
|
|
"CmdSpaceZooDataCsReq" => Some(Self::CmdSpaceZooDataCsReq),
|
|
"CmdSpaceZooTakeScRsp" => Some(Self::CmdSpaceZooTakeScRsp),
|
|
"CmdSpaceZooMutateScRsp" => Some(Self::CmdSpaceZooMutateScRsp),
|
|
"CmdSpaceZooCatUpdateNotify" => Some(Self::CmdSpaceZooCatUpdateNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdStarFightType {
|
|
None = 0,
|
|
CmdGetStarFightDataCsReq = 7161,
|
|
CmdStarFightDataChangeNotify = 7162,
|
|
CmdGetStarFightDataScRsp = 7164,
|
|
CmdStartStarFightLevelCsReq = 7169,
|
|
CmdStartStarFightLevelScRsp = 7170,
|
|
}
|
|
impl CmdStarFightType {
|
|
/// 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 {
|
|
CmdStarFightType::None => "CmdStarFightTypeNone",
|
|
CmdStarFightType::CmdGetStarFightDataCsReq => "CmdGetStarFightDataCsReq",
|
|
CmdStarFightType::CmdStarFightDataChangeNotify => {
|
|
"CmdStarFightDataChangeNotify"
|
|
}
|
|
CmdStarFightType::CmdGetStarFightDataScRsp => "CmdGetStarFightDataScRsp",
|
|
CmdStarFightType::CmdStartStarFightLevelCsReq => {
|
|
"CmdStartStarFightLevelCsReq"
|
|
}
|
|
CmdStarFightType::CmdStartStarFightLevelScRsp => {
|
|
"CmdStartStarFightLevelScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdStarFightTypeNone" => Some(Self::None),
|
|
"CmdGetStarFightDataCsReq" => Some(Self::CmdGetStarFightDataCsReq),
|
|
"CmdStarFightDataChangeNotify" => Some(Self::CmdStarFightDataChangeNotify),
|
|
"CmdGetStarFightDataScRsp" => Some(Self::CmdGetStarFightDataScRsp),
|
|
"CmdStartStarFightLevelCsReq" => Some(Self::CmdStartStarFightLevelCsReq),
|
|
"CmdStartStarFightLevelScRsp" => Some(Self::CmdStartStarFightLevelScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdStoryLineType {
|
|
None = 0,
|
|
CmdGetStoryLineInfoScRsp = 6206,
|
|
CmdStoryLineInfoScNotify = 6211,
|
|
CmdStoryLineTrialAvatarChangeScNotify = 6239,
|
|
CmdGetStoryLineInfoCsReq = 6268,
|
|
CmdChangeStoryLineFinishScNotify = 6293,
|
|
}
|
|
impl CmdStoryLineType {
|
|
/// 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 {
|
|
CmdStoryLineType::None => "CmdStoryLineTypeNone",
|
|
CmdStoryLineType::CmdGetStoryLineInfoScRsp => "CmdGetStoryLineInfoScRsp",
|
|
CmdStoryLineType::CmdStoryLineInfoScNotify => "CmdStoryLineInfoScNotify",
|
|
CmdStoryLineType::CmdStoryLineTrialAvatarChangeScNotify => {
|
|
"CmdStoryLineTrialAvatarChangeScNotify"
|
|
}
|
|
CmdStoryLineType::CmdGetStoryLineInfoCsReq => "CmdGetStoryLineInfoCsReq",
|
|
CmdStoryLineType::CmdChangeStoryLineFinishScNotify => {
|
|
"CmdChangeStoryLineFinishScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdStoryLineTypeNone" => Some(Self::None),
|
|
"CmdGetStoryLineInfoScRsp" => Some(Self::CmdGetStoryLineInfoScRsp),
|
|
"CmdStoryLineInfoScNotify" => Some(Self::CmdStoryLineInfoScNotify),
|
|
"CmdStoryLineTrialAvatarChangeScNotify" => {
|
|
Some(Self::CmdStoryLineTrialAvatarChangeScNotify)
|
|
}
|
|
"CmdGetStoryLineInfoCsReq" => Some(Self::CmdGetStoryLineInfoCsReq),
|
|
"CmdChangeStoryLineFinishScNotify" => {
|
|
Some(Self::CmdChangeStoryLineFinishScNotify)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdStrongChallengeActivityType {
|
|
None = 0,
|
|
CmdGetStrongChallengeActivityDataScRsp = 6606,
|
|
CmdEnterStrongChallengeActivityStageCsReq = 6611,
|
|
CmdEnterStrongChallengeActivityStageScRsp = 6643,
|
|
CmdStrongChallengeActivityBattleEndScNotify = 6656,
|
|
CmdGetStrongChallengeActivityDataCsReq = 6668,
|
|
}
|
|
impl CmdStrongChallengeActivityType {
|
|
/// 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 {
|
|
CmdStrongChallengeActivityType::None => "CmdStrongChallengeActivityTypeNone",
|
|
CmdStrongChallengeActivityType::CmdGetStrongChallengeActivityDataScRsp => {
|
|
"CmdGetStrongChallengeActivityDataScRsp"
|
|
}
|
|
CmdStrongChallengeActivityType::CmdEnterStrongChallengeActivityStageCsReq => {
|
|
"CmdEnterStrongChallengeActivityStageCsReq"
|
|
}
|
|
CmdStrongChallengeActivityType::CmdEnterStrongChallengeActivityStageScRsp => {
|
|
"CmdEnterStrongChallengeActivityStageScRsp"
|
|
}
|
|
CmdStrongChallengeActivityType::CmdStrongChallengeActivityBattleEndScNotify => {
|
|
"CmdStrongChallengeActivityBattleEndScNotify"
|
|
}
|
|
CmdStrongChallengeActivityType::CmdGetStrongChallengeActivityDataCsReq => {
|
|
"CmdGetStrongChallengeActivityDataCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdStrongChallengeActivityTypeNone" => Some(Self::None),
|
|
"CmdGetStrongChallengeActivityDataScRsp" => {
|
|
Some(Self::CmdGetStrongChallengeActivityDataScRsp)
|
|
}
|
|
"CmdEnterStrongChallengeActivityStageCsReq" => {
|
|
Some(Self::CmdEnterStrongChallengeActivityStageCsReq)
|
|
}
|
|
"CmdEnterStrongChallengeActivityStageScRsp" => {
|
|
Some(Self::CmdEnterStrongChallengeActivityStageScRsp)
|
|
}
|
|
"CmdStrongChallengeActivityBattleEndScNotify" => {
|
|
Some(Self::CmdStrongChallengeActivityBattleEndScNotify)
|
|
}
|
|
"CmdGetStrongChallengeActivityDataCsReq" => {
|
|
Some(Self::CmdGetStrongChallengeActivityDataCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdSummonActivityType {
|
|
None = 0,
|
|
CmdGetSummonActivityDataCsReq = 7561,
|
|
CmdSummonActivityBattleEndScNotify = 7562,
|
|
CmdGetSummonActivityDataScRsp = 7564,
|
|
CmdEnterSummonActivityStageCsReq = 7569,
|
|
CmdEnterSummonActivityStageScRsp = 7570,
|
|
}
|
|
impl CmdSummonActivityType {
|
|
/// 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 {
|
|
CmdSummonActivityType::None => "CmdSummonActivityTypeNone",
|
|
CmdSummonActivityType::CmdGetSummonActivityDataCsReq => {
|
|
"CmdGetSummonActivityDataCsReq"
|
|
}
|
|
CmdSummonActivityType::CmdSummonActivityBattleEndScNotify => {
|
|
"CmdSummonActivityBattleEndScNotify"
|
|
}
|
|
CmdSummonActivityType::CmdGetSummonActivityDataScRsp => {
|
|
"CmdGetSummonActivityDataScRsp"
|
|
}
|
|
CmdSummonActivityType::CmdEnterSummonActivityStageCsReq => {
|
|
"CmdEnterSummonActivityStageCsReq"
|
|
}
|
|
CmdSummonActivityType::CmdEnterSummonActivityStageScRsp => {
|
|
"CmdEnterSummonActivityStageScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdSummonActivityTypeNone" => Some(Self::None),
|
|
"CmdGetSummonActivityDataCsReq" => Some(Self::CmdGetSummonActivityDataCsReq),
|
|
"CmdSummonActivityBattleEndScNotify" => {
|
|
Some(Self::CmdSummonActivityBattleEndScNotify)
|
|
}
|
|
"CmdGetSummonActivityDataScRsp" => Some(Self::CmdGetSummonActivityDataScRsp),
|
|
"CmdEnterSummonActivityStageCsReq" => {
|
|
Some(Self::CmdEnterSummonActivityStageCsReq)
|
|
}
|
|
"CmdEnterSummonActivityStageScRsp" => {
|
|
Some(Self::CmdEnterSummonActivityStageScRsp)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdSwordTrainingType {
|
|
None = 0,
|
|
CmdSwordTrainingStoryBattleScRsp = 7452,
|
|
CmdSwordTrainingStartGameScRsp = 7453,
|
|
CmdSwordTrainingDialogueSelectOptionCsReq = 7454,
|
|
CmdSwordTrainingLearnSkillCsReq = 7455,
|
|
CmdSwordTrainingGameSyncChangeScNotify = 7457,
|
|
CmdSwordTrainingDailyPhaseConfirmCsReq = 7458,
|
|
CmdSwordTrainingMarkEndingViewedCsReq = 7459,
|
|
CmdSwordTrainingSetSkillTraceCsReq = 7460,
|
|
CmdSwordTrainingTurnActionScRsp = 7461,
|
|
CmdEnterSwordTrainingExamCsReq = 7462,
|
|
CmdSwordTrainingSelectEndingCsReq = 7463,
|
|
CmdSwordTrainingExamResultConfirmCsReq = 7464,
|
|
CmdGetSwordTrainingDataScRsp = 7465,
|
|
CmdSwordTrainingTurnActionCsReq = 7467,
|
|
CmdSwordTrainingMarkEndingViewedScRsp = 7468,
|
|
CmdSwordTrainingResumeGameCsReq = 7469,
|
|
CmdSwordTrainingStartGameCsReq = 7471,
|
|
CmdSwordTrainingDailyPhaseConfirmScRsp = 7473,
|
|
CmdGetSwordTrainingDataCsReq = 7474,
|
|
CmdSwordTrainingStoryConfirmScRsp = 7475,
|
|
CmdSwordTrainingExamResultConfirmScRsp = 7478,
|
|
CmdSwordTrainingActionTurnSettleScNotify = 7479,
|
|
CmdSwordTrainingUnlockSyncScNotify = 7481,
|
|
CmdSwordTrainingGiveUpGameCsReq = 7483,
|
|
CmdSwordTrainingDialogueSelectOptionScRsp = 7484,
|
|
CmdSwordTrainingStoryConfirmCsReq = 7485,
|
|
CmdSwordTrainingSelectEndingScRsp = 7488,
|
|
CmdEnterSwordTrainingExamScRsp = 7489,
|
|
CmdSwordTrainingStoryBattleCsReq = 7490,
|
|
CmdSwordTrainingRestoreGameCsReq = 7491,
|
|
CmdSwordTrainingGiveUpGameScRsp = 7493,
|
|
CmdSwordTrainingSetSkillTraceScRsp = 7494,
|
|
CmdSwordTrainingRestoreGameScRsp = 7496,
|
|
CmdSwordTrainingResumeGameScRsp = 7497,
|
|
CmdSwordTrainingLearnSkillScRsp = 7498,
|
|
CmdSwordTrainingGameSettleScNotify = 7499,
|
|
}
|
|
impl CmdSwordTrainingType {
|
|
/// 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 {
|
|
CmdSwordTrainingType::None => "CmdSwordTrainingTypeNone",
|
|
CmdSwordTrainingType::CmdSwordTrainingStoryBattleScRsp => {
|
|
"CmdSwordTrainingStoryBattleScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingStartGameScRsp => {
|
|
"CmdSwordTrainingStartGameScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingDialogueSelectOptionCsReq => {
|
|
"CmdSwordTrainingDialogueSelectOptionCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingLearnSkillCsReq => {
|
|
"CmdSwordTrainingLearnSkillCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingGameSyncChangeScNotify => {
|
|
"CmdSwordTrainingGameSyncChangeScNotify"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingDailyPhaseConfirmCsReq => {
|
|
"CmdSwordTrainingDailyPhaseConfirmCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingMarkEndingViewedCsReq => {
|
|
"CmdSwordTrainingMarkEndingViewedCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingSetSkillTraceCsReq => {
|
|
"CmdSwordTrainingSetSkillTraceCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingTurnActionScRsp => {
|
|
"CmdSwordTrainingTurnActionScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdEnterSwordTrainingExamCsReq => {
|
|
"CmdEnterSwordTrainingExamCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingSelectEndingCsReq => {
|
|
"CmdSwordTrainingSelectEndingCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingExamResultConfirmCsReq => {
|
|
"CmdSwordTrainingExamResultConfirmCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdGetSwordTrainingDataScRsp => {
|
|
"CmdGetSwordTrainingDataScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingTurnActionCsReq => {
|
|
"CmdSwordTrainingTurnActionCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingMarkEndingViewedScRsp => {
|
|
"CmdSwordTrainingMarkEndingViewedScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingResumeGameCsReq => {
|
|
"CmdSwordTrainingResumeGameCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingStartGameCsReq => {
|
|
"CmdSwordTrainingStartGameCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingDailyPhaseConfirmScRsp => {
|
|
"CmdSwordTrainingDailyPhaseConfirmScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdGetSwordTrainingDataCsReq => {
|
|
"CmdGetSwordTrainingDataCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingStoryConfirmScRsp => {
|
|
"CmdSwordTrainingStoryConfirmScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingExamResultConfirmScRsp => {
|
|
"CmdSwordTrainingExamResultConfirmScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingActionTurnSettleScNotify => {
|
|
"CmdSwordTrainingActionTurnSettleScNotify"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingUnlockSyncScNotify => {
|
|
"CmdSwordTrainingUnlockSyncScNotify"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingGiveUpGameCsReq => {
|
|
"CmdSwordTrainingGiveUpGameCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingDialogueSelectOptionScRsp => {
|
|
"CmdSwordTrainingDialogueSelectOptionScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingStoryConfirmCsReq => {
|
|
"CmdSwordTrainingStoryConfirmCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingSelectEndingScRsp => {
|
|
"CmdSwordTrainingSelectEndingScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdEnterSwordTrainingExamScRsp => {
|
|
"CmdEnterSwordTrainingExamScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingStoryBattleCsReq => {
|
|
"CmdSwordTrainingStoryBattleCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingRestoreGameCsReq => {
|
|
"CmdSwordTrainingRestoreGameCsReq"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingGiveUpGameScRsp => {
|
|
"CmdSwordTrainingGiveUpGameScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingSetSkillTraceScRsp => {
|
|
"CmdSwordTrainingSetSkillTraceScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingRestoreGameScRsp => {
|
|
"CmdSwordTrainingRestoreGameScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingResumeGameScRsp => {
|
|
"CmdSwordTrainingResumeGameScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingLearnSkillScRsp => {
|
|
"CmdSwordTrainingLearnSkillScRsp"
|
|
}
|
|
CmdSwordTrainingType::CmdSwordTrainingGameSettleScNotify => {
|
|
"CmdSwordTrainingGameSettleScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdSwordTrainingTypeNone" => Some(Self::None),
|
|
"CmdSwordTrainingStoryBattleScRsp" => {
|
|
Some(Self::CmdSwordTrainingStoryBattleScRsp)
|
|
}
|
|
"CmdSwordTrainingStartGameScRsp" => {
|
|
Some(Self::CmdSwordTrainingStartGameScRsp)
|
|
}
|
|
"CmdSwordTrainingDialogueSelectOptionCsReq" => {
|
|
Some(Self::CmdSwordTrainingDialogueSelectOptionCsReq)
|
|
}
|
|
"CmdSwordTrainingLearnSkillCsReq" => {
|
|
Some(Self::CmdSwordTrainingLearnSkillCsReq)
|
|
}
|
|
"CmdSwordTrainingGameSyncChangeScNotify" => {
|
|
Some(Self::CmdSwordTrainingGameSyncChangeScNotify)
|
|
}
|
|
"CmdSwordTrainingDailyPhaseConfirmCsReq" => {
|
|
Some(Self::CmdSwordTrainingDailyPhaseConfirmCsReq)
|
|
}
|
|
"CmdSwordTrainingMarkEndingViewedCsReq" => {
|
|
Some(Self::CmdSwordTrainingMarkEndingViewedCsReq)
|
|
}
|
|
"CmdSwordTrainingSetSkillTraceCsReq" => {
|
|
Some(Self::CmdSwordTrainingSetSkillTraceCsReq)
|
|
}
|
|
"CmdSwordTrainingTurnActionScRsp" => {
|
|
Some(Self::CmdSwordTrainingTurnActionScRsp)
|
|
}
|
|
"CmdEnterSwordTrainingExamCsReq" => {
|
|
Some(Self::CmdEnterSwordTrainingExamCsReq)
|
|
}
|
|
"CmdSwordTrainingSelectEndingCsReq" => {
|
|
Some(Self::CmdSwordTrainingSelectEndingCsReq)
|
|
}
|
|
"CmdSwordTrainingExamResultConfirmCsReq" => {
|
|
Some(Self::CmdSwordTrainingExamResultConfirmCsReq)
|
|
}
|
|
"CmdGetSwordTrainingDataScRsp" => Some(Self::CmdGetSwordTrainingDataScRsp),
|
|
"CmdSwordTrainingTurnActionCsReq" => {
|
|
Some(Self::CmdSwordTrainingTurnActionCsReq)
|
|
}
|
|
"CmdSwordTrainingMarkEndingViewedScRsp" => {
|
|
Some(Self::CmdSwordTrainingMarkEndingViewedScRsp)
|
|
}
|
|
"CmdSwordTrainingResumeGameCsReq" => {
|
|
Some(Self::CmdSwordTrainingResumeGameCsReq)
|
|
}
|
|
"CmdSwordTrainingStartGameCsReq" => {
|
|
Some(Self::CmdSwordTrainingStartGameCsReq)
|
|
}
|
|
"CmdSwordTrainingDailyPhaseConfirmScRsp" => {
|
|
Some(Self::CmdSwordTrainingDailyPhaseConfirmScRsp)
|
|
}
|
|
"CmdGetSwordTrainingDataCsReq" => Some(Self::CmdGetSwordTrainingDataCsReq),
|
|
"CmdSwordTrainingStoryConfirmScRsp" => {
|
|
Some(Self::CmdSwordTrainingStoryConfirmScRsp)
|
|
}
|
|
"CmdSwordTrainingExamResultConfirmScRsp" => {
|
|
Some(Self::CmdSwordTrainingExamResultConfirmScRsp)
|
|
}
|
|
"CmdSwordTrainingActionTurnSettleScNotify" => {
|
|
Some(Self::CmdSwordTrainingActionTurnSettleScNotify)
|
|
}
|
|
"CmdSwordTrainingUnlockSyncScNotify" => {
|
|
Some(Self::CmdSwordTrainingUnlockSyncScNotify)
|
|
}
|
|
"CmdSwordTrainingGiveUpGameCsReq" => {
|
|
Some(Self::CmdSwordTrainingGiveUpGameCsReq)
|
|
}
|
|
"CmdSwordTrainingDialogueSelectOptionScRsp" => {
|
|
Some(Self::CmdSwordTrainingDialogueSelectOptionScRsp)
|
|
}
|
|
"CmdSwordTrainingStoryConfirmCsReq" => {
|
|
Some(Self::CmdSwordTrainingStoryConfirmCsReq)
|
|
}
|
|
"CmdSwordTrainingSelectEndingScRsp" => {
|
|
Some(Self::CmdSwordTrainingSelectEndingScRsp)
|
|
}
|
|
"CmdEnterSwordTrainingExamScRsp" => {
|
|
Some(Self::CmdEnterSwordTrainingExamScRsp)
|
|
}
|
|
"CmdSwordTrainingStoryBattleCsReq" => {
|
|
Some(Self::CmdSwordTrainingStoryBattleCsReq)
|
|
}
|
|
"CmdSwordTrainingRestoreGameCsReq" => {
|
|
Some(Self::CmdSwordTrainingRestoreGameCsReq)
|
|
}
|
|
"CmdSwordTrainingGiveUpGameScRsp" => {
|
|
Some(Self::CmdSwordTrainingGiveUpGameScRsp)
|
|
}
|
|
"CmdSwordTrainingSetSkillTraceScRsp" => {
|
|
Some(Self::CmdSwordTrainingSetSkillTraceScRsp)
|
|
}
|
|
"CmdSwordTrainingRestoreGameScRsp" => {
|
|
Some(Self::CmdSwordTrainingRestoreGameScRsp)
|
|
}
|
|
"CmdSwordTrainingResumeGameScRsp" => {
|
|
Some(Self::CmdSwordTrainingResumeGameScRsp)
|
|
}
|
|
"CmdSwordTrainingLearnSkillScRsp" => {
|
|
Some(Self::CmdSwordTrainingLearnSkillScRsp)
|
|
}
|
|
"CmdSwordTrainingGameSettleScNotify" => {
|
|
Some(Self::CmdSwordTrainingGameSettleScNotify)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdPlayerSync {
|
|
None = 0,
|
|
ScNotify = 668,
|
|
}
|
|
impl CmdPlayerSync {
|
|
/// 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 {
|
|
CmdPlayerSync::None => "CmdPlayerSyncNone",
|
|
CmdPlayerSync::ScNotify => "CmdPlayerSyncScNotify",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdPlayerSyncNone" => Some(Self::None),
|
|
"CmdPlayerSyncScNotify" => Some(Self::ScNotify),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTalkRewardType {
|
|
None = 0,
|
|
CmdGetNpcTakenRewardScRsp = 2106,
|
|
CmdTakeTalkRewardCsReq = 2111,
|
|
CmdFinishFirstTalkNpcScRsp = 2129,
|
|
CmdSelectInclinationTextScRsp = 2133,
|
|
CmdFinishFirstTalkNpcCsReq = 2139,
|
|
CmdTakeTalkRewardScRsp = 2143,
|
|
CmdFinishFirstTalkByPerformanceNpcScRsp = 2148,
|
|
CmdSelectInclinationTextCsReq = 2151,
|
|
CmdGetFirstTalkByPerformanceNpcScRsp = 2154,
|
|
CmdGetFirstTalkNpcCsReq = 2156,
|
|
CmdFinishFirstTalkByPerformanceNpcCsReq = 2165,
|
|
CmdGetNpcTakenRewardCsReq = 2168,
|
|
CmdGetFirstTalkNpcScRsp = 2193,
|
|
CmdGetFirstTalkByPerformanceNpcCsReq = 2199,
|
|
}
|
|
impl CmdTalkRewardType {
|
|
/// 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 {
|
|
CmdTalkRewardType::None => "CmdTalkRewardTypeNone",
|
|
CmdTalkRewardType::CmdGetNpcTakenRewardScRsp => "CmdGetNpcTakenRewardScRsp",
|
|
CmdTalkRewardType::CmdTakeTalkRewardCsReq => "CmdTakeTalkRewardCsReq",
|
|
CmdTalkRewardType::CmdFinishFirstTalkNpcScRsp => "CmdFinishFirstTalkNpcScRsp",
|
|
CmdTalkRewardType::CmdSelectInclinationTextScRsp => {
|
|
"CmdSelectInclinationTextScRsp"
|
|
}
|
|
CmdTalkRewardType::CmdFinishFirstTalkNpcCsReq => "CmdFinishFirstTalkNpcCsReq",
|
|
CmdTalkRewardType::CmdTakeTalkRewardScRsp => "CmdTakeTalkRewardScRsp",
|
|
CmdTalkRewardType::CmdFinishFirstTalkByPerformanceNpcScRsp => {
|
|
"CmdFinishFirstTalkByPerformanceNpcScRsp"
|
|
}
|
|
CmdTalkRewardType::CmdSelectInclinationTextCsReq => {
|
|
"CmdSelectInclinationTextCsReq"
|
|
}
|
|
CmdTalkRewardType::CmdGetFirstTalkByPerformanceNpcScRsp => {
|
|
"CmdGetFirstTalkByPerformanceNpcScRsp"
|
|
}
|
|
CmdTalkRewardType::CmdGetFirstTalkNpcCsReq => "CmdGetFirstTalkNpcCsReq",
|
|
CmdTalkRewardType::CmdFinishFirstTalkByPerformanceNpcCsReq => {
|
|
"CmdFinishFirstTalkByPerformanceNpcCsReq"
|
|
}
|
|
CmdTalkRewardType::CmdGetNpcTakenRewardCsReq => "CmdGetNpcTakenRewardCsReq",
|
|
CmdTalkRewardType::CmdGetFirstTalkNpcScRsp => "CmdGetFirstTalkNpcScRsp",
|
|
CmdTalkRewardType::CmdGetFirstTalkByPerformanceNpcCsReq => {
|
|
"CmdGetFirstTalkByPerformanceNpcCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTalkRewardTypeNone" => Some(Self::None),
|
|
"CmdGetNpcTakenRewardScRsp" => Some(Self::CmdGetNpcTakenRewardScRsp),
|
|
"CmdTakeTalkRewardCsReq" => Some(Self::CmdTakeTalkRewardCsReq),
|
|
"CmdFinishFirstTalkNpcScRsp" => Some(Self::CmdFinishFirstTalkNpcScRsp),
|
|
"CmdSelectInclinationTextScRsp" => Some(Self::CmdSelectInclinationTextScRsp),
|
|
"CmdFinishFirstTalkNpcCsReq" => Some(Self::CmdFinishFirstTalkNpcCsReq),
|
|
"CmdTakeTalkRewardScRsp" => Some(Self::CmdTakeTalkRewardScRsp),
|
|
"CmdFinishFirstTalkByPerformanceNpcScRsp" => {
|
|
Some(Self::CmdFinishFirstTalkByPerformanceNpcScRsp)
|
|
}
|
|
"CmdSelectInclinationTextCsReq" => Some(Self::CmdSelectInclinationTextCsReq),
|
|
"CmdGetFirstTalkByPerformanceNpcScRsp" => {
|
|
Some(Self::CmdGetFirstTalkByPerformanceNpcScRsp)
|
|
}
|
|
"CmdGetFirstTalkNpcCsReq" => Some(Self::CmdGetFirstTalkNpcCsReq),
|
|
"CmdFinishFirstTalkByPerformanceNpcCsReq" => {
|
|
Some(Self::CmdFinishFirstTalkByPerformanceNpcCsReq)
|
|
}
|
|
"CmdGetNpcTakenRewardCsReq" => Some(Self::CmdGetNpcTakenRewardCsReq),
|
|
"CmdGetFirstTalkNpcScRsp" => Some(Self::CmdGetFirstTalkNpcScRsp),
|
|
"CmdGetFirstTalkByPerformanceNpcCsReq" => {
|
|
Some(Self::CmdGetFirstTalkByPerformanceNpcCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTelevisionActivityType {
|
|
None = 0,
|
|
CmdTelevisionActivityBattleEndScNotify = 6962,
|
|
CmdGetTelevisionActivityDataScRsp = 6963,
|
|
CmdEnterTelevisionActivityStageScRsp = 6964,
|
|
CmdTelevisionActivityDataChangeScNotify = 6972,
|
|
CmdGetTelevisionActivityDataCsReq = 6979,
|
|
CmdEnterTelevisionActivityStageCsReq = 6980,
|
|
}
|
|
impl CmdTelevisionActivityType {
|
|
/// 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 {
|
|
CmdTelevisionActivityType::None => "CmdTelevisionActivityTypeNone",
|
|
CmdTelevisionActivityType::CmdTelevisionActivityBattleEndScNotify => {
|
|
"CmdTelevisionActivityBattleEndScNotify"
|
|
}
|
|
CmdTelevisionActivityType::CmdGetTelevisionActivityDataScRsp => {
|
|
"CmdGetTelevisionActivityDataScRsp"
|
|
}
|
|
CmdTelevisionActivityType::CmdEnterTelevisionActivityStageScRsp => {
|
|
"CmdEnterTelevisionActivityStageScRsp"
|
|
}
|
|
CmdTelevisionActivityType::CmdTelevisionActivityDataChangeScNotify => {
|
|
"CmdTelevisionActivityDataChangeScNotify"
|
|
}
|
|
CmdTelevisionActivityType::CmdGetTelevisionActivityDataCsReq => {
|
|
"CmdGetTelevisionActivityDataCsReq"
|
|
}
|
|
CmdTelevisionActivityType::CmdEnterTelevisionActivityStageCsReq => {
|
|
"CmdEnterTelevisionActivityStageCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTelevisionActivityTypeNone" => Some(Self::None),
|
|
"CmdTelevisionActivityBattleEndScNotify" => {
|
|
Some(Self::CmdTelevisionActivityBattleEndScNotify)
|
|
}
|
|
"CmdGetTelevisionActivityDataScRsp" => {
|
|
Some(Self::CmdGetTelevisionActivityDataScRsp)
|
|
}
|
|
"CmdEnterTelevisionActivityStageScRsp" => {
|
|
Some(Self::CmdEnterTelevisionActivityStageScRsp)
|
|
}
|
|
"CmdTelevisionActivityDataChangeScNotify" => {
|
|
Some(Self::CmdTelevisionActivityDataChangeScNotify)
|
|
}
|
|
"CmdGetTelevisionActivityDataCsReq" => {
|
|
Some(Self::CmdGetTelevisionActivityDataCsReq)
|
|
}
|
|
"CmdEnterTelevisionActivityStageCsReq" => {
|
|
Some(Self::CmdEnterTelevisionActivityStageCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTextJoinType {
|
|
None = 0,
|
|
CmdTextJoinSaveScRsp = 3806,
|
|
CmdTextJoinQueryCsReq = 3811,
|
|
CmdTextJoinQueryScRsp = 3843,
|
|
CmdTextJoinBatchSaveCsReq = 3856,
|
|
CmdTextJoinSaveCsReq = 3868,
|
|
CmdTextJoinBatchSaveScRsp = 3893,
|
|
}
|
|
impl CmdTextJoinType {
|
|
/// 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 {
|
|
CmdTextJoinType::None => "CmdTextJoinTypeNone",
|
|
CmdTextJoinType::CmdTextJoinSaveScRsp => "CmdTextJoinSaveScRsp",
|
|
CmdTextJoinType::CmdTextJoinQueryCsReq => "CmdTextJoinQueryCsReq",
|
|
CmdTextJoinType::CmdTextJoinQueryScRsp => "CmdTextJoinQueryScRsp",
|
|
CmdTextJoinType::CmdTextJoinBatchSaveCsReq => "CmdTextJoinBatchSaveCsReq",
|
|
CmdTextJoinType::CmdTextJoinSaveCsReq => "CmdTextJoinSaveCsReq",
|
|
CmdTextJoinType::CmdTextJoinBatchSaveScRsp => "CmdTextJoinBatchSaveScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTextJoinTypeNone" => Some(Self::None),
|
|
"CmdTextJoinSaveScRsp" => Some(Self::CmdTextJoinSaveScRsp),
|
|
"CmdTextJoinQueryCsReq" => Some(Self::CmdTextJoinQueryCsReq),
|
|
"CmdTextJoinQueryScRsp" => Some(Self::CmdTextJoinQueryScRsp),
|
|
"CmdTextJoinBatchSaveCsReq" => Some(Self::CmdTextJoinBatchSaveCsReq),
|
|
"CmdTextJoinSaveCsReq" => Some(Self::CmdTextJoinSaveCsReq),
|
|
"CmdTextJoinBatchSaveScRsp" => Some(Self::CmdTextJoinBatchSaveScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTrackPhotoActivityType {
|
|
None = 0,
|
|
CmdGetTrackPhotoActivityDataCsReq = 7551,
|
|
CmdStartTrackPhotoStageCsReq = 7552,
|
|
CmdQuitTrackPhotoStageScRsp = 7553,
|
|
CmdGetTrackPhotoActivityDataScRsp = 7554,
|
|
CmdStartTrackPhotoStageScRsp = 7556,
|
|
CmdQuitTrackPhotoStageCsReq = 7557,
|
|
CmdSettleTrackPhotoStageCsReq = 7559,
|
|
CmdSettleTrackPhotoStageScRsp = 7560,
|
|
}
|
|
impl CmdTrackPhotoActivityType {
|
|
/// 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 {
|
|
CmdTrackPhotoActivityType::None => "CmdTrackPhotoActivityTypeNone",
|
|
CmdTrackPhotoActivityType::CmdGetTrackPhotoActivityDataCsReq => {
|
|
"CmdGetTrackPhotoActivityDataCsReq"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdStartTrackPhotoStageCsReq => {
|
|
"CmdStartTrackPhotoStageCsReq"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdQuitTrackPhotoStageScRsp => {
|
|
"CmdQuitTrackPhotoStageScRsp"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdGetTrackPhotoActivityDataScRsp => {
|
|
"CmdGetTrackPhotoActivityDataScRsp"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdStartTrackPhotoStageScRsp => {
|
|
"CmdStartTrackPhotoStageScRsp"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdQuitTrackPhotoStageCsReq => {
|
|
"CmdQuitTrackPhotoStageCsReq"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdSettleTrackPhotoStageCsReq => {
|
|
"CmdSettleTrackPhotoStageCsReq"
|
|
}
|
|
CmdTrackPhotoActivityType::CmdSettleTrackPhotoStageScRsp => {
|
|
"CmdSettleTrackPhotoStageScRsp"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTrackPhotoActivityTypeNone" => Some(Self::None),
|
|
"CmdGetTrackPhotoActivityDataCsReq" => {
|
|
Some(Self::CmdGetTrackPhotoActivityDataCsReq)
|
|
}
|
|
"CmdStartTrackPhotoStageCsReq" => Some(Self::CmdStartTrackPhotoStageCsReq),
|
|
"CmdQuitTrackPhotoStageScRsp" => Some(Self::CmdQuitTrackPhotoStageScRsp),
|
|
"CmdGetTrackPhotoActivityDataScRsp" => {
|
|
Some(Self::CmdGetTrackPhotoActivityDataScRsp)
|
|
}
|
|
"CmdStartTrackPhotoStageScRsp" => Some(Self::CmdStartTrackPhotoStageScRsp),
|
|
"CmdQuitTrackPhotoStageCsReq" => Some(Self::CmdQuitTrackPhotoStageCsReq),
|
|
"CmdSettleTrackPhotoStageCsReq" => Some(Self::CmdSettleTrackPhotoStageCsReq),
|
|
"CmdSettleTrackPhotoStageScRsp" => Some(Self::CmdSettleTrackPhotoStageScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTrainVisitorType {
|
|
None = 0,
|
|
CmdTrainVisitorBehaviorFinishScRsp = 3706,
|
|
CmdGetTrainVisitorBehaviorCsReq = 3711,
|
|
CmdGetTrainVisitorRegisterScRsp = 3729,
|
|
CmdTakeTrainVisitorUntakenBehaviorRewardScRsp = 3733,
|
|
CmdGetTrainVisitorRegisterCsReq = 3739,
|
|
CmdGetTrainVisitorBehaviorScRsp = 3743,
|
|
CmdTakeTrainVisitorUntakenBehaviorRewardCsReq = 3751,
|
|
CmdShowNewSupplementVisitorScRsp = 3754,
|
|
CmdTrainRefreshTimeNotify = 3756,
|
|
CmdTrainVisitorBehaviorFinishCsReq = 3768,
|
|
CmdTrainVisitorRewardSendNotify = 3793,
|
|
CmdShowNewSupplementVisitorCsReq = 3799,
|
|
}
|
|
impl CmdTrainVisitorType {
|
|
/// 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 {
|
|
CmdTrainVisitorType::None => "CmdTrainVisitorTypeNone",
|
|
CmdTrainVisitorType::CmdTrainVisitorBehaviorFinishScRsp => {
|
|
"CmdTrainVisitorBehaviorFinishScRsp"
|
|
}
|
|
CmdTrainVisitorType::CmdGetTrainVisitorBehaviorCsReq => {
|
|
"CmdGetTrainVisitorBehaviorCsReq"
|
|
}
|
|
CmdTrainVisitorType::CmdGetTrainVisitorRegisterScRsp => {
|
|
"CmdGetTrainVisitorRegisterScRsp"
|
|
}
|
|
CmdTrainVisitorType::CmdTakeTrainVisitorUntakenBehaviorRewardScRsp => {
|
|
"CmdTakeTrainVisitorUntakenBehaviorRewardScRsp"
|
|
}
|
|
CmdTrainVisitorType::CmdGetTrainVisitorRegisterCsReq => {
|
|
"CmdGetTrainVisitorRegisterCsReq"
|
|
}
|
|
CmdTrainVisitorType::CmdGetTrainVisitorBehaviorScRsp => {
|
|
"CmdGetTrainVisitorBehaviorScRsp"
|
|
}
|
|
CmdTrainVisitorType::CmdTakeTrainVisitorUntakenBehaviorRewardCsReq => {
|
|
"CmdTakeTrainVisitorUntakenBehaviorRewardCsReq"
|
|
}
|
|
CmdTrainVisitorType::CmdShowNewSupplementVisitorScRsp => {
|
|
"CmdShowNewSupplementVisitorScRsp"
|
|
}
|
|
CmdTrainVisitorType::CmdTrainRefreshTimeNotify => "CmdTrainRefreshTimeNotify",
|
|
CmdTrainVisitorType::CmdTrainVisitorBehaviorFinishCsReq => {
|
|
"CmdTrainVisitorBehaviorFinishCsReq"
|
|
}
|
|
CmdTrainVisitorType::CmdTrainVisitorRewardSendNotify => {
|
|
"CmdTrainVisitorRewardSendNotify"
|
|
}
|
|
CmdTrainVisitorType::CmdShowNewSupplementVisitorCsReq => {
|
|
"CmdShowNewSupplementVisitorCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTrainVisitorTypeNone" => Some(Self::None),
|
|
"CmdTrainVisitorBehaviorFinishScRsp" => {
|
|
Some(Self::CmdTrainVisitorBehaviorFinishScRsp)
|
|
}
|
|
"CmdGetTrainVisitorBehaviorCsReq" => {
|
|
Some(Self::CmdGetTrainVisitorBehaviorCsReq)
|
|
}
|
|
"CmdGetTrainVisitorRegisterScRsp" => {
|
|
Some(Self::CmdGetTrainVisitorRegisterScRsp)
|
|
}
|
|
"CmdTakeTrainVisitorUntakenBehaviorRewardScRsp" => {
|
|
Some(Self::CmdTakeTrainVisitorUntakenBehaviorRewardScRsp)
|
|
}
|
|
"CmdGetTrainVisitorRegisterCsReq" => {
|
|
Some(Self::CmdGetTrainVisitorRegisterCsReq)
|
|
}
|
|
"CmdGetTrainVisitorBehaviorScRsp" => {
|
|
Some(Self::CmdGetTrainVisitorBehaviorScRsp)
|
|
}
|
|
"CmdTakeTrainVisitorUntakenBehaviorRewardCsReq" => {
|
|
Some(Self::CmdTakeTrainVisitorUntakenBehaviorRewardCsReq)
|
|
}
|
|
"CmdShowNewSupplementVisitorScRsp" => {
|
|
Some(Self::CmdShowNewSupplementVisitorScRsp)
|
|
}
|
|
"CmdTrainRefreshTimeNotify" => Some(Self::CmdTrainRefreshTimeNotify),
|
|
"CmdTrainVisitorBehaviorFinishCsReq" => {
|
|
Some(Self::CmdTrainVisitorBehaviorFinishCsReq)
|
|
}
|
|
"CmdTrainVisitorRewardSendNotify" => {
|
|
Some(Self::CmdTrainVisitorRewardSendNotify)
|
|
}
|
|
"CmdShowNewSupplementVisitorCsReq" => {
|
|
Some(Self::CmdShowNewSupplementVisitorCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTravelBrochure {
|
|
None = 0,
|
|
GetDataScRsp = 6406,
|
|
PageUnlockScNotify = 6411,
|
|
ApplyPasterListCsReq = 6417,
|
|
PageResetScRsp = 6424,
|
|
PageResetCsReq = 6425,
|
|
ApplyPasterScRsp = 6429,
|
|
RemovePasterScRsp = 6433,
|
|
SetCustomValueScRsp = 6434,
|
|
ApplyPasterCsReq = 6439,
|
|
RemovePasterCsReq = 6451,
|
|
UpdatePasterPosScRsp = 6454,
|
|
SelectMessageCsReq = 6456,
|
|
GetPasterScNotify = 6465,
|
|
GetDataCsReq = 6468,
|
|
SetCustomValueCsReq = 6482,
|
|
ApplyPasterListScRsp = 6492,
|
|
SelectMessageScRsp = 6493,
|
|
SetPageDescStatusCsReq = 6497,
|
|
SetPageDescStatusScRsp = 6498,
|
|
UpdatePasterPosCsReq = 6499,
|
|
}
|
|
impl CmdTravelBrochure {
|
|
/// 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 {
|
|
CmdTravelBrochure::None => "CmdTravelBrochureNone",
|
|
CmdTravelBrochure::GetDataScRsp => "CmdTravelBrochureGetDataScRsp",
|
|
CmdTravelBrochure::PageUnlockScNotify => {
|
|
"CmdTravelBrochurePageUnlockScNotify"
|
|
}
|
|
CmdTravelBrochure::ApplyPasterListCsReq => {
|
|
"CmdTravelBrochureApplyPasterListCsReq"
|
|
}
|
|
CmdTravelBrochure::PageResetScRsp => "CmdTravelBrochurePageResetScRsp",
|
|
CmdTravelBrochure::PageResetCsReq => "CmdTravelBrochurePageResetCsReq",
|
|
CmdTravelBrochure::ApplyPasterScRsp => "CmdTravelBrochureApplyPasterScRsp",
|
|
CmdTravelBrochure::RemovePasterScRsp => "CmdTravelBrochureRemovePasterScRsp",
|
|
CmdTravelBrochure::SetCustomValueScRsp => {
|
|
"CmdTravelBrochureSetCustomValueScRsp"
|
|
}
|
|
CmdTravelBrochure::ApplyPasterCsReq => "CmdTravelBrochureApplyPasterCsReq",
|
|
CmdTravelBrochure::RemovePasterCsReq => "CmdTravelBrochureRemovePasterCsReq",
|
|
CmdTravelBrochure::UpdatePasterPosScRsp => {
|
|
"CmdTravelBrochureUpdatePasterPosScRsp"
|
|
}
|
|
CmdTravelBrochure::SelectMessageCsReq => {
|
|
"CmdTravelBrochureSelectMessageCsReq"
|
|
}
|
|
CmdTravelBrochure::GetPasterScNotify => "CmdTravelBrochureGetPasterScNotify",
|
|
CmdTravelBrochure::GetDataCsReq => "CmdTravelBrochureGetDataCsReq",
|
|
CmdTravelBrochure::SetCustomValueCsReq => {
|
|
"CmdTravelBrochureSetCustomValueCsReq"
|
|
}
|
|
CmdTravelBrochure::ApplyPasterListScRsp => {
|
|
"CmdTravelBrochureApplyPasterListScRsp"
|
|
}
|
|
CmdTravelBrochure::SelectMessageScRsp => {
|
|
"CmdTravelBrochureSelectMessageScRsp"
|
|
}
|
|
CmdTravelBrochure::SetPageDescStatusCsReq => {
|
|
"CmdTravelBrochureSetPageDescStatusCsReq"
|
|
}
|
|
CmdTravelBrochure::SetPageDescStatusScRsp => {
|
|
"CmdTravelBrochureSetPageDescStatusScRsp"
|
|
}
|
|
CmdTravelBrochure::UpdatePasterPosCsReq => {
|
|
"CmdTravelBrochureUpdatePasterPosCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTravelBrochureNone" => Some(Self::None),
|
|
"CmdTravelBrochureGetDataScRsp" => Some(Self::GetDataScRsp),
|
|
"CmdTravelBrochurePageUnlockScNotify" => Some(Self::PageUnlockScNotify),
|
|
"CmdTravelBrochureApplyPasterListCsReq" => Some(Self::ApplyPasterListCsReq),
|
|
"CmdTravelBrochurePageResetScRsp" => Some(Self::PageResetScRsp),
|
|
"CmdTravelBrochurePageResetCsReq" => Some(Self::PageResetCsReq),
|
|
"CmdTravelBrochureApplyPasterScRsp" => Some(Self::ApplyPasterScRsp),
|
|
"CmdTravelBrochureRemovePasterScRsp" => Some(Self::RemovePasterScRsp),
|
|
"CmdTravelBrochureSetCustomValueScRsp" => Some(Self::SetCustomValueScRsp),
|
|
"CmdTravelBrochureApplyPasterCsReq" => Some(Self::ApplyPasterCsReq),
|
|
"CmdTravelBrochureRemovePasterCsReq" => Some(Self::RemovePasterCsReq),
|
|
"CmdTravelBrochureUpdatePasterPosScRsp" => Some(Self::UpdatePasterPosScRsp),
|
|
"CmdTravelBrochureSelectMessageCsReq" => Some(Self::SelectMessageCsReq),
|
|
"CmdTravelBrochureGetPasterScNotify" => Some(Self::GetPasterScNotify),
|
|
"CmdTravelBrochureGetDataCsReq" => Some(Self::GetDataCsReq),
|
|
"CmdTravelBrochureSetCustomValueCsReq" => Some(Self::SetCustomValueCsReq),
|
|
"CmdTravelBrochureApplyPasterListScRsp" => Some(Self::ApplyPasterListScRsp),
|
|
"CmdTravelBrochureSelectMessageScRsp" => Some(Self::SelectMessageScRsp),
|
|
"CmdTravelBrochureSetPageDescStatusCsReq" => {
|
|
Some(Self::SetPageDescStatusCsReq)
|
|
}
|
|
"CmdTravelBrochureSetPageDescStatusScRsp" => {
|
|
Some(Self::SetPageDescStatusScRsp)
|
|
}
|
|
"CmdTravelBrochureUpdatePasterPosCsReq" => Some(Self::UpdatePasterPosCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTreasureDungeonType {
|
|
None = 0,
|
|
CmdTreasureDungeonFinishScNotify = 4406,
|
|
CmdUseTreasureDungeonItemCsReq = 4417,
|
|
CmdInteractTreasureDungeonGridScRsp = 4424,
|
|
CmdInteractTreasureDungeonGridCsReq = 4425,
|
|
CmdQuitTreasureDungeonScRsp = 4428,
|
|
CmdOpenTreasureDungeonGridScRsp = 4434,
|
|
CmdEnterTreasureDungeonScRsp = 4448,
|
|
CmdGetTreasureDungeonActivityDataScRsp = 4454,
|
|
CmdEnterTreasureDungeonCsReq = 4465,
|
|
CmdTreasureDungeonDataScNotify = 4468,
|
|
CmdOpenTreasureDungeonGridCsReq = 4482,
|
|
CmdQuitTreasureDungeonCsReq = 4490,
|
|
CmdUseTreasureDungeonItemScRsp = 4492,
|
|
CmdFightTreasureDungeonMonsterCsReq = 4497,
|
|
CmdFightTreasureDungeonMonsterScRsp = 4498,
|
|
CmdGetTreasureDungeonActivityDataCsReq = 4499,
|
|
}
|
|
impl CmdTreasureDungeonType {
|
|
/// 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 {
|
|
CmdTreasureDungeonType::None => "CmdTreasureDungeonTypeNone",
|
|
CmdTreasureDungeonType::CmdTreasureDungeonFinishScNotify => {
|
|
"CmdTreasureDungeonFinishScNotify"
|
|
}
|
|
CmdTreasureDungeonType::CmdUseTreasureDungeonItemCsReq => {
|
|
"CmdUseTreasureDungeonItemCsReq"
|
|
}
|
|
CmdTreasureDungeonType::CmdInteractTreasureDungeonGridScRsp => {
|
|
"CmdInteractTreasureDungeonGridScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdInteractTreasureDungeonGridCsReq => {
|
|
"CmdInteractTreasureDungeonGridCsReq"
|
|
}
|
|
CmdTreasureDungeonType::CmdQuitTreasureDungeonScRsp => {
|
|
"CmdQuitTreasureDungeonScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdOpenTreasureDungeonGridScRsp => {
|
|
"CmdOpenTreasureDungeonGridScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdEnterTreasureDungeonScRsp => {
|
|
"CmdEnterTreasureDungeonScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdGetTreasureDungeonActivityDataScRsp => {
|
|
"CmdGetTreasureDungeonActivityDataScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdEnterTreasureDungeonCsReq => {
|
|
"CmdEnterTreasureDungeonCsReq"
|
|
}
|
|
CmdTreasureDungeonType::CmdTreasureDungeonDataScNotify => {
|
|
"CmdTreasureDungeonDataScNotify"
|
|
}
|
|
CmdTreasureDungeonType::CmdOpenTreasureDungeonGridCsReq => {
|
|
"CmdOpenTreasureDungeonGridCsReq"
|
|
}
|
|
CmdTreasureDungeonType::CmdQuitTreasureDungeonCsReq => {
|
|
"CmdQuitTreasureDungeonCsReq"
|
|
}
|
|
CmdTreasureDungeonType::CmdUseTreasureDungeonItemScRsp => {
|
|
"CmdUseTreasureDungeonItemScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdFightTreasureDungeonMonsterCsReq => {
|
|
"CmdFightTreasureDungeonMonsterCsReq"
|
|
}
|
|
CmdTreasureDungeonType::CmdFightTreasureDungeonMonsterScRsp => {
|
|
"CmdFightTreasureDungeonMonsterScRsp"
|
|
}
|
|
CmdTreasureDungeonType::CmdGetTreasureDungeonActivityDataCsReq => {
|
|
"CmdGetTreasureDungeonActivityDataCsReq"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTreasureDungeonTypeNone" => Some(Self::None),
|
|
"CmdTreasureDungeonFinishScNotify" => {
|
|
Some(Self::CmdTreasureDungeonFinishScNotify)
|
|
}
|
|
"CmdUseTreasureDungeonItemCsReq" => {
|
|
Some(Self::CmdUseTreasureDungeonItemCsReq)
|
|
}
|
|
"CmdInteractTreasureDungeonGridScRsp" => {
|
|
Some(Self::CmdInteractTreasureDungeonGridScRsp)
|
|
}
|
|
"CmdInteractTreasureDungeonGridCsReq" => {
|
|
Some(Self::CmdInteractTreasureDungeonGridCsReq)
|
|
}
|
|
"CmdQuitTreasureDungeonScRsp" => Some(Self::CmdQuitTreasureDungeonScRsp),
|
|
"CmdOpenTreasureDungeonGridScRsp" => {
|
|
Some(Self::CmdOpenTreasureDungeonGridScRsp)
|
|
}
|
|
"CmdEnterTreasureDungeonScRsp" => Some(Self::CmdEnterTreasureDungeonScRsp),
|
|
"CmdGetTreasureDungeonActivityDataScRsp" => {
|
|
Some(Self::CmdGetTreasureDungeonActivityDataScRsp)
|
|
}
|
|
"CmdEnterTreasureDungeonCsReq" => Some(Self::CmdEnterTreasureDungeonCsReq),
|
|
"CmdTreasureDungeonDataScNotify" => {
|
|
Some(Self::CmdTreasureDungeonDataScNotify)
|
|
}
|
|
"CmdOpenTreasureDungeonGridCsReq" => {
|
|
Some(Self::CmdOpenTreasureDungeonGridCsReq)
|
|
}
|
|
"CmdQuitTreasureDungeonCsReq" => Some(Self::CmdQuitTreasureDungeonCsReq),
|
|
"CmdUseTreasureDungeonItemScRsp" => {
|
|
Some(Self::CmdUseTreasureDungeonItemScRsp)
|
|
}
|
|
"CmdFightTreasureDungeonMonsterCsReq" => {
|
|
Some(Self::CmdFightTreasureDungeonMonsterCsReq)
|
|
}
|
|
"CmdFightTreasureDungeonMonsterScRsp" => {
|
|
Some(Self::CmdFightTreasureDungeonMonsterScRsp)
|
|
}
|
|
"CmdGetTreasureDungeonActivityDataCsReq" => {
|
|
Some(Self::CmdGetTreasureDungeonActivityDataCsReq)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdTutorialType {
|
|
None = 0,
|
|
CmdGetTutorialScRsp = 1606,
|
|
CmdGetTutorialGuideCsReq = 1611,
|
|
CmdUnlockTutorialGuideScRsp = 1629,
|
|
CmdFinishTutorialScRsp = 1633,
|
|
CmdUnlockTutorialGuideCsReq = 1639,
|
|
CmdGetTutorialGuideScRsp = 1643,
|
|
CmdFinishTutorialCsReq = 1651,
|
|
CmdFinishTutorialGuideScRsp = 1654,
|
|
CmdUnlockTutorialCsReq = 1656,
|
|
CmdGetTutorialCsReq = 1668,
|
|
CmdUnlockTutorialScRsp = 1693,
|
|
CmdFinishTutorialGuideCsReq = 1699,
|
|
}
|
|
impl CmdTutorialType {
|
|
/// 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 {
|
|
CmdTutorialType::None => "CmdTutorialTypeNone",
|
|
CmdTutorialType::CmdGetTutorialScRsp => "CmdGetTutorialScRsp",
|
|
CmdTutorialType::CmdGetTutorialGuideCsReq => "CmdGetTutorialGuideCsReq",
|
|
CmdTutorialType::CmdUnlockTutorialGuideScRsp => "CmdUnlockTutorialGuideScRsp",
|
|
CmdTutorialType::CmdFinishTutorialScRsp => "CmdFinishTutorialScRsp",
|
|
CmdTutorialType::CmdUnlockTutorialGuideCsReq => "CmdUnlockTutorialGuideCsReq",
|
|
CmdTutorialType::CmdGetTutorialGuideScRsp => "CmdGetTutorialGuideScRsp",
|
|
CmdTutorialType::CmdFinishTutorialCsReq => "CmdFinishTutorialCsReq",
|
|
CmdTutorialType::CmdFinishTutorialGuideScRsp => "CmdFinishTutorialGuideScRsp",
|
|
CmdTutorialType::CmdUnlockTutorialCsReq => "CmdUnlockTutorialCsReq",
|
|
CmdTutorialType::CmdGetTutorialCsReq => "CmdGetTutorialCsReq",
|
|
CmdTutorialType::CmdUnlockTutorialScRsp => "CmdUnlockTutorialScRsp",
|
|
CmdTutorialType::CmdFinishTutorialGuideCsReq => "CmdFinishTutorialGuideCsReq",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdTutorialTypeNone" => Some(Self::None),
|
|
"CmdGetTutorialScRsp" => Some(Self::CmdGetTutorialScRsp),
|
|
"CmdGetTutorialGuideCsReq" => Some(Self::CmdGetTutorialGuideCsReq),
|
|
"CmdUnlockTutorialGuideScRsp" => Some(Self::CmdUnlockTutorialGuideScRsp),
|
|
"CmdFinishTutorialScRsp" => Some(Self::CmdFinishTutorialScRsp),
|
|
"CmdUnlockTutorialGuideCsReq" => Some(Self::CmdUnlockTutorialGuideCsReq),
|
|
"CmdGetTutorialGuideScRsp" => Some(Self::CmdGetTutorialGuideScRsp),
|
|
"CmdFinishTutorialCsReq" => Some(Self::CmdFinishTutorialCsReq),
|
|
"CmdFinishTutorialGuideScRsp" => Some(Self::CmdFinishTutorialGuideScRsp),
|
|
"CmdUnlockTutorialCsReq" => Some(Self::CmdUnlockTutorialCsReq),
|
|
"CmdGetTutorialCsReq" => Some(Self::CmdGetTutorialCsReq),
|
|
"CmdUnlockTutorialScRsp" => Some(Self::CmdUnlockTutorialScRsp),
|
|
"CmdFinishTutorialGuideCsReq" => Some(Self::CmdFinishTutorialGuideCsReq),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdWaypointType {
|
|
None = 0,
|
|
CmdGetWaypointScRsp = 406,
|
|
CmdSetCurWaypointCsReq = 411,
|
|
CmdTakeChapterRewardCsReq = 429,
|
|
CmdWaypointShowNewCsNotify = 439,
|
|
CmdSetCurWaypointScRsp = 443,
|
|
CmdTakeChapterRewardScRsp = 451,
|
|
CmdGetChapterCsReq = 456,
|
|
CmdGetWaypointCsReq = 468,
|
|
CmdGetChapterScRsp = 493,
|
|
}
|
|
impl CmdWaypointType {
|
|
/// 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 {
|
|
CmdWaypointType::None => "CmdWaypointTypeNone",
|
|
CmdWaypointType::CmdGetWaypointScRsp => "CmdGetWaypointScRsp",
|
|
CmdWaypointType::CmdSetCurWaypointCsReq => "CmdSetCurWaypointCsReq",
|
|
CmdWaypointType::CmdTakeChapterRewardCsReq => "CmdTakeChapterRewardCsReq",
|
|
CmdWaypointType::CmdWaypointShowNewCsNotify => "CmdWaypointShowNewCsNotify",
|
|
CmdWaypointType::CmdSetCurWaypointScRsp => "CmdSetCurWaypointScRsp",
|
|
CmdWaypointType::CmdTakeChapterRewardScRsp => "CmdTakeChapterRewardScRsp",
|
|
CmdWaypointType::CmdGetChapterCsReq => "CmdGetChapterCsReq",
|
|
CmdWaypointType::CmdGetWaypointCsReq => "CmdGetWaypointCsReq",
|
|
CmdWaypointType::CmdGetChapterScRsp => "CmdGetChapterScRsp",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdWaypointTypeNone" => Some(Self::None),
|
|
"CmdGetWaypointScRsp" => Some(Self::CmdGetWaypointScRsp),
|
|
"CmdSetCurWaypointCsReq" => Some(Self::CmdSetCurWaypointCsReq),
|
|
"CmdTakeChapterRewardCsReq" => Some(Self::CmdTakeChapterRewardCsReq),
|
|
"CmdWaypointShowNewCsNotify" => Some(Self::CmdWaypointShowNewCsNotify),
|
|
"CmdSetCurWaypointScRsp" => Some(Self::CmdSetCurWaypointScRsp),
|
|
"CmdTakeChapterRewardScRsp" => Some(Self::CmdTakeChapterRewardScRsp),
|
|
"CmdGetChapterCsReq" => Some(Self::CmdGetChapterCsReq),
|
|
"CmdGetWaypointCsReq" => Some(Self::CmdGetWaypointCsReq),
|
|
"CmdGetChapterScRsp" => Some(Self::CmdGetChapterScRsp),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum CmdWolfBroType {
|
|
None = 0,
|
|
CmdStartWolfBroGameScRsp = 6506,
|
|
CmdArchiveWolfBroGameCsReq = 6511,
|
|
CmdWolfBroGameExplodeMonsterScRsp = 6525,
|
|
CmdQuitWolfBroGameScRsp = 6529,
|
|
CmdGetWolfBroGameDataScRsp = 6533,
|
|
CmdWolfBroGameActivateBulletCsReq = 6534,
|
|
CmdQuitWolfBroGameCsReq = 6539,
|
|
CmdArchiveWolfBroGameScRsp = 6543,
|
|
CmdWolfBroGamePickupBulletCsReq = 6548,
|
|
CmdGetWolfBroGameDataCsReq = 6551,
|
|
CmdWolfBroGameUseBulletCsReq = 6554,
|
|
CmdRestoreWolfBroGameArchiveCsReq = 6556,
|
|
CmdWolfBroGameUseBulletScRsp = 6565,
|
|
CmdStartWolfBroGameCsReq = 6568,
|
|
CmdWolfBroGamePickupBulletScRsp = 6582,
|
|
CmdRestoreWolfBroGameArchiveScRsp = 6593,
|
|
CmdWolfBroGameActivateBulletScRsp = 6597,
|
|
CmdWolfBroGameExplodeMonsterCsReq = 6598,
|
|
CmdWolfBroGameDataChangeScNotify = 6599,
|
|
}
|
|
impl CmdWolfBroType {
|
|
/// 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 {
|
|
CmdWolfBroType::None => "CmdWolfBroTypeNone",
|
|
CmdWolfBroType::CmdStartWolfBroGameScRsp => "CmdStartWolfBroGameScRsp",
|
|
CmdWolfBroType::CmdArchiveWolfBroGameCsReq => "CmdArchiveWolfBroGameCsReq",
|
|
CmdWolfBroType::CmdWolfBroGameExplodeMonsterScRsp => {
|
|
"CmdWolfBroGameExplodeMonsterScRsp"
|
|
}
|
|
CmdWolfBroType::CmdQuitWolfBroGameScRsp => "CmdQuitWolfBroGameScRsp",
|
|
CmdWolfBroType::CmdGetWolfBroGameDataScRsp => "CmdGetWolfBroGameDataScRsp",
|
|
CmdWolfBroType::CmdWolfBroGameActivateBulletCsReq => {
|
|
"CmdWolfBroGameActivateBulletCsReq"
|
|
}
|
|
CmdWolfBroType::CmdQuitWolfBroGameCsReq => "CmdQuitWolfBroGameCsReq",
|
|
CmdWolfBroType::CmdArchiveWolfBroGameScRsp => "CmdArchiveWolfBroGameScRsp",
|
|
CmdWolfBroType::CmdWolfBroGamePickupBulletCsReq => {
|
|
"CmdWolfBroGamePickupBulletCsReq"
|
|
}
|
|
CmdWolfBroType::CmdGetWolfBroGameDataCsReq => "CmdGetWolfBroGameDataCsReq",
|
|
CmdWolfBroType::CmdWolfBroGameUseBulletCsReq => {
|
|
"CmdWolfBroGameUseBulletCsReq"
|
|
}
|
|
CmdWolfBroType::CmdRestoreWolfBroGameArchiveCsReq => {
|
|
"CmdRestoreWolfBroGameArchiveCsReq"
|
|
}
|
|
CmdWolfBroType::CmdWolfBroGameUseBulletScRsp => {
|
|
"CmdWolfBroGameUseBulletScRsp"
|
|
}
|
|
CmdWolfBroType::CmdStartWolfBroGameCsReq => "CmdStartWolfBroGameCsReq",
|
|
CmdWolfBroType::CmdWolfBroGamePickupBulletScRsp => {
|
|
"CmdWolfBroGamePickupBulletScRsp"
|
|
}
|
|
CmdWolfBroType::CmdRestoreWolfBroGameArchiveScRsp => {
|
|
"CmdRestoreWolfBroGameArchiveScRsp"
|
|
}
|
|
CmdWolfBroType::CmdWolfBroGameActivateBulletScRsp => {
|
|
"CmdWolfBroGameActivateBulletScRsp"
|
|
}
|
|
CmdWolfBroType::CmdWolfBroGameExplodeMonsterCsReq => {
|
|
"CmdWolfBroGameExplodeMonsterCsReq"
|
|
}
|
|
CmdWolfBroType::CmdWolfBroGameDataChangeScNotify => {
|
|
"CmdWolfBroGameDataChangeScNotify"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CmdWolfBroTypeNone" => Some(Self::None),
|
|
"CmdStartWolfBroGameScRsp" => Some(Self::CmdStartWolfBroGameScRsp),
|
|
"CmdArchiveWolfBroGameCsReq" => Some(Self::CmdArchiveWolfBroGameCsReq),
|
|
"CmdWolfBroGameExplodeMonsterScRsp" => {
|
|
Some(Self::CmdWolfBroGameExplodeMonsterScRsp)
|
|
}
|
|
"CmdQuitWolfBroGameScRsp" => Some(Self::CmdQuitWolfBroGameScRsp),
|
|
"CmdGetWolfBroGameDataScRsp" => Some(Self::CmdGetWolfBroGameDataScRsp),
|
|
"CmdWolfBroGameActivateBulletCsReq" => {
|
|
Some(Self::CmdWolfBroGameActivateBulletCsReq)
|
|
}
|
|
"CmdQuitWolfBroGameCsReq" => Some(Self::CmdQuitWolfBroGameCsReq),
|
|
"CmdArchiveWolfBroGameScRsp" => Some(Self::CmdArchiveWolfBroGameScRsp),
|
|
"CmdWolfBroGamePickupBulletCsReq" => {
|
|
Some(Self::CmdWolfBroGamePickupBulletCsReq)
|
|
}
|
|
"CmdGetWolfBroGameDataCsReq" => Some(Self::CmdGetWolfBroGameDataCsReq),
|
|
"CmdWolfBroGameUseBulletCsReq" => Some(Self::CmdWolfBroGameUseBulletCsReq),
|
|
"CmdRestoreWolfBroGameArchiveCsReq" => {
|
|
Some(Self::CmdRestoreWolfBroGameArchiveCsReq)
|
|
}
|
|
"CmdWolfBroGameUseBulletScRsp" => Some(Self::CmdWolfBroGameUseBulletScRsp),
|
|
"CmdStartWolfBroGameCsReq" => Some(Self::CmdStartWolfBroGameCsReq),
|
|
"CmdWolfBroGamePickupBulletScRsp" => {
|
|
Some(Self::CmdWolfBroGamePickupBulletScRsp)
|
|
}
|
|
"CmdRestoreWolfBroGameArchiveScRsp" => {
|
|
Some(Self::CmdRestoreWolfBroGameArchiveScRsp)
|
|
}
|
|
"CmdWolfBroGameActivateBulletScRsp" => {
|
|
Some(Self::CmdWolfBroGameActivateBulletScRsp)
|
|
}
|
|
"CmdWolfBroGameExplodeMonsterCsReq" => {
|
|
Some(Self::CmdWolfBroGameExplodeMonsterCsReq)
|
|
}
|
|
"CmdWolfBroGameDataChangeScNotify" => {
|
|
Some(Self::CmdWolfBroGameDataChangeScNotify)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum AvatarType {
|
|
None = 0,
|
|
AvatarTrialType = 1,
|
|
AvatarLimitType = 2,
|
|
AvatarFormalType = 3,
|
|
AvatarAssistType = 4,
|
|
AvatarAetherDivideType = 5,
|
|
AvatarUpgradeAvailableType = 6,
|
|
}
|
|
impl AvatarType {
|
|
/// 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 {
|
|
AvatarType::None => "AVATAR_TYPE_NONE",
|
|
AvatarType::AvatarTrialType => "AVATAR_TRIAL_TYPE",
|
|
AvatarType::AvatarLimitType => "AVATAR_LIMIT_TYPE",
|
|
AvatarType::AvatarFormalType => "AVATAR_FORMAL_TYPE",
|
|
AvatarType::AvatarAssistType => "AVATAR_ASSIST_TYPE",
|
|
AvatarType::AvatarAetherDivideType => "AVATAR_AETHER_DIVIDE_TYPE",
|
|
AvatarType::AvatarUpgradeAvailableType => "AVATAR_UPGRADE_AVAILABLE_TYPE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"AVATAR_TYPE_NONE" => Some(Self::None),
|
|
"AVATAR_TRIAL_TYPE" => Some(Self::AvatarTrialType),
|
|
"AVATAR_LIMIT_TYPE" => Some(Self::AvatarLimitType),
|
|
"AVATAR_FORMAL_TYPE" => Some(Self::AvatarFormalType),
|
|
"AVATAR_ASSIST_TYPE" => Some(Self::AvatarAssistType),
|
|
"AVATAR_AETHER_DIVIDE_TYPE" => Some(Self::AvatarAetherDivideType),
|
|
"AVATAR_UPGRADE_AVAILABLE_TYPE" => Some(Self::AvatarUpgradeAvailableType),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum MsgType {
|
|
None = 0,
|
|
CustomText = 1,
|
|
Emoji = 2,
|
|
Invite = 3,
|
|
}
|
|
impl MsgType {
|
|
/// 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 {
|
|
MsgType::None => "MSG_TYPE_NONE",
|
|
MsgType::CustomText => "MSG_TYPE_CUSTOM_TEXT",
|
|
MsgType::Emoji => "MSG_TYPE_EMOJI",
|
|
MsgType::Invite => "MSG_TYPE_INVITE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"MSG_TYPE_NONE" => Some(Self::None),
|
|
"MSG_TYPE_CUSTOM_TEXT" => Some(Self::CustomText),
|
|
"MSG_TYPE_EMOJI" => Some(Self::Emoji),
|
|
"MSG_TYPE_INVITE" => Some(Self::Invite),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum ChatType {
|
|
None = 0,
|
|
Private = 1,
|
|
Group = 2,
|
|
}
|
|
impl ChatType {
|
|
/// 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 {
|
|
ChatType::None => "CHAT_TYPE_NONE",
|
|
ChatType::Private => "CHAT_TYPE_PRIVATE",
|
|
ChatType::Group => "CHAT_TYPE_GROUP",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"CHAT_TYPE_NONE" => Some(Self::None),
|
|
"CHAT_TYPE_PRIVATE" => Some(Self::Private),
|
|
"CHAT_TYPE_GROUP" => Some(Self::Group),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum ContentPackageStatus {
|
|
None = 0,
|
|
Init = 1,
|
|
Doing = 2,
|
|
Finished = 3,
|
|
Release = 4,
|
|
}
|
|
impl ContentPackageStatus {
|
|
/// 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 {
|
|
ContentPackageStatus::None => "ContentPackageStatus_None",
|
|
ContentPackageStatus::Init => "ContentPackageStatus_Init",
|
|
ContentPackageStatus::Doing => "ContentPackageStatus_Doing",
|
|
ContentPackageStatus::Finished => "ContentPackageStatus_Finished",
|
|
ContentPackageStatus::Release => "ContentPackageStatus_Release",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"ContentPackageStatus_None" => Some(Self::None),
|
|
"ContentPackageStatus_Init" => Some(Self::Init),
|
|
"ContentPackageStatus_Doing" => Some(Self::Doing),
|
|
"ContentPackageStatus_Finished" => Some(Self::Finished),
|
|
"ContentPackageStatus_Release" => Some(Self::Release),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum DisplayRecordType {
|
|
BattleRecordNone = 0,
|
|
BattleRecordChallenge = 1,
|
|
BattleRecordRogue = 2,
|
|
}
|
|
impl DisplayRecordType {
|
|
/// 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 {
|
|
DisplayRecordType::BattleRecordNone => "BATTLE_RECORD_NONE",
|
|
DisplayRecordType::BattleRecordChallenge => "BATTLE_RECORD_CHALLENGE",
|
|
DisplayRecordType::BattleRecordRogue => "BATTLE_RECORD_ROGUE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"BATTLE_RECORD_NONE" => Some(Self::BattleRecordNone),
|
|
"BATTLE_RECORD_CHALLENGE" => Some(Self::BattleRecordChallenge),
|
|
"BATTLE_RECORD_ROGUE" => Some(Self::BattleRecordRogue),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum ExtraLineupType {
|
|
LineupNone = 0,
|
|
LineupChallenge = 1,
|
|
LineupRogue = 2,
|
|
LineupChallenge2 = 3,
|
|
LineupChallenge3 = 4,
|
|
LineupRogueChallenge = 5,
|
|
LineupStageTrial = 6,
|
|
LineupRogueTrial = 7,
|
|
LineupActivity = 8,
|
|
LineupBoxingClub = 9,
|
|
LineupTreasureDungeon = 11,
|
|
LineupChessRogue = 12,
|
|
LineupHeliobus = 13,
|
|
LineupTournRogue = 14,
|
|
LineupRelicRogue = 15,
|
|
LineupArcadeRogue = 16,
|
|
}
|
|
impl ExtraLineupType {
|
|
/// 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 {
|
|
ExtraLineupType::LineupNone => "LINEUP_NONE",
|
|
ExtraLineupType::LineupChallenge => "LINEUP_CHALLENGE",
|
|
ExtraLineupType::LineupRogue => "LINEUP_ROGUE",
|
|
ExtraLineupType::LineupChallenge2 => "LINEUP_CHALLENGE_2",
|
|
ExtraLineupType::LineupChallenge3 => "LINEUP_CHALLENGE_3",
|
|
ExtraLineupType::LineupRogueChallenge => "LINEUP_ROGUE_CHALLENGE",
|
|
ExtraLineupType::LineupStageTrial => "LINEUP_STAGE_TRIAL",
|
|
ExtraLineupType::LineupRogueTrial => "LINEUP_ROGUE_TRIAL",
|
|
ExtraLineupType::LineupActivity => "LINEUP_ACTIVITY",
|
|
ExtraLineupType::LineupBoxingClub => "LINEUP_BOXING_CLUB",
|
|
ExtraLineupType::LineupTreasureDungeon => "LINEUP_TREASURE_DUNGEON",
|
|
ExtraLineupType::LineupChessRogue => "LINEUP_CHESS_ROGUE",
|
|
ExtraLineupType::LineupHeliobus => "LINEUP_HELIOBUS",
|
|
ExtraLineupType::LineupTournRogue => "LINEUP_TOURN_ROGUE",
|
|
ExtraLineupType::LineupRelicRogue => "LINEUP_RELIC_ROGUE",
|
|
ExtraLineupType::LineupArcadeRogue => "LINEUP_ARCADE_ROGUE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"LINEUP_NONE" => Some(Self::LineupNone),
|
|
"LINEUP_CHALLENGE" => Some(Self::LineupChallenge),
|
|
"LINEUP_ROGUE" => Some(Self::LineupRogue),
|
|
"LINEUP_CHALLENGE_2" => Some(Self::LineupChallenge2),
|
|
"LINEUP_CHALLENGE_3" => Some(Self::LineupChallenge3),
|
|
"LINEUP_ROGUE_CHALLENGE" => Some(Self::LineupRogueChallenge),
|
|
"LINEUP_STAGE_TRIAL" => Some(Self::LineupStageTrial),
|
|
"LINEUP_ROGUE_TRIAL" => Some(Self::LineupRogueTrial),
|
|
"LINEUP_ACTIVITY" => Some(Self::LineupActivity),
|
|
"LINEUP_BOXING_CLUB" => Some(Self::LineupBoxingClub),
|
|
"LINEUP_TREASURE_DUNGEON" => Some(Self::LineupTreasureDungeon),
|
|
"LINEUP_CHESS_ROGUE" => Some(Self::LineupChessRogue),
|
|
"LINEUP_HELIOBUS" => Some(Self::LineupHeliobus),
|
|
"LINEUP_TOURN_ROGUE" => Some(Self::LineupTournRogue),
|
|
"LINEUP_RELIC_ROGUE" => Some(Self::LineupRelicRogue),
|
|
"LINEUP_ARCADE_ROGUE" => Some(Self::LineupArcadeRogue),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum EnterSceneReason {
|
|
None = 0,
|
|
ChallengeTimeout = 1,
|
|
RogueTimeout = 2,
|
|
ChangeStoryline = 3,
|
|
DimensionMerge = 4,
|
|
}
|
|
impl EnterSceneReason {
|
|
/// 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 {
|
|
EnterSceneReason::None => "ENTER_SCENE_REASON_NONE",
|
|
EnterSceneReason::ChallengeTimeout => "ENTER_SCENE_REASON_CHALLENGE_TIMEOUT",
|
|
EnterSceneReason::RogueTimeout => "ENTER_SCENE_REASON_ROGUE_TIMEOUT",
|
|
EnterSceneReason::ChangeStoryline => "ENTER_SCENE_REASON_CHANGE_STORYLINE",
|
|
EnterSceneReason::DimensionMerge => "ENTER_SCENE_REASON_DIMENSION_MERGE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"ENTER_SCENE_REASON_NONE" => Some(Self::None),
|
|
"ENTER_SCENE_REASON_CHALLENGE_TIMEOUT" => Some(Self::ChallengeTimeout),
|
|
"ENTER_SCENE_REASON_ROGUE_TIMEOUT" => Some(Self::RogueTimeout),
|
|
"ENTER_SCENE_REASON_CHANGE_STORYLINE" => Some(Self::ChangeStoryline),
|
|
"ENTER_SCENE_REASON_DIMENSION_MERGE" => Some(Self::DimensionMerge),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum MissionStatus {
|
|
MissionNone = 0,
|
|
MissionDoing = 1,
|
|
MissionFinish = 2,
|
|
MissionPrepared = 3,
|
|
}
|
|
impl MissionStatus {
|
|
/// 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 {
|
|
MissionStatus::MissionNone => "MISSION_NONE",
|
|
MissionStatus::MissionDoing => "MISSION_DOING",
|
|
MissionStatus::MissionFinish => "MISSION_FINISH",
|
|
MissionStatus::MissionPrepared => "MISSION_PREPARED",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"MISSION_NONE" => Some(Self::MissionNone),
|
|
"MISSION_DOING" => Some(Self::MissionDoing),
|
|
"MISSION_FINISH" => Some(Self::MissionFinish),
|
|
"MISSION_PREPARED" => Some(Self::MissionPrepared),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum EntityBuffChangeType {
|
|
SceneEntityBuffChangeTypeDefault = 0,
|
|
SceneEntityBuffChangeTypeAddMazebuff = 1,
|
|
SceneEntityBuffChangeTypeAddAdvModifier = 2,
|
|
}
|
|
impl EntityBuffChangeType {
|
|
/// 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 {
|
|
EntityBuffChangeType::SceneEntityBuffChangeTypeDefault => {
|
|
"SCENE_ENTITY_BUFF_CHANGE_TYPE_DEFAULT"
|
|
}
|
|
EntityBuffChangeType::SceneEntityBuffChangeTypeAddMazebuff => {
|
|
"SCENE_ENTITY_BUFF_CHANGE_TYPE_ADD_MAZEBUFF"
|
|
}
|
|
EntityBuffChangeType::SceneEntityBuffChangeTypeAddAdvModifier => {
|
|
"SCENE_ENTITY_BUFF_CHANGE_TYPE_ADD_ADV_MODIFIER"
|
|
}
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"SCENE_ENTITY_BUFF_CHANGE_TYPE_DEFAULT" => {
|
|
Some(Self::SceneEntityBuffChangeTypeDefault)
|
|
}
|
|
"SCENE_ENTITY_BUFF_CHANGE_TYPE_ADD_MAZEBUFF" => {
|
|
Some(Self::SceneEntityBuffChangeTypeAddMazebuff)
|
|
}
|
|
"SCENE_ENTITY_BUFF_CHANGE_TYPE_ADD_ADV_MODIFIER" => {
|
|
Some(Self::SceneEntityBuffChangeTypeAddAdvModifier)
|
|
}
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum PlayingState {
|
|
None = 0,
|
|
PlayingRogueCosmos = 1,
|
|
PlayingRogueChess = 2,
|
|
PlayingRogueChessNous = 3,
|
|
PlayingChallengeMemory = 4,
|
|
PlayingChallengeStory = 5,
|
|
PlayingChallengeBoss = 6,
|
|
PlayingRogueTourn = 7,
|
|
}
|
|
impl PlayingState {
|
|
/// 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 {
|
|
PlayingState::None => "PLAYING_STATE_NONE",
|
|
PlayingState::PlayingRogueCosmos => "PLAYING_ROGUE_COSMOS",
|
|
PlayingState::PlayingRogueChess => "PLAYING_ROGUE_CHESS",
|
|
PlayingState::PlayingRogueChessNous => "PLAYING_ROGUE_CHESS_NOUS",
|
|
PlayingState::PlayingChallengeMemory => "PLAYING_CHALLENGE_MEMORY",
|
|
PlayingState::PlayingChallengeStory => "PLAYING_CHALLENGE_STORY",
|
|
PlayingState::PlayingChallengeBoss => "PLAYING_CHALLENGE_BOSS",
|
|
PlayingState::PlayingRogueTourn => "PLAYING_ROGUE_TOURN",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"PLAYING_STATE_NONE" => Some(Self::None),
|
|
"PLAYING_ROGUE_COSMOS" => Some(Self::PlayingRogueCosmos),
|
|
"PLAYING_ROGUE_CHESS" => Some(Self::PlayingRogueChess),
|
|
"PLAYING_ROGUE_CHESS_NOUS" => Some(Self::PlayingRogueChessNous),
|
|
"PLAYING_CHALLENGE_MEMORY" => Some(Self::PlayingChallengeMemory),
|
|
"PLAYING_CHALLENGE_STORY" => Some(Self::PlayingChallengeStory),
|
|
"PLAYING_CHALLENGE_BOSS" => Some(Self::PlayingChallengeBoss),
|
|
"PLAYING_ROGUE_TOURN" => Some(Self::PlayingRogueTourn),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum PlatformType {
|
|
Editor = 0,
|
|
Ios = 1,
|
|
Android = 2,
|
|
Pc = 3,
|
|
Web = 4,
|
|
Wap = 5,
|
|
Ps4 = 6,
|
|
Nintendo = 7,
|
|
CloudAndroid = 8,
|
|
CloudPc = 9,
|
|
CloudIos = 10,
|
|
Ps5 = 11,
|
|
Mac = 12,
|
|
CloudMac = 13,
|
|
CloudWebAndroid = 20,
|
|
CloudWebIos = 21,
|
|
CloudWebPc = 22,
|
|
CloudWebMac = 23,
|
|
CloudWebTouch = 24,
|
|
CloudWebKeyboard = 25,
|
|
}
|
|
impl PlatformType {
|
|
/// 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 {
|
|
PlatformType::Editor => "EDITOR",
|
|
PlatformType::Ios => "IOS",
|
|
PlatformType::Android => "ANDROID",
|
|
PlatformType::Pc => "PC",
|
|
PlatformType::Web => "WEB",
|
|
PlatformType::Wap => "WAP",
|
|
PlatformType::Ps4 => "PS4",
|
|
PlatformType::Nintendo => "NINTENDO",
|
|
PlatformType::CloudAndroid => "CLOUD_ANDROID",
|
|
PlatformType::CloudPc => "CLOUD_PC",
|
|
PlatformType::CloudIos => "CLOUD_IOS",
|
|
PlatformType::Ps5 => "PS5",
|
|
PlatformType::Mac => "MAC",
|
|
PlatformType::CloudMac => "CLOUD_MAC",
|
|
PlatformType::CloudWebAndroid => "CLOUD_WEB_ANDROID",
|
|
PlatformType::CloudWebIos => "CLOUD_WEB_IOS",
|
|
PlatformType::CloudWebPc => "CLOUD_WEB_PC",
|
|
PlatformType::CloudWebMac => "CLOUD_WEB_MAC",
|
|
PlatformType::CloudWebTouch => "CLOUD_WEB_TOUCH",
|
|
PlatformType::CloudWebKeyboard => "CLOUD_WEB_KEYBOARD",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"EDITOR" => Some(Self::Editor),
|
|
"IOS" => Some(Self::Ios),
|
|
"ANDROID" => Some(Self::Android),
|
|
"PC" => Some(Self::Pc),
|
|
"WEB" => Some(Self::Web),
|
|
"WAP" => Some(Self::Wap),
|
|
"PS4" => Some(Self::Ps4),
|
|
"NINTENDO" => Some(Self::Nintendo),
|
|
"CLOUD_ANDROID" => Some(Self::CloudAndroid),
|
|
"CLOUD_PC" => Some(Self::CloudPc),
|
|
"CLOUD_IOS" => Some(Self::CloudIos),
|
|
"PS5" => Some(Self::Ps5),
|
|
"MAC" => Some(Self::Mac),
|
|
"CLOUD_MAC" => Some(Self::CloudMac),
|
|
"CLOUD_WEB_ANDROID" => Some(Self::CloudWebAndroid),
|
|
"CLOUD_WEB_IOS" => Some(Self::CloudWebIos),
|
|
"CLOUD_WEB_PC" => Some(Self::CloudWebPc),
|
|
"CLOUD_WEB_MAC" => Some(Self::CloudWebMac),
|
|
"CLOUD_WEB_TOUCH" => Some(Self::CloudWebTouch),
|
|
"CLOUD_WEB_KEYBOARD" => Some(Self::CloudWebKeyboard),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum FriendOnlineStatus {
|
|
Offline = 0,
|
|
Online = 1,
|
|
}
|
|
impl FriendOnlineStatus {
|
|
/// 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 {
|
|
FriendOnlineStatus::Offline => "FRIEND_ONLINE_STATUS_OFFLINE",
|
|
FriendOnlineStatus::Online => "FRIEND_ONLINE_STATUS_ONLINE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"FRIEND_ONLINE_STATUS_OFFLINE" => Some(Self::Offline),
|
|
"FRIEND_ONLINE_STATUS_ONLINE" => Some(Self::Online),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum TurnFoodSwitch {
|
|
None = 0,
|
|
Attack = 1,
|
|
Define = 2,
|
|
}
|
|
impl TurnFoodSwitch {
|
|
/// 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 {
|
|
TurnFoodSwitch::None => "TURN_FOOD_SWITCH_NONE",
|
|
TurnFoodSwitch::Attack => "TURN_FOOD_SWITCH_ATTACK",
|
|
TurnFoodSwitch::Define => "TURN_FOOD_SWITCH_DEFINE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"TURN_FOOD_SWITCH_NONE" => Some(Self::None),
|
|
"TURN_FOOD_SWITCH_ATTACK" => Some(Self::Attack),
|
|
"TURN_FOOD_SWITCH_DEFINE" => Some(Self::Define),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum MultiPathAvatarType {
|
|
None = 0,
|
|
Mar7thKnightType = 1001,
|
|
Mar7thRogueType = 1224,
|
|
BoyWarriorType = 8001,
|
|
GirlWarriorType = 8002,
|
|
BoyKnightType = 8003,
|
|
GirlKnightType = 8004,
|
|
BoyShamanType = 8005,
|
|
GirlShamanType = 8006,
|
|
}
|
|
impl MultiPathAvatarType {
|
|
/// 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 {
|
|
MultiPathAvatarType::None => "MultiPathAvatarTypeNone",
|
|
MultiPathAvatarType::Mar7thKnightType => "Mar_7thKnightType",
|
|
MultiPathAvatarType::Mar7thRogueType => "Mar_7thRogueType",
|
|
MultiPathAvatarType::BoyWarriorType => "BoyWarriorType",
|
|
MultiPathAvatarType::GirlWarriorType => "GirlWarriorType",
|
|
MultiPathAvatarType::BoyKnightType => "BoyKnightType",
|
|
MultiPathAvatarType::GirlKnightType => "GirlKnightType",
|
|
MultiPathAvatarType::BoyShamanType => "BoyShamanType",
|
|
MultiPathAvatarType::GirlShamanType => "GirlShamanType",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"MultiPathAvatarTypeNone" => Some(Self::None),
|
|
"Mar_7thKnightType" => Some(Self::Mar7thKnightType),
|
|
"Mar_7thRogueType" => Some(Self::Mar7thRogueType),
|
|
"BoyWarriorType" => Some(Self::BoyWarriorType),
|
|
"GirlWarriorType" => Some(Self::GirlWarriorType),
|
|
"BoyKnightType" => Some(Self::BoyKnightType),
|
|
"GirlKnightType" => Some(Self::GirlKnightType),
|
|
"BoyShamanType" => Some(Self::BoyShamanType),
|
|
"GirlShamanType" => Some(Self::GirlShamanType),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum MapInfoChestType {
|
|
None = 0,
|
|
Normal = 101,
|
|
Challenge = 102,
|
|
Puzzle = 104,
|
|
}
|
|
impl MapInfoChestType {
|
|
/// 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 {
|
|
MapInfoChestType::None => "MAP_INFO_CHEST_TYPE_NONE",
|
|
MapInfoChestType::Normal => "MAP_INFO_CHEST_TYPE_NORMAL",
|
|
MapInfoChestType::Challenge => "MAP_INFO_CHEST_TYPE_CHALLENGE",
|
|
MapInfoChestType::Puzzle => "MAP_INFO_CHEST_TYPE_PUZZLE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"MAP_INFO_CHEST_TYPE_NONE" => Some(Self::None),
|
|
"MAP_INFO_CHEST_TYPE_NORMAL" => Some(Self::Normal),
|
|
"MAP_INFO_CHEST_TYPE_CHALLENGE" => Some(Self::Challenge),
|
|
"MAP_INFO_CHEST_TYPE_PUZZLE" => Some(Self::Puzzle),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum QuestStatus {
|
|
QuestNone = 0,
|
|
QuestDoing = 1,
|
|
QuestFinish = 2,
|
|
QuestClose = 3,
|
|
QuestDelete = 4,
|
|
}
|
|
impl QuestStatus {
|
|
/// 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 {
|
|
QuestStatus::QuestNone => "QUEST_NONE",
|
|
QuestStatus::QuestDoing => "QUEST_DOING",
|
|
QuestStatus::QuestFinish => "QUEST_FINISH",
|
|
QuestStatus::QuestClose => "QUEST_CLOSE",
|
|
QuestStatus::QuestDelete => "QUEST_DELETE",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"QUEST_NONE" => Some(Self::QuestNone),
|
|
"QUEST_DOING" => Some(Self::QuestDoing),
|
|
"QUEST_FINISH" => Some(Self::QuestFinish),
|
|
"QUEST_CLOSE" => Some(Self::QuestClose),
|
|
"QUEST_DELETE" => Some(Self::QuestDelete),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum SceneGroupRefreshType {
|
|
None = 0,
|
|
Loaded = 1,
|
|
Unload = 2,
|
|
}
|
|
impl SceneGroupRefreshType {
|
|
/// 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 {
|
|
SceneGroupRefreshType::None => "SCENE_GROUP_REFRESH_TYPE_NONE",
|
|
SceneGroupRefreshType::Loaded => "SCENE_GROUP_REFRESH_TYPE_LOADED",
|
|
SceneGroupRefreshType::Unload => "SCENE_GROUP_REFRESH_TYPE_UNLOAD",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"SCENE_GROUP_REFRESH_TYPE_NONE" => Some(Self::None),
|
|
"SCENE_GROUP_REFRESH_TYPE_LOADED" => Some(Self::Loaded),
|
|
"SCENE_GROUP_REFRESH_TYPE_UNLOAD" => Some(Self::Unload),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum SyncReason {
|
|
None = 0,
|
|
MpAdd = 1,
|
|
MpAddPropHit = 2,
|
|
HpAdd = 3,
|
|
HpAddPropHit = 4,
|
|
}
|
|
impl SyncReason {
|
|
/// 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 {
|
|
SyncReason::None => "SYNC_REASON_NONE",
|
|
SyncReason::MpAdd => "SYNC_REASON_MP_ADD",
|
|
SyncReason::MpAddPropHit => "SYNC_REASON_MP_ADD_PROP_HIT",
|
|
SyncReason::HpAdd => "SYNC_REASON_HP_ADD",
|
|
SyncReason::HpAddPropHit => "SYNC_REASON_HP_ADD_PROP_HIT",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"SYNC_REASON_NONE" => Some(Self::None),
|
|
"SYNC_REASON_MP_ADD" => Some(Self::MpAdd),
|
|
"SYNC_REASON_MP_ADD_PROP_HIT" => Some(Self::MpAddPropHit),
|
|
"SYNC_REASON_HP_ADD" => Some(Self::HpAdd),
|
|
"SYNC_REASON_HP_ADD_PROP_HIT" => Some(Self::HpAddPropHit),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum BattleEndStatus {
|
|
BattleEndNone = 0,
|
|
BattleEndWin = 1,
|
|
BattleEndLose = 2,
|
|
BattleEndQuit = 3,
|
|
}
|
|
impl BattleEndStatus {
|
|
/// 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 {
|
|
BattleEndStatus::BattleEndNone => "BATTLE_END_NONE",
|
|
BattleEndStatus::BattleEndWin => "BATTLE_END_WIN",
|
|
BattleEndStatus::BattleEndLose => "BATTLE_END_LOSE",
|
|
BattleEndStatus::BattleEndQuit => "BATTLE_END_QUIT",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"BATTLE_END_NONE" => Some(Self::BattleEndNone),
|
|
"BATTLE_END_WIN" => Some(Self::BattleEndWin),
|
|
"BATTLE_END_LOSE" => Some(Self::BattleEndLose),
|
|
"BATTLE_END_QUIT" => Some(Self::BattleEndQuit),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum MailType {
|
|
Normal = 0,
|
|
Star = 1,
|
|
}
|
|
impl MailType {
|
|
/// 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 {
|
|
MailType::Normal => "MAIL_TYPE_NORMAL",
|
|
MailType::Star => "MAIL_TYPE_STAR",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"MAIL_TYPE_NORMAL" => Some(Self::Normal),
|
|
"MAIL_TYPE_STAR" => Some(Self::Star),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
#[repr(i32)]
|
|
pub enum Gender {
|
|
None = 0,
|
|
Man = 1,
|
|
Woman = 2,
|
|
}
|
|
impl Gender {
|
|
/// 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 {
|
|
Gender::None => "GenderNone",
|
|
Gender::Man => "GenderMan",
|
|
Gender::Woman => "GenderWoman",
|
|
}
|
|
}
|
|
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
match value {
|
|
"GenderNone" => Some(Self::None),
|
|
"GenderMan" => Some(Self::Man),
|
|
"GenderWoman" => Some(Self::Woman),
|
|
_ => None,
|
|
}
|
|
}
|
|
}
|