Skip to main content

engage/generated/combat/
damagesound.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-damagesound-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/combat/damagesound/DamageSound.md"))]
11    #[::unity::class(namespace = "Combat", name = "DamageSound")]
12    #[parent(crate::system::object::Object)]
13    pub struct DamageSound {}
14}
15
16#[cfg(feature = "combat-damagesound-types")]
17pub use __types::*;
18
19#[cfg(feature = "combat-damagesound")]
20impl DamageSound {
21    #[doc = "`Play(crate::combat::character::Character, crate::combat::character::Character, crate::combat::phase::Phase, crate::unity_engine::animationevent::AnimationEvent)` overload"]
22    pub fn play(
23        attacker: impl ::core::convert::Into<crate::combat::character::Character>,
24        damager: impl ::core::convert::Into<crate::combat::character::Character>,
25        phase: impl ::core::convert::Into<crate::combat::phase::Phase>,
26        ev: impl ::core::convert::Into<crate::unity_engine::animationevent::AnimationEvent>,
27    ) -> () {
28        unsafe {
29            ::unity::il2cpp_call!((::unity::module_base()+0x29f63d0usize)as*mut u8,();
30(crate::combat::character::Character)::core::convert::Into::into(attacker),(crate::combat::character::Character)::core::convert::Into::into(damager),(crate::combat::phase::Phase)::core::convert::Into::into(phase),(crate::unity_engine::animationevent::AnimationEvent)::core::convert::Into::into(ev))
31        }
32    }
33}
34
35#[cfg(feature = "combat-damagesound")]
36impl DamageSound {
37    pub fn play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
38        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
39    }
40}
41
42#[cfg(feature = "combat-damagesound")]
43#[doc(hidden)]
44pub mod prelude {
45    pub use super::{DamageSound, IDamageSound};
46    pub use crate::system::object::IObject;
47    #[cfg(feature = "system-object")]
48    pub use crate::system::object::IObjectMethods;
49}