diff --git a/crates/trigger-protobuf/out/_.rs b/crates/trigger-protobuf/out/_.rs index 9c6e57a..3a453bd 100644 --- a/crates/trigger-protobuf/out/_.rs +++ b/crates/trigger-protobuf/out/_.rs @@ -10,6 +10,18 @@ pub struct GetRewardBuffDataScRsp { pub retcode: i32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(7670)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct BeginnerbattleBeginScRsp { + #[xor(8649)] + #[prost(int64, tag = "14")] + pub battle_uid: i64, + #[xor(10326)] + #[prost(int32, tag = "3")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlayerInfo { @@ -85,6 +97,15 @@ pub struct Equip { pub exp: u32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(3935)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct SelectRoleCsReq { + #[xor(9750)] + #[prost(uint32, tag = "7")] + pub avatar_id: u32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(1850)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -190,6 +211,35 @@ pub struct PostGirlInfo { #[derive(Clone, Copy, PartialEq, ::prost::Message)] pub struct GetBattleEventInfoCsReq {} #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(8419)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct SectionEventScNotify { + #[xor(4280)] + #[prost(uint32, tag = "14")] + pub owner_id: u32, + #[xor(11561)] + #[prost(uint32, tag = "1")] + pub tag: u32, + #[prost(enumeration = "ActionType", tag = "10")] + pub action_type: i32, + #[xor(15125)] + #[prost(uint32, tag = "7")] + pub event_graph_uid: u32, + #[prost(enumeration = "EventGraphOwnerType", tag = "9")] + pub owner_type: i32, + #[prost(string, tag = "15")] + pub npc_interaction: ::prost::alloc::string::String, + #[prost(bytes = "vec", tag = "11")] + pub action_data: ::prost::alloc::vec::Vec, + #[xor(1282)] + #[prost(uint32, tag = "3")] + pub event_id: u32, + #[xor(9535)] + #[prost(uint32, tag = "2")] + pub section_id: u32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(8379)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -362,6 +412,15 @@ pub struct DressEquipmentCsReq { pub equip_uid: u32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(6113)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct BeginnerbattleBeginCsReq { + #[xor(12379)] + #[prost(int32, tag = "15")] + pub battle_id: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(6803)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -398,6 +457,27 @@ pub struct GetActivityDataScRsp { pub retcode: i32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(1970)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct BeginnerbattleEndCsReq { + #[xor(322)] + #[prost(int64, tag = "4")] + pub battle_uid: i64, + #[xor(1154)] + #[prost(int32, tag = "11")] + pub battle_id: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(5251)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UnlockClueItemScRsp { + #[xor(379)] + #[prost(int32, tag = "7")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(8370)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] @@ -509,6 +589,15 @@ pub struct TipsSync { pub fairy_groups: ::std::collections::HashMap, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(842)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct BeginnerbattleEndScRsp { + #[xor(12999)] + #[prost(int32, tag = "11")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transform { @@ -549,6 +638,15 @@ pub struct EnterSectionCsReq { pub owner_type: i32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(9995)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct BeginnerbattleRebeginScRsp { + #[xor(9333)] + #[prost(int32, tag = "7")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RallySceneInfo { @@ -660,6 +758,45 @@ pub struct AbyssGetDataScRsp { pub abyss_group_list: ::prost::alloc::vec::Vec, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(480)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct BeginnerbattleRebeginCsReq { + #[xor(3447)] + #[prost(int64, tag = "9")] + pub battle_uid: i64, + #[xor(4358)] + #[prost(int32, tag = "15")] + pub battle_id: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(9106)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct FinishSectionEventCsReq { + #[prost(enumeration = "ActionType", tag = "4")] + pub action_type: i32, + #[prost(enumeration = "EventGraphOwnerType", tag = "8")] + pub owner_type: i32, + #[xor(15425)] + #[prost(uint32, tag = "9")] + pub event_graph_uid: u32, + #[prost(bytes = "vec", tag = "10")] + pub action_data: ::prost::alloc::vec::Vec, + #[xor(3183)] + #[prost(uint32, tag = "6")] + pub event_id: u32, + #[xor(3059)] + #[prost(uint32, tag = "5")] + pub section_id: u32, + #[xor(10274)] + #[prost(uint32, tag = "1")] + pub owner_id: u32, + #[xor(13404)] + #[prost(uint32, tag = "2")] + pub tag: u32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] pub struct VhsGuestInfo { @@ -683,6 +820,18 @@ pub struct GetExplorationDataCsReq {} #[derive(Clone, Copy, PartialEq, ::prost::Message)] pub struct GetResourceDataCsReq {} #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(3734)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AdvanceBeginnerProcedureCsReq { + #[xor(4241)] + #[prost(int32, tag = "5")] + pub params: i32, + #[xor(7267)] + #[prost(int32, tag = "7")] + pub procedure_id: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(4813)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] @@ -700,6 +849,9 @@ pub struct RunEventGraphCsReq { #[xor(8708)] #[prost(uint32, tag = "14")] pub tag: u32, + #[xor(3174)] + #[prost(uint32, tag = "6")] + pub event_id: u32, #[xor(14860)] #[prost(uint32, tag = "8")] pub owner_id: u32, @@ -726,6 +878,14 @@ pub struct StartHollowQuestScRsp { } #[derive(trigger_protobuf_derive::CmdID)] #[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct FreshSceneInfo { + #[xor(13677)] + #[prost(uint32, tag = "7")] + pub last_procedure_id: u32, +} +#[derive(trigger_protobuf_derive::CmdID)] +#[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct TipsInfo { #[prost(int32, repeated, tag = "12")] @@ -745,6 +905,15 @@ pub struct GetRoleCardDataScRsp { pub retcode: i32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(1067)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct FinishSectionEventScRsp { + #[xor(9232)] + #[prost(int32, tag = "9")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(9476)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -752,6 +921,9 @@ pub struct SavePlayerSystemSettingCsReq { #[xor(6028)] #[prost(uint32, tag = "10")] pub r#type: u32, + #[xor(8376)] + #[prost(uint32, tag = "14")] + pub params: u32, } #[derive(trigger_protobuf_derive::CmdID)] #[cmdid(2418)] @@ -1003,6 +1175,18 @@ pub struct WeaponDressCsReq { pub weapon_uid: u32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(8333)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct EndNewbieScRsp { + #[xor(7830)] + #[prost(uint32, tag = "9")] + pub group_id: u32, + #[xor(16016)] + #[prost(int32, tag = "2")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(8553)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] @@ -1031,6 +1215,14 @@ pub struct HollowInfo { pub hollow_quest_id: u32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(5937)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UnlockClueItemCsReq { + #[prost(enumeration = "Lclkcaiolep", tag = "4")] + pub r#type: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(9350)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] @@ -1138,6 +1330,18 @@ pub struct ActiveHollowCheckPointCsReq { #[derive(Clone, Copy, PartialEq, ::prost::Message)] pub struct GetServerTimestampCsReq {} #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(9745)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct AdvanceBeginnerProcedureScRsp { + #[xor(9328)] + #[prost(int32, tag = "6")] + pub next_procedure_id: i32, + #[xor(5852)] + #[prost(int32, tag = "7")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(7723)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1383,6 +1587,9 @@ pub struct UndressEquipmentCsReq { #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct SyncEventInfoScNotify { + #[xor(3581)] + #[prost(uint32, tag = "11")] + pub event_id: u32, #[prost(message, repeated, tag = "13")] pub action_list: ::prost::alloc::vec::Vec, #[xor(2229)] @@ -1480,6 +1687,15 @@ pub struct VhsFlowBuffInfo { pub buff_source: i32, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(4652)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct SelectRoleScRsp { + #[xor(417)] + #[prost(int32, tag = "7")] + pub retcode: i32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[cmdid(6289)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] @@ -1987,6 +2203,15 @@ pub struct VhsStoreData { pub is_need_refresh: bool, } #[derive(trigger_protobuf_derive::CmdID)] +#[cmdid(5983)] +#[derive(trigger_protobuf_derive::XorFields)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct EndNewbieCsReq { + #[xor(413)] + #[prost(uint32, tag = "11")] + pub group_id: u32, +} +#[derive(trigger_protobuf_derive::CmdID)] #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemSettings { @@ -2059,6 +2284,8 @@ pub struct MusicPlayerItem { pub struct SceneData { #[prost(message, optional, tag = "11")] pub hall_scene_info: ::core::option::Option, + #[prost(message, optional, tag = "12")] + pub fresh_scene_info: ::core::option::Option, #[xor(10113)] #[prost(uint32, tag = "6")] pub local_play_type: u32, @@ -2071,7 +2298,7 @@ pub struct SceneData { pub rally_scene_info: ::core::option::Option, #[xor(13343)] #[prost(uint32, tag = "7")] - pub event_id: u32, + pub scene_id: u32, } #[derive(trigger_protobuf_derive::CmdID)] #[cmdid(5352)] @@ -30110,29 +30337,29 @@ impl Eepfppcppge { #[derive(trigger_protobuf_derive::XorFields)] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] -pub enum Ggdbnpkalbm { +pub enum PerformType { PlotPlay = 0, Dialog = 1, Bubble = 2, } -impl Ggdbnpkalbm { +impl PerformType { /// String value of the enum field names used in the ProtoBuf definition. /// /// The values are not transformed in any way and thus are considered stable /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - Self::PlotPlay => "GGDBNPKALBM_PLOT_PLAY", - Self::Dialog => "GGDBNPKALBM_DIALOG", - Self::Bubble => "GGDBNPKALBM_BUBBLE", + Self::PlotPlay => "PERFORM_TYPE_PLOT_PLAY", + Self::Dialog => "PERFORM_TYPE_DIALOG", + Self::Bubble => "PERFORM_TYPE_BUBBLE", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { - "GGDBNPKALBM_PLOT_PLAY" => Some(Self::PlotPlay), - "GGDBNPKALBM_DIALOG" => Some(Self::Dialog), - "GGDBNPKALBM_BUBBLE" => Some(Self::Bubble), + "PERFORM_TYPE_PLOT_PLAY" => Some(Self::PlotPlay), + "PERFORM_TYPE_DIALOG" => Some(Self::Dialog), + "PERFORM_TYPE_BUBBLE" => Some(Self::Bubble), _ => None, } } diff --git a/crates/trigger-protobuf/out/protocol_map.rs b/crates/trigger-protobuf/out/protocol_map.rs index b907b8f..cf1574c 100644 --- a/crates/trigger-protobuf/out/protocol_map.rs +++ b/crates/trigger-protobuf/out/protocol_map.rs @@ -11,6 +11,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + BeginnerbattleBeginScRsp::CMD_ID => { + let mut pb_message = BeginnerbattleBeginScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::BeginnerbattleBeginScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetBuddyDataCsReq::CMD_ID => { let mut pb_message = GetBuddyDataCsReq::decode(pb)?; pb_message.xor_fields(); @@ -27,6 +35,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + SelectRoleCsReq::CMD_ID => { + let mut pb_message = SelectRoleCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::SelectRoleCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } HollowDataRefreshCsReq::CMD_ID => { let mut pb_message = HollowDataRefreshCsReq::decode(pb)?; pb_message.xor_fields(); @@ -163,6 +179,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + BeginnerbattleBeginCsReq::CMD_ID => { + let mut pb_message = BeginnerbattleBeginCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::BeginnerbattleBeginCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetTipsDataScRsp::CMD_ID => { let mut pb_message = GetTipsDataScRsp::decode(pb)?; pb_message.xor_fields(); @@ -187,6 +211,22 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + BeginnerbattleEndCsReq::CMD_ID => { + let mut pb_message = BeginnerbattleEndCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::BeginnerbattleEndCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } + UnlockClueItemScRsp::CMD_ID => { + let mut pb_message = UnlockClueItemScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::UnlockClueItemScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } PerformTriggerCsReq::CMD_ID => { let mut pb_message = PerformTriggerCsReq::decode(pb)?; pb_message.xor_fields(); @@ -243,6 +283,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + BeginnerbattleEndScRsp::CMD_ID => { + let mut pb_message = BeginnerbattleEndScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::BeginnerbattleEndScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } PerformJumpCsReq::CMD_ID => { let mut pb_message = PerformJumpCsReq::decode(pb)?; pb_message.xor_fields(); @@ -259,6 +307,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + BeginnerbattleRebeginScRsp::CMD_ID => { + let mut pb_message = BeginnerbattleRebeginScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::BeginnerbattleRebeginScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetPlayerInfoCsReq::CMD_ID => { let mut pb_message = GetPlayerInfoCsReq::decode(pb)?; pb_message.xor_fields(); @@ -331,6 +387,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + BeginnerbattleRebeginCsReq::CMD_ID => { + let mut pb_message = BeginnerbattleRebeginCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::BeginnerbattleRebeginCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetExplorationDataCsReq::CMD_ID => { let mut pb_message = GetExplorationDataCsReq::decode(pb)?; pb_message.xor_fields(); @@ -347,6 +411,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + AdvanceBeginnerProcedureCsReq::CMD_ID => { + let mut pb_message = AdvanceBeginnerProcedureCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::AdvanceBeginnerProcedureCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } AbyssGetDataCsReq::CMD_ID => { let mut pb_message = AbyssGetDataCsReq::decode(pb)?; pb_message.xor_fields(); @@ -547,6 +619,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + EndNewbieScRsp::CMD_ID => { + let mut pb_message = EndNewbieScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::EndNewbieScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetRamenDataCsReq::CMD_ID => { let mut pb_message = GetRamenDataCsReq::decode(pb)?; pb_message.xor_fields(); @@ -563,6 +643,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + UnlockClueItemCsReq::CMD_ID => { + let mut pb_message = UnlockClueItemCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::UnlockClueItemCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetAvatarDataCsReq::CMD_ID => { let mut pb_message = GetAvatarDataCsReq::decode(pb)?; pb_message.xor_fields(); @@ -635,6 +723,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + AdvanceBeginnerProcedureScRsp::CMD_ID => { + let mut pb_message = AdvanceBeginnerProcedureScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::AdvanceBeginnerProcedureScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } PerformEndCsReq::CMD_ID => { let mut pb_message = PerformEndCsReq::decode(pb)?; pb_message.xor_fields(); @@ -771,6 +867,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + SelectRoleScRsp::CMD_ID => { + let mut pb_message = SelectRoleScRsp::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::SelectRoleScRsp::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } GetUnlockDataCsReq::CMD_ID => { let mut pb_message = GetUnlockDataCsReq::decode(pb)?; pb_message.xor_fields(); @@ -1051,6 +1155,14 @@ pub fn pb_to_common_protocol_unit( ); Ok(Some(common_protocol_message.into())) } + EndNewbieCsReq::CMD_ID => { + let mut pb_message = EndNewbieCsReq::decode(pb)?; + pb_message.xor_fields(); + let common_protocol_message = ::trigger_protocol::EndNewbieCsReq::from( + pb_message, + ); + Ok(Some(common_protocol_message.into())) + } LeaveCurSceneCsReq::CMD_ID => { let mut pb_message = LeaveCurSceneCsReq::decode(pb)?; pb_message.xor_fields(); @@ -1124,6 +1236,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((GetRewardBuffDataScRsp::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::BeginnerbattleBeginScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::BeginnerbattleBeginScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = BeginnerbattleBeginScRsp::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((BeginnerbattleBeginScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetBuddyDataCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetBuddyDataCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1140,6 +1260,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((BattleReportCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::SelectRoleCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::SelectRoleCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = SelectRoleCsReq::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((SelectRoleCsReq::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::HollowDataRefreshCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::HollowDataRefreshCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1282,6 +1410,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((DressEquipmentCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::BeginnerbattleBeginCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::BeginnerbattleBeginCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = BeginnerbattleBeginCsReq::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((BeginnerbattleBeginCsReq::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetTipsDataScRsp::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetTipsDataScRsp::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1306,6 +1442,22 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((GetActivityDataScRsp::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::BeginnerbattleEndCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::BeginnerbattleEndCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = BeginnerbattleEndCsReq::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((BeginnerbattleEndCsReq::CMD_ID, pb_message.encode_to_vec()))) + } + ::trigger_protocol::UnlockClueItemScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::UnlockClueItemScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = UnlockClueItemScRsp::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((UnlockClueItemScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::PerformTriggerCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::PerformTriggerCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1364,6 +1516,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((GetBuddyDataScRsp::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::BeginnerbattleEndScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::BeginnerbattleEndScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = BeginnerbattleEndScRsp::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((BeginnerbattleEndScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::PerformJumpCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::PerformJumpCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1380,6 +1540,16 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((EnterSectionCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::BeginnerbattleRebeginScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::BeginnerbattleRebeginScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = BeginnerbattleRebeginScRsp::from( + common_protocol_message, + ); + pb_message.xor_fields(); + Ok(Some((BeginnerbattleRebeginScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetPlayerInfoCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetPlayerInfoCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1454,6 +1624,16 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((AbyssGetDataScRsp::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::BeginnerbattleRebeginCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::BeginnerbattleRebeginCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = BeginnerbattleRebeginCsReq::from( + common_protocol_message, + ); + pb_message.xor_fields(); + Ok(Some((BeginnerbattleRebeginCsReq::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetExplorationDataCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetExplorationDataCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1470,6 +1650,16 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((GetResourceDataCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::AdvanceBeginnerProcedureCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::AdvanceBeginnerProcedureCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = AdvanceBeginnerProcedureCsReq::from( + common_protocol_message, + ); + pb_message.xor_fields(); + Ok(Some((AdvanceBeginnerProcedureCsReq::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::AbyssGetDataCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::AbyssGetDataCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1690,6 +1880,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((WeaponDressCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::EndNewbieScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::EndNewbieScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = EndNewbieScRsp::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((EndNewbieScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetRamenDataCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetRamenDataCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1706,6 +1904,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((RunEventGraphScRsp::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::UnlockClueItemCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::UnlockClueItemCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = UnlockClueItemCsReq::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((UnlockClueItemCsReq::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetAvatarDataCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetAvatarDataCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1780,6 +1986,16 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((GetServerTimestampCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::AdvanceBeginnerProcedureScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::AdvanceBeginnerProcedureScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = AdvanceBeginnerProcedureScRsp::from( + common_protocol_message, + ); + pb_message.xor_fields(); + Ok(Some((AdvanceBeginnerProcedureScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::PerformEndCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::PerformEndCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -1927,6 +2143,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((GetPlayerInfoScRsp::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::SelectRoleScRsp::CMD_ID => { + let common_protocol_message = ::trigger_protocol::SelectRoleScRsp::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = SelectRoleScRsp::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((SelectRoleScRsp::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::GetUnlockDataCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::GetUnlockDataCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -2213,6 +2437,14 @@ pub fn common_protocol_unit_to_pb( pb_message.xor_fields(); Ok(Some((ClickHollowSystemCsReq::CMD_ID, pb_message.encode_to_vec()))) } + ::trigger_protocol::EndNewbieCsReq::CMD_ID => { + let common_protocol_message = ::trigger_protocol::EndNewbieCsReq::decode( + &mut ::std::io::Cursor::new(&unit.blob), + )?; + let mut pb_message = EndNewbieCsReq::from(common_protocol_message); + pb_message.xor_fields(); + Ok(Some((EndNewbieCsReq::CMD_ID, pb_message.encode_to_vec()))) + } ::trigger_protocol::LeaveCurSceneCsReq::CMD_ID => { let common_protocol_message = ::trigger_protocol::LeaveCurSceneCsReq::decode( &mut ::std::io::Cursor::new(&unit.blob), @@ -2295,6 +2527,26 @@ impl From<::trigger_protocol::GetRewardBuffDataScRsp> for GetRewardBuffDataScRsp } } #[allow(unused)] +impl From for ::trigger_protocol::BeginnerbattleBeginScRsp { + fn from(value: BeginnerbattleBeginScRsp) -> Self { + Self { + battle_uid: value.battle_uid.into(), + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::BeginnerbattleBeginScRsp> for BeginnerbattleBeginScRsp { + fn from(value: ::trigger_protocol::BeginnerbattleBeginScRsp) -> Self { + Self { + battle_uid: value.battle_uid.into(), + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::PlayerInfo { fn from(value: PlayerInfo) -> Self { Self { @@ -2409,6 +2661,24 @@ impl From<::trigger_protocol::Equip> for Equip { } } #[allow(unused)] +impl From for ::trigger_protocol::SelectRoleCsReq { + fn from(value: SelectRoleCsReq) -> Self { + Self { + avatar_id: value.avatar_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::SelectRoleCsReq> for SelectRoleCsReq { + fn from(value: ::trigger_protocol::SelectRoleCsReq) -> Self { + Self { + avatar_id: value.avatar_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::HollowDataRefreshCsReq { fn from(value: HollowDataRefreshCsReq) -> Self { Self { ..Default::default() } @@ -2961,6 +3231,24 @@ impl From<::trigger_protocol::DressEquipmentCsReq> for DressEquipmentCsReq { } } #[allow(unused)] +impl From for ::trigger_protocol::BeginnerbattleBeginCsReq { + fn from(value: BeginnerbattleBeginCsReq) -> Self { + Self { + battle_id: value.battle_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::BeginnerbattleBeginCsReq> for BeginnerbattleBeginCsReq { + fn from(value: ::trigger_protocol::BeginnerbattleBeginCsReq) -> Self { + Self { + battle_id: value.battle_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::GetTipsDataScRsp { fn from(value: GetTipsDataScRsp) -> Self { Self { @@ -3023,6 +3311,44 @@ impl From<::trigger_protocol::GetActivityDataScRsp> for GetActivityDataScRsp { } } #[allow(unused)] +impl From for ::trigger_protocol::BeginnerbattleEndCsReq { + fn from(value: BeginnerbattleEndCsReq) -> Self { + Self { + battle_uid: value.battle_uid.into(), + battle_id: value.battle_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::BeginnerbattleEndCsReq> for BeginnerbattleEndCsReq { + fn from(value: ::trigger_protocol::BeginnerbattleEndCsReq) -> Self { + Self { + battle_uid: value.battle_uid.into(), + battle_id: value.battle_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From for ::trigger_protocol::UnlockClueItemScRsp { + fn from(value: UnlockClueItemScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::UnlockClueItemScRsp> for UnlockClueItemScRsp { + fn from(value: ::trigger_protocol::UnlockClueItemScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::PerformTriggerCsReq { fn from(value: PerformTriggerCsReq) -> Self { Self { @@ -3211,6 +3537,24 @@ impl From<::trigger_protocol::GetBuddyDataScRsp> for GetBuddyDataScRsp { } } #[allow(unused)] +impl From for ::trigger_protocol::BeginnerbattleEndScRsp { + fn from(value: BeginnerbattleEndScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::BeginnerbattleEndScRsp> for BeginnerbattleEndScRsp { + fn from(value: ::trigger_protocol::BeginnerbattleEndScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::Transform { fn from(value: Transform) -> Self { Self { @@ -3273,6 +3617,26 @@ impl From<::trigger_protocol::EnterSectionCsReq> for EnterSectionCsReq { } } #[allow(unused)] +impl From +for ::trigger_protocol::BeginnerbattleRebeginScRsp { + fn from(value: BeginnerbattleRebeginScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::BeginnerbattleRebeginScRsp> +for BeginnerbattleRebeginScRsp { + fn from(value: ::trigger_protocol::BeginnerbattleRebeginScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::RallySceneInfo { fn from(value: RallySceneInfo) -> Self { Self { @@ -3467,6 +3831,28 @@ impl From<::trigger_protocol::AbyssGetDataScRsp> for AbyssGetDataScRsp { } } #[allow(unused)] +impl From +for ::trigger_protocol::BeginnerbattleRebeginCsReq { + fn from(value: BeginnerbattleRebeginCsReq) -> Self { + Self { + battle_uid: value.battle_uid.into(), + battle_id: value.battle_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::BeginnerbattleRebeginCsReq> +for BeginnerbattleRebeginCsReq { + fn from(value: ::trigger_protocol::BeginnerbattleRebeginCsReq) -> Self { + Self { + battle_uid: value.battle_uid.into(), + battle_id: value.battle_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::GetExplorationDataCsReq { fn from(value: GetExplorationDataCsReq) -> Self { Self { ..Default::default() } @@ -3491,6 +3877,28 @@ impl From<::trigger_protocol::GetResourceDataCsReq> for GetResourceDataCsReq { } } #[allow(unused)] +impl From +for ::trigger_protocol::AdvanceBeginnerProcedureCsReq { + fn from(value: AdvanceBeginnerProcedureCsReq) -> Self { + Self { + params: value.params.into(), + procedure_id: value.procedure_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::AdvanceBeginnerProcedureCsReq> +for AdvanceBeginnerProcedureCsReq { + fn from(value: ::trigger_protocol::AdvanceBeginnerProcedureCsReq) -> Self { + Self { + params: value.params.into(), + procedure_id: value.procedure_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::AbyssGetDataCsReq { fn from(value: AbyssGetDataCsReq) -> Self { Self { ..Default::default() } @@ -3561,6 +3969,24 @@ impl From<::trigger_protocol::StartHollowQuestScRsp> for StartHollowQuestScRsp { } } #[allow(unused)] +impl From for ::trigger_protocol::FreshSceneInfo { + fn from(value: FreshSceneInfo) -> Self { + Self { + last_procedure_id: value.last_procedure_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::FreshSceneInfo> for FreshSceneInfo { + fn from(value: ::trigger_protocol::FreshSceneInfo) -> Self { + Self { + last_procedure_id: value.last_procedure_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::TipsInfo { fn from(value: TipsInfo) -> Self { Self { @@ -3614,6 +4040,7 @@ for ::trigger_protocol::SavePlayerSystemSettingCsReq { fn from(value: SavePlayerSystemSettingCsReq) -> Self { Self { r#type: value.r#type.into(), + params: value.params.into(), ..Default::default() } } @@ -3624,6 +4051,7 @@ for SavePlayerSystemSettingCsReq { fn from(value: ::trigger_protocol::SavePlayerSystemSettingCsReq) -> Self { Self { r#type: value.r#type.into(), + params: value.params.into(), ..Default::default() } } @@ -4115,6 +4543,26 @@ impl From<::trigger_protocol::WeaponDressCsReq> for WeaponDressCsReq { } } #[allow(unused)] +impl From for ::trigger_protocol::EndNewbieScRsp { + fn from(value: EndNewbieScRsp) -> Self { + Self { + group_id: value.group_id.into(), + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::EndNewbieScRsp> for EndNewbieScRsp { + fn from(value: ::trigger_protocol::EndNewbieScRsp) -> Self { + Self { + group_id: value.group_id.into(), + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::GetRamenDataCsReq { fn from(value: GetRamenDataCsReq) -> Self { Self { ..Default::default() } @@ -4177,6 +4625,18 @@ impl From<::trigger_protocol::HollowInfo> for HollowInfo { } } #[allow(unused)] +impl From for ::trigger_protocol::UnlockClueItemCsReq { + fn from(value: UnlockClueItemCsReq) -> Self { + Self { ..Default::default() } + } +} +#[allow(unused)] +impl From<::trigger_protocol::UnlockClueItemCsReq> for UnlockClueItemCsReq { + fn from(value: ::trigger_protocol::UnlockClueItemCsReq) -> Self { + Self { ..Default::default() } + } +} +#[allow(unused)] impl From for ::trigger_protocol::GetAvatarDataCsReq { fn from(value: GetAvatarDataCsReq) -> Self { Self { ..Default::default() } @@ -4443,6 +4903,28 @@ impl From<::trigger_protocol::GetServerTimestampCsReq> for GetServerTimestampCsR } } #[allow(unused)] +impl From +for ::trigger_protocol::AdvanceBeginnerProcedureScRsp { + fn from(value: AdvanceBeginnerProcedureScRsp) -> Self { + Self { + next_procedure_id: value.next_procedure_id.into(), + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::AdvanceBeginnerProcedureScRsp> +for AdvanceBeginnerProcedureScRsp { + fn from(value: ::trigger_protocol::AdvanceBeginnerProcedureScRsp) -> Self { + Self { + next_procedure_id: value.next_procedure_id.into(), + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::PerformEndCsReq { fn from(value: PerformEndCsReq) -> Self { Self { @@ -4905,6 +5387,24 @@ impl From<::trigger_protocol::GetPlayerInfoScRsp> for GetPlayerInfoScRsp { } } #[allow(unused)] +impl From for ::trigger_protocol::SelectRoleScRsp { + fn from(value: SelectRoleScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::SelectRoleScRsp> for SelectRoleScRsp { + fn from(value: ::trigger_protocol::SelectRoleScRsp) -> Self { + Self { + retcode: value.retcode.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::GetUnlockDataCsReq { fn from(value: GetUnlockDataCsReq) -> Self { Self { ..Default::default() } @@ -5831,6 +6331,24 @@ impl From<::trigger_protocol::VhsStoreData> for VhsStoreData { } } #[allow(unused)] +impl From for ::trigger_protocol::EndNewbieCsReq { + fn from(value: EndNewbieCsReq) -> Self { + Self { + group_id: value.group_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] +impl From<::trigger_protocol::EndNewbieCsReq> for EndNewbieCsReq { + fn from(value: ::trigger_protocol::EndNewbieCsReq) -> Self { + Self { + group_id: value.group_id.into(), + ..Default::default() + } + } +} +#[allow(unused)] impl From for ::trigger_protocol::SystemSettings { fn from(value: SystemSettings) -> Self { Self { @@ -5979,11 +6497,11 @@ impl From for ::trigger_protocol::SceneData { fn from(value: SceneData) -> Self { Self { hall_scene_info: value.hall_scene_info.map(|v| v.into()), + fresh_scene_info: value.fresh_scene_info.map(|v| v.into()), local_play_type: value.local_play_type.into(), fight_scene_info: value.fight_scene_info.map(|v| v.into()), scene_type: value.scene_type.into(), rally_scene_info: value.rally_scene_info.map(|v| v.into()), - event_id: value.event_id.into(), ..Default::default() } } @@ -5993,11 +6511,11 @@ impl From<::trigger_protocol::SceneData> for SceneData { fn from(value: ::trigger_protocol::SceneData) -> Self { Self { hall_scene_info: value.hall_scene_info.map(|v| v.into()), + fresh_scene_info: value.fresh_scene_info.map(|v| v.into()), local_play_type: value.local_play_type.into(), fight_scene_info: value.fight_scene_info.map(|v| v.into()), scene_type: value.scene_type.into(), rally_scene_info: value.rally_scene_info.map(|v| v.into()), - event_id: value.event_id.into(), ..Default::default() } }