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