engage/generated/unity_engine/timeline/
hashutility.rs1#[cfg(feature = "unity_engine-timeline-hashutility-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/unity_engine/timeline/hashutility/HashUtility.md"))]
11 #[::unity::class(namespace = "UnityEngine.Timeline", name = "HashUtility")]
12 #[parent(crate::system::object::Object)]
13 pub struct HashUtility {}
14}
15
16#[cfg(feature = "unity_engine-timeline-hashutility-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-timeline-hashutility")]
20impl HashUtility {
21 #[doc = "`CombineHash(i32, i32)` overload"]
22 pub fn combine_hash(h1: impl ::core::convert::Into<i32>, h2: impl ::core::convert::Into<i32>) -> i32 {
23 unsafe {
24 ::unity::il2cpp_call!((::unity::module_base()+0x35d2350usize)as*mut u8,i32;
25(i32)::core::convert::Into::into(h1),(i32)::core::convert::Into::into(h2))
26 }
27 }
28
29 #[doc = "`CombineHash(i32, i32, i32)` overload"]
30 pub fn combine_hash_2(h1: impl ::core::convert::Into<i32>, h2: impl ::core::convert::Into<i32>, h3: impl ::core::convert::Into<i32>) -> i32 {
31 unsafe {
32 ::unity::il2cpp_call!((::unity::module_base()+0x35d6d70usize)as*mut u8,i32;
33(i32)::core::convert::Into::into(h1),(i32)::core::convert::Into::into(h2),(i32)::core::convert::Into::into(h3))
34 }
35 }
36
37 #[doc = "`CombineHash(i32, i32, i32, i32)` overload"]
38 pub fn combine_hash_3(
39 h1: impl ::core::convert::Into<i32>,
40 h2: impl ::core::convert::Into<i32>,
41 h3: impl ::core::convert::Into<i32>,
42 h4: impl ::core::convert::Into<i32>,
43 ) -> i32 {
44 unsafe {
45 ::unity::il2cpp_call!((::unity::module_base()+0x35d6da0usize)as*mut u8,i32;
46(i32)::core::convert::Into::into(h1),(i32)::core::convert::Into::into(h2),(i32)::core::convert::Into::into(h3),(i32)::core::convert::Into::into(h4))
47 }
48 }
49
50 #[doc = "`CombineHash(i32, i32, i32, i32, i32)` overload"]
51 pub fn combine_hash_4(
52 h1: impl ::core::convert::Into<i32>,
53 h2: impl ::core::convert::Into<i32>,
54 h3: impl ::core::convert::Into<i32>,
55 h4: impl ::core::convert::Into<i32>,
56 h5: impl ::core::convert::Into<i32>,
57 ) -> i32 {
58 unsafe {
59 ::unity::il2cpp_call!((::unity::module_base()+0x35d6de0usize)as*mut u8,i32;
60(i32)::core::convert::Into::into(h1),(i32)::core::convert::Into::into(h2),(i32)::core::convert::Into::into(h3),(i32)::core::convert::Into::into(h4),(i32)::core::convert::Into::into(h5))
61 }
62 }
63
64 #[doc = "`CombineHash(i32, i32, i32, i32, i32, i32)` overload"]
65 pub fn combine_hash_5(
66 h1: impl ::core::convert::Into<i32>,
67 h2: impl ::core::convert::Into<i32>,
68 h3: impl ::core::convert::Into<i32>,
69 h4: impl ::core::convert::Into<i32>,
70 h5: impl ::core::convert::Into<i32>,
71 h6: impl ::core::convert::Into<i32>,
72 ) -> i32 {
73 unsafe {
74 ::unity::il2cpp_call!((::unity::module_base()+0x35d6e30usize)as*mut u8,i32;
75(i32)::core::convert::Into::into(h1),(i32)::core::convert::Into::into(h2),(i32)::core::convert::Into::into(h3),(i32)::core::convert::Into::into(h4),(i32)::core::convert::Into::into(h5),(i32)::core::convert::Into::into(h6))
76 }
77 }
78}
79
80#[cfg(feature = "unity_engine-timeline-hashutility")]
81impl HashUtility {
82 pub fn combine_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
83 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
84 }
85
86 pub fn combine_hash_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
87 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
88 }
89
90 pub fn combine_hash_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
92 }
93
94 pub fn combine_hash_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
96 }
97
98 pub fn combine_hash_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
99 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
100 }
101}
102
103#[cfg(feature = "unity_engine-timeline-hashutility")]
104#[doc(hidden)]
105pub mod prelude {
106 pub use super::{HashUtility, IHashUtility};
107 pub use crate::system::object::IObject;
108 #[cfg(feature = "system-object")]
109 pub use crate::system::object::IObjectMethods;
110}