engage/generated/unity_engine/vfx/
vfxoutputeventargs.rs1#[cfg(feature = "unity_engine-vfx-vfxoutputeventargs-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 valuetype::{IValueType, ValueType},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/vfx/vfxoutputeventargs/VFXOutputEventArgs.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct VFXOutputEventArgs {}
17 impl ::unity::ClassIdentity for VFXOutputEventArgs {
18 const NAME: &'static str = "VFXOutputEventArgs";
19 const NAMESPACE: &'static str = "UnityEngine.VFX";
20
21 fn class() -> ::unity::Class {
22 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
23 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
24 }
25 }
26 impl ::unity::IlType for VFXOutputEventArgs {
27 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
28 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
29 }
30 }
31}
32
33#[cfg(feature = "unity_engine-vfx-vfxoutputeventargs-types")]
34pub use __types::*;
35
36#[cfg(feature = "unity_engine-vfx-vfxoutputeventargs")]
37impl VFXOutputEventArgs {
38 #[doc = "`.ctor(i32, crate::unity_engine::vfx::vfxeventattribute::VFXEventAttribute)` overload"]
39 pub fn ctor(
40 &mut self,
41 name_id: impl ::core::convert::Into<i32>,
42 event_attribute: impl ::core::convert::Into<crate::unity_engine::vfx::vfxeventattribute::VFXEventAttribute>,
43 ) -> () {
44 unsafe {
45 ::unity::il2cpp_call!((::unity::module_base()+0x3f44890usize)as*mut u8,();
46(*mut VFXOutputEventArgs)self as*mut VFXOutputEventArgs,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::vfx::vfxeventattribute::VFXEventAttribute)::core::convert::Into::into(event_attribute))
47 }
48 }
49}
50
51#[cfg(feature = "unity_engine-vfx-vfxoutputeventargs")]
52impl VFXOutputEventArgs {
53 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
54 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
55 }
56}
57
58#[cfg(feature = "unity_engine-vfx-vfxoutputeventargs")]
59#[doc(hidden)]
60pub mod prelude {
61 pub use super::VFXOutputEventArgs;
62 #[cfg(feature = "system-object")]
63 pub use crate::system::object::IObjectMethods;
64 #[cfg(feature = "system-valuetype")]
65 pub use crate::system::valuetype::IValueTypeMethods;
66 pub use crate::system::{object::IObject, valuetype::IValueType};
67}