1#[cfg(feature = "app-talk3_d-talklogui-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/app/talk3_d/talklogui/TalkLogUI_Window.md"))]
11 #[::unity::class(namespace = "App.Talk3D", name = "TalkLogUI.Window")]
12 #[parent(crate::system::object::Object)]
13 pub struct TalkLogUI_Window {
14 #[offset(16)]
15 #[rename(name = "m_Index")]
16 pub m_index: i32,
17 #[offset(24)]
18 #[rename(name = "m_RootObject")]
19 pub m_root_object: crate::unity_engine::gameobject::GameObject,
20 #[offset(32)]
21 #[rename(name = "m_RootAnimator")]
22 pub m_root_animator: crate::unity_engine::animator::Animator,
23 #[offset(40)]
24 #[rename(name = "m_RootImage")]
25 pub m_root_image: crate::unity_engine::ui::image::Image,
26 #[offset(48)]
27 #[rename(name = "m_NameWindowImage")]
28 pub m_name_window_image: crate::unity_engine::ui::image::Image,
29 #[offset(56)]
30 #[rename(name = "m_TalkerName")]
31 pub m_talker_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
32 #[offset(64)]
33 #[rename(name = "m_BodyMess")]
34 pub m_body_mess: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
35 #[offset(72)]
36 #[rename(name = "m_KeyHelpMess")]
37 pub m_key_help_mess: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
38 #[offset(80)]
39 #[rename(name = "m_KeyHelpAnimator")]
40 pub m_key_help_animator: crate::unity_engine::animator::Animator,
41 #[offset(88)]
42 #[rename(name = "m_KeyHelpIconImage")]
43 pub m_key_help_icon_image: crate::unity_engine::ui::image::Image,
44 #[offset(96)]
45 #[rename(name = "m_isMoveAnimStarted")]
46 pub m_is_move_anim_started: bool,
47 #[static_field]
48 #[rename(name = "WinUpDownAnimSpeed")]
49 pub win_up_down_anim_speed: f32,
50 }
51
52 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talk3_d/talklogui/TalkLogUI_Cursor.md"))]
53 #[::unity::class(namespace = "App.Talk3D", name = "TalkLogUI.Cursor")]
54 #[parent(crate::system::object::Object)]
55 pub struct TalkLogUI_Cursor {
56 #[offset(16)]
57 #[rename(name = "m_RootObject")]
58 pub m_root_object: crate::unity_engine::gameobject::GameObject,
59 #[offset(24)]
60 #[rename(name = "m_Animator")]
61 pub m_animator: crate::unity_engine::animator::Animator,
62 #[offset(32)]
63 #[rename(name = "m_PosFrom")]
64 pub m_pos_from: crate::unity_engine::vector3::Vector3,
65 #[offset(44)]
66 #[rename(name = "m_PosTo")]
67 pub m_pos_to: crate::unity_engine::vector3::Vector3,
68 #[offset(56)]
69 #[rename(name = "m_Time")]
70 pub m_time: f32,
71 #[offset(60)]
72 #[rename(name = "m_Duration")]
73 pub m_duration: f32,
74 }
75
76 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talk3_d/talklogui/TalkLogUI_ScrollBar.md"))]
77 #[::unity::class(namespace = "App.Talk3D", name = "TalkLogUI.ScrollBar")]
78 #[parent(crate::system::object::Object)]
79 pub struct TalkLogUI_ScrollBar {
80 #[offset(16)]
81 #[rename(name = "m_RootObject")]
82 pub m_root_object: crate::unity_engine::gameobject::GameObject,
83 #[offset(24)]
84 #[rename(name = "m_ScrollBar")]
85 pub m_scroll_bar: crate::unity_engine::ui::scrollbar::Scrollbar,
86 #[offset(32)]
87 #[rename(name = "m_ScrollAreaImage")]
88 pub m_scroll_area_image: crate::unity_engine::ui::image::Image,
89 #[offset(40)]
90 #[rename(name = "m_SlideHandleImage")]
91 pub m_slide_handle_image: crate::unity_engine::ui::image::Image,
92 #[offset(48)]
93 #[rename(name = "m_ItemMax")]
94 pub m_item_max: i32,
95 #[offset(52)]
96 #[rename(name = "m_SlideHandlePosFrom")]
97 pub m_slide_handle_pos_from: f32,
98 #[offset(56)]
99 #[rename(name = "m_SlideHandlePosTo")]
100 pub m_slide_handle_pos_to: f32,
101 #[offset(60)]
102 #[rename(name = "m_Time")]
103 pub m_time: f32,
104 #[offset(64)]
105 #[rename(name = "m_Duration")]
106 pub m_duration: f32,
107 }
108
109 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talk3_d/talklogui/TalkLogUI.md"))]
110 #[::unity::class(namespace = "App.Talk3D", name = "TalkLogUI")]
111 #[parent(crate::system::object::Object)]
112 pub struct TalkLogUI {}
113}
114
115#[cfg(feature = "app-talk3_d-talklogui-types")]
116pub use __types::*;
117
118#[cfg(feature = "app-talk3_d-talklogui")]
119pub trait ITalkLogUI_WindowMethods: ITalkLogUI_Window {
120 #[doc = "`.ctor(i32, crate::unity_engine::gameobject::GameObject)` overload"]
121 fn ctor(
122 self,
123 index: impl ::core::convert::Into<i32>,
124 root_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
125 ) -> () {
126 unsafe {
127 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x21fb920usize)as*mut u8,();
129(TalkLogUI_Window)__receiver,(i32)::core::convert::Into::into(index),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root_object))
130 }
131 }
132 #[doc = "`Update(bool, bool, bool)` overload"]
133 fn update(
134 self,
135 is_selected: impl ::core::convert::Into<bool>,
136 is_voice_event_exist: impl ::core::convert::Into<bool>,
137 is_voice_event_playing: impl ::core::convert::Into<bool>,
138 ) -> () {
139 unsafe {
140 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141 ::unity::il2cpp_call!((::unity::module_base()+0x21fbcc0usize)as*mut u8,();
142(TalkLogUI_Window)__receiver,(bool)::core::convert::Into::into(is_selected),(bool)::core::convert::Into::into(is_voice_event_exist),(bool)::core::convert::Into::into(is_voice_event_playing))
143 }
144 }
145 #[doc = "`GetIndex()` overload"]
146 fn get_index(self) -> i32 {
147 unsafe {
148 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 ::unity::il2cpp_call!((::unity::module_base()+0x21fc190usize)as*mut u8,i32;
150(TalkLogUI_Window)__receiver)
151 }
152 }
153 #[doc = "`IsSelected(i32, i32, i32, i32)` overload"]
154 fn is_selected(
155 self,
156 log_add_count: impl ::core::convert::Into<i32>,
157 view_window_max: impl ::core::convert::Into<i32>,
158 cursor_index: impl ::core::convert::Into<i32>,
159 scroll_index: impl ::core::convert::Into<i32>,
160 ) -> bool {
161 unsafe {
162 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x21fc1a0usize)as*mut u8,bool;
164(TalkLogUI_Window)__receiver,(i32)::core::convert::Into::into(log_add_count),(i32)::core::convert::Into::into(view_window_max),(i32)::core::convert::Into::into(cursor_index),(i32)::core::convert::Into::into(scroll_index))
165 }
166 }
167 #[doc = "`GetTransform()` overload"]
168 fn get_transform(self) -> crate::unity_engine::transform::Transform {
169 unsafe {
170 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x21fb570usize)as*mut u8,crate::unity_engine::transform::Transform;
172(TalkLogUI_Window)__receiver)
173 }
174 }
175 #[doc = "`SetTalkerName(::unity::Il2CppString)` overload"]
176 fn set_talker_name(self, talker_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
177 unsafe {
178 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179 ::unity::il2cpp_call!((::unity::module_base()+0x21fc1c0usize)as*mut u8,();
180(TalkLogUI_Window)__receiver,(::unity::Il2CppString)::core::convert::Into::into(talker_name))
181 }
182 }
183 #[doc = "`SetBodyMess(::unity::Il2CppString)` overload"]
184 fn set_body_mess(self, body_mess: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
185 unsafe {
186 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x21fc1e0usize)as*mut u8,();
188(TalkLogUI_Window)__receiver,(::unity::Il2CppString)::core::convert::Into::into(body_mess))
189 }
190 }
191 #[doc = "`Show()` overload"]
192 fn show(self) -> () {
193 unsafe {
194 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x21fc200usize)as*mut u8,();
196(TalkLogUI_Window)__receiver)
197 }
198 }
199 #[doc = "`Hide()` overload"]
200 fn hide(self) -> () {
201 unsafe {
202 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x21fc280usize)as*mut u8,();
204(TalkLogUI_Window)__receiver)
205 }
206 }
207 #[doc = "`ShowKeyHelp()` overload"]
208 fn show_key_help(self) -> () {
209 unsafe {
210 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 ::unity::il2cpp_call!((::unity::module_base()+0x21fbf40usize)as*mut u8,();
212(TalkLogUI_Window)__receiver)
213 }
214 }
215 #[doc = "`HideKeyHelp()` overload"]
216 fn hide_key_help(self) -> () {
217 unsafe {
218 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x21fc150usize)as*mut u8,();
220(TalkLogUI_Window)__receiver)
221 }
222 }
223 #[doc = "`PlayAnim_KeyHelpIdle()` overload"]
224 fn play_anim_key_help_idle(self) -> () {
225 unsafe {
226 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227 ::unity::il2cpp_call!((::unity::module_base()+0x21fc0c0usize)as*mut u8,();
228(TalkLogUI_Window)__receiver)
229 }
230 }
231 #[doc = "`PlayAnim_KeyHelpPlayingVoice()` overload"]
232 fn play_anim_key_help_playing_voice(self) -> () {
233 unsafe {
234 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235 ::unity::il2cpp_call!((::unity::module_base()+0x21fbf80usize)as*mut u8,();
236(TalkLogUI_Window)__receiver)
237 }
238 }
239 #[doc = "`IsPlayingMoveAnimation()` overload"]
240 fn is_playing_move_animation(self) -> bool {
241 unsafe {
242 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243 ::unity::il2cpp_call!((::unity::module_base()+0x21fc010usize)as*mut u8,bool;
244(TalkLogUI_Window)__receiver)
245 }
246 }
247 #[doc = "`PlayUpAnim(bool)` overload"]
248 fn play_up_anim(self, is_move_fast: impl ::core::convert::Into<bool>) -> () {
249 unsafe {
250 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251 ::unity::il2cpp_call!((::unity::module_base()+0x21fc2e0usize)as*mut u8,();
252(TalkLogUI_Window)__receiver,(bool)::core::convert::Into::into(is_move_fast))
253 }
254 }
255 #[doc = "`PlayDownAnim(bool)` overload"]
256 fn play_down_anim(self, is_move_fast: impl ::core::convert::Into<bool>) -> () {
257 unsafe {
258 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x21fc370usize)as*mut u8,();
260(TalkLogUI_Window)__receiver,(bool)::core::convert::Into::into(is_move_fast))
261 }
262 }
263 #[doc = "`GetWindowUpDownAnimDurationMsec()` overload"]
264 fn get_window_up_down_anim_duration_msec(self) -> f32 {
265 unsafe {
266 let __receiver = <TalkLogUI_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267 ::unity::il2cpp_call!((::unity::module_base()+0x21fc400usize)as*mut u8,f32;
268(TalkLogUI_Window)__receiver)
269 }
270 }
271}
272
273#[cfg(feature = "app-talk3_d-talklogui")]
274impl<__T: ITalkLogUI_Window> ITalkLogUI_WindowMethods for __T {}
275
276#[cfg(feature = "app-talk3_d-talklogui")]
277impl TalkLogUI_Window {
278 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
280 }
281
282 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
284 }
285
286 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
287 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
288 }
289
290 pub fn is_selected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
292 }
293
294 pub fn get_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
296 }
297
298 pub fn set_talker_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
300 }
301
302 pub fn set_body_mess_method_info() -> &'static ::unity::il2cpp::MethodInfo {
303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
304 }
305
306 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
308 }
309
310 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
312 }
313
314 pub fn show_key_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
315 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
316 }
317
318 pub fn hide_key_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
320 }
321
322 pub fn play_anim_key_help_idle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
323 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
324 }
325
326 pub fn play_anim_key_help_playing_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
327 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
328 }
329
330 pub fn is_playing_move_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
331 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
332 }
333
334 pub fn play_up_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
335 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
336 }
337
338 pub fn play_down_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
340 }
341
342 pub fn get_window_up_down_anim_duration_msec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
344 }
345}
346
347#[cfg(feature = "app-talk3_d-talklogui")]
348impl TalkLogUI_Window {
349 #[doc = "`.ctor(i32, crate::unity_engine::gameobject::GameObject)` — overload selector"]
350 pub fn new(index: i32, root_object: crate::unity_engine::gameobject::GameObject) -> Self {
351 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
352 panic!(
353 "{}
354::{}
355 failed to instantiate",
356 ::core::stringify!(TalkLogUI_Window),
357 ::core::stringify!(new),
358 )
359 });
360 <Self as ITalkLogUI_WindowMethods>::ctor(this, index, root_object);
361 this
362 }
363}
364
365#[cfg(feature = "app-talk3_d-talklogui")]
366pub trait ITalkLogUI_CursorMethods: ITalkLogUI_Cursor {
367 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
368 fn ctor(self, root_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
369 unsafe {
370 let __receiver = <TalkLogUI_Cursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
371 ::unity::il2cpp_call!((::unity::module_base()+0x21fb1a0usize)as*mut u8,();
372(TalkLogUI_Cursor)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root_object))
373 }
374 }
375 #[doc = "`Update()` overload"]
376 fn update(self) -> () {
377 unsafe {
378 let __receiver = <TalkLogUI_Cursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379 ::unity::il2cpp_call!((::unity::module_base()+0x21fb380usize)as*mut u8,();
380(TalkLogUI_Cursor)__receiver)
381 }
382 }
383 #[doc = "`MovePosition(crate::app::talk3_d::talklogui::TalkLogUI_Window, f32)` overload"]
384 fn move_position(
385 self,
386 win: impl ::core::convert::Into<crate::app::talk3_d::talklogui::TalkLogUI_Window>,
387 msec: impl ::core::convert::Into<f32>,
388 ) -> () {
389 unsafe {
390 let __receiver = <TalkLogUI_Cursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
391 ::unity::il2cpp_call!((::unity::module_base()+0x21fb4a0usize)as*mut u8,();
392(TalkLogUI_Cursor)__receiver,(crate::app::talk3_d::talklogui::TalkLogUI_Window)::core::convert::Into::into(win),(f32)::core::convert::Into::into(msec))
393 }
394 }
395}
396
397#[cfg(feature = "app-talk3_d-talklogui")]
398impl<__T: ITalkLogUI_Cursor> ITalkLogUI_CursorMethods for __T {}
399
400#[cfg(feature = "app-talk3_d-talklogui")]
401impl TalkLogUI_Cursor {
402 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
404 }
405
406 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
408 }
409
410 pub fn move_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
412 }
413}
414
415#[cfg(feature = "app-talk3_d-talklogui")]
416impl TalkLogUI_Cursor {
417 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
418 pub fn new(root_object: crate::unity_engine::gameobject::GameObject) -> Self {
419 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
420 panic!(
421 "{}
422::{}
423 failed to instantiate",
424 ::core::stringify!(TalkLogUI_Cursor),
425 ::core::stringify!(new),
426 )
427 });
428 <Self as ITalkLogUI_CursorMethods>::ctor(this, root_object);
429 this
430 }
431}
432
433#[cfg(feature = "app-talk3_d-talklogui")]
434pub trait ITalkLogUI_ScrollBarMethods: ITalkLogUI_ScrollBar {
435 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, i32)` overload"]
436 fn ctor(
437 self,
438 root_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
439 item_max: impl ::core::convert::Into<i32>,
440 ) -> () {
441 unsafe {
442 let __receiver = <TalkLogUI_ScrollBar as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
443 ::unity::il2cpp_call!((::unity::module_base()+0x21fb580usize)as*mut u8,();
444(TalkLogUI_ScrollBar)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root_object),(i32)::core::convert::Into::into(item_max))
445 }
446 }
447 #[doc = "`Update()` overload"]
448 fn update(self) -> () {
449 unsafe {
450 let __receiver = <TalkLogUI_ScrollBar as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
451 ::unity::il2cpp_call!((::unity::module_base()+0x21fb720usize)as*mut u8,();
452(TalkLogUI_ScrollBar)__receiver)
453 }
454 }
455 #[doc = "`MoveSlideHandlePos(f32, f32, f32)` overload"]
456 fn move_slide_handle_pos(
457 self,
458 scroll_index: impl ::core::convert::Into<f32>,
459 log_num: impl ::core::convert::Into<f32>,
460 msec: impl ::core::convert::Into<f32>,
461 ) -> () {
462 unsafe {
463 let __receiver = <TalkLogUI_ScrollBar as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x21fb7e0usize)as*mut u8,();
465(TalkLogUI_ScrollBar)__receiver,(f32)::core::convert::Into::into(scroll_index),(f32)::core::convert::Into::into(log_num),(f32)::core::convert::Into::into(msec))
466 }
467 }
468 #[doc = "`SetSlideHandleSize(f32)` overload"]
469 fn set_slide_handle_size(self, log_num: impl ::core::convert::Into<f32>) -> () {
470 unsafe {
471 let __receiver = <TalkLogUI_ScrollBar as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
472 ::unity::il2cpp_call!((::unity::module_base()+0x21fb870usize)as*mut u8,();
473(TalkLogUI_ScrollBar)__receiver,(f32)::core::convert::Into::into(log_num))
474 }
475 }
476 #[doc = "`Show()` overload"]
477 fn show(self) -> () {
478 unsafe {
479 let __receiver = <TalkLogUI_ScrollBar as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
480 ::unity::il2cpp_call!((::unity::module_base()+0x21fb8a0usize)as*mut u8,();
481(TalkLogUI_ScrollBar)__receiver)
482 }
483 }
484 #[doc = "`Hide()` overload"]
485 fn hide(self) -> () {
486 unsafe {
487 let __receiver = <TalkLogUI_ScrollBar as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
488 ::unity::il2cpp_call!((::unity::module_base()+0x21fb8e0usize)as*mut u8,();
489(TalkLogUI_ScrollBar)__receiver)
490 }
491 }
492}
493
494#[cfg(feature = "app-talk3_d-talklogui")]
495impl<__T: ITalkLogUI_ScrollBar> ITalkLogUI_ScrollBarMethods for __T {}
496
497#[cfg(feature = "app-talk3_d-talklogui")]
498impl TalkLogUI_ScrollBar {
499 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
501 }
502
503 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
505 }
506
507 pub fn move_slide_handle_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
509 }
510
511 pub fn set_slide_handle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
513 }
514
515 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
517 }
518
519 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
521 }
522}
523
524#[cfg(feature = "app-talk3_d-talklogui")]
525impl TalkLogUI_ScrollBar {
526 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, i32)` — overload selector"]
527 pub fn new(root_object: crate::unity_engine::gameobject::GameObject, item_max: i32) -> Self {
528 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
529 panic!(
530 "{}
531::{}
532 failed to instantiate",
533 ::core::stringify!(TalkLogUI_ScrollBar),
534 ::core::stringify!(new),
535 )
536 });
537 <Self as ITalkLogUI_ScrollBarMethods>::ctor(this, root_object, item_max);
538 this
539 }
540}
541
542#[cfg(feature = "app-talk3_d-talklogui")]
543pub trait ITalkLogUIMethods: ITalkLogUI {
544 #[doc = "`.ctor()` overload"]
545 fn ctor(self) -> () {
546 unsafe {
547 let __receiver = <TalkLogUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
548 ::unity::il2cpp_call!((::unity::module_base()+0x20c4530usize)as*mut u8,();
549(TalkLogUI)__receiver)
550 }
551 }
552}
553
554#[cfg(feature = "app-talk3_d-talklogui")]
555impl<__T: ITalkLogUI> ITalkLogUIMethods for __T {}
556
557#[cfg(feature = "app-talk3_d-talklogui")]
558impl TalkLogUI {
559 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
561 }
562}
563
564#[cfg(feature = "app-talk3_d-talklogui")]
565impl TalkLogUI {
566 #[doc = "`.ctor()` — no args"]
567 pub fn new() -> Self {
568 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
569 panic!(
570 "{}
571::{}
572 failed to instantiate",
573 ::core::stringify!(TalkLogUI),
574 ::core::stringify!(new),
575 )
576 });
577 <Self as ITalkLogUIMethods>::ctor(this);
578 this
579 }
580}
581
582#[cfg(feature = "app-talk3_d-talklogui")]
583#[doc(hidden)]
584pub mod prelude {
585 pub use super::{
586 ITalkLogUI, ITalkLogUIMethods, ITalkLogUI_Cursor, ITalkLogUI_CursorMethods, ITalkLogUI_ScrollBar, ITalkLogUI_ScrollBarMethods,
587 ITalkLogUI_Window, ITalkLogUI_WindowMethods, TalkLogUI, TalkLogUI_Cursor, TalkLogUI_ScrollBar, TalkLogUI_Window,
588 };
589 pub use crate::system::object::IObject;
590 #[cfg(feature = "system-object")]
591 pub use crate::system::object::IObjectMethods;
592}