Skip to main content

IMonoEventMethods

Trait IMonoEventMethods 

Source
pub trait IMonoEventMethods: IMonoEvent {
Show 13 methods // Provided methods fn get_attributes(self) -> EventAttributes { ... } fn get_add_method(self, non_public: impl Into<bool>) -> MethodInfo { ... } fn get_raise_method(self, non_public: impl Into<bool>) -> MethodInfo { ... } fn get_remove_method(self, non_public: impl Into<bool>) -> MethodInfo { ... } fn get_declaring_type(self) -> SystemType { ... } fn get_reflected_type(self) -> SystemType { ... } fn get_name(self) -> Il2CppString { ... } fn to_string(self) -> Il2CppString { ... } fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool { ... } fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object> { ... } fn get_custom_attributes_2( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object> { ... } fn get_custom_attributes_data( self, ) -> IList_1_Interface<CustomAttributeData> { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_attributes(self) -> EventAttributes

get_Attributes() overload

Source

fn get_add_method(self, non_public: impl Into<bool>) -> MethodInfo

GetAddMethod(bool) overload

Source

fn get_raise_method(self, non_public: impl Into<bool>) -> MethodInfo

GetRaiseMethod(bool) overload

Source

fn get_remove_method(self, non_public: impl Into<bool>) -> MethodInfo

GetRemoveMethod(bool) overload

Source

fn get_declaring_type(self) -> SystemType

get_DeclaringType() overload

Source

fn get_reflected_type(self) -> SystemType

get_ReflectedType() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool

IsDefined(::unity::SystemType, bool) overload

Source

fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>

GetCustomAttributes(bool) overload

Source

fn get_custom_attributes_2( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>

GetCustomAttributes(::unity::SystemType, bool) overload

Source

fn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>

GetCustomAttributesData() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMonoEvent> IMonoEventMethods for __T

Available on crate feature system-reflection-monoevent only.