1#[cfg(feature = "moon_sharp-interpreter-table-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 moon_sharp::interpreter::refidobject::{IRefIdObject, RefIdObject},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/table/Table.md"))]
14 #[::unity::class(namespace = "MoonSharp.Interpreter", name = "Table")]
15 #[parent(crate::moon_sharp::interpreter::refidobject::RefIdObject)]
16 pub struct Table {
17 #[offset(24)]
18 #[rename(name = "m_Values")]
19 pub m_values: crate::system::collections::generic::linkedlist_1::LinkedList_1<crate::moon_sharp::interpreter::tablepair::TablePair>,
20 #[offset(32)]
21 #[rename(name = "m_ValueMap")]
22 pub m_value_map: crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
23 crate::moon_sharp::interpreter::dynvalue::DynValue,
24 crate::moon_sharp::interpreter::tablepair::TablePair,
25 >,
26 #[offset(40)]
27 #[rename(name = "m_StringMap")]
28 pub m_string_map: crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
29 ::unity::Il2CppString,
30 crate::moon_sharp::interpreter::tablepair::TablePair,
31 >,
32 #[offset(48)]
33 #[rename(name = "m_ArrayMap")]
34 pub m_array_map: crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
35 i32,
36 crate::moon_sharp::interpreter::tablepair::TablePair,
37 >,
38 #[offset(56)]
39 #[rename(name = "m_Owner")]
40 pub m_owner: crate::moon_sharp::interpreter::script::Script,
41 #[offset(64)]
42 #[rename(name = "m_InitArray")]
43 pub m_init_array: i32,
44 #[offset(68)]
45 #[rename(name = "m_CachedLength")]
46 pub m_cached_length: i32,
47 #[offset(72)]
48 #[rename(name = "m_ContainsNilEntries")]
49 pub m_contains_nil_entries: bool,
50 #[offset(80)]
51 #[rename(name = "m_MetaTable")]
52 pub m_meta_table: crate::moon_sharp::interpreter::table::Table,
53 }
54}
55
56#[cfg(feature = "moon_sharp-interpreter-table-types")]
57pub use __types::*;
58
59#[cfg(feature = "moon_sharp-interpreter-table")]
60#[doc(hidden)]
61#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
62mod __Table_unity_raw {
63 use super::*;
64 #[doc(hidden)]
65 #[allow(non_snake_case)]
66 pub mod __lookup_ctor {
67 use super::*;
68 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
69 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
70 &[<crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type()];
71 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), ".ctor", 1, param_types, false)
72 });
73 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
74 match &*METHOD {
75 ::core::result::Result::Ok(mi) => *mi,
76 ::core::result::Result::Err(e) => {
77 panic!(
78 "method lookup failed: {}
79::{}
80: {}
81",
82 <Table as ::unity::ClassIdentity>::NAME,
83 ".ctor",
84 e
85 )
86 },
87 }
88 }
89 }
90 #[doc(hidden)]
91 #[allow(non_snake_case)]
92 pub mod __lookup_ctor_2 {
93 use super::*;
94 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
95 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
96 <crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type(),
97 <::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue> as ::unity::IlType>::il_type(),
98 ];
99 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), ".ctor", 2, param_types, false)
100 });
101 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
102 match &*METHOD {
103 ::core::result::Result::Ok(mi) => *mi,
104 ::core::result::Result::Err(e) => {
105 panic!(
106 "method lookup failed: {}
107::{}
108: {}
109",
110 <Table as ::unity::ClassIdentity>::NAME,
111 ".ctor",
112 e
113 )
114 },
115 }
116 }
117 }
118 #[doc(hidden)]
119 #[allow(non_snake_case)]
120 pub mod __lookup_clear {
121 use super::*;
122 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
123 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
124 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Clear", 0, param_types, false)
125 });
126 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127 match &*METHOD {
128 ::core::result::Result::Ok(mi) => *mi,
129 ::core::result::Result::Err(e) => {
130 panic!(
131 "method lookup failed: {}
132::{}
133: {}
134",
135 <Table as ::unity::ClassIdentity>::NAME,
136 "Clear",
137 e
138 )
139 },
140 }
141 }
142 }
143 #[doc(hidden)]
144 #[allow(non_snake_case)]
145 pub mod __lookup_get_integral_key {
146 use super::*;
147 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
148 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<f64 as ::unity::IlType>::il_type()];
149 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "GetIntegralKey", 1, param_types, false)
150 });
151 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152 match &*METHOD {
153 ::core::result::Result::Ok(mi) => *mi,
154 ::core::result::Result::Err(e) => {
155 panic!(
156 "method lookup failed: {}
157::{}
158: {}
159",
160 <Table as ::unity::ClassIdentity>::NAME,
161 "GetIntegralKey",
162 e
163 )
164 },
165 }
166 }
167 }
168 #[doc(hidden)]
169 #[allow(non_snake_case)]
170 pub mod __lookup_get_item {
171 use super::*;
172 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
173 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
174 &[<::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type()];
175 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_Item", 1, param_types, false)
176 });
177 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
178 match &*METHOD {
179 ::core::result::Result::Ok(mi) => *mi,
180 ::core::result::Result::Err(e) => {
181 panic!(
182 "method lookup failed: {}
183::{}
184: {}
185",
186 <Table as ::unity::ClassIdentity>::NAME,
187 "get_Item",
188 e
189 )
190 },
191 }
192 }
193 }
194 #[doc(hidden)]
195 #[allow(non_snake_case)]
196 pub mod __lookup_set_item {
197 use super::*;
198 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
199 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
200 <::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type(),
201 <crate::system::object::Object as ::unity::IlType>::il_type(),
202 ];
203 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "set_Item", 2, param_types, false)
204 });
205 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206 match &*METHOD {
207 ::core::result::Result::Ok(mi) => *mi,
208 ::core::result::Result::Err(e) => {
209 panic!(
210 "method lookup failed: {}
211::{}
212: {}
213",
214 <Table as ::unity::ClassIdentity>::NAME,
215 "set_Item",
216 e
217 )
218 },
219 }
220 }
221 }
222 #[doc(hidden)]
223 #[allow(non_snake_case)]
224 pub mod __lookup_get_item_2 {
225 use super::*;
226 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
227 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::object::Object as ::unity::IlType>::il_type()];
228 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_Item", 1, param_types, false)
229 });
230 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231 match &*METHOD {
232 ::core::result::Result::Ok(mi) => *mi,
233 ::core::result::Result::Err(e) => {
234 panic!(
235 "method lookup failed: {}
236::{}
237: {}
238",
239 <Table as ::unity::ClassIdentity>::NAME,
240 "get_Item",
241 e
242 )
243 },
244 }
245 }
246 }
247 #[doc(hidden)]
248 #[allow(non_snake_case)]
249 pub mod __lookup_set_item_2 {
250 use super::*;
251 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
252 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
253 <crate::system::object::Object as ::unity::IlType>::il_type(),
254 <crate::system::object::Object as ::unity::IlType>::il_type(),
255 ];
256 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "set_Item", 2, param_types, false)
257 });
258 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259 match &*METHOD {
260 ::core::result::Result::Ok(mi) => *mi,
261 ::core::result::Result::Err(e) => {
262 panic!(
263 "method lookup failed: {}
264::{}
265: {}
266",
267 <Table as ::unity::ClassIdentity>::NAME,
268 "set_Item",
269 e
270 )
271 },
272 }
273 }
274 }
275 #[doc(hidden)]
276 #[allow(non_snake_case)]
277 pub mod __lookup_resolve_multiple_keys {
278 use super::*;
279 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
280 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
281 <::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type(),
282 <::unity::IlInstance as ::unity::IlType>::il_type(),
283 ];
284 ::unity::lookup::method_info_on_class_with_signature(
285 <Table as ::unity::ClassIdentity>::class(),
286 "ResolveMultipleKeys",
287 2,
288 param_types,
289 false,
290 )
291 });
292 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293 match &*METHOD {
294 ::core::result::Result::Ok(mi) => *mi,
295 ::core::result::Result::Err(e) => {
296 panic!(
297 "method lookup failed: {}
298::{}
299: {}
300",
301 <Table as ::unity::ClassIdentity>::NAME,
302 "ResolveMultipleKeys",
303 e
304 )
305 },
306 }
307 }
308 }
309 #[doc(hidden)]
310 #[allow(non_snake_case)]
311 pub mod __lookup_append {
312 use super::*;
313 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
314 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
315 &[<crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type()];
316 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Append", 1, param_types, false)
317 });
318 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319 match &*METHOD {
320 ::core::result::Result::Ok(mi) => *mi,
321 ::core::result::Result::Err(e) => {
322 panic!(
323 "method lookup failed: {}
324::{}
325: {}
326",
327 <Table as ::unity::ClassIdentity>::NAME,
328 "Append",
329 e
330 )
331 },
332 }
333 }
334 }
335 #[doc(hidden)]
336 #[allow(non_snake_case)]
337 pub mod __lookup_set {
338 use super::*;
339 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
340 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
341 <::unity::Il2CppString as ::unity::IlType>::il_type(),
342 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
343 ];
344 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Set", 2, param_types, false)
345 });
346 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347 match &*METHOD {
348 ::core::result::Result::Ok(mi) => *mi,
349 ::core::result::Result::Err(e) => {
350 panic!(
351 "method lookup failed: {}
352::{}
353: {}
354",
355 <Table as ::unity::ClassIdentity>::NAME,
356 "Set",
357 e
358 )
359 },
360 }
361 }
362 }
363 #[doc(hidden)]
364 #[allow(non_snake_case)]
365 pub mod __lookup_set_2 {
366 use super::*;
367 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
368 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
369 <i32 as ::unity::IlType>::il_type(),
370 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
371 ];
372 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Set", 2, param_types, false)
373 });
374 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375 match &*METHOD {
376 ::core::result::Result::Ok(mi) => *mi,
377 ::core::result::Result::Err(e) => {
378 panic!(
379 "method lookup failed: {}
380::{}
381: {}
382",
383 <Table as ::unity::ClassIdentity>::NAME,
384 "Set",
385 e
386 )
387 },
388 }
389 }
390 }
391 #[doc(hidden)]
392 #[allow(non_snake_case)]
393 pub mod __lookup_set_3 {
394 use super::*;
395 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
396 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
397 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
398 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
399 ];
400 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Set", 2, param_types, false)
401 });
402 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 match &*METHOD {
404 ::core::result::Result::Ok(mi) => *mi,
405 ::core::result::Result::Err(e) => {
406 panic!(
407 "method lookup failed: {}
408::{}
409: {}
410",
411 <Table as ::unity::ClassIdentity>::NAME,
412 "Set",
413 e
414 )
415 },
416 }
417 }
418 }
419 #[doc(hidden)]
420 #[allow(non_snake_case)]
421 pub mod __lookup_set_4 {
422 use super::*;
423 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
424 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
425 <crate::system::object::Object as ::unity::IlType>::il_type(),
426 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
427 ];
428 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Set", 2, param_types, false)
429 });
430 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431 match &*METHOD {
432 ::core::result::Result::Ok(mi) => *mi,
433 ::core::result::Result::Err(e) => {
434 panic!(
435 "method lookup failed: {}
436::{}
437: {}
438",
439 <Table as ::unity::ClassIdentity>::NAME,
440 "Set",
441 e
442 )
443 },
444 }
445 }
446 }
447 #[doc(hidden)]
448 #[allow(non_snake_case)]
449 pub mod __lookup_set_5 {
450 use super::*;
451 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
452 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
453 <::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type(),
454 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
455 ];
456 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Set", 2, param_types, false)
457 });
458 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459 match &*METHOD {
460 ::core::result::Result::Ok(mi) => *mi,
461 ::core::result::Result::Err(e) => {
462 panic!(
463 "method lookup failed: {}
464::{}
465: {}
466",
467 <Table as ::unity::ClassIdentity>::NAME,
468 "Set",
469 e
470 )
471 },
472 }
473 }
474 }
475 #[doc(hidden)]
476 #[allow(non_snake_case)]
477 pub mod __lookup_get {
478 use super::*;
479 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
480 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
481 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Get", 1, param_types, false)
482 });
483 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484 match &*METHOD {
485 ::core::result::Result::Ok(mi) => *mi,
486 ::core::result::Result::Err(e) => {
487 panic!(
488 "method lookup failed: {}
489::{}
490: {}
491",
492 <Table as ::unity::ClassIdentity>::NAME,
493 "Get",
494 e
495 )
496 },
497 }
498 }
499 }
500 #[doc(hidden)]
501 #[allow(non_snake_case)]
502 pub mod __lookup_get_2 {
503 use super::*;
504 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
505 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
506 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Get", 1, param_types, false)
507 });
508 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509 match &*METHOD {
510 ::core::result::Result::Ok(mi) => *mi,
511 ::core::result::Result::Err(e) => {
512 panic!(
513 "method lookup failed: {}
514::{}
515: {}
516",
517 <Table as ::unity::ClassIdentity>::NAME,
518 "Get",
519 e
520 )
521 },
522 }
523 }
524 }
525 #[doc(hidden)]
526 #[allow(non_snake_case)]
527 pub mod __lookup_get_3 {
528 use super::*;
529 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
530 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
531 &[<crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type()];
532 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Get", 1, param_types, false)
533 });
534 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
535 match &*METHOD {
536 ::core::result::Result::Ok(mi) => *mi,
537 ::core::result::Result::Err(e) => {
538 panic!(
539 "method lookup failed: {}
540::{}
541: {}
542",
543 <Table as ::unity::ClassIdentity>::NAME,
544 "Get",
545 e
546 )
547 },
548 }
549 }
550 }
551 #[doc(hidden)]
552 #[allow(non_snake_case)]
553 pub mod __lookup_get_4 {
554 use super::*;
555 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
556 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::object::Object as ::unity::IlType>::il_type()];
557 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Get", 1, param_types, false)
558 });
559 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560 match &*METHOD {
561 ::core::result::Result::Ok(mi) => *mi,
562 ::core::result::Result::Err(e) => {
563 panic!(
564 "method lookup failed: {}
565::{}
566: {}
567",
568 <Table as ::unity::ClassIdentity>::NAME,
569 "Get",
570 e
571 )
572 },
573 }
574 }
575 }
576 #[doc(hidden)]
577 #[allow(non_snake_case)]
578 pub mod __lookup_get_5 {
579 use super::*;
580 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
581 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
582 &[<::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type()];
583 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Get", 1, param_types, false)
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 <Table as ::unity::ClassIdentity>::NAME,
595 "Get",
596 e
597 )
598 },
599 }
600 }
601 }
602 #[doc(hidden)]
603 #[allow(non_snake_case)]
604 pub mod __lookup_raw_get_value {
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] = &[<crate::system::collections::generic::linkedlistnode_1::LinkedListNode_1<
608 crate::moon_sharp::interpreter::tablepair::TablePair,
609 > as ::unity::IlType>::il_type()];
610 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "RawGetValue", 1, param_types, true)
611 });
612 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613 match &*METHOD {
614 ::core::result::Result::Ok(mi) => *mi,
615 ::core::result::Result::Err(e) => {
616 panic!(
617 "method lookup failed: {}
618::{}
619: {}
620",
621 <Table as ::unity::ClassIdentity>::NAME,
622 "RawGetValue",
623 e
624 )
625 },
626 }
627 }
628 }
629 #[doc(hidden)]
630 #[allow(non_snake_case)]
631 pub mod __lookup_raw_get {
632 use super::*;
633 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
634 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
635 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "RawGet", 1, param_types, false)
636 });
637 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
638 match &*METHOD {
639 ::core::result::Result::Ok(mi) => *mi,
640 ::core::result::Result::Err(e) => {
641 panic!(
642 "method lookup failed: {}
643::{}
644: {}
645",
646 <Table as ::unity::ClassIdentity>::NAME,
647 "RawGet",
648 e
649 )
650 },
651 }
652 }
653 }
654 #[doc(hidden)]
655 #[allow(non_snake_case)]
656 pub mod __lookup_raw_get_2 {
657 use super::*;
658 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
659 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
660 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "RawGet", 1, param_types, false)
661 });
662 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
663 match &*METHOD {
664 ::core::result::Result::Ok(mi) => *mi,
665 ::core::result::Result::Err(e) => {
666 panic!(
667 "method lookup failed: {}
668::{}
669: {}
670",
671 <Table as ::unity::ClassIdentity>::NAME,
672 "RawGet",
673 e
674 )
675 },
676 }
677 }
678 }
679 #[doc(hidden)]
680 #[allow(non_snake_case)]
681 pub mod __lookup_raw_get_3 {
682 use super::*;
683 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
684 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
685 &[<crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type()];
686 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "RawGet", 1, param_types, false)
687 });
688 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689 match &*METHOD {
690 ::core::result::Result::Ok(mi) => *mi,
691 ::core::result::Result::Err(e) => {
692 panic!(
693 "method lookup failed: {}
694::{}
695: {}
696",
697 <Table as ::unity::ClassIdentity>::NAME,
698 "RawGet",
699 e
700 )
701 },
702 }
703 }
704 }
705 #[doc(hidden)]
706 #[allow(non_snake_case)]
707 pub mod __lookup_raw_get_4 {
708 use super::*;
709 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
710 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::object::Object as ::unity::IlType>::il_type()];
711 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "RawGet", 1, param_types, false)
712 });
713 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
714 match &*METHOD {
715 ::core::result::Result::Ok(mi) => *mi,
716 ::core::result::Result::Err(e) => {
717 panic!(
718 "method lookup failed: {}
719::{}
720: {}
721",
722 <Table as ::unity::ClassIdentity>::NAME,
723 "RawGet",
724 e
725 )
726 },
727 }
728 }
729 }
730 #[doc(hidden)]
731 #[allow(non_snake_case)]
732 pub mod __lookup_raw_get_5 {
733 use super::*;
734 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
735 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
736 &[<::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type()];
737 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "RawGet", 1, param_types, false)
738 });
739 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
740 match &*METHOD {
741 ::core::result::Result::Ok(mi) => *mi,
742 ::core::result::Result::Err(e) => {
743 panic!(
744 "method lookup failed: {}
745::{}
746: {}
747",
748 <Table as ::unity::ClassIdentity>::NAME,
749 "RawGet",
750 e
751 )
752 },
753 }
754 }
755 }
756 #[doc(hidden)]
757 #[allow(non_snake_case)]
758 pub mod __lookup_remove {
759 use super::*;
760 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
761 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
762 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Remove", 1, param_types, false)
763 });
764 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765 match &*METHOD {
766 ::core::result::Result::Ok(mi) => *mi,
767 ::core::result::Result::Err(e) => {
768 panic!(
769 "method lookup failed: {}
770::{}
771: {}
772",
773 <Table as ::unity::ClassIdentity>::NAME,
774 "Remove",
775 e
776 )
777 },
778 }
779 }
780 }
781 #[doc(hidden)]
782 #[allow(non_snake_case)]
783 pub mod __lookup_remove_2 {
784 use super::*;
785 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
786 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
787 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Remove", 1, param_types, false)
788 });
789 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
790 match &*METHOD {
791 ::core::result::Result::Ok(mi) => *mi,
792 ::core::result::Result::Err(e) => {
793 panic!(
794 "method lookup failed: {}
795::{}
796: {}
797",
798 <Table as ::unity::ClassIdentity>::NAME,
799 "Remove",
800 e
801 )
802 },
803 }
804 }
805 }
806 #[doc(hidden)]
807 #[allow(non_snake_case)]
808 pub mod __lookup_remove_3 {
809 use super::*;
810 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
811 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
812 &[<crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type()];
813 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Remove", 1, param_types, false)
814 });
815 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
816 match &*METHOD {
817 ::core::result::Result::Ok(mi) => *mi,
818 ::core::result::Result::Err(e) => {
819 panic!(
820 "method lookup failed: {}
821::{}
822: {}
823",
824 <Table as ::unity::ClassIdentity>::NAME,
825 "Remove",
826 e
827 )
828 },
829 }
830 }
831 }
832 #[doc(hidden)]
833 #[allow(non_snake_case)]
834 pub mod __lookup_remove_4 {
835 use super::*;
836 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
837 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::object::Object as ::unity::IlType>::il_type()];
838 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Remove", 1, param_types, false)
839 });
840 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 match &*METHOD {
842 ::core::result::Result::Ok(mi) => *mi,
843 ::core::result::Result::Err(e) => {
844 panic!(
845 "method lookup failed: {}
846::{}
847: {}
848",
849 <Table as ::unity::ClassIdentity>::NAME,
850 "Remove",
851 e
852 )
853 },
854 }
855 }
856 }
857 #[doc(hidden)]
858 #[allow(non_snake_case)]
859 pub mod __lookup_remove_5 {
860 use super::*;
861 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
862 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
863 &[<::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type()];
864 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "Remove", 1, param_types, false)
865 });
866 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
867 match &*METHOD {
868 ::core::result::Result::Ok(mi) => *mi,
869 ::core::result::Result::Err(e) => {
870 panic!(
871 "method lookup failed: {}
872::{}
873: {}
874",
875 <Table as ::unity::ClassIdentity>::NAME,
876 "Remove",
877 e
878 )
879 },
880 }
881 }
882 }
883 #[doc(hidden)]
884 #[allow(non_snake_case)]
885 pub mod __lookup_collect_dead_keys {
886 use super::*;
887 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
888 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
889 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "CollectDeadKeys", 0, param_types, false)
890 });
891 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
892 match &*METHOD {
893 ::core::result::Result::Ok(mi) => *mi,
894 ::core::result::Result::Err(e) => {
895 panic!(
896 "method lookup failed: {}
897::{}
898: {}
899",
900 <Table as ::unity::ClassIdentity>::NAME,
901 "CollectDeadKeys",
902 e
903 )
904 },
905 }
906 }
907 }
908 #[doc(hidden)]
909 #[allow(non_snake_case)]
910 pub mod __lookup_get_length {
911 use super::*;
912 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
913 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
914 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_Length", 0, param_types, false)
915 });
916 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
917 match &*METHOD {
918 ::core::result::Result::Ok(mi) => *mi,
919 ::core::result::Result::Err(e) => {
920 panic!(
921 "method lookup failed: {}
922::{}
923: {}
924",
925 <Table as ::unity::ClassIdentity>::NAME,
926 "get_Length",
927 e
928 )
929 },
930 }
931 }
932 }
933 #[doc(hidden)]
934 #[allow(non_snake_case)]
935 pub mod __lookup_init_next_array_keys {
936 use super::*;
937 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
938 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
939 <crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type(),
940 <bool as ::unity::IlType>::il_type(),
941 ];
942 ::unity::lookup::method_info_on_class_with_signature(
943 <Table as ::unity::ClassIdentity>::class(),
944 "InitNextArrayKeys",
945 2,
946 param_types,
947 false,
948 )
949 });
950 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
951 match &*METHOD {
952 ::core::result::Result::Ok(mi) => *mi,
953 ::core::result::Result::Err(e) => {
954 panic!(
955 "method lookup failed: {}
956::{}
957: {}
958",
959 <Table as ::unity::ClassIdentity>::NAME,
960 "InitNextArrayKeys",
961 e
962 )
963 },
964 }
965 }
966 }
967 #[doc(hidden)]
968 #[allow(non_snake_case)]
969 pub mod __lookup_get_meta_table {
970 use super::*;
971 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
972 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
973 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_MetaTable", 0, param_types, false)
974 });
975 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
976 match &*METHOD {
977 ::core::result::Result::Ok(mi) => *mi,
978 ::core::result::Result::Err(e) => {
979 panic!(
980 "method lookup failed: {}
981::{}
982: {}
983",
984 <Table as ::unity::ClassIdentity>::NAME,
985 "get_MetaTable",
986 e
987 )
988 },
989 }
990 }
991 }
992 #[doc(hidden)]
993 #[allow(non_snake_case)]
994 pub mod __lookup_set_meta_table {
995 use super::*;
996 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
997 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
998 &[<crate::moon_sharp::interpreter::table::Table as ::unity::IlType>::il_type()];
999 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "set_MetaTable", 1, param_types, false)
1000 });
1001 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002 match &*METHOD {
1003 ::core::result::Result::Ok(mi) => *mi,
1004 ::core::result::Result::Err(e) => {
1005 panic!(
1006 "method lookup failed: {}
1007::{}
1008: {}
1009",
1010 <Table as ::unity::ClassIdentity>::NAME,
1011 "set_MetaTable",
1012 e
1013 )
1014 },
1015 }
1016 }
1017 }
1018 #[doc(hidden)]
1019 #[allow(non_snake_case)]
1020 pub mod __lookup_get_pairs {
1021 use super::*;
1022 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1023 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
1024 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_Pairs", 0, param_types, false)
1025 });
1026 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1027 match &*METHOD {
1028 ::core::result::Result::Ok(mi) => *mi,
1029 ::core::result::Result::Err(e) => {
1030 panic!(
1031 "method lookup failed: {}
1032::{}
1033: {}
1034",
1035 <Table as ::unity::ClassIdentity>::NAME,
1036 "get_Pairs",
1037 e
1038 )
1039 },
1040 }
1041 }
1042 }
1043 #[doc(hidden)]
1044 #[allow(non_snake_case)]
1045 pub mod __lookup_get_keys {
1046 use super::*;
1047 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1048 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
1049 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_Keys", 0, param_types, false)
1050 });
1051 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1052 match &*METHOD {
1053 ::core::result::Result::Ok(mi) => *mi,
1054 ::core::result::Result::Err(e) => {
1055 panic!(
1056 "method lookup failed: {}
1057::{}
1058: {}
1059",
1060 <Table as ::unity::ClassIdentity>::NAME,
1061 "get_Keys",
1062 e
1063 )
1064 },
1065 }
1066 }
1067 }
1068 #[doc(hidden)]
1069 #[allow(non_snake_case)]
1070 pub mod __lookup_get_values {
1071 use super::*;
1072 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1073 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
1074 ::unity::lookup::method_info_on_class_with_signature(<Table as ::unity::ClassIdentity>::class(), "get_Values", 0, param_types, false)
1075 });
1076 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1077 match &*METHOD {
1078 ::core::result::Result::Ok(mi) => *mi,
1079 ::core::result::Result::Err(e) => {
1080 panic!(
1081 "method lookup failed: {}
1082::{}
1083: {}
1084",
1085 <Table as ::unity::ClassIdentity>::NAME,
1086 "get_Values",
1087 e
1088 )
1089 },
1090 }
1091 }
1092 }
1093}
1094
1095#[cfg(feature = "moon_sharp-interpreter-table")]
1096impl Table {
1097 #[doc = "`RawGetValue(crate::system::collections::generic::linkedlistnode_1::LinkedListNode_1<crate::moon_sharp::interpreter::tablepair::TablePair>)` overload"]
1098 pub fn raw_get_value(
1099 linked_list_node: impl ::core::convert::Into<
1100 crate::system::collections::generic::linkedlistnode_1::LinkedListNode_1<crate::moon_sharp::interpreter::tablepair::TablePair>,
1101 >,
1102 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1103 unsafe {
1104 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_raw_get_value::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1105(crate::system::collections::generic::linkedlistnode_1::LinkedListNode_1<crate::moon_sharp::interpreter::tablepair::TablePair>)::core::convert::Into::into(linked_list_node))
1106 }
1107 }
1108}
1109
1110#[cfg(feature = "moon_sharp-interpreter-table")]
1111pub trait ITableMethods: ITable {
1112 #[doc = "`.ctor(crate::moon_sharp::interpreter::script::Script)` overload"]
1113 fn ctor(self, owner: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>) -> () {
1114 unsafe {
1115 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1116 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
1117(Table)__receiver,(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(owner))
1118 }
1119 }
1120 #[doc = "`.ctor(crate::moon_sharp::interpreter::script::Script, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
1121 fn ctor_2(
1122 self,
1123 owner: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
1124 array_values: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
1125 ) -> () {
1126 unsafe {
1127 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1128 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_ctor_2::get_method_info().method_ptr,();
1129(Table)__receiver,(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(owner),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(array_values))
1130 }
1131 }
1132 #[doc = "`get_OwnerScript()` overload"]
1133 fn get_owner_script(self) -> crate::moon_sharp::interpreter::script::Script {
1134 unsafe {
1135 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1136 {
1137 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1138 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1139 panic!(
1140 "unity: virtual slot {}
1141 out of range (vtable len {}
1142) on the runtime class behind {}
1143 (method `{}
1144`)",
1145 4usize,
1146 __vt.len(),
1147 <Table as ::unity::ClassIdentity>::NAME,
1148 "get_OwnerScript",
1149 )
1150 });
1151 let __inner: extern "C" fn(Table, ::unity::OptionalMethod) -> crate::moon_sharp::interpreter::script::Script =
1152 ::core::mem::transmute(__vi.method_ptr);
1153 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1154 __inner(__receiver, __mi)
1155 }
1156 }
1157 }
1158 #[doc = "`Clear()` overload"]
1159 fn clear(self) -> () {
1160 unsafe {
1161 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1162 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_clear::get_method_info().method_ptr,();
1163(Table)__receiver)
1164 }
1165 }
1166 #[doc = "`GetIntegralKey(f64)` overload"]
1167 fn get_integral_key(self, d: impl ::core::convert::Into<f64>) -> i32 {
1168 unsafe {
1169 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1170 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_integral_key::get_method_info().method_ptr,i32;
1171(Table)__receiver,(f64)::core::convert::Into::into(d))
1172 }
1173 }
1174 #[doc = "`get_Item(::unity::Array<crate::system::object::Object>)` overload"]
1175 fn get_item(self, keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>) -> crate::system::object::Object {
1176 unsafe {
1177 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1178 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_item::get_method_info().method_ptr,crate::system::object::Object;
1179(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys))
1180 }
1181 }
1182 #[doc = "`set_Item(::unity::Array<crate::system::object::Object>, crate::system::object::Object)` overload"]
1183 fn set_item(
1184 self,
1185 keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
1186 value: impl ::core::convert::Into<crate::system::object::Object>,
1187 ) -> () {
1188 unsafe {
1189 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1190 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_item::get_method_info().method_ptr,();
1191(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys),(crate::system::object::Object)::core::convert::Into::into(value))
1192 }
1193 }
1194 #[doc = "`get_Item(crate::system::object::Object)` overload"]
1195 fn get_item_2(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> crate::system::object::Object {
1196 unsafe {
1197 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1198 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_item_2::get_method_info().method_ptr,crate::system::object::Object;
1199(Table)__receiver,(crate::system::object::Object)::core::convert::Into::into(key))
1200 }
1201 }
1202 #[doc = "`set_Item(crate::system::object::Object, crate::system::object::Object)` overload"]
1203 fn set_item_2(
1204 self,
1205 key: impl ::core::convert::Into<crate::system::object::Object>,
1206 value: impl ::core::convert::Into<crate::system::object::Object>,
1207 ) -> () {
1208 unsafe {
1209 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1210 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_item_2::get_method_info().method_ptr,();
1211(Table)__receiver,(crate::system::object::Object)::core::convert::Into::into(key),(crate::system::object::Object)::core::convert::Into::into(value))
1212 }
1213 }
1214 #[doc = "`ResolveMultipleKeys(::unity::Array<crate::system::object::Object>, *mut::unity::IlInstance)` overload"]
1215 fn resolve_multiple_keys(
1216 self,
1217 keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
1218 ) -> (crate::moon_sharp::interpreter::table::Table, ::unity::IlInstance) {
1219 unsafe {
1220 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1221 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::IlInstance>::uninit();
1222 let __ret = {
1223 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_resolve_multiple_keys::get_method_info().method_ptr,crate::moon_sharp::interpreter::table::Table;
1224(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys),(*mut::unity::IlInstance)__out_0.as_mut_ptr())
1225 };
1226 (__ret, __out_0.assume_init())
1227 }
1228 }
1229 #[doc = "`Append(crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1230 fn append(self, value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>) -> () {
1231 unsafe {
1232 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1233 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_append::get_method_info().method_ptr,();
1234(Table)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
1235 }
1236 }
1237 fn perform_table_set<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1238 self,
1239 list_index: impl ::core::convert::Into<
1240 crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
1241 M0,
1242 crate::moon_sharp::interpreter::tablepair::TablePair,
1243 >,
1244 >,
1245 key: impl ::core::convert::Into<M0>,
1246 key_dyn_value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1247 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1248 is_number: impl ::core::convert::Into<bool>,
1249 append_key: impl ::core::convert::Into<i32>,
1250 ) -> () {
1251 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
1252 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Table as ::unity::ClassIdentity>::class(), "PerformTableSet", 6));
1253 #[allow(clippy::type_complexity)]
1254 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1255 ::std::sync::OnceLock::new();
1256 let _ = false;
1257 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1258 ::core::result::Result::Ok(mi) => *mi,
1259 ::core::result::Result::Err(e) => {
1260 panic!(
1261 "method lookup failed: {}
1262::{}
1263: {}
1264",
1265 <Table as ::unity::ClassIdentity>::NAME,
1266 "PerformTableSet",
1267 e
1268 )
1269 },
1270 };
1271 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1272 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1273 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1274 let mut __guard = __cache.lock().unwrap();
1275 *__guard
1276 .entry(__key)
1277 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1278 };
1279 unsafe {
1280 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1281 let __f: extern "C" fn(
1282 Table,
1283 crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
1284 M0,
1285 crate::moon_sharp::interpreter::tablepair::TablePair,
1286 >,
1287 M0,
1288 crate::moon_sharp::interpreter::dynvalue::DynValue,
1289 crate::moon_sharp::interpreter::dynvalue::DynValue,
1290 bool,
1291 i32,
1292 ::unity::OptionalMethod,
1293 ) -> () = ::core::mem::transmute(__inflated.method_ptr);
1294 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1295 __f(
1296 __receiver,
1297 ::core::convert::Into::into(list_index),
1298 ::core::convert::Into::into(key),
1299 ::core::convert::Into::into(key_dyn_value),
1300 ::core::convert::Into::into(value),
1301 ::core::convert::Into::into(is_number),
1302 ::core::convert::Into::into(append_key),
1303 ::core::option::Option::Some(__mi_opaque),
1304 )
1305 }
1306 }
1307 #[doc = "`Set(::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1308 fn set(
1309 self,
1310 key: impl ::core::convert::Into<::unity::Il2CppString>,
1311 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1312 ) -> () {
1313 unsafe {
1314 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1315 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set::get_method_info().method_ptr,();
1316(Table)__receiver,(::unity::Il2CppString)::core::convert::Into::into(key),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
1317 }
1318 }
1319 #[doc = "`Set(i32, crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1320 fn set_2(
1321 self,
1322 key: impl ::core::convert::Into<i32>,
1323 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1324 ) -> () {
1325 unsafe {
1326 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1327 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_2::get_method_info().method_ptr,();
1328(Table)__receiver,(i32)::core::convert::Into::into(key),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
1329 }
1330 }
1331 #[doc = "`Set(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1332 fn set_3(
1333 self,
1334 key: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1335 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1336 ) -> () {
1337 unsafe {
1338 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1339 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_3::get_method_info().method_ptr,();
1340(Table)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(key),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
1341 }
1342 }
1343 #[doc = "`Set(crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1344 fn set_4(
1345 self,
1346 key: impl ::core::convert::Into<crate::system::object::Object>,
1347 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1348 ) -> () {
1349 unsafe {
1350 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1351 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_4::get_method_info().method_ptr,();
1352(Table)__receiver,(crate::system::object::Object)::core::convert::Into::into(key),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
1353 }
1354 }
1355 #[doc = "`Set(::unity::Array<crate::system::object::Object>, crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1356 fn set_5(
1357 self,
1358 keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
1359 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1360 ) -> () {
1361 unsafe {
1362 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1363 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_5::get_method_info().method_ptr,();
1364(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
1365 }
1366 }
1367 #[doc = "`Get(::unity::Il2CppString)` overload"]
1368 fn get(self, key: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1369 unsafe {
1370 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1371 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1372(Table)__receiver,(::unity::Il2CppString)::core::convert::Into::into(key))
1373 }
1374 }
1375 #[doc = "`Get(i32)` overload"]
1376 fn get_2(self, key: impl ::core::convert::Into<i32>) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1377 unsafe {
1378 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1379 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_2::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1380(Table)__receiver,(i32)::core::convert::Into::into(key))
1381 }
1382 }
1383 #[doc = "`Get(crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1384 fn get_3(
1385 self,
1386 key: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1387 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1388 unsafe {
1389 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1390 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_3::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1391(Table)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(key))
1392 }
1393 }
1394 #[doc = "`Get(crate::system::object::Object)` overload"]
1395 fn get_4(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1396 unsafe {
1397 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1398 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_4::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1399(Table)__receiver,(crate::system::object::Object)::core::convert::Into::into(key))
1400 }
1401 }
1402 #[doc = "`Get(::unity::Array<crate::system::object::Object>)` overload"]
1403 fn get_5(
1404 self,
1405 keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
1406 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1407 unsafe {
1408 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1409 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_5::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1410(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys))
1411 }
1412 }
1413 #[doc = "`RawGet(::unity::Il2CppString)` overload"]
1414 fn raw_get(self, key: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1415 unsafe {
1416 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1417 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_raw_get::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1418(Table)__receiver,(::unity::Il2CppString)::core::convert::Into::into(key))
1419 }
1420 }
1421 #[doc = "`RawGet(i32)` overload"]
1422 fn raw_get_2(self, key: impl ::core::convert::Into<i32>) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1423 unsafe {
1424 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1425 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_raw_get_2::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1426(Table)__receiver,(i32)::core::convert::Into::into(key))
1427 }
1428 }
1429 #[doc = "`RawGet(crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1430 fn raw_get_3(
1431 self,
1432 key: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1433 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1434 unsafe {
1435 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1436 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_raw_get_3::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1437(Table)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(key))
1438 }
1439 }
1440 #[doc = "`RawGet(crate::system::object::Object)` overload"]
1441 fn raw_get_4(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1442 unsafe {
1443 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1444 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_raw_get_4::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1445(Table)__receiver,(crate::system::object::Object)::core::convert::Into::into(key))
1446 }
1447 }
1448 #[doc = "`RawGet(::unity::Array<crate::system::object::Object>)` overload"]
1449 fn raw_get_5(
1450 self,
1451 keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
1452 ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1453 unsafe {
1454 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1455 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_raw_get_5::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
1456(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys))
1457 }
1458 }
1459 fn perform_table_remove<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1460 self,
1461 list_index: impl ::core::convert::Into<
1462 crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
1463 M0,
1464 crate::moon_sharp::interpreter::tablepair::TablePair,
1465 >,
1466 >,
1467 key: impl ::core::convert::Into<M0>,
1468 is_number: impl ::core::convert::Into<bool>,
1469 ) -> bool {
1470 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
1471 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Table as ::unity::ClassIdentity>::class(), "PerformTableRemove", 3));
1472 #[allow(clippy::type_complexity)]
1473 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1474 ::std::sync::OnceLock::new();
1475 let _ = false;
1476 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1477 ::core::result::Result::Ok(mi) => *mi,
1478 ::core::result::Result::Err(e) => {
1479 panic!(
1480 "method lookup failed: {}
1481::{}
1482: {}
1483",
1484 <Table as ::unity::ClassIdentity>::NAME,
1485 "PerformTableRemove",
1486 e
1487 )
1488 },
1489 };
1490 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1491 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1492 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1493 let mut __guard = __cache.lock().unwrap();
1494 *__guard
1495 .entry(__key)
1496 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1497 };
1498 unsafe {
1499 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1500 let __f: extern "C" fn(
1501 Table,
1502 crate::moon_sharp::interpreter::data_structs::linkedlistindex_2::LinkedListIndex_2<
1503 M0,
1504 crate::moon_sharp::interpreter::tablepair::TablePair,
1505 >,
1506 M0,
1507 bool,
1508 ::unity::OptionalMethod,
1509 ) -> bool = ::core::mem::transmute(__inflated.method_ptr);
1510 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1511 __f(
1512 __receiver,
1513 ::core::convert::Into::into(list_index),
1514 ::core::convert::Into::into(key),
1515 ::core::convert::Into::into(is_number),
1516 ::core::option::Option::Some(__mi_opaque),
1517 )
1518 }
1519 }
1520 #[doc = "`Remove(::unity::Il2CppString)` overload"]
1521 fn remove(self, key: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1522 unsafe {
1523 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1524 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_remove::get_method_info().method_ptr,bool;
1525(Table)__receiver,(::unity::Il2CppString)::core::convert::Into::into(key))
1526 }
1527 }
1528 #[doc = "`Remove(i32)` overload"]
1529 fn remove_2(self, key: impl ::core::convert::Into<i32>) -> bool {
1530 unsafe {
1531 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1532 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_remove_2::get_method_info().method_ptr,bool;
1533(Table)__receiver,(i32)::core::convert::Into::into(key))
1534 }
1535 }
1536 #[doc = "`Remove(crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
1537 fn remove_3(self, key: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>) -> bool {
1538 unsafe {
1539 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1540 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_remove_3::get_method_info().method_ptr,bool;
1541(Table)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(key))
1542 }
1543 }
1544 #[doc = "`Remove(crate::system::object::Object)` overload"]
1545 fn remove_4(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
1546 unsafe {
1547 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1548 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_remove_4::get_method_info().method_ptr,bool;
1549(Table)__receiver,(crate::system::object::Object)::core::convert::Into::into(key))
1550 }
1551 }
1552 #[doc = "`Remove(::unity::Array<crate::system::object::Object>)` overload"]
1553 fn remove_5(self, keys: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>) -> bool {
1554 unsafe {
1555 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1556 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_remove_5::get_method_info().method_ptr,bool;
1557(Table)__receiver,(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(keys))
1558 }
1559 }
1560 #[doc = "`CollectDeadKeys()` overload"]
1561 fn collect_dead_keys(self) -> () {
1562 unsafe {
1563 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1564 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_collect_dead_keys::get_method_info().method_ptr,();
1565(Table)__receiver)
1566 }
1567 }
1568 #[doc = "`get_Length()` overload"]
1569 fn get_length(self) -> i32 {
1570 unsafe {
1571 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1572 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_length::get_method_info().method_ptr,i32;
1573(Table)__receiver)
1574 }
1575 }
1576 #[doc = "`InitNextArrayKeys(crate::moon_sharp::interpreter::dynvalue::DynValue, bool)` overload"]
1577 fn init_next_array_keys(
1578 self,
1579 val: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1580 lastpos: impl ::core::convert::Into<bool>,
1581 ) -> () {
1582 unsafe {
1583 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1584 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_init_next_array_keys::get_method_info().method_ptr,();
1585(Table)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(val),(bool)::core::convert::Into::into(lastpos))
1586 }
1587 }
1588 #[doc = "`get_MetaTable()` overload"]
1589 fn get_meta_table(self) -> crate::moon_sharp::interpreter::table::Table {
1590 unsafe {
1591 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1592 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_meta_table::get_method_info().method_ptr,crate::moon_sharp::interpreter::table::Table;
1593(Table)__receiver)
1594 }
1595 }
1596 #[doc = "`set_MetaTable(crate::moon_sharp::interpreter::table::Table)` overload"]
1597 fn set_meta_table(self, value: impl ::core::convert::Into<crate::moon_sharp::interpreter::table::Table>) -> () {
1598 unsafe {
1599 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1600 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_set_meta_table::get_method_info().method_ptr,();
1601(Table)__receiver,(crate::moon_sharp::interpreter::table::Table)::core::convert::Into::into(value))
1602 }
1603 }
1604 #[doc = "`get_Pairs()` overload"]
1605 fn get_pairs(self) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::tablepair::TablePair> {
1606 unsafe {
1607 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1608 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_pairs::get_method_info().method_ptr,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::tablepair::TablePair> ;
1609(Table)__receiver)
1610 }
1611 }
1612 #[doc = "`get_Keys()` overload"]
1613 fn get_keys(self) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::dynvalue::DynValue> {
1614 unsafe {
1615 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1616 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_keys::get_method_info().method_ptr,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::dynvalue::DynValue> ;
1617(Table)__receiver)
1618 }
1619 }
1620 #[doc = "`get_Values()` overload"]
1621 fn get_values(self) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::dynvalue::DynValue> {
1622 unsafe {
1623 let __receiver = <Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1624 ::unity::il2cpp_call!(__Table_unity_raw::__lookup_get_values::get_method_info().method_ptr,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::dynvalue::DynValue> ;
1625(Table)__receiver)
1626 }
1627 }
1628}
1629
1630#[cfg(feature = "moon_sharp-interpreter-table")]
1631impl<__T: ITable> ITableMethods for __T {}
1632
1633#[cfg(feature = "moon_sharp-interpreter-table")]
1634impl Table {
1635 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1636 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1637 }
1638
1639 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1640 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1641 }
1642
1643 pub fn get_owner_script_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1644 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1645 }
1646
1647 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1648 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1649 }
1650
1651 pub fn get_integral_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1652 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1653 }
1654
1655 pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1656 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1657 }
1658
1659 pub fn set_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1660 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1661 }
1662
1663 pub fn get_item_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1664 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1665 }
1666
1667 pub fn set_item_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1668 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1669 }
1670
1671 pub fn resolve_multiple_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1672 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1673 }
1674
1675 pub fn append_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1676 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1677 }
1678
1679 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1680 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1681 }
1682
1683 pub fn set_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1684 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1685 }
1686
1687 pub fn set_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1688 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1689 }
1690
1691 pub fn set_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1692 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1693 }
1694
1695 pub fn set_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1696 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1697 }
1698
1699 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1700 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1701 }
1702
1703 pub fn get_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1704 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1705 }
1706
1707 pub fn get_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1708 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1709 }
1710
1711 pub fn get_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1712 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1713 }
1714
1715 pub fn get_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1716 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1717 }
1718
1719 pub fn raw_get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1720 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1721 }
1722
1723 pub fn raw_get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1724 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1725 }
1726
1727 pub fn raw_get_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1728 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1729 }
1730
1731 pub fn raw_get_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1732 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1733 }
1734
1735 pub fn raw_get_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1736 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1737 }
1738
1739 pub fn raw_get_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1740 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1741 }
1742
1743 pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1744 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1745 }
1746
1747 pub fn remove_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1748 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1749 }
1750
1751 pub fn remove_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1752 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1753 }
1754
1755 pub fn remove_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1757 }
1758
1759 pub fn remove_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1761 }
1762
1763 pub fn collect_dead_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1764 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1765 }
1766
1767 pub fn get_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1768 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1769 }
1770
1771 pub fn init_next_array_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1772 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1773 }
1774
1775 pub fn get_meta_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1776 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1777 }
1778
1779 pub fn set_meta_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1781 }
1782
1783 pub fn get_pairs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1785 }
1786
1787 pub fn get_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1788 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1789 }
1790
1791 pub fn get_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1792 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1793 }
1794}
1795
1796#[cfg(feature = "moon_sharp-interpreter-table")]
1797impl Table {
1798 #[doc = "Direct (non-virtual) call to `Table`'s own `get_OwnerScript`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1799 pub unsafe fn get_owner_script(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::moon_sharp::interpreter::script::Script {
1800 let __mi = Self::get_owner_script_method_info();
1801 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::moon_sharp::interpreter::script::Script =
1802 ::core::mem::transmute(__mi.method_ptr);
1803 __inner(this.into(), ::core::option::Option::None)
1804 }
1805}
1806
1807#[cfg(feature = "moon_sharp-interpreter-table")]
1808impl Table {
1809 #[doc = "`.ctor(crate::moon_sharp::interpreter::script::Script)` — overload selector"]
1810 pub fn new(owner: crate::moon_sharp::interpreter::script::Script) -> Self {
1811 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1812 panic!(
1813 "{}
1814::{}
1815 failed to instantiate",
1816 ::core::stringify!(Table),
1817 ::core::stringify!(new),
1818 )
1819 });
1820 <Self as ITableMethods>::ctor(this, owner);
1821 this
1822 }
1823
1824 #[doc = "`.ctor(crate::moon_sharp::interpreter::script::Script, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` — overload selector"]
1825 pub fn new_2(
1826 owner: crate::moon_sharp::interpreter::script::Script,
1827 array_values: ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1828 ) -> Self {
1829 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1830 panic!(
1831 "{}
1832::{}
1833 failed to instantiate",
1834 ::core::stringify!(Table),
1835 ::core::stringify!(new_2),
1836 )
1837 });
1838 <Self as ITableMethods>::ctor_2(this, owner, array_values);
1839 this
1840 }
1841}
1842
1843#[cfg(feature = "moon_sharp-interpreter-table")]
1844#[doc(hidden)]
1845pub mod prelude {
1846 pub use super::{ITable, ITableMethods, Table};
1847 #[cfg(feature = "moon_sharp-interpreter-refidobject")]
1848 pub use crate::moon_sharp::interpreter::refidobject::IRefIdObjectMethods;
1849 #[cfg(feature = "system-object")]
1850 pub use crate::system::object::IObjectMethods;
1851 pub use crate::{moon_sharp::interpreter::refidobject::IRefIdObject, system::object::IObject};
1852}