Skip to main content

engage/generated/system/io/
searchresult.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-io-searchresult-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/system/io/searchresult/SearchResult.md"))]
11    #[::unity::class(namespace = "System.IO", name = "SearchResult")]
12    #[parent(crate::system::object::Object)]
13    pub struct SearchResult {
14        #[offset(16)]
15        #[rename(name = "fullPath")]
16        pub full_path: ::unity::Il2CppString,
17        #[offset(24)]
18        #[rename(name = "userPath")]
19        pub user_path: ::unity::Il2CppString,
20    }
21}
22
23#[cfg(feature = "system-io-searchresult-types")]
24pub use __types::*;
25
26#[cfg(feature = "system-io-searchresult")]
27pub trait ISearchResultMethods: ISearchResult {
28    #[doc = "`get_UserPath()` overload"]
29    fn get_user_path(self) -> ::unity::Il2CppString {
30        unsafe {
31            let __receiver = <SearchResult as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32            ::unity::il2cpp_call!((::unity::module_base()+0x3500ab0usize)as*mut u8, ::unity::Il2CppString;
33(SearchResult)__receiver)
34        }
35    }
36}
37
38#[cfg(feature = "system-io-searchresult")]
39impl<__T: ISearchResult> ISearchResultMethods for __T {}
40
41#[cfg(feature = "system-io-searchresult")]
42impl SearchResult {
43    pub fn get_user_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
44        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
45    }
46}
47
48#[cfg(feature = "system-io-searchresult")]
49#[doc(hidden)]
50pub mod prelude {
51    pub use super::{ISearchResult, ISearchResultMethods, SearchResult};
52    pub use crate::system::object::IObject;
53    #[cfg(feature = "system-object")]
54    pub use crate::system::object::IObjectMethods;
55}