1#[cfg(feature = "app-gmaplinerenderer-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 object::{IObject, Object},
11 r#enum::{Enum, IEnum},
12 valuetype::{IValueType, ValueType},
13 },
14 unity_engine::{
15 behaviour::{Behaviour, IBehaviour},
16 component::{Component, IComponent},
17 monobehaviour::{IMonoBehaviour, MonoBehaviour},
18 object_2::{IObject_2, Object_2},
19 },
20 };
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmaplinerenderer/GmapLineRenderer.md"))]
23 #[::unity::class(namespace = "App", name = "GmapLineRenderer")]
24 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
25 pub struct GmapLineRenderer {
26 #[offset(24)]
27 #[rename(name = "m_DrawType")]
28 pub m_draw_type: crate::app::gmaplinerenderer::GmapLineRenderer_DrawType,
29 #[offset(32)]
30 #[rename(name = "m_Material")]
31 pub m_material: crate::unity_engine::material::Material,
32 #[offset(40)]
33 #[rename(name = "m_Step")]
34 pub m_step: f32,
35 #[offset(44)]
36 #[rename(name = "m_Size")]
37 pub m_size: f32,
38 #[offset(48)]
39 #[rename(name = "m_AppearSpeed")]
40 pub m_appear_speed: f32,
41 #[offset(56)]
42 #[rename(name = "m_MeshRenderer")]
43 pub m_mesh_renderer: crate::unity_engine::meshrenderer::MeshRenderer,
44 #[offset(64)]
45 #[rename(name = "m_LinePoints")]
46 pub m_line_points: crate::system::collections::generic::list_1::List_1<crate::app::gmaplinerenderer::GmapLineRenderer_LinePoint>,
47 #[offset(80)]
48 #[rename(name = "m_IsAppearing")]
49 pub m_is_appearing: bool,
50 #[offset(84)]
51 #[rename(name = "m_PathLength")]
52 pub m_path_length: f32,
53 #[offset(88)]
54 #[rename(name = "m_AppeardPathLength")]
55 pub m_appeard_path_length: f32,
56 #[offset(96)]
57 #[rename(name = "m_LineRenderer")]
58 pub m_line_renderer: crate::unity_engine::linerenderer::LineRenderer,
59 #[offset(104)]
60 #[rename(name = "m_LineStep")]
61 pub m_line_step: f32,
62 #[offset(112)]
63 #[rename(name = "m_LinePositionList")]
64 pub m_line_position_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>,
65 #[offset(120)]
66 #[rename(name = "m_LineAppearCountOld")]
67 pub m_line_appear_count_old: i32,
68 #[offset(124)]
69 #[rename(name = "m_LineAppearCount")]
70 pub m_line_appear_count: i32,
71 #[offset(128)]
72 #[rename(name = "m_LineAppearSpeed")]
73 pub m_line_appear_speed: i32,
74 }
75
76 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmaplinerenderer/GmapLineRenderer_DrawType.md"))]
77 #[repr(C)]
78 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
79 pub struct GmapLineRenderer_DrawType {
80 pub value: i32,
81 }
82 impl ::unity::ClassIdentity for GmapLineRenderer_DrawType {
83 const NAME: &'static str = "GmapLineRenderer.DrawType";
84 const NAMESPACE: &'static str = "App";
85
86 fn class() -> ::unity::Class {
87 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
88 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
89 }
90 }
91 impl ::unity::IlType for GmapLineRenderer_DrawType {
92 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
93 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
94 }
95 }
96 impl GmapLineRenderer_DrawType {
97 pub fn 線() -> Self {
98 Self { value: 1 }
99 }
100 }
101
102 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmaplinerenderer/GmapLineRenderer_LinePoint.md"))]
103 #[::unity::class(namespace = "App", name = "GmapLineRenderer.LinePoint")]
104 #[parent(crate::system::object::Object)]
105 pub struct GmapLineRenderer_LinePoint {
106 #[offset(16)]
107 #[rename(name = "vtxOffsets")]
108 pub vtx_offsets: ::unity::Array<crate::unity_engine::vector3::Vector3>,
109 #[offset(24)]
110 #[rename(name = "uv_table")]
111 pub uv_table: ::unity::Array<crate::unity_engine::vector2::Vector2>,
112 #[offset(32)]
113 #[rename(name = "m_Color")]
114 pub m_color: crate::unity_engine::color::Color,
115 }
116}
117
118#[cfg(feature = "app-gmaplinerenderer-types")]
119pub use __types::*;
120
121#[cfg(feature = "app-gmaplinerenderer")]
122pub trait IGmapLineRendererMethods: IGmapLineRenderer {
123 #[doc = "`Awake()` overload"]
124 fn awake(self) -> () {
125 unsafe {
126 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127 ::unity::il2cpp_call!((::unity::module_base()+0x2528c30usize)as*mut u8,();
128(GmapLineRenderer)__receiver)
129 }
130 }
131 #[doc = "`TryInitialize()` overload"]
132 fn try_initialize(self) -> () {
133 unsafe {
134 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135 ::unity::il2cpp_call!((::unity::module_base()+0x2528c60usize)as*mut u8,();
136(GmapLineRenderer)__receiver)
137 }
138 }
139 #[doc = "`Start()` overload"]
140 fn start(self) -> () {
141 unsafe {
142 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143 ::unity::il2cpp_call!((::unity::module_base()+0x2528e70usize)as*mut u8,();
144(GmapLineRenderer)__receiver)
145 }
146 }
147 #[doc = "`GetLineAppearSpeed()` overload"]
148 fn get_line_appear_speed(self) -> i32 {
149 unsafe {
150 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151 ::unity::il2cpp_call!((::unity::module_base()+0x2528e80usize)as*mut u8,i32;
152(GmapLineRenderer)__receiver)
153 }
154 }
155 #[doc = "`DrawLineTick(*mutcrate::unity_engine::vector3::Vector3)` overload"]
156 fn draw_line_tick(self) -> (bool, crate::unity_engine::vector3::Vector3) {
157 unsafe {
158 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
160 let __ret = {
161 ::unity::il2cpp_call!((::unity::module_base()+0x2528ec0usize)as*mut u8,bool;
162(GmapLineRenderer)__receiver,(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr())
163 };
164 (__ret, __out_0.assume_init())
165 }
166 }
167 #[doc = "`SetVisible(bool)` overload"]
168 fn set_visible(self, value: impl ::core::convert::Into<bool>) -> () {
169 unsafe {
170 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x25290d0usize)as*mut u8,();
172(GmapLineRenderer)__receiver,(bool)::core::convert::Into::into(value))
173 }
174 }
175 #[doc = "`IsVisible()` overload"]
176 fn is_visible(self) -> bool {
177 unsafe {
178 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179 ::unity::il2cpp_call!((::unity::module_base()+0x2529170usize)as*mut u8,bool;
180(GmapLineRenderer)__receiver)
181 }
182 }
183 #[doc = "`IsActiveEndpoints()` overload"]
184 fn is_active_endpoints(self) -> bool {
185 unsafe {
186 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x2529210usize)as*mut u8,bool;
188(GmapLineRenderer)__receiver)
189 }
190 }
191 #[doc = "`BuildPoinsts()` overload"]
192 fn build_poinsts(self) -> () {
193 unsafe {
194 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x2529440usize)as*mut u8,();
196(GmapLineRenderer)__receiver)
197 }
198 }
199 #[doc = "`BuildLine()` overload"]
200 fn build_line(self) -> () {
201 unsafe {
202 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x2528e60usize)as*mut u8,();
204(GmapLineRenderer)__receiver)
205 }
206 }
207 #[doc = "`SetLineRendererLength(i32)` overload"]
208 fn set_line_renderer_length(self, length: impl ::core::convert::Into<i32>) -> () {
209 unsafe {
210 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 ::unity::il2cpp_call!((::unity::module_base()+0x2528fd0usize)as*mut u8,();
212(GmapLineRenderer)__receiver,(i32)::core::convert::Into::into(length))
213 }
214 }
215 #[doc = "`StartAppear()` overload"]
216 fn start_appear(self) -> () {
217 unsafe {
218 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x25295f0usize)as*mut u8,();
220(GmapLineRenderer)__receiver)
221 }
222 }
223 #[doc = "`ClearDrawLine()` overload"]
224 fn clear_draw_line(self) -> () {
225 unsafe {
226 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227 ::unity::il2cpp_call!((::unity::module_base()+0x2529610usize)as*mut u8,();
228(GmapLineRenderer)__receiver)
229 }
230 }
231 #[doc = "`GetGmapSpots()` overload"]
232 fn get_gmap_spots(self) -> ::unity::Array<crate::app::gmapspot::GmapSpot> {
233 unsafe {
234 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235 ::unity::il2cpp_call!((::unity::module_base()+0x2529620usize)as*mut u8, ::unity::Array<crate::app::gmapspot::GmapSpot> ;
236(GmapLineRenderer)__receiver)
237 }
238 }
239 #[doc = "`.ctor()` overload"]
240 fn ctor(self) -> () {
241 unsafe {
242 let __receiver = <GmapLineRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243 ::unity::il2cpp_call!((::unity::module_base()+0x25298b0usize)as*mut u8,();
244(GmapLineRenderer)__receiver)
245 }
246 }
247}
248
249#[cfg(feature = "app-gmaplinerenderer")]
250impl<__T: IGmapLineRenderer> IGmapLineRendererMethods for __T {}
251
252#[cfg(feature = "app-gmaplinerenderer")]
253impl GmapLineRenderer {
254 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
256 }
257
258 pub fn try_initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
260 }
261
262 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
264 }
265
266 pub fn get_line_appear_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
268 }
269
270 pub fn draw_line_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
272 }
273
274 pub fn set_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
276 }
277
278 pub fn is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
280 }
281
282 pub fn is_active_endpoints_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
284 }
285
286 pub fn build_poinsts_method_info() -> &'static ::unity::il2cpp::MethodInfo {
287 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
288 }
289
290 pub fn build_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
292 }
293
294 pub fn set_line_renderer_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
296 }
297
298 pub fn start_appear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
300 }
301
302 pub fn clear_draw_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
304 }
305
306 pub fn get_gmap_spots_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
308 }
309
310 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
312 }
313}
314
315#[cfg(feature = "app-gmaplinerenderer")]
316impl GmapLineRenderer {
317 #[doc = "`.ctor()` — no args"]
318 pub fn new() -> Self {
319 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
320 panic!(
321 "{}
322::{}
323 failed to instantiate",
324 ::core::stringify!(GmapLineRenderer),
325 ::core::stringify!(new),
326 )
327 });
328 <Self as IGmapLineRendererMethods>::ctor(this);
329 this
330 }
331}
332
333#[cfg(feature = "app-gmaplinerenderer")]
334pub trait IGmapLineRenderer_LinePointMethods: IGmapLineRenderer_LinePoint {
335 #[doc = "`.ctor(i32, crate::unity_engine::vector3::Vector3, crate::unity_engine::color::Color)` overload"]
336 fn ctor(
337 self,
338 index: impl ::core::convert::Into<i32>,
339 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
340 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
341 ) -> () {
342 unsafe {
343 let __receiver =
344 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345 ::unity::il2cpp_call!((::unity::module_base()+0x1e71610usize)as*mut u8,();
346(GmapLineRenderer_LinePoint)__receiver,(i32)::core::convert::Into::into(index),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(crate::unity_engine::color::Color)::core::convert::Into::into(color))
347 }
348 }
349 #[doc = "`get_index()` overload"]
350 fn get_index(self) -> i32 {
351 unsafe {
352 let __receiver =
353 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354 ::unity::il2cpp_call!((::unity::module_base()+0x1e717a0usize)as*mut u8,i32;
355(GmapLineRenderer_LinePoint)__receiver)
356 }
357 }
358 #[doc = "`get_position()` overload"]
359 fn get_position(self) -> crate::unity_engine::vector3::Vector3 {
360 unsafe {
361 let __receiver =
362 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x1e717b0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
364(GmapLineRenderer_LinePoint)__receiver)
365 }
366 }
367 #[doc = "`get_color()` overload"]
368 fn get_color(self) -> crate::unity_engine::color::Color {
369 unsafe {
370 let __receiver =
371 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x1e717c0usize)as*mut u8,crate::unity_engine::color::Color;
373(GmapLineRenderer_LinePoint)__receiver)
374 }
375 }
376 #[doc = "`set_color(crate::unity_engine::color::Color)` overload"]
377 fn set_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
378 unsafe {
379 let __receiver =
380 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381 ::unity::il2cpp_call!((::unity::module_base()+0x1e717d0usize)as*mut u8,();
382(GmapLineRenderer_LinePoint)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
383 }
384 }
385 #[doc = "`get_alpha()` overload"]
386 fn get_alpha(self) -> f32 {
387 unsafe {
388 let __receiver =
389 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390 ::unity::il2cpp_call!((::unity::module_base()+0x1e717f0usize)as*mut u8,f32;
391(GmapLineRenderer_LinePoint)__receiver)
392 }
393 }
394 #[doc = "`set_alpha(f32)` overload"]
395 fn set_alpha(self, value: impl ::core::convert::Into<f32>) -> () {
396 unsafe {
397 let __receiver =
398 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
399 ::unity::il2cpp_call!((::unity::module_base()+0x1e71800usize)as*mut u8,();
400(GmapLineRenderer_LinePoint)__receiver,(f32)::core::convert::Into::into(value))
401 }
402 }
403 #[doc = "`get_isApperd()` overload"]
404 fn get_is_apperd(self) -> bool {
405 unsafe {
406 let __receiver =
407 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408 ::unity::il2cpp_call!((::unity::module_base()+0x1e71810usize)as*mut u8,bool;
409(GmapLineRenderer_LinePoint)__receiver)
410 }
411 }
412 #[doc = "`set_isApperd(bool)` overload"]
413 fn set_is_apperd(self, value: impl ::core::convert::Into<bool>) -> () {
414 unsafe {
415 let __receiver =
416 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
417 ::unity::il2cpp_call!((::unity::module_base()+0x1e71820usize)as*mut u8,();
418(GmapLineRenderer_LinePoint)__receiver,(bool)::core::convert::Into::into(value))
419 }
420 }
421 #[doc = "`Add(*mutcrate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, *mutcrate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>, *mutcrate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>, *mutcrate::system::collections::generic::list_1::List_1<i32>, f32, f32)` overload"]
422 fn add(
423 self,
424 size: impl ::core::convert::Into<f32>,
425 rotate: impl ::core::convert::Into<f32>,
426 ) -> (
427 crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>,
428 crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>,
429 crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>,
430 crate::system::collections::generic::list_1::List_1<i32>,
431 ) {
432 unsafe {
433 let __receiver =
434 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
435 let mut __out_0 =
436 ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>::uninit();
437 let mut __out_1 =
438 ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>::uninit();
439 let mut __out_2 =
440 ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>>::uninit();
441 let mut __out_3 = ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<i32>>::uninit();
442 ::unity::il2cpp_call!((::unity::module_base()+0x1e71830usize)as*mut u8,();
443(GmapLineRenderer_LinePoint)__receiver,(*mut crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)__out_0.as_mut_ptr(),(*mut crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)__out_1.as_mut_ptr(),(*mut crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>)__out_2.as_mut_ptr(),(*mut crate::system::collections::generic::list_1::List_1<i32>)__out_3.as_mut_ptr(),(f32)::core::convert::Into::into(size),(f32)::core::convert::Into::into(rotate));
444 (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init(), __out_3.assume_init())
445 }
446 }
447 #[doc = "`UpdateColor(*mutcrate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)` overload"]
448 fn update_color(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color> {
449 unsafe {
450 let __receiver =
451 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
452 let mut __out_0 =
453 ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>::uninit();
454 ::unity::il2cpp_call!((::unity::module_base()+0x1e71cb0usize)as*mut u8,();
455(GmapLineRenderer_LinePoint)__receiver,(*mut crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)__out_0.as_mut_ptr());
456 __out_0.assume_init()
457 }
458 }
459 #[doc = "`Tick()` overload"]
460 fn tick(self) -> () {
461 unsafe {
462 let __receiver =
463 <GmapLineRenderer_LinePoint as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x1e71d70usize)as*mut u8,();
465(GmapLineRenderer_LinePoint)__receiver)
466 }
467 }
468}
469
470#[cfg(feature = "app-gmaplinerenderer")]
471impl<__T: IGmapLineRenderer_LinePoint> IGmapLineRenderer_LinePointMethods for __T {}
472
473#[cfg(feature = "app-gmaplinerenderer")]
474impl GmapLineRenderer_LinePoint {
475 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
477 }
478
479 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
481 }
482
483 pub fn get_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
485 }
486
487 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
489 }
490
491 pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
493 }
494
495 pub fn get_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
497 }
498
499 pub fn set_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
501 }
502
503 pub fn get_is_apperd_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
505 }
506
507 pub fn set_is_apperd_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
509 }
510
511 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
513 }
514
515 pub fn update_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
517 }
518
519 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
521 }
522}
523
524#[cfg(feature = "app-gmaplinerenderer")]
525impl GmapLineRenderer_LinePoint {
526 #[doc = "`.ctor(i32, crate::unity_engine::vector3::Vector3, crate::unity_engine::color::Color)` — overload selector"]
527 pub fn new(index: i32, pos: crate::unity_engine::vector3::Vector3, color: crate::unity_engine::color::Color) -> Self {
528 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
529 panic!(
530 "{}
531::{}
532 failed to instantiate",
533 ::core::stringify!(GmapLineRenderer_LinePoint),
534 ::core::stringify!(new),
535 )
536 });
537 <Self as IGmapLineRenderer_LinePointMethods>::ctor(this, index, pos, color);
538 this
539 }
540}
541
542#[cfg(feature = "app-gmaplinerenderer")]
543#[doc(hidden)]
544pub mod prelude {
545 pub use super::{
546 GmapLineRenderer, GmapLineRenderer_DrawType, GmapLineRenderer_LinePoint, IGmapLineRenderer, IGmapLineRendererMethods,
547 IGmapLineRenderer_LinePoint, IGmapLineRenderer_LinePointMethods,
548 };
549 #[cfg(feature = "system-object")]
550 pub use crate::system::object::IObjectMethods;
551 #[cfg(feature = "system-enum")]
552 pub use crate::system::r#enum::IEnumMethods;
553 #[cfg(feature = "system-valuetype")]
554 pub use crate::system::valuetype::IValueTypeMethods;
555 #[cfg(feature = "unity_engine-behaviour")]
556 pub use crate::unity_engine::behaviour::IBehaviourMethods;
557 #[cfg(feature = "unity_engine-component")]
558 pub use crate::unity_engine::component::IComponentMethods;
559 #[cfg(feature = "unity_engine-monobehaviour")]
560 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
561 #[cfg(feature = "unity_engine-object_2")]
562 pub use crate::unity_engine::object_2::IObject_2Methods;
563 pub use crate::{
564 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
565 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
566 };
567}