Skip to main content

engage/generated/combat/
showmeshbounds.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-showmeshbounds-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/showmeshbounds/ShowMeshBounds.md"))]
19    #[::unity::class(namespace = "Combat", name = "ShowMeshBounds")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct ShowMeshBounds {}
22}
23
24#[cfg(feature = "combat-showmeshbounds-types")]
25pub use __types::*;
26
27#[cfg(feature = "combat-showmeshbounds")]
28pub trait IShowMeshBoundsMethods: IShowMeshBounds {
29    #[doc = "`.ctor()` overload"]
30    fn ctor(self) -> () {
31        unsafe {
32            let __receiver = <ShowMeshBounds as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33            ::unity::il2cpp_call!((::unity::module_base()+0x247c120usize)as*mut u8,();
34(ShowMeshBounds)__receiver)
35        }
36    }
37}
38
39#[cfg(feature = "combat-showmeshbounds")]
40impl<__T: IShowMeshBounds> IShowMeshBoundsMethods for __T {}
41
42#[cfg(feature = "combat-showmeshbounds")]
43impl ShowMeshBounds {
44    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
45        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
46    }
47}
48
49#[cfg(feature = "combat-showmeshbounds")]
50impl ShowMeshBounds {
51    #[doc = "`.ctor()` — no args"]
52    pub fn new() -> Self {
53        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
54            panic!(
55                "{}
56::{}
57 failed to instantiate",
58                ::core::stringify!(ShowMeshBounds),
59                ::core::stringify!(new),
60            )
61        });
62        <Self as IShowMeshBoundsMethods>::ctor(this);
63        this
64    }
65}
66
67#[cfg(feature = "combat-showmeshbounds")]
68#[doc(hidden)]
69pub mod prelude {
70    pub use super::{IShowMeshBounds, IShowMeshBoundsMethods, ShowMeshBounds};
71    #[cfg(feature = "system-object")]
72    pub use crate::system::object::IObjectMethods;
73    #[cfg(feature = "unity_engine-behaviour")]
74    pub use crate::unity_engine::behaviour::IBehaviourMethods;
75    #[cfg(feature = "unity_engine-component")]
76    pub use crate::unity_engine::component::IComponentMethods;
77    #[cfg(feature = "unity_engine-monobehaviour")]
78    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
79    #[cfg(feature = "unity_engine-object_2")]
80    pub use crate::unity_engine::object_2::IObject_2Methods;
81    pub use crate::{
82        system::object::IObject,
83        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
84    };
85}