Skip to main content

engage/generated/root/
strope.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-strope-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/root/strope/StrOpe.md"))]
11    #[::unity::class(namespace = "", name = "StrOpe")]
12    #[parent(crate::system::object::Object)]
13    pub struct StrOpe {
14        #[static_field]
15        #[rename(name = "instance")]
16        pub instance: crate::root::strope::StrOpe,
17        #[static_field]
18        #[rename(name = "singletonThread")]
19        pub singleton_thread: ::unity::IlInstance,
20        #[offset(24)]
21        #[rename(name = "chars")]
22        pub chars: ::unity::Array<u16>,
23    }
24}
25
26#[cfg(feature = "root-strope-types")]
27pub use __types::*;
28
29#[cfg(feature = "root-strope")]
30impl StrOpe {
31    #[doc = "`.cctor()` overload"]
32    pub fn cctor() -> () {
33        unsafe {
34            ::unity::il2cpp_call!((::unity::module_base()+0x25037a0usize)as*mut u8,();
35            )
36        }
37    }
38
39    #[doc = "`Create(i32)` overload"]
40    pub fn create(capacity: impl ::core::convert::Into<i32>) -> crate::root::strope::StrOpe {
41        unsafe {
42            ::unity::il2cpp_call!((::unity::module_base()+0x25038d0usize)as*mut u8,crate::root::strope::StrOpe;
43(i32)::core::convert::Into::into(capacity))
44        }
45    }
46
47    #[doc = "`get_small()` overload"]
48    pub fn get_small() -> crate::root::strope::StrOpe {
49        unsafe {
50            ::unity::il2cpp_call!((::unity::module_base()+0x2503940usize)as*mut u8,crate::root::strope::StrOpe;
51            )
52        }
53    }
54
55    #[doc = "`get_medium()` overload"]
56    pub fn get_medium() -> crate::root::strope::StrOpe {
57        unsafe {
58            ::unity::il2cpp_call!((::unity::module_base()+0x25039e0usize)as*mut u8,crate::root::strope::StrOpe;
59            )
60        }
61    }
62
63    #[doc = "`get_large()` overload"]
64    pub fn get_large() -> crate::root::strope::StrOpe {
65        unsafe {
66            ::unity::il2cpp_call!((::unity::module_base()+0x2503a80usize)as*mut u8,crate::root::strope::StrOpe;
67            )
68        }
69    }
70
71    #[doc = "`get_i()` overload"]
72    pub fn get_i() -> crate::root::strope::StrOpe {
73        unsafe {
74            ::unity::il2cpp_call!((::unity::module_base()+0x2503b20usize)as*mut u8,crate::root::strope::StrOpe;
75            )
76        }
77    }
78
79    #[doc = "`Format(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
80    pub fn format(
81        format: impl ::core::convert::Into<::unity::Il2CppString>,
82        args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
83    ) -> crate::root::strope::StrOpe {
84        unsafe {
85            ::unity::il2cpp_call!((::unity::module_base()+0x25044a0usize)as*mut u8,crate::root::strope::StrOpe;
86(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
87        }
88    }
89
90    #[doc = "`Format(::unity::Il2CppString, crate::system::object::Object)` overload"]
91    pub fn format_2(
92        format: impl ::core::convert::Into<::unity::Il2CppString>,
93        arg: impl ::core::convert::Into<crate::system::object::Object>,
94    ) -> crate::root::strope::StrOpe {
95        unsafe {
96            ::unity::il2cpp_call!((::unity::module_base()+0x2504530usize)as*mut u8,crate::root::strope::StrOpe;
97(::unity::Il2CppString)::core::convert::Into::into(format),(crate::system::object::Object)::core::convert::Into::into(arg))
98        }
99    }
100
101    #[doc = "`Format(::unity::Il2CppString, crate::system::object::Object, crate::system::object::Object)` overload"]
102    pub fn format_3(
103        format: impl ::core::convert::Into<::unity::Il2CppString>,
104        arg0: impl ::core::convert::Into<crate::system::object::Object>,
105        arg1: impl ::core::convert::Into<crate::system::object::Object>,
106    ) -> crate::root::strope::StrOpe {
107        unsafe {
108            ::unity::il2cpp_call!((::unity::module_base()+0x25045c0usize)as*mut u8,crate::root::strope::StrOpe;
109(::unity::Il2CppString)::core::convert::Into::into(format),(crate::system::object::Object)::core::convert::Into::into(arg0),(crate::system::object::Object)::core::convert::Into::into(arg1))
110        }
111    }
112
113    #[doc = "`Format(::unity::Il2CppString, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object)` overload"]
114    pub fn format_4(
115        format: impl ::core::convert::Into<::unity::Il2CppString>,
116        arg0: impl ::core::convert::Into<crate::system::object::Object>,
117        arg1: impl ::core::convert::Into<crate::system::object::Object>,
118        arg2: impl ::core::convert::Into<crate::system::object::Object>,
119    ) -> crate::root::strope::StrOpe {
120        unsafe {
121            ::unity::il2cpp_call!((::unity::module_base()+0x2504660usize)as*mut u8,crate::root::strope::StrOpe;
122(::unity::Il2CppString)::core::convert::Into::into(format),(crate::system::object::Object)::core::convert::Into::into(arg0),(crate::system::object::Object)::core::convert::Into::into(arg1),(crate::system::object::Object)::core::convert::Into::into(arg2))
123        }
124    }
125
126    #[doc = "`op_Implicit(crate::root::strope::StrOpe)` overload"]
127    pub fn op_implicit(t: impl ::core::convert::Into<crate::root::strope::StrOpe>) -> ::unity::Il2CppString {
128        unsafe {
129            ::unity::il2cpp_call!((::unity::module_base()+0x2504710usize)as*mut u8, ::unity::Il2CppString;
130(crate::root::strope::StrOpe)::core::convert::Into::into(t))
131        }
132    }
133
134    #[doc = "`op_Addition(crate::root::strope::StrOpe, bool)` overload"]
135    pub fn op_addition(
136        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
137        v: impl ::core::convert::Into<bool>,
138    ) -> crate::root::strope::StrOpe {
139        unsafe {
140            ::unity::il2cpp_call!((::unity::module_base()+0x2504720usize)as*mut u8,crate::root::strope::StrOpe;
141(crate::root::strope::StrOpe)::core::convert::Into::into(t),(bool)::core::convert::Into::into(v))
142        }
143    }
144
145    #[doc = "`op_Addition(crate::root::strope::StrOpe, i32)` overload"]
146    pub fn op_addition_2(
147        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
148        v: impl ::core::convert::Into<i32>,
149    ) -> crate::root::strope::StrOpe {
150        unsafe {
151            ::unity::il2cpp_call!((::unity::module_base()+0x2504750usize)as*mut u8,crate::root::strope::StrOpe;
152(crate::root::strope::StrOpe)::core::convert::Into::into(t),(i32)::core::convert::Into::into(v))
153        }
154    }
155
156    #[doc = "`op_Addition(crate::root::strope::StrOpe, i16)` overload"]
157    pub fn op_addition_3(
158        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
159        v: impl ::core::convert::Into<i16>,
160    ) -> crate::root::strope::StrOpe {
161        unsafe {
162            ::unity::il2cpp_call!((::unity::module_base()+0x2504780usize)as*mut u8,crate::root::strope::StrOpe;
163(crate::root::strope::StrOpe)::core::convert::Into::into(t),(i16)::core::convert::Into::into(v))
164        }
165    }
166
167    #[doc = "`op_Addition(crate::root::strope::StrOpe, u8)` overload"]
168    pub fn op_addition_4(
169        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
170        v: impl ::core::convert::Into<u8>,
171    ) -> crate::root::strope::StrOpe {
172        unsafe {
173            ::unity::il2cpp_call!((::unity::module_base()+0x25047b0usize)as*mut u8,crate::root::strope::StrOpe;
174(crate::root::strope::StrOpe)::core::convert::Into::into(t),(u8)::core::convert::Into::into(v))
175        }
176    }
177
178    #[doc = "`op_Addition(crate::root::strope::StrOpe, i64)` overload"]
179    pub fn op_addition_5(
180        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
181        v: impl ::core::convert::Into<i64>,
182    ) -> crate::root::strope::StrOpe {
183        unsafe {
184            ::unity::il2cpp_call!((::unity::module_base()+0x25047e0usize)as*mut u8,crate::root::strope::StrOpe;
185(crate::root::strope::StrOpe)::core::convert::Into::into(t),(i64)::core::convert::Into::into(v))
186        }
187    }
188
189    #[doc = "`op_Addition(crate::root::strope::StrOpe, f32)` overload"]
190    pub fn op_addition_6(
191        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
192        v: impl ::core::convert::Into<f32>,
193    ) -> crate::root::strope::StrOpe {
194        unsafe {
195            ::unity::il2cpp_call!((::unity::module_base()+0x2504810usize)as*mut u8,crate::root::strope::StrOpe;
196(crate::root::strope::StrOpe)::core::convert::Into::into(t),(f32)::core::convert::Into::into(v))
197        }
198    }
199
200    #[doc = "`op_Addition(crate::root::strope::StrOpe, f64)` overload"]
201    pub fn op_addition_7(
202        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
203        v: impl ::core::convert::Into<f64>,
204    ) -> crate::root::strope::StrOpe {
205        unsafe {
206            ::unity::il2cpp_call!((::unity::module_base()+0x2504840usize)as*mut u8,crate::root::strope::StrOpe;
207(crate::root::strope::StrOpe)::core::convert::Into::into(t),(f64)::core::convert::Into::into(v))
208        }
209    }
210
211    #[doc = "`op_Addition(crate::root::strope::StrOpe, u16)` overload"]
212    pub fn op_addition_8(
213        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
214        c: impl ::core::convert::Into<u16>,
215    ) -> crate::root::strope::StrOpe {
216        unsafe {
217            ::unity::il2cpp_call!((::unity::module_base()+0x2504870usize)as*mut u8,crate::root::strope::StrOpe;
218(crate::root::strope::StrOpe)::core::convert::Into::into(t),(u16)::core::convert::Into::into(c))
219        }
220    }
221
222    #[doc = "`op_Addition(crate::root::strope::StrOpe, ::unity::Array<u16>)` overload"]
223    pub fn op_addition_9(
224        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
225        c: impl ::core::convert::Into<::unity::Array<u16>>,
226    ) -> crate::root::strope::StrOpe {
227        unsafe {
228            ::unity::il2cpp_call!((::unity::module_base()+0x25048a0usize)as*mut u8,crate::root::strope::StrOpe;
229(crate::root::strope::StrOpe)::core::convert::Into::into(t),(::unity::Array<u16>)::core::convert::Into::into(c))
230        }
231    }
232
233    #[doc = "`op_Addition(crate::root::strope::StrOpe, ::unity::Il2CppString)` overload"]
234    pub fn op_addition_10(
235        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
236        str: impl ::core::convert::Into<::unity::Il2CppString>,
237    ) -> crate::root::strope::StrOpe {
238        unsafe {
239            ::unity::il2cpp_call!((::unity::module_base()+0x25048d0usize)as*mut u8,crate::root::strope::StrOpe;
240(crate::root::strope::StrOpe)::core::convert::Into::into(t),(::unity::Il2CppString)::core::convert::Into::into(str))
241        }
242    }
243
244    #[doc = "`op_Addition(crate::root::strope::StrOpe, crate::system::object::Object)` overload"]
245    pub fn op_addition_11(
246        t: impl ::core::convert::Into<crate::root::strope::StrOpe>,
247        obj: impl ::core::convert::Into<crate::system::object::Object>,
248    ) -> crate::root::strope::StrOpe {
249        unsafe {
250            ::unity::il2cpp_call!((::unity::module_base()+0x2504900usize)as*mut u8,crate::root::strope::StrOpe;
251(crate::root::strope::StrOpe)::core::convert::Into::into(t),(crate::system::object::Object)::core::convert::Into::into(obj))
252        }
253    }
254}
255
256#[cfg(feature = "root-strope")]
257pub trait IStrOpeMethods: IStrOpe {
258    #[doc = "`.ctor(i32)` overload"]
259    fn ctor(self, capacity: impl ::core::convert::Into<i32>) -> () {
260        unsafe {
261            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262            ::unity::il2cpp_call!((::unity::module_base()+0x2503810usize)as*mut u8,();
263(StrOpe)__receiver,(i32)::core::convert::Into::into(capacity))
264        }
265    }
266    #[doc = "`set_Capacity(i32)` overload"]
267    fn set_capacity(self, value: impl ::core::convert::Into<i32>) -> () {
268        unsafe {
269            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270            ::unity::il2cpp_call!((::unity::module_base()+0x2503ce0usize)as*mut u8,();
271(StrOpe)__receiver,(i32)::core::convert::Into::into(value))
272        }
273    }
274    #[doc = "`get_Capacity()` overload"]
275    fn get_capacity(self) -> i32 {
276        unsafe {
277            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278            ::unity::il2cpp_call!((::unity::module_base()+0x2503cf0usize)as*mut u8,i32;
279(StrOpe)__receiver)
280        }
281    }
282    #[doc = "`set_Length(i32)` overload"]
283    fn set_length(self, value: impl ::core::convert::Into<i32>) -> () {
284        unsafe {
285            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286            ::unity::il2cpp_call!((::unity::module_base()+0x2503d00usize)as*mut u8,();
287(StrOpe)__receiver,(i32)::core::convert::Into::into(value))
288        }
289    }
290    #[doc = "`get_Length()` overload"]
291    fn get_length(self) -> i32 {
292        unsafe {
293            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294            ::unity::il2cpp_call!((::unity::module_base()+0x2503d10usize)as*mut u8,i32;
295(StrOpe)__receiver)
296        }
297    }
298    #[doc = "`Remove(i32, i32)` overload"]
299    fn remove(self, start_index: impl ::core::convert::Into<i32>, length: impl ::core::convert::Into<i32>) -> crate::root::strope::StrOpe {
300        unsafe {
301            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302            ::unity::il2cpp_call!((::unity::module_base()+0x2503d20usize)as*mut u8,crate::root::strope::StrOpe;
303(StrOpe)__receiver,(i32)::core::convert::Into::into(start_index),(i32)::core::convert::Into::into(length))
304        }
305    }
306    #[doc = "`Replace(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
307    fn replace(
308        self,
309        old_value: impl ::core::convert::Into<::unity::Il2CppString>,
310        new_value: impl ::core::convert::Into<::unity::Il2CppString>,
311    ) -> crate::root::strope::StrOpe {
312        unsafe {
313            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314            ::unity::il2cpp_call!((::unity::module_base()+0x2503d50usize)as*mut u8,crate::root::strope::StrOpe;
315(StrOpe)__receiver,(::unity::Il2CppString)::core::convert::Into::into(old_value),(::unity::Il2CppString)::core::convert::Into::into(new_value))
316        }
317    }
318    #[doc = "`SubString(i32, i32)` overload"]
319    fn sub_string(self, start_index: impl ::core::convert::Into<i32>, length: impl ::core::convert::Into<i32>) -> crate::root::strope::StrOpe {
320        unsafe {
321            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322            ::unity::il2cpp_call!((::unity::module_base()+0x2503d80usize)as*mut u8,crate::root::strope::StrOpe;
323(StrOpe)__receiver,(i32)::core::convert::Into::into(start_index),(i32)::core::convert::Into::into(length))
324        }
325    }
326    #[doc = "`Append(::unity::Il2CppString, i32)` overload"]
327    fn append(self, str: impl ::core::convert::Into<::unity::Il2CppString>, length: impl ::core::convert::Into<i32>) -> crate::root::strope::StrOpe {
328        unsafe {
329            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330            ::unity::il2cpp_call!((::unity::module_base()+0x2503e00usize)as*mut u8,crate::root::strope::StrOpe;
331(StrOpe)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str),(i32)::core::convert::Into::into(length))
332        }
333    }
334    #[doc = "`ToString()` overload"]
335    fn to_string(self) -> ::unity::Il2CppString {
336        unsafe {
337            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338            {
339                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
340                let __vi = *__vt.get(3usize).unwrap_or_else(|| {
341                    panic!(
342                        "unity: virtual slot {}
343 out of range (vtable len {}
344) on the runtime class behind {}
345 (method `{}
346`)",
347                        3usize,
348                        __vt.len(),
349                        <StrOpe as ::unity::ClassIdentity>::NAME,
350                        "ToString",
351                    )
352                });
353                let __inner: extern "C" fn(StrOpe, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
354                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
355                __inner(__receiver, __mi)
356            }
357        }
358    }
359    #[doc = "`Clear()` overload"]
360    fn clear(self) -> () {
361        unsafe {
362            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363            ::unity::il2cpp_call!((::unity::module_base()+0x2503ec0usize)as*mut u8,();
364(StrOpe)__receiver)
365        }
366    }
367    #[doc = "`ToLower()` overload"]
368    fn to_lower(self) -> crate::root::strope::StrOpe {
369        unsafe {
370            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
371            ::unity::il2cpp_call!((::unity::module_base()+0x2503f30usize)as*mut u8,crate::root::strope::StrOpe;
372(StrOpe)__receiver)
373        }
374    }
375    #[doc = "`ToUpper()` overload"]
376    fn to_upper(self) -> crate::root::strope::StrOpe {
377        unsafe {
378            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379            ::unity::il2cpp_call!((::unity::module_base()+0x2504080usize)as*mut u8,crate::root::strope::StrOpe;
380(StrOpe)__receiver)
381        }
382    }
383    #[doc = "`Trim()` overload"]
384    fn trim(self) -> crate::root::strope::StrOpe {
385        unsafe {
386            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387            ::unity::il2cpp_call!((::unity::module_base()+0x25041d0usize)as*mut u8,crate::root::strope::StrOpe;
388(StrOpe)__receiver)
389        }
390    }
391    #[doc = "`TrimStart()` overload"]
392    fn trim_start(self) -> crate::root::strope::StrOpe {
393        unsafe {
394            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395            ::unity::il2cpp_call!((::unity::module_base()+0x25042e0usize)as*mut u8,crate::root::strope::StrOpe;
396(StrOpe)__receiver)
397        }
398    }
399    #[doc = "`TrimEnd()` overload"]
400    fn trim_end(self) -> crate::root::strope::StrOpe {
401        unsafe {
402            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403            ::unity::il2cpp_call!((::unity::module_base()+0x25041f0usize)as*mut u8,crate::root::strope::StrOpe;
404(StrOpe)__receiver)
405        }
406    }
407    #[doc = "`ToChars()` overload"]
408    fn to_chars(self) -> ::unity::Array<u16> {
409        unsafe {
410            let __receiver = <StrOpe as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411            ::unity::il2cpp_call!((::unity::module_base()+0x25043c0usize)as*mut u8, ::unity::Array<u16> ;
412(StrOpe)__receiver)
413        }
414    }
415}
416
417#[cfg(feature = "root-strope")]
418impl<__T: IStrOpe> IStrOpeMethods for __T {}
419
420#[cfg(feature = "root-strope")]
421impl StrOpe {
422    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
424    }
425
426    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
428    }
429
430    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
432    }
433
434    pub fn get_small_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
436    }
437
438    pub fn get_medium_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
440    }
441
442    pub fn get_large_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
444    }
445
446    pub fn get_i_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
448    }
449
450    pub fn set_capacity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
452    }
453
454    pub fn get_capacity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
456    }
457
458    pub fn set_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
460    }
461
462    pub fn get_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
464    }
465
466    pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
467        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
468    }
469
470    pub fn replace_method_info() -> &'static ::unity::il2cpp::MethodInfo {
471        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
472    }
473
474    pub fn sub_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
475        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
476    }
477
478    pub fn append_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
480    }
481
482    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
484    }
485
486    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
488    }
489
490    pub fn to_lower_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
492    }
493
494    pub fn to_upper_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
496    }
497
498    pub fn trim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
500    }
501
502    pub fn trim_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
504    }
505
506    pub fn trim_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
508    }
509
510    pub fn to_chars_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
512    }
513
514    pub fn format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
515        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
516    }
517
518    pub fn format_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
519        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
520    }
521
522    pub fn format_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
523        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
524    }
525
526    pub fn format_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
527        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
528    }
529
530    pub fn op_implicit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
531        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
532    }
533
534    pub fn op_addition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
535        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
536    }
537
538    pub fn op_addition_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
539        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
540    }
541
542    pub fn op_addition_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
543        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
544    }
545
546    pub fn op_addition_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
547        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
548    }
549
550    pub fn op_addition_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
551        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
552    }
553
554    pub fn op_addition_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
555        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
556    }
557
558    pub fn op_addition_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
559        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
560    }
561
562    pub fn op_addition_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
563        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
564    }
565
566    pub fn op_addition_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
567        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
568    }
569
570    pub fn op_addition_10_method_info() -> &'static ::unity::il2cpp::MethodInfo {
571        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
572    }
573
574    pub fn op_addition_11_method_info() -> &'static ::unity::il2cpp::MethodInfo {
575        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
576    }
577}
578
579#[cfg(feature = "root-strope")]
580impl StrOpe {
581    #[doc = "Direct (non-virtual) call to `StrOpe`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
582    pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
583        let __mi = Self::to_string_method_info();
584        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
585        __inner(this.into(), ::core::option::Option::None)
586    }
587}
588
589#[cfg(feature = "root-strope")]
590impl StrOpe {
591    #[doc = "`.ctor(i32)` — overload selector"]
592    pub fn new(capacity: i32) -> Self {
593        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
594            panic!(
595                "{}
596::{}
597 failed to instantiate",
598                ::core::stringify!(StrOpe),
599                ::core::stringify!(new),
600            )
601        });
602        <Self as IStrOpeMethods>::ctor(this, capacity);
603        this
604    }
605}
606
607#[cfg(feature = "root-strope")]
608#[doc(hidden)]
609pub mod prelude {
610    pub use super::{IStrOpe, IStrOpeMethods, StrOpe};
611    pub use crate::system::object::IObject;
612    #[cfg(feature = "system-object")]
613    pub use crate::system::object::IObjectMethods;
614}