Skip to main content

engage/generated/combat/
zoneut.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-zoneut-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/zoneut/ZoneUt.md"))]
11    #[::unity::class(namespace = "Combat", name = "ZoneUt")]
12    #[parent(crate::system::object::Object)]
13    pub struct ZoneUt {}
14}
15
16#[cfg(feature = "combat-zoneut-types")]
17pub use __types::*;
18
19#[cfg(feature = "combat-zoneut")]
20impl ZoneUt {
21    #[doc = "`Select(i32, i32)` overload"]
22    pub fn select(zone: impl ::core::convert::Into<i32>, last_index: impl ::core::convert::Into<i32>) -> i32 {
23        unsafe {
24            ::unity::il2cpp_call!((::unity::module_base()+0x29405b0usize)as*mut u8,i32;
25(i32)::core::convert::Into::into(zone),(i32)::core::convert::Into::into(last_index))
26        }
27    }
28
29    #[doc = "`IndexToRad(i32)` overload"]
30    pub fn index_to_rad(zone_index: impl ::core::convert::Into<i32>) -> f32 {
31        unsafe {
32            ::unity::il2cpp_call!((::unity::module_base()+0x2940870usize)as*mut u8,f32;
33(i32)::core::convert::Into::into(zone_index))
34        }
35    }
36
37    #[doc = "`Reverse(i32)` overload"]
38    pub fn reverse(zone: impl ::core::convert::Into<i32>) -> f32 {
39        unsafe {
40            ::unity::il2cpp_call!((::unity::module_base()+0x2940890usize)as*mut u8,f32;
41(i32)::core::convert::Into::into(zone))
42        }
43    }
44}
45
46#[cfg(feature = "combat-zoneut")]
47impl ZoneUt {
48    pub fn select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
49        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
50    }
51
52    pub fn index_to_rad_method_info() -> &'static ::unity::il2cpp::MethodInfo {
53        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
54    }
55
56    pub fn reverse_method_info() -> &'static ::unity::il2cpp::MethodInfo {
57        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
58    }
59}
60
61#[cfg(feature = "combat-zoneut")]
62#[doc(hidden)]
63pub mod prelude {
64    pub use super::{IZoneUt, ZoneUt};
65    pub use crate::system::object::IObject;
66    #[cfg(feature = "system-object")]
67    pub use crate::system::object::IObjectMethods;
68}