Skip to main content

engage/generated/moon_sharp/interpreter/interop/lua_state_interop/
tools.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-interop-lua_state_interop-tools-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/moon_sharp/interpreter/interop/lua_state_interop/tools/Tools.md"))]
11    #[::unity::class(namespace = "MoonSharp.Interpreter.Interop.LuaStateInterop", name = "Tools")]
12    #[parent(crate::system::object::Object)]
13    pub struct Tools {
14        #[static_field]
15        #[rename(name = "r")]
16        pub r: ::unity::IlInstance,
17    }
18}
19
20#[cfg(feature = "moon_sharp-interpreter-interop-lua_state_interop-tools-types")]
21pub use __types::*;
22
23#[cfg(feature = "moon_sharp-interpreter-interop-lua_state_interop-tools")]
24#[doc(hidden)]
25#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
26mod __Tools_unity_raw {
27    use super::*;
28    #[doc(hidden)]
29    #[allow(non_snake_case)]
30    pub mod __lookup_is_numeric_type {
31        use super::*;
32        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
33            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::object::Object as ::unity::IlType>::il_type()];
34            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "IsNumericType", 1, param_types, true)
35        });
36        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
37            match &*METHOD {
38                ::core::result::Result::Ok(mi) => *mi,
39                ::core::result::Result::Err(e) => {
40                    panic!(
41                        "method lookup failed: {}
42::{}
43: {}
44",
45                        <Tools as ::unity::ClassIdentity>::NAME,
46                        "IsNumericType",
47                        e
48                    )
49                },
50            }
51        }
52    }
53    #[doc(hidden)]
54    #[allow(non_snake_case)]
55    pub mod __lookup_is_positive {
56        use super::*;
57        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
58            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
59                <crate::system::object::Object as ::unity::IlType>::il_type(),
60                <bool as ::unity::IlType>::il_type(),
61            ];
62            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "IsPositive", 2, param_types, true)
63        });
64        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
65            match &*METHOD {
66                ::core::result::Result::Ok(mi) => *mi,
67                ::core::result::Result::Err(e) => {
68                    panic!(
69                        "method lookup failed: {}
70::{}
71: {}
72",
73                        <Tools as ::unity::ClassIdentity>::NAME,
74                        "IsPositive",
75                        e
76                    )
77                },
78            }
79        }
80    }
81    #[doc(hidden)]
82    #[allow(non_snake_case)]
83    pub mod __lookup_to_unsigned {
84        use super::*;
85        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
86            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::object::Object as ::unity::IlType>::il_type()];
87            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "ToUnsigned", 1, param_types, true)
88        });
89        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
90            match &*METHOD {
91                ::core::result::Result::Ok(mi) => *mi,
92                ::core::result::Result::Err(e) => {
93                    panic!(
94                        "method lookup failed: {}
95::{}
96: {}
97",
98                        <Tools as ::unity::ClassIdentity>::NAME,
99                        "ToUnsigned",
100                        e
101                    )
102                },
103            }
104        }
105    }
106    #[doc(hidden)]
107    #[allow(non_snake_case)]
108    pub mod __lookup_to_integer {
109        use super::*;
110        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
111            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
112                <crate::system::object::Object as ::unity::IlType>::il_type(),
113                <bool as ::unity::IlType>::il_type(),
114            ];
115            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "ToInteger", 2, param_types, true)
116        });
117        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
118            match &*METHOD {
119                ::core::result::Result::Ok(mi) => *mi,
120                ::core::result::Result::Err(e) => {
121                    panic!(
122                        "method lookup failed: {}
123::{}
124: {}
125",
126                        <Tools as ::unity::ClassIdentity>::NAME,
127                        "ToInteger",
128                        e
129                    )
130                },
131            }
132        }
133    }
134    #[doc(hidden)]
135    #[allow(non_snake_case)]
136    pub mod __lookup_unbox_to_long {
137        use super::*;
138        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
139            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
140                <crate::system::object::Object as ::unity::IlType>::il_type(),
141                <bool as ::unity::IlType>::il_type(),
142            ];
143            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "UnboxToLong", 2, param_types, true)
144        });
145        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
146            match &*METHOD {
147                ::core::result::Result::Ok(mi) => *mi,
148                ::core::result::Result::Err(e) => {
149                    panic!(
150                        "method lookup failed: {}
151::{}
152: {}
153",
154                        <Tools as ::unity::ClassIdentity>::NAME,
155                        "UnboxToLong",
156                        e
157                    )
158                },
159            }
160        }
161    }
162    #[doc(hidden)]
163    #[allow(non_snake_case)]
164    pub mod __lookup_replace_meta_chars {
165        use super::*;
166        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
167            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
168            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "ReplaceMetaChars", 1, param_types, true)
169        });
170        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171            match &*METHOD {
172                ::core::result::Result::Ok(mi) => *mi,
173                ::core::result::Result::Err(e) => {
174                    panic!(
175                        "method lookup failed: {}
176::{}
177: {}
178",
179                        <Tools as ::unity::ClassIdentity>::NAME,
180                        "ReplaceMetaChars",
181                        e
182                    )
183                },
184            }
185        }
186    }
187    #[doc(hidden)]
188    #[allow(non_snake_case)]
189    pub mod __lookup_fprintf {
190        use super::*;
191        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
192            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
193                <crate::system::io::textwriter::TextWriter as ::unity::IlType>::il_type(),
194                <::unity::Il2CppString as ::unity::IlType>::il_type(),
195                <::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type(),
196            ];
197            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "fprintf", 3, param_types, true)
198        });
199        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200            match &*METHOD {
201                ::core::result::Result::Ok(mi) => *mi,
202                ::core::result::Result::Err(e) => {
203                    panic!(
204                        "method lookup failed: {}
205::{}
206: {}
207",
208                        <Tools as ::unity::ClassIdentity>::NAME,
209                        "fprintf",
210                        e
211                    )
212                },
213            }
214        }
215    }
216    #[doc(hidden)]
217    #[allow(non_snake_case)]
218    pub mod __lookup_sprintf {
219        use super::*;
220        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
221            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
222                <::unity::Il2CppString as ::unity::IlType>::il_type(),
223                <::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type(),
224            ];
225            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "sprintf", 2, param_types, true)
226        });
227        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228            match &*METHOD {
229                ::core::result::Result::Ok(mi) => *mi,
230                ::core::result::Result::Err(e) => {
231                    panic!(
232                        "method lookup failed: {}
233::{}
234: {}
235",
236                        <Tools as ::unity::ClassIdentity>::NAME,
237                        "sprintf",
238                        e
239                    )
240                },
241            }
242        }
243    }
244    #[doc(hidden)]
245    #[allow(non_snake_case)]
246    pub mod __lookup_format_oct {
247        use super::*;
248        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
249            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
250                <::unity::Il2CppString as ::unity::IlType>::il_type(),
251                <bool as ::unity::IlType>::il_type(),
252                <i32 as ::unity::IlType>::il_type(),
253                <i32 as ::unity::IlType>::il_type(),
254                <bool as ::unity::IlType>::il_type(),
255                <u16 as ::unity::IlType>::il_type(),
256                <crate::system::object::Object as ::unity::IlType>::il_type(),
257            ];
258            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "FormatOct", 7, param_types, true)
259        });
260        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261            match &*METHOD {
262                ::core::result::Result::Ok(mi) => *mi,
263                ::core::result::Result::Err(e) => {
264                    panic!(
265                        "method lookup failed: {}
266::{}
267: {}
268",
269                        <Tools as ::unity::ClassIdentity>::NAME,
270                        "FormatOct",
271                        e
272                    )
273                },
274            }
275        }
276    }
277    #[doc(hidden)]
278    #[allow(non_snake_case)]
279    pub mod __lookup_format_hex {
280        use super::*;
281        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
282            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
283                <::unity::Il2CppString as ::unity::IlType>::il_type(),
284                <bool as ::unity::IlType>::il_type(),
285                <i32 as ::unity::IlType>::il_type(),
286                <i32 as ::unity::IlType>::il_type(),
287                <bool as ::unity::IlType>::il_type(),
288                <u16 as ::unity::IlType>::il_type(),
289                <crate::system::object::Object as ::unity::IlType>::il_type(),
290            ];
291            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "FormatHex", 7, param_types, true)
292        });
293        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
294            match &*METHOD {
295                ::core::result::Result::Ok(mi) => *mi,
296                ::core::result::Result::Err(e) => {
297                    panic!(
298                        "method lookup failed: {}
299::{}
300: {}
301",
302                        <Tools as ::unity::ClassIdentity>::NAME,
303                        "FormatHex",
304                        e
305                    )
306                },
307            }
308        }
309    }
310    #[doc(hidden)]
311    #[allow(non_snake_case)]
312    pub mod __lookup_format_number {
313        use super::*;
314        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
315            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
316                <::unity::Il2CppString as ::unity::IlType>::il_type(),
317                <bool as ::unity::IlType>::il_type(),
318                <i32 as ::unity::IlType>::il_type(),
319                <i32 as ::unity::IlType>::il_type(),
320                <bool as ::unity::IlType>::il_type(),
321                <bool as ::unity::IlType>::il_type(),
322                <bool as ::unity::IlType>::il_type(),
323                <u16 as ::unity::IlType>::il_type(),
324                <crate::system::object::Object as ::unity::IlType>::il_type(),
325            ];
326            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), "FormatNumber", 9, param_types, true)
327        });
328        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329            match &*METHOD {
330                ::core::result::Result::Ok(mi) => *mi,
331                ::core::result::Result::Err(e) => {
332                    panic!(
333                        "method lookup failed: {}
334::{}
335: {}
336",
337                        <Tools as ::unity::ClassIdentity>::NAME,
338                        "FormatNumber",
339                        e
340                    )
341                },
342            }
343        }
344    }
345    #[doc(hidden)]
346    #[allow(non_snake_case)]
347    pub mod __lookup_cctor {
348        use super::*;
349        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
350            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
351            ::unity::lookup::method_info_on_class_with_signature(<Tools as ::unity::ClassIdentity>::class(), ".cctor", 0, param_types, true)
352        });
353        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354            match &*METHOD {
355                ::core::result::Result::Ok(mi) => *mi,
356                ::core::result::Result::Err(e) => {
357                    panic!(
358                        "method lookup failed: {}
359::{}
360: {}
361",
362                        <Tools as ::unity::ClassIdentity>::NAME,
363                        ".cctor",
364                        e
365                    )
366                },
367            }
368        }
369    }
370}
371
372#[cfg(feature = "moon_sharp-interpreter-interop-lua_state_interop-tools")]
373impl Tools {
374    #[doc = "`IsNumericType(crate::system::object::Object)` overload"]
375    pub fn is_numeric_type(o: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
376        unsafe {
377            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_is_numeric_type::get_method_info().method_ptr,bool;
378(crate::system::object::Object)::core::convert::Into::into(o))
379        }
380    }
381
382    #[doc = "`IsPositive(crate::system::object::Object, bool)` overload"]
383    pub fn is_positive(value: impl ::core::convert::Into<crate::system::object::Object>, zero_is_positive: impl ::core::convert::Into<bool>) -> bool {
384        unsafe {
385            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_is_positive::get_method_info().method_ptr,bool;
386(crate::system::object::Object)::core::convert::Into::into(value),(bool)::core::convert::Into::into(zero_is_positive))
387        }
388    }
389
390    #[doc = "`ToUnsigned(crate::system::object::Object)` overload"]
391    pub fn to_unsigned(value: impl ::core::convert::Into<crate::system::object::Object>) -> crate::system::object::Object {
392        unsafe {
393            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_to_unsigned::get_method_info().method_ptr,crate::system::object::Object;
394(crate::system::object::Object)::core::convert::Into::into(value))
395        }
396    }
397
398    #[doc = "`ToInteger(crate::system::object::Object, bool)` overload"]
399    pub fn to_integer(
400        value: impl ::core::convert::Into<crate::system::object::Object>,
401        round: impl ::core::convert::Into<bool>,
402    ) -> crate::system::object::Object {
403        unsafe {
404            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_to_integer::get_method_info().method_ptr,crate::system::object::Object;
405(crate::system::object::Object)::core::convert::Into::into(value),(bool)::core::convert::Into::into(round))
406        }
407    }
408
409    #[doc = "`UnboxToLong(crate::system::object::Object, bool)` overload"]
410    pub fn unbox_to_long(value: impl ::core::convert::Into<crate::system::object::Object>, round: impl ::core::convert::Into<bool>) -> i64 {
411        unsafe {
412            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_unbox_to_long::get_method_info().method_ptr,i64;
413(crate::system::object::Object)::core::convert::Into::into(value),(bool)::core::convert::Into::into(round))
414        }
415    }
416
417    #[doc = "`ReplaceMetaChars(::unity::Il2CppString)` overload"]
418    pub fn replace_meta_chars(input: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
419        unsafe {
420            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_replace_meta_chars::get_method_info().method_ptr, ::unity::Il2CppString;
421(::unity::Il2CppString)::core::convert::Into::into(input))
422        }
423    }
424
425    #[doc = "`fprintf(crate::system::io::textwriter::TextWriter, ::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
426    pub fn fprintf(
427        destination: impl ::core::convert::Into<crate::system::io::textwriter::TextWriter>,
428        format: impl ::core::convert::Into<::unity::Il2CppString>,
429        parameters: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
430    ) -> () {
431        unsafe {
432            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_fprintf::get_method_info().method_ptr,();
433(crate::system::io::textwriter::TextWriter)::core::convert::Into::into(destination),(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(parameters))
434        }
435    }
436
437    #[doc = "`sprintf(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
438    pub fn sprintf(
439        format: impl ::core::convert::Into<::unity::Il2CppString>,
440        parameters: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
441    ) -> ::unity::Il2CppString {
442        unsafe {
443            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_sprintf::get_method_info().method_ptr, ::unity::Il2CppString;
444(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(parameters))
445        }
446    }
447
448    #[doc = "`FormatOct(::unity::Il2CppString, bool, i32, i32, bool, u16, crate::system::object::Object)` overload"]
449    pub fn format_oct(
450        native_format: impl ::core::convert::Into<::unity::Il2CppString>,
451        alternate: impl ::core::convert::Into<bool>,
452        field_length: impl ::core::convert::Into<i32>,
453        field_precision: impl ::core::convert::Into<i32>,
454        left2_right: impl ::core::convert::Into<bool>,
455        padding: impl ::core::convert::Into<u16>,
456        value: impl ::core::convert::Into<crate::system::object::Object>,
457    ) -> ::unity::Il2CppString {
458        unsafe {
459            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_format_oct::get_method_info().method_ptr, ::unity::Il2CppString;
460(::unity::Il2CppString)::core::convert::Into::into(native_format),(bool)::core::convert::Into::into(alternate),(i32)::core::convert::Into::into(field_length),(i32)::core::convert::Into::into(field_precision),(bool)::core::convert::Into::into(left2_right),(u16)::core::convert::Into::into(padding),(crate::system::object::Object)::core::convert::Into::into(value))
461        }
462    }
463
464    #[doc = "`FormatHex(::unity::Il2CppString, bool, i32, i32, bool, u16, crate::system::object::Object)` overload"]
465    pub fn format_hex(
466        native_format: impl ::core::convert::Into<::unity::Il2CppString>,
467        alternate: impl ::core::convert::Into<bool>,
468        field_length: impl ::core::convert::Into<i32>,
469        field_precision: impl ::core::convert::Into<i32>,
470        left2_right: impl ::core::convert::Into<bool>,
471        padding: impl ::core::convert::Into<u16>,
472        value: impl ::core::convert::Into<crate::system::object::Object>,
473    ) -> ::unity::Il2CppString {
474        unsafe {
475            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_format_hex::get_method_info().method_ptr, ::unity::Il2CppString;
476(::unity::Il2CppString)::core::convert::Into::into(native_format),(bool)::core::convert::Into::into(alternate),(i32)::core::convert::Into::into(field_length),(i32)::core::convert::Into::into(field_precision),(bool)::core::convert::Into::into(left2_right),(u16)::core::convert::Into::into(padding),(crate::system::object::Object)::core::convert::Into::into(value))
477        }
478    }
479
480    #[doc = "`FormatNumber(::unity::Il2CppString, bool, i32, i32, bool, bool, bool, u16, crate::system::object::Object)` overload"]
481    pub fn format_number(
482        native_format: impl ::core::convert::Into<::unity::Il2CppString>,
483        alternate: impl ::core::convert::Into<bool>,
484        field_length: impl ::core::convert::Into<i32>,
485        field_precision: impl ::core::convert::Into<i32>,
486        left2_right: impl ::core::convert::Into<bool>,
487        positive_sign: impl ::core::convert::Into<bool>,
488        positive_space: impl ::core::convert::Into<bool>,
489        padding: impl ::core::convert::Into<u16>,
490        value: impl ::core::convert::Into<crate::system::object::Object>,
491    ) -> ::unity::Il2CppString {
492        unsafe {
493            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_format_number::get_method_info().method_ptr, ::unity::Il2CppString;
494(::unity::Il2CppString)::core::convert::Into::into(native_format),(bool)::core::convert::Into::into(alternate),(i32)::core::convert::Into::into(field_length),(i32)::core::convert::Into::into(field_precision),(bool)::core::convert::Into::into(left2_right),(bool)::core::convert::Into::into(positive_sign),(bool)::core::convert::Into::into(positive_space),(u16)::core::convert::Into::into(padding),(crate::system::object::Object)::core::convert::Into::into(value))
495        }
496    }
497
498    #[doc = "`.cctor()` overload"]
499    pub fn cctor() -> () {
500        unsafe {
501            ::unity::il2cpp_call!(__Tools_unity_raw::__lookup_cctor::get_method_info().method_ptr,();
502            )
503        }
504    }
505}
506
507#[cfg(feature = "moon_sharp-interpreter-interop-lua_state_interop-tools")]
508impl Tools {
509    pub fn is_numeric_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
511    }
512
513    pub fn is_positive_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
515    }
516
517    pub fn to_unsigned_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
519    }
520
521    pub fn to_integer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
523    }
524
525    pub fn unbox_to_long_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
527    }
528
529    pub fn replace_meta_chars_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
531    }
532
533    pub fn fprintf_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
535    }
536
537    pub fn sprintf_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
539    }
540
541    pub fn format_oct_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
543    }
544
545    pub fn format_hex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
546        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
547    }
548
549    pub fn format_number_method_info() -> &'static ::unity::il2cpp::MethodInfo {
550        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
551    }
552
553    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
555    }
556}
557
558#[cfg(feature = "moon_sharp-interpreter-interop-lua_state_interop-tools")]
559#[doc(hidden)]
560pub mod prelude {
561    pub use super::{ITools, Tools};
562    pub use crate::system::object::IObject;
563    #[cfg(feature = "system-object")]
564    pub use crate::system::object::IObjectMethods;
565}