Skip to main content

engage/generated/combat/
prefetchedsignalstore.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-prefetchedsignalstore-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/prefetchedsignalstore/PrefetchedSignalStore.md"))]
11    #[::unity::class(namespace = "Combat", name = "PrefetchedSignalStore")]
12    #[parent(crate::system::object::Object)]
13    pub struct PrefetchedSignalStore {
14        #[offset(16)]
15        #[rename(name = "dic")]
16        pub dic: crate::system::collections::generic::dictionary_2::Dictionary_2<i32, crate::combat::prefetchedsignal::PrefetchedSignal>,
17        #[offset(24)]
18        #[rename(name = "lastHash")]
19        pub last_hash: i32,
20        #[offset(32)]
21        #[rename(name = "lastSignal")]
22        pub last_signal: crate::combat::prefetchedsignal::PrefetchedSignal,
23        #[static_field]
24        #[rename(name = "s_null")]
25        pub s_null: crate::combat::prefetchedsignalstore::PrefetchedSignalStore,
26        #[static_field]
27        #[rename(name = "attackHashes")]
28        pub attack_hashes: ::unity::Array<i32>,
29        #[offset(40)]
30        #[rename(name = "items")]
31        pub items: ::unity::Array<crate::combat::prefetchedsignal::PrefetchedSignal>,
32    }
33}
34
35#[cfg(feature = "combat-prefetchedsignalstore-types")]
36pub use __types::*;
37
38#[cfg(feature = "combat-prefetchedsignalstore")]
39impl PrefetchedSignalStore {
40    #[doc = "`get_Null()` overload"]
41    pub fn get_null() -> crate::combat::prefetchedsignalstore::PrefetchedSignalStore {
42        unsafe {
43            ::unity::il2cpp_call!((::unity::module_base()+0x28181a0usize)as*mut u8,crate::combat::prefetchedsignalstore::PrefetchedSignalStore;
44            )
45        }
46    }
47
48    #[doc = "`ClipNameToStateName(::unity::Il2CppString)` overload"]
49    pub fn clip_name_to_state_name(clip_name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
50        unsafe {
51            ::unity::il2cpp_call!((::unity::module_base()+0x2818840usize)as*mut u8, ::unity::Il2CppString;
52(::unity::Il2CppString)::core::convert::Into::into(clip_name))
53        }
54    }
55
56    #[doc = "`.cctor()` overload"]
57    pub fn cctor() -> () {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x2818ed0usize)as*mut u8,();
60            )
61        }
62    }
63}
64
65#[cfg(feature = "combat-prefetchedsignalstore")]
66pub trait IPrefetchedSignalStoreMethods: IPrefetchedSignalStore {
67    #[doc = "`Has(i32)` overload"]
68    fn has(self, hash: impl ::core::convert::Into<i32>) -> bool {
69        unsafe {
70            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x2818050usize)as*mut u8,bool;
72(PrefetchedSignalStore)__receiver,(i32)::core::convert::Into::into(hash))
73        }
74    }
75    #[doc = "`get_Item(i32)` overload"]
76    fn get_item(self, hash: impl ::core::convert::Into<i32>) -> crate::combat::prefetchedsignal::PrefetchedSignal {
77        unsafe {
78            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79            ::unity::il2cpp_call!((::unity::module_base()+0x28180b0usize)as*mut u8,crate::combat::prefetchedsignal::PrefetchedSignal;
80(PrefetchedSignalStore)__receiver,(i32)::core::convert::Into::into(hash))
81        }
82    }
83    #[doc = "`.ctor()` overload"]
84    fn ctor(self) -> () {
85        unsafe {
86            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x2818300usize)as*mut u8,();
88(PrefetchedSignalStore)__receiver)
89        }
90    }
91    #[doc = "`.ctor(crate::combat::character::Character, crate::unity_engine::animator::Animator, crate::unity_engine::animator::Animator)` overload"]
92    fn ctor_2(
93        self,
94        chr: impl ::core::convert::Into<crate::combat::character::Character>,
95        body_ani: impl ::core::convert::Into<crate::unity_engine::animator::Animator>,
96        ride_ani: impl ::core::convert::Into<crate::unity_engine::animator::Animator>,
97    ) -> () {
98        unsafe {
99            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x2818390usize)as*mut u8,();
101(PrefetchedSignalStore)__receiver,(crate::combat::character::Character)::core::convert::Into::into(chr),(crate::unity_engine::animator::Animator)::core::convert::Into::into(body_ani),(crate::unity_engine::animator::Animator)::core::convert::Into::into(ride_ani))
102        }
103    }
104    #[doc = "`get_HasKnockoffAttack()` overload"]
105    fn get_has_knockoff_attack(self) -> bool {
106        unsafe {
107            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108            ::unity::il2cpp_call!((::unity::module_base()+0x2818960usize)as*mut u8,bool;
109(PrefetchedSignalStore)__receiver)
110        }
111    }
112    #[doc = "`get_LotteryItems()` overload"]
113    fn get_lottery_items(
114        self,
115    ) -> crate::system::collections::generic::ireadonlycollection_1::IReadOnlyCollection_1<crate::combat::prefetchedsignal::PrefetchedSignal> {
116        unsafe {
117            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x2818a60usize)as*mut u8,crate::system::collections::generic::ireadonlycollection_1::IReadOnlyCollection_1<crate::combat::prefetchedsignal::PrefetchedSignal> ;
119(PrefetchedSignalStore)__receiver)
120        }
121    }
122    #[doc = "`Booking(::unity::Array<i32>)` overload"]
123    fn booking(self, hashes: impl ::core::convert::Into<::unity::Array<i32>>) -> () {
124        unsafe {
125            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126            ::unity::il2cpp_call!((::unity::module_base()+0x2818a70usize)as*mut u8,();
127(PrefetchedSignalStore)__receiver,(::unity::Array<i32>)::core::convert::Into::into(hashes))
128        }
129    }
130    #[doc = "`Lottery()` overload"]
131    fn lottery(self) -> crate::combat::prefetchedsignal::PrefetchedSignal {
132        unsafe {
133            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x2818bc0usize)as*mut u8,crate::combat::prefetchedsignal::PrefetchedSignal;
135(PrefetchedSignalStore)__receiver)
136        }
137    }
138    #[doc = "`GetBest()` overload"]
139    fn get_best(self) -> crate::combat::prefetchedsignal::PrefetchedSignal {
140        unsafe {
141            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x2818cd0usize)as*mut u8,crate::combat::prefetchedsignal::PrefetchedSignal;
143(PrefetchedSignalStore)__receiver)
144        }
145    }
146    #[doc = "`SelectRandomOne()` overload"]
147    fn select_random_one(self) -> crate::combat::prefetchedsignal::PrefetchedSignal {
148        unsafe {
149            let __receiver = <PrefetchedSignalStore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150            ::unity::il2cpp_call!((::unity::module_base()+0x2818e30usize)as*mut u8,crate::combat::prefetchedsignal::PrefetchedSignal;
151(PrefetchedSignalStore)__receiver)
152        }
153    }
154}
155
156#[cfg(feature = "combat-prefetchedsignalstore")]
157impl<__T: IPrefetchedSignalStore> IPrefetchedSignalStoreMethods for __T {}
158
159#[cfg(feature = "combat-prefetchedsignalstore")]
160impl PrefetchedSignalStore {
161    pub fn has_method_info() -> &'static ::unity::il2cpp::MethodInfo {
162        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
163    }
164
165    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
167    }
168
169    pub fn get_null_method_info() -> &'static ::unity::il2cpp::MethodInfo {
170        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
171    }
172
173    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
174        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
175    }
176
177    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
178        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
179    }
180
181    pub fn get_has_knockoff_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
183    }
184
185    pub fn get_lottery_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
187    }
188
189    pub fn booking_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
191    }
192
193    pub fn lottery_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
195    }
196
197    pub fn get_best_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
199    }
200
201    pub fn select_random_one_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
203    }
204
205    pub fn clip_name_to_state_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
207    }
208
209    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
211    }
212}
213
214#[cfg(feature = "combat-prefetchedsignalstore")]
215impl PrefetchedSignalStore {
216    #[doc = "`.ctor()` — no args"]
217    pub fn new() -> Self {
218        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
219            panic!(
220                "{}
221::{}
222 failed to instantiate",
223                ::core::stringify!(PrefetchedSignalStore),
224                ::core::stringify!(new),
225            )
226        });
227        <Self as IPrefetchedSignalStoreMethods>::ctor(this);
228        this
229    }
230
231    #[doc = "`.ctor(crate::combat::character::Character, crate::unity_engine::animator::Animator, crate::unity_engine::animator::Animator)` — overload selector"]
232    pub fn new_2(
233        chr: crate::combat::character::Character,
234        body_ani: crate::unity_engine::animator::Animator,
235        ride_ani: crate::unity_engine::animator::Animator,
236    ) -> Self {
237        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
238            panic!(
239                "{}
240::{}
241 failed to instantiate",
242                ::core::stringify!(PrefetchedSignalStore),
243                ::core::stringify!(new_2),
244            )
245        });
246        <Self as IPrefetchedSignalStoreMethods>::ctor_2(this, chr, body_ani, ride_ani);
247        this
248    }
249}
250
251#[cfg(feature = "combat-prefetchedsignalstore")]
252#[doc(hidden)]
253pub mod prelude {
254    pub use super::{IPrefetchedSignalStore, IPrefetchedSignalStoreMethods, PrefetchedSignalStore};
255    pub use crate::system::object::IObject;
256    #[cfg(feature = "system-object")]
257    pub use crate::system::object::IObjectMethods;
258}