Skip to main content

engage/generated/system/io/
pathinternal.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-io-pathinternal-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/pathinternal/PathInternal.md"))]
11    #[::unity::class(namespace = "System.IO", name = "PathInternal")]
12    #[parent(crate::system::object::Object)]
13    pub struct PathInternal {}
14}
15
16#[cfg(feature = "system-io-pathinternal-types")]
17pub use __types::*;
18
19#[cfg(feature = "system-io-pathinternal")]
20impl PathInternal {
21    #[doc = "`IsPartiallyQualified(::unity::Il2CppString)` overload"]
22    pub fn is_partially_qualified(path: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
23        unsafe {
24            ::unity::il2cpp_call!((::unity::module_base()+0x376a0e0usize)as*mut u8,bool;
25(::unity::Il2CppString)::core::convert::Into::into(path))
26        }
27    }
28
29    #[doc = "`HasIllegalCharacters(::unity::Il2CppString, bool)` overload"]
30    pub fn has_illegal_characters(
31        path: impl ::core::convert::Into<::unity::Il2CppString>,
32        check_additional: impl ::core::convert::Into<bool>,
33    ) -> bool {
34        unsafe {
35            ::unity::il2cpp_call!((::unity::module_base()+0x3769d90usize)as*mut u8,bool;
36(::unity::Il2CppString)::core::convert::Into::into(path),(bool)::core::convert::Into::into(check_additional))
37        }
38    }
39}
40
41#[cfg(feature = "system-io-pathinternal")]
42impl PathInternal {
43    pub fn is_partially_qualified_method_info() -> &'static ::unity::il2cpp::MethodInfo {
44        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
45    }
46
47    pub fn has_illegal_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
48        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
49    }
50}
51
52#[cfg(feature = "system-io-pathinternal")]
53#[doc(hidden)]
54pub mod prelude {
55    pub use super::{IPathInternal, PathInternal};
56    pub use crate::system::object::IObject;
57    #[cfg(feature = "system-object")]
58    pub use crate::system::object::IObjectMethods;
59}