1#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule-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/core_lib/mathmodule/MathModule.md"))]
11 #[::unity::class(namespace = "MoonSharp.Interpreter.CoreLib", name = "MathModule")]
12 #[parent(crate::system::object::Object)]
13 pub struct MathModule {
14 #[static_field]
15 #[rename(name = "pi")]
16 pub pi: f64,
17 #[static_field]
18 #[rename(name = "huge")]
19 pub huge: f64,
20 }
21}
22
23#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule-types")]
24pub use __types::*;
25
26#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
27#[doc(hidden)]
28#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
29mod __MathModule_unity_raw {
30 use super::*;
31 #[doc(hidden)]
32 #[allow(non_snake_case)]
33 pub mod __lookup_moon_sharp_init {
34 use super::*;
35 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
36 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
37 <crate::moon_sharp::interpreter::table::Table as ::unity::IlType>::il_type(),
38 <crate::moon_sharp::interpreter::table::Table as ::unity::IlType>::il_type(),
39 ];
40 ::unity::lookup::method_info_on_class_with_signature(
41 <MathModule as ::unity::ClassIdentity>::class(),
42 "MoonSharpInit",
43 2,
44 param_types,
45 true,
46 )
47 });
48 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
49 match &*METHOD {
50 ::core::result::Result::Ok(mi) => *mi,
51 ::core::result::Result::Err(e) => {
52 panic!(
53 "method lookup failed: {}
54::{}
55: {}
56",
57 <MathModule as ::unity::ClassIdentity>::NAME,
58 "MoonSharpInit",
59 e
60 )
61 },
62 }
63 }
64 }
65 #[doc(hidden)]
66 #[allow(non_snake_case)]
67 pub mod __lookup_exec1 {
68 use super::*;
69 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
70 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
71 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
72 <::unity::Il2CppString as ::unity::IlType>::il_type(),
73 <crate::system::func_2::Func_2<f64, f64> as ::unity::IlType>::il_type(),
74 ];
75 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "exec1", 3, param_types, true)
76 });
77 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
78 match &*METHOD {
79 ::core::result::Result::Ok(mi) => *mi,
80 ::core::result::Result::Err(e) => {
81 panic!(
82 "method lookup failed: {}
83::{}
84: {}
85",
86 <MathModule as ::unity::ClassIdentity>::NAME,
87 "exec1",
88 e
89 )
90 },
91 }
92 }
93 }
94 #[doc(hidden)]
95 #[allow(non_snake_case)]
96 pub mod __lookup_exec2 {
97 use super::*;
98 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
99 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
100 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
101 <::unity::Il2CppString as ::unity::IlType>::il_type(),
102 <crate::system::func_3::Func_3<f64, f64, f64> as ::unity::IlType>::il_type(),
103 ];
104 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "exec2", 3, param_types, true)
105 });
106 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107 match &*METHOD {
108 ::core::result::Result::Ok(mi) => *mi,
109 ::core::result::Result::Err(e) => {
110 panic!(
111 "method lookup failed: {}
112::{}
113: {}
114",
115 <MathModule as ::unity::ClassIdentity>::NAME,
116 "exec2",
117 e
118 )
119 },
120 }
121 }
122 }
123 #[doc(hidden)]
124 #[allow(non_snake_case)]
125 pub mod __lookup_exec2n {
126 use super::*;
127 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
128 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
129 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
130 <::unity::Il2CppString as ::unity::IlType>::il_type(),
131 <f64 as ::unity::IlType>::il_type(),
132 <crate::system::func_3::Func_3<f64, f64, f64> as ::unity::IlType>::il_type(),
133 ];
134 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "exec2n", 4, param_types, true)
135 });
136 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
137 match &*METHOD {
138 ::core::result::Result::Ok(mi) => *mi,
139 ::core::result::Result::Err(e) => {
140 panic!(
141 "method lookup failed: {}
142::{}
143: {}
144",
145 <MathModule as ::unity::ClassIdentity>::NAME,
146 "exec2n",
147 e
148 )
149 },
150 }
151 }
152 }
153 #[doc(hidden)]
154 #[allow(non_snake_case)]
155 pub mod __lookup_execaccum {
156 use super::*;
157 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
158 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
159 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
160 <::unity::Il2CppString as ::unity::IlType>::il_type(),
161 <crate::system::func_3::Func_3<f64, f64, f64> as ::unity::IlType>::il_type(),
162 ];
163 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "execaccum", 3, param_types, true)
164 });
165 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166 match &*METHOD {
167 ::core::result::Result::Ok(mi) => *mi,
168 ::core::result::Result::Err(e) => {
169 panic!(
170 "method lookup failed: {}
171::{}
172: {}
173",
174 <MathModule as ::unity::ClassIdentity>::NAME,
175 "execaccum",
176 e
177 )
178 },
179 }
180 }
181 }
182 #[doc(hidden)]
183 #[allow(non_snake_case)]
184 pub mod __lookup_abs {
185 use super::*;
186 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
187 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
188 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
189 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
190 ];
191 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "abs", 2, param_types, true)
192 });
193 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194 match &*METHOD {
195 ::core::result::Result::Ok(mi) => *mi,
196 ::core::result::Result::Err(e) => {
197 panic!(
198 "method lookup failed: {}
199::{}
200: {}
201",
202 <MathModule as ::unity::ClassIdentity>::NAME,
203 "abs",
204 e
205 )
206 },
207 }
208 }
209 }
210 #[doc(hidden)]
211 #[allow(non_snake_case)]
212 pub mod __lookup_acos {
213 use super::*;
214 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
215 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
216 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
217 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
218 ];
219 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "acos", 2, param_types, true)
220 });
221 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 match &*METHOD {
223 ::core::result::Result::Ok(mi) => *mi,
224 ::core::result::Result::Err(e) => {
225 panic!(
226 "method lookup failed: {}
227::{}
228: {}
229",
230 <MathModule as ::unity::ClassIdentity>::NAME,
231 "acos",
232 e
233 )
234 },
235 }
236 }
237 }
238 #[doc(hidden)]
239 #[allow(non_snake_case)]
240 pub mod __lookup_asin {
241 use super::*;
242 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
243 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
244 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
245 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
246 ];
247 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "asin", 2, param_types, true)
248 });
249 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250 match &*METHOD {
251 ::core::result::Result::Ok(mi) => *mi,
252 ::core::result::Result::Err(e) => {
253 panic!(
254 "method lookup failed: {}
255::{}
256: {}
257",
258 <MathModule as ::unity::ClassIdentity>::NAME,
259 "asin",
260 e
261 )
262 },
263 }
264 }
265 }
266 #[doc(hidden)]
267 #[allow(non_snake_case)]
268 pub mod __lookup_atan {
269 use super::*;
270 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
271 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
272 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
273 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
274 ];
275 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "atan", 2, param_types, true)
276 });
277 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278 match &*METHOD {
279 ::core::result::Result::Ok(mi) => *mi,
280 ::core::result::Result::Err(e) => {
281 panic!(
282 "method lookup failed: {}
283::{}
284: {}
285",
286 <MathModule as ::unity::ClassIdentity>::NAME,
287 "atan",
288 e
289 )
290 },
291 }
292 }
293 }
294 #[doc(hidden)]
295 #[allow(non_snake_case)]
296 pub mod __lookup_atan2 {
297 use super::*;
298 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
299 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
300 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
301 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
302 ];
303 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "atan2", 2, param_types, true)
304 });
305 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
306 match &*METHOD {
307 ::core::result::Result::Ok(mi) => *mi,
308 ::core::result::Result::Err(e) => {
309 panic!(
310 "method lookup failed: {}
311::{}
312: {}
313",
314 <MathModule as ::unity::ClassIdentity>::NAME,
315 "atan2",
316 e
317 )
318 },
319 }
320 }
321 }
322 #[doc(hidden)]
323 #[allow(non_snake_case)]
324 pub mod __lookup_ceil {
325 use super::*;
326 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
327 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
328 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
329 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
330 ];
331 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "ceil", 2, param_types, true)
332 });
333 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334 match &*METHOD {
335 ::core::result::Result::Ok(mi) => *mi,
336 ::core::result::Result::Err(e) => {
337 panic!(
338 "method lookup failed: {}
339::{}
340: {}
341",
342 <MathModule as ::unity::ClassIdentity>::NAME,
343 "ceil",
344 e
345 )
346 },
347 }
348 }
349 }
350 #[doc(hidden)]
351 #[allow(non_snake_case)]
352 pub mod __lookup_cos {
353 use super::*;
354 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
355 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
356 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
357 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
358 ];
359 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "cos", 2, param_types, true)
360 });
361 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362 match &*METHOD {
363 ::core::result::Result::Ok(mi) => *mi,
364 ::core::result::Result::Err(e) => {
365 panic!(
366 "method lookup failed: {}
367::{}
368: {}
369",
370 <MathModule as ::unity::ClassIdentity>::NAME,
371 "cos",
372 e
373 )
374 },
375 }
376 }
377 }
378 #[doc(hidden)]
379 #[allow(non_snake_case)]
380 pub mod __lookup_cosh {
381 use super::*;
382 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
383 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
384 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
385 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
386 ];
387 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "cosh", 2, param_types, true)
388 });
389 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 match &*METHOD {
391 ::core::result::Result::Ok(mi) => *mi,
392 ::core::result::Result::Err(e) => {
393 panic!(
394 "method lookup failed: {}
395::{}
396: {}
397",
398 <MathModule as ::unity::ClassIdentity>::NAME,
399 "cosh",
400 e
401 )
402 },
403 }
404 }
405 }
406 #[doc(hidden)]
407 #[allow(non_snake_case)]
408 pub mod __lookup_deg {
409 use super::*;
410 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
411 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
412 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
413 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
414 ];
415 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "deg", 2, param_types, true)
416 });
417 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 match &*METHOD {
419 ::core::result::Result::Ok(mi) => *mi,
420 ::core::result::Result::Err(e) => {
421 panic!(
422 "method lookup failed: {}
423::{}
424: {}
425",
426 <MathModule as ::unity::ClassIdentity>::NAME,
427 "deg",
428 e
429 )
430 },
431 }
432 }
433 }
434 #[doc(hidden)]
435 #[allow(non_snake_case)]
436 pub mod __lookup_exp {
437 use super::*;
438 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
439 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
440 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
441 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
442 ];
443 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "exp", 2, param_types, true)
444 });
445 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446 match &*METHOD {
447 ::core::result::Result::Ok(mi) => *mi,
448 ::core::result::Result::Err(e) => {
449 panic!(
450 "method lookup failed: {}
451::{}
452: {}
453",
454 <MathModule as ::unity::ClassIdentity>::NAME,
455 "exp",
456 e
457 )
458 },
459 }
460 }
461 }
462 #[doc(hidden)]
463 #[allow(non_snake_case)]
464 pub mod __lookup_floor {
465 use super::*;
466 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
467 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
468 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
469 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
470 ];
471 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "floor", 2, param_types, true)
472 });
473 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474 match &*METHOD {
475 ::core::result::Result::Ok(mi) => *mi,
476 ::core::result::Result::Err(e) => {
477 panic!(
478 "method lookup failed: {}
479::{}
480: {}
481",
482 <MathModule as ::unity::ClassIdentity>::NAME,
483 "floor",
484 e
485 )
486 },
487 }
488 }
489 }
490 #[doc(hidden)]
491 #[allow(non_snake_case)]
492 pub mod __lookup_fmod {
493 use super::*;
494 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
495 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
496 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
497 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
498 ];
499 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "fmod", 2, param_types, true)
500 });
501 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 match &*METHOD {
503 ::core::result::Result::Ok(mi) => *mi,
504 ::core::result::Result::Err(e) => {
505 panic!(
506 "method lookup failed: {}
507::{}
508: {}
509",
510 <MathModule as ::unity::ClassIdentity>::NAME,
511 "fmod",
512 e
513 )
514 },
515 }
516 }
517 }
518 #[doc(hidden)]
519 #[allow(non_snake_case)]
520 pub mod __lookup_frexp {
521 use super::*;
522 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
523 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
524 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
525 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
526 ];
527 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "frexp", 2, param_types, true)
528 });
529 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530 match &*METHOD {
531 ::core::result::Result::Ok(mi) => *mi,
532 ::core::result::Result::Err(e) => {
533 panic!(
534 "method lookup failed: {}
535::{}
536: {}
537",
538 <MathModule as ::unity::ClassIdentity>::NAME,
539 "frexp",
540 e
541 )
542 },
543 }
544 }
545 }
546 #[doc(hidden)]
547 #[allow(non_snake_case)]
548 pub mod __lookup_ldexp {
549 use super::*;
550 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
551 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
552 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
553 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
554 ];
555 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "ldexp", 2, param_types, true)
556 });
557 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558 match &*METHOD {
559 ::core::result::Result::Ok(mi) => *mi,
560 ::core::result::Result::Err(e) => {
561 panic!(
562 "method lookup failed: {}
563::{}
564: {}
565",
566 <MathModule as ::unity::ClassIdentity>::NAME,
567 "ldexp",
568 e
569 )
570 },
571 }
572 }
573 }
574 #[doc(hidden)]
575 #[allow(non_snake_case)]
576 pub mod __lookup_log {
577 use super::*;
578 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
579 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
580 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
581 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
582 ];
583 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "log", 2, param_types, true)
584 });
585 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586 match &*METHOD {
587 ::core::result::Result::Ok(mi) => *mi,
588 ::core::result::Result::Err(e) => {
589 panic!(
590 "method lookup failed: {}
591::{}
592: {}
593",
594 <MathModule as ::unity::ClassIdentity>::NAME,
595 "log",
596 e
597 )
598 },
599 }
600 }
601 }
602 #[doc(hidden)]
603 #[allow(non_snake_case)]
604 pub mod __lookup_max {
605 use super::*;
606 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
607 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
608 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
609 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
610 ];
611 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "max", 2, param_types, true)
612 });
613 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
614 match &*METHOD {
615 ::core::result::Result::Ok(mi) => *mi,
616 ::core::result::Result::Err(e) => {
617 panic!(
618 "method lookup failed: {}
619::{}
620: {}
621",
622 <MathModule as ::unity::ClassIdentity>::NAME,
623 "max",
624 e
625 )
626 },
627 }
628 }
629 }
630 #[doc(hidden)]
631 #[allow(non_snake_case)]
632 pub mod __lookup_min {
633 use super::*;
634 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
635 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
636 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
637 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
638 ];
639 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "min", 2, param_types, true)
640 });
641 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
642 match &*METHOD {
643 ::core::result::Result::Ok(mi) => *mi,
644 ::core::result::Result::Err(e) => {
645 panic!(
646 "method lookup failed: {}
647::{}
648: {}
649",
650 <MathModule as ::unity::ClassIdentity>::NAME,
651 "min",
652 e
653 )
654 },
655 }
656 }
657 }
658 #[doc(hidden)]
659 #[allow(non_snake_case)]
660 pub mod __lookup_modf {
661 use super::*;
662 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
663 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
664 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
665 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
666 ];
667 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "modf", 2, param_types, true)
668 });
669 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670 match &*METHOD {
671 ::core::result::Result::Ok(mi) => *mi,
672 ::core::result::Result::Err(e) => {
673 panic!(
674 "method lookup failed: {}
675::{}
676: {}
677",
678 <MathModule as ::unity::ClassIdentity>::NAME,
679 "modf",
680 e
681 )
682 },
683 }
684 }
685 }
686 #[doc(hidden)]
687 #[allow(non_snake_case)]
688 pub mod __lookup_pow {
689 use super::*;
690 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
691 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
692 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
693 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
694 ];
695 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "pow", 2, param_types, true)
696 });
697 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 match &*METHOD {
699 ::core::result::Result::Ok(mi) => *mi,
700 ::core::result::Result::Err(e) => {
701 panic!(
702 "method lookup failed: {}
703::{}
704: {}
705",
706 <MathModule as ::unity::ClassIdentity>::NAME,
707 "pow",
708 e
709 )
710 },
711 }
712 }
713 }
714 #[doc(hidden)]
715 #[allow(non_snake_case)]
716 pub mod __lookup_rad {
717 use super::*;
718 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
719 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
720 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
721 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
722 ];
723 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "rad", 2, param_types, true)
724 });
725 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
726 match &*METHOD {
727 ::core::result::Result::Ok(mi) => *mi,
728 ::core::result::Result::Err(e) => {
729 panic!(
730 "method lookup failed: {}
731::{}
732: {}
733",
734 <MathModule as ::unity::ClassIdentity>::NAME,
735 "rad",
736 e
737 )
738 },
739 }
740 }
741 }
742 #[doc(hidden)]
743 #[allow(non_snake_case)]
744 pub mod __lookup_random {
745 use super::*;
746 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
747 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
748 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
749 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
750 ];
751 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "random", 2, param_types, true)
752 });
753 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
754 match &*METHOD {
755 ::core::result::Result::Ok(mi) => *mi,
756 ::core::result::Result::Err(e) => {
757 panic!(
758 "method lookup failed: {}
759::{}
760: {}
761",
762 <MathModule as ::unity::ClassIdentity>::NAME,
763 "random",
764 e
765 )
766 },
767 }
768 }
769 }
770 #[doc(hidden)]
771 #[allow(non_snake_case)]
772 pub mod __lookup_randomseed {
773 use super::*;
774 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
775 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
776 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
777 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
778 ];
779 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "randomseed", 2, param_types, true)
780 });
781 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
782 match &*METHOD {
783 ::core::result::Result::Ok(mi) => *mi,
784 ::core::result::Result::Err(e) => {
785 panic!(
786 "method lookup failed: {}
787::{}
788: {}
789",
790 <MathModule as ::unity::ClassIdentity>::NAME,
791 "randomseed",
792 e
793 )
794 },
795 }
796 }
797 }
798 #[doc(hidden)]
799 #[allow(non_snake_case)]
800 pub mod __lookup_sin {
801 use super::*;
802 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
803 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
804 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
805 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
806 ];
807 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "sin", 2, param_types, true)
808 });
809 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
810 match &*METHOD {
811 ::core::result::Result::Ok(mi) => *mi,
812 ::core::result::Result::Err(e) => {
813 panic!(
814 "method lookup failed: {}
815::{}
816: {}
817",
818 <MathModule as ::unity::ClassIdentity>::NAME,
819 "sin",
820 e
821 )
822 },
823 }
824 }
825 }
826 #[doc(hidden)]
827 #[allow(non_snake_case)]
828 pub mod __lookup_sinh {
829 use super::*;
830 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
831 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
832 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
833 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
834 ];
835 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "sinh", 2, param_types, true)
836 });
837 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
838 match &*METHOD {
839 ::core::result::Result::Ok(mi) => *mi,
840 ::core::result::Result::Err(e) => {
841 panic!(
842 "method lookup failed: {}
843::{}
844: {}
845",
846 <MathModule as ::unity::ClassIdentity>::NAME,
847 "sinh",
848 e
849 )
850 },
851 }
852 }
853 }
854 #[doc(hidden)]
855 #[allow(non_snake_case)]
856 pub mod __lookup_sqrt {
857 use super::*;
858 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
859 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
860 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
861 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
862 ];
863 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "sqrt", 2, param_types, true)
864 });
865 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
866 match &*METHOD {
867 ::core::result::Result::Ok(mi) => *mi,
868 ::core::result::Result::Err(e) => {
869 panic!(
870 "method lookup failed: {}
871::{}
872: {}
873",
874 <MathModule as ::unity::ClassIdentity>::NAME,
875 "sqrt",
876 e
877 )
878 },
879 }
880 }
881 }
882 #[doc(hidden)]
883 #[allow(non_snake_case)]
884 pub mod __lookup_tan {
885 use super::*;
886 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
887 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
888 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
889 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
890 ];
891 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "tan", 2, param_types, true)
892 });
893 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
894 match &*METHOD {
895 ::core::result::Result::Ok(mi) => *mi,
896 ::core::result::Result::Err(e) => {
897 panic!(
898 "method lookup failed: {}
899::{}
900: {}
901",
902 <MathModule as ::unity::ClassIdentity>::NAME,
903 "tan",
904 e
905 )
906 },
907 }
908 }
909 }
910 #[doc(hidden)]
911 #[allow(non_snake_case)]
912 pub mod __lookup_tanh {
913 use super::*;
914 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
915 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
916 <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
917 <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
918 ];
919 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), "tanh", 2, param_types, true)
920 });
921 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
922 match &*METHOD {
923 ::core::result::Result::Ok(mi) => *mi,
924 ::core::result::Result::Err(e) => {
925 panic!(
926 "method lookup failed: {}
927::{}
928: {}
929",
930 <MathModule as ::unity::ClassIdentity>::NAME,
931 "tanh",
932 e
933 )
934 },
935 }
936 }
937 }
938 #[doc(hidden)]
939 #[allow(non_snake_case)]
940 pub mod __lookup_ctor {
941 use super::*;
942 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
943 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
944 ::unity::lookup::method_info_on_class_with_signature(<MathModule as ::unity::ClassIdentity>::class(), ".ctor", 0, param_types, false)
945 });
946 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
947 match &*METHOD {
948 ::core::result::Result::Ok(mi) => *mi,
949 ::core::result::Result::Err(e) => {
950 panic!(
951 "method lookup failed: {}
952::{}
953: {}
954",
955 <MathModule as ::unity::ClassIdentity>::NAME,
956 ".ctor",
957 e
958 )
959 },
960 }
961 }
962 }
963}
964
965#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
966impl MathModule {
967 #[doc = "`MoonSharpInit(crate::moon_sharp::interpreter::table::Table, crate::moon_sharp::interpreter::table::Table)` overload"]
968 pub fn moon_sharp_init(
969 global_table: impl ::core::convert::Into<crate::moon_sharp::interpreter::table::Table>,
970 io_table: impl ::core::convert::Into<crate::moon_sharp::interpreter::table::Table>,
971 ) -> () {
972 unsafe {
973 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_moon_sharp_init::get_method_info().method_ptr,();
974(crate::moon_sharp::interpreter::table::Table)::core::convert::Into::into(global_table),(crate::moon_sharp::interpreter::table::Table)::core::convert::Into::into(io_table))
975 }
976 }
977
978 #[doc = "`exec1(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, ::unity::Il2CppString, crate::system::func_2::Func_2<f64,f64>)` overload"]
979 pub fn exec1(
980 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
981 func_name: impl ::core::convert::Into<::unity::Il2CppString>,
982 func: impl ::core::convert::Into<crate::system::func_2::Func_2<f64, f64>>,
983 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
984 unsafe {
985 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_exec1::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
986(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args),(::unity::Il2CppString)::core::convert::Into::into(func_name),(crate::system::func_2::Func_2<f64,f64>)::core::convert::Into::into(func))
987 }
988 }
989
990 #[doc = "`exec2(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, ::unity::Il2CppString, crate::system::func_3::Func_3<f64,f64,f64>)` overload"]
991 pub fn exec2(
992 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
993 func_name: impl ::core::convert::Into<::unity::Il2CppString>,
994 func: impl ::core::convert::Into<crate::system::func_3::Func_3<f64, f64, f64>>,
995 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
996 unsafe {
997 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_exec2::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
998(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args),(::unity::Il2CppString)::core::convert::Into::into(func_name),(crate::system::func_3::Func_3<f64,f64,f64>)::core::convert::Into::into(func))
999 }
1000 }
1001
1002 #[doc = "`exec2n(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, ::unity::Il2CppString, f64, crate::system::func_3::Func_3<f64,f64,f64>)` overload"]
1003 pub fn exec2n(
1004 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1005 func_name: impl ::core::convert::Into<::unity::Il2CppString>,
1006 def_val: impl ::core::convert::Into<f64>,
1007 func: impl ::core::convert::Into<crate::system::func_3::Func_3<f64, f64, f64>>,
1008 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1009 unsafe {
1010 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_exec2n::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1011(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args),(::unity::Il2CppString)::core::convert::Into::into(func_name),(f64)::core::convert::Into::into(def_val),(crate::system::func_3::Func_3<f64,f64,f64>)::core::convert::Into::into(func))
1012 }
1013 }
1014
1015 #[doc = "`execaccum(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, ::unity::Il2CppString, crate::system::func_3::Func_3<f64,f64,f64>)` overload"]
1016 pub fn execaccum(
1017 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1018 func_name: impl ::core::convert::Into<::unity::Il2CppString>,
1019 func: impl ::core::convert::Into<crate::system::func_3::Func_3<f64, f64, f64>>,
1020 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1021 unsafe {
1022 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_execaccum::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1023(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args),(::unity::Il2CppString)::core::convert::Into::into(func_name),(crate::system::func_3::Func_3<f64,f64,f64>)::core::convert::Into::into(func))
1024 }
1025 }
1026
1027 #[doc = "`abs(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1028 pub fn abs(
1029 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1030 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1031 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1032 unsafe {
1033 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_abs::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1034(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1035 }
1036 }
1037
1038 #[doc = "`acos(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1039 pub fn acos(
1040 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1041 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1042 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1043 unsafe {
1044 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_acos::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1045(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1046 }
1047 }
1048
1049 #[doc = "`asin(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1050 pub fn asin(
1051 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1052 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1053 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1054 unsafe {
1055 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_asin::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1056(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1057 }
1058 }
1059
1060 #[doc = "`atan(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1061 pub fn atan(
1062 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1063 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1064 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1065 unsafe {
1066 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_atan::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1067(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1068 }
1069 }
1070
1071 #[doc = "`atan2(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1072 pub fn atan2(
1073 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1074 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1075 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1076 unsafe {
1077 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_atan2::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1078(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1079 }
1080 }
1081
1082 #[doc = "`ceil(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1083 pub fn ceil(
1084 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1085 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1086 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1087 unsafe {
1088 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_ceil::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1089(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1090 }
1091 }
1092
1093 #[doc = "`cos(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1094 pub fn cos(
1095 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1096 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1097 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1098 unsafe {
1099 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_cos::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1100(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1101 }
1102 }
1103
1104 #[doc = "`cosh(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1105 pub fn cosh(
1106 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1107 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1108 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1109 unsafe {
1110 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_cosh::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1111(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1112 }
1113 }
1114
1115 #[doc = "`deg(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1116 pub fn deg(
1117 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1118 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1119 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1120 unsafe {
1121 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_deg::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1122(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1123 }
1124 }
1125
1126 #[doc = "`exp(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1127 pub fn exp(
1128 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1129 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1130 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1131 unsafe {
1132 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_exp::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1133(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1134 }
1135 }
1136
1137 #[doc = "`floor(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1138 pub fn floor(
1139 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1140 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1141 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1142 unsafe {
1143 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_floor::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1144(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1145 }
1146 }
1147
1148 #[doc = "`fmod(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1149 pub fn fmod(
1150 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1151 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1152 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1153 unsafe {
1154 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_fmod::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1155(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1156 }
1157 }
1158
1159 #[doc = "`frexp(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1160 pub fn frexp(
1161 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1162 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1163 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1164 unsafe {
1165 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_frexp::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1166(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1167 }
1168 }
1169
1170 #[doc = "`ldexp(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1171 pub fn ldexp(
1172 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1173 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1174 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1175 unsafe {
1176 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_ldexp::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1177(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1178 }
1179 }
1180
1181 #[doc = "`log(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1182 pub fn log(
1183 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1184 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1185 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1186 unsafe {
1187 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_log::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1188(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1189 }
1190 }
1191
1192 #[doc = "`max(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1193 pub fn max(
1194 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1195 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1196 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1197 unsafe {
1198 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_max::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1199(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1200 }
1201 }
1202
1203 #[doc = "`min(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1204 pub fn min(
1205 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1206 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1207 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1208 unsafe {
1209 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_min::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1210(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1211 }
1212 }
1213
1214 #[doc = "`modf(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1215 pub fn modf(
1216 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1217 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1218 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1219 unsafe {
1220 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_modf::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1221(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1222 }
1223 }
1224
1225 #[doc = "`pow(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1226 pub fn pow(
1227 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1228 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1229 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1230 unsafe {
1231 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_pow::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1232(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1233 }
1234 }
1235
1236 #[doc = "`rad(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1237 pub fn rad(
1238 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1239 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1240 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1241 unsafe {
1242 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_rad::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1243(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1244 }
1245 }
1246
1247 #[doc = "`random(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1248 pub fn random(
1249 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1250 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1251 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1252 unsafe {
1253 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_random::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1254(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1255 }
1256 }
1257
1258 #[doc = "`randomseed(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1259 pub fn randomseed(
1260 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1261 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1262 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1263 unsafe {
1264 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_randomseed::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1265(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1266 }
1267 }
1268
1269 #[doc = "`sin(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1270 pub fn sin(
1271 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1272 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1273 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1274 unsafe {
1275 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_sin::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1276(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1277 }
1278 }
1279
1280 #[doc = "`sinh(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1281 pub fn sinh(
1282 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1283 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1284 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1285 unsafe {
1286 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_sinh::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1287(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1288 }
1289 }
1290
1291 #[doc = "`sqrt(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1292 pub fn sqrt(
1293 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1294 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1295 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1296 unsafe {
1297 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_sqrt::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1298(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1299 }
1300 }
1301
1302 #[doc = "`tan(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1303 pub fn tan(
1304 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1305 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1306 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1307 unsafe {
1308 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_tan::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1309(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1310 }
1311 }
1312
1313 #[doc = "`tanh(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
1314 pub fn tanh(
1315 execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
1316 args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
1317 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1318 unsafe {
1319 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_tanh::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1320(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
1321 }
1322 }
1323}
1324
1325#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
1326pub trait IMathModuleMethods: IMathModule {
1327 #[doc = "`.ctor()` overload"]
1328 fn ctor(self) -> () {
1329 unsafe {
1330 let __receiver = <MathModule as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1331 ::unity::il2cpp_call!(__MathModule_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
1332(MathModule)__receiver)
1333 }
1334 }
1335}
1336
1337#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
1338impl<__T: IMathModule> IMathModuleMethods for __T {}
1339
1340#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
1341impl MathModule {
1342 pub fn moon_sharp_init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1343 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1344 }
1345
1346 pub fn exec1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1347 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1348 }
1349
1350 pub fn exec2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1351 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1352 }
1353
1354 pub fn exec2n_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1355 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1356 }
1357
1358 pub fn execaccum_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1359 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1360 }
1361
1362 pub fn abs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1363 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1364 }
1365
1366 pub fn acos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1367 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1368 }
1369
1370 pub fn asin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1371 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1372 }
1373
1374 pub fn atan_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1376 }
1377
1378 pub fn atan2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1380 }
1381
1382 pub fn ceil_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1384 }
1385
1386 pub fn cos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1388 }
1389
1390 pub fn cosh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1392 }
1393
1394 pub fn deg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1396 }
1397
1398 pub fn exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1400 }
1401
1402 pub fn floor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1404 }
1405
1406 pub fn fmod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1408 }
1409
1410 pub fn frexp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1412 }
1413
1414 pub fn ldexp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1416 }
1417
1418 pub fn log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1420 }
1421
1422 pub fn max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1424 }
1425
1426 pub fn min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1428 }
1429
1430 pub fn modf_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1432 }
1433
1434 pub fn pow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1436 }
1437
1438 pub fn rad_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1440 }
1441
1442 pub fn random_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1444 }
1445
1446 pub fn randomseed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1448 }
1449
1450 pub fn sin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1452 }
1453
1454 pub fn sinh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1456 }
1457
1458 pub fn sqrt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1460 }
1461
1462 pub fn tan_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1464 }
1465
1466 pub fn tanh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1468 }
1469
1470 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1471 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1472 }
1473}
1474
1475#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
1476impl MathModule {
1477 #[doc = "`.ctor()` — no args"]
1478 pub fn new() -> Self {
1479 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1480 panic!(
1481 "{}
1482::{}
1483 failed to instantiate",
1484 ::core::stringify!(MathModule),
1485 ::core::stringify!(new),
1486 )
1487 });
1488 <Self as IMathModuleMethods>::ctor(this);
1489 this
1490 }
1491}
1492
1493#[cfg(feature = "moon_sharp-interpreter-core_lib-mathmodule")]
1494#[doc(hidden)]
1495pub mod prelude {
1496 pub use super::{IMathModule, IMathModuleMethods, MathModule};
1497 pub use crate::system::object::IObject;
1498 #[cfg(feature = "system-object")]
1499 pub use crate::system::object::IObjectMethods;
1500}