Skip to main content

engage/generated/tm_pro/
tmp_spriteinfo.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-tmp_spriteinfo-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/tm_pro/tmp_spriteinfo/TMP_SpriteInfo.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct TMP_SpriteInfo {
17        pub sprite_index: i32,
18        pub character_index: i32,
19        pub vertex_index: i32,
20    }
21    impl ::unity::ClassIdentity for TMP_SpriteInfo {
22        const NAME: &'static str = "TMP_SpriteInfo";
23        const NAMESPACE: &'static str = "TMPro";
24
25        fn class() -> ::unity::Class {
26            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
27            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
28        }
29    }
30    impl ::unity::IlType for TMP_SpriteInfo {
31        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
32            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
33        }
34    }
35}
36
37#[cfg(feature = "tm_pro-tmp_spriteinfo-types")]
38pub use __types::*;
39
40#[cfg(feature = "tm_pro-tmp_spriteinfo")]
41#[doc(hidden)]
42pub mod prelude {
43    pub use super::TMP_SpriteInfo;
44    #[cfg(feature = "system-object")]
45    pub use crate::system::object::IObjectMethods;
46    #[cfg(feature = "system-valuetype")]
47    pub use crate::system::valuetype::IValueTypeMethods;
48    pub use crate::system::{object::IObject, valuetype::IValueType};
49}