Skip to main content

engage/generated/app/
netrestorescope.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-netrestorescope-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/netrestorescope/NetRestoreScope.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct NetRestoreScope {
17        pub m_save_play_time: f32,
18        pub m_is_show_net_terms: bool,
19        pub m_is_show_engage_plus_attention: bool,
20        pub m_is_show_field_bgm_changeable: bool,
21        pub m_variable_writer: crate::app::gameuserrestartdata::GameUserRestartData_VariableWriter,
22        pub m_game_config_writer: crate::app::gameuserrestartdata::GameUserRestartData_GameConfigWriter,
23    }
24    impl ::unity::ClassIdentity for NetRestoreScope {
25        const NAME: &'static str = "NetRestoreScope";
26        const NAMESPACE: &'static str = "App";
27
28        fn class() -> ::unity::Class {
29            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
30            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
31        }
32    }
33    impl ::unity::IlType for NetRestoreScope {
34        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
35            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
36        }
37    }
38}
39
40#[cfg(feature = "app-netrestorescope-types")]
41pub use __types::*;
42
43#[cfg(feature = "app-netrestorescope")]
44impl NetRestoreScope {
45    #[doc = "`.ctor(i32)` overload"]
46    pub fn ctor(&mut self, dummy: impl ::core::convert::Into<i32>) -> () {
47        unsafe {
48            ::unity::il2cpp_call!((::unity::module_base()+0x1f13290usize)as*mut u8,();
49(*mut NetRestoreScope)self as*mut NetRestoreScope,(i32)::core::convert::Into::into(dummy))
50        }
51    }
52
53    #[doc = "`Dispose()` overload"]
54    pub fn dispose(&mut self) -> () {
55        unsafe {
56            ::unity::il2cpp_call!((::unity::module_base()+0x1f134f0usize)as*mut u8,();
57(*mut NetRestoreScope)self as*mut NetRestoreScope)
58        }
59    }
60}
61
62#[cfg(feature = "app-netrestorescope")]
63impl NetRestoreScope {
64    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
65        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
66    }
67
68    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
69        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
70    }
71}
72
73#[cfg(feature = "app-netrestorescope")]
74#[doc(hidden)]
75pub mod prelude {
76    pub use super::NetRestoreScope;
77    #[cfg(feature = "system-object")]
78    pub use crate::system::object::IObjectMethods;
79    #[cfg(feature = "system-valuetype")]
80    pub use crate::system::valuetype::IValueTypeMethods;
81    pub use crate::system::{object::IObject, valuetype::IValueType};
82}