BNM 2.4.0
 
Loading...
Searching...
No Matches
BNM::MulticastDelegateBase Struct Reference

Wrapper of Il2CppMulticastDelegate. More...

#include <Delegates.hpp>

Public Member Functions

std::vector< MethodBaseGetMethods () const
 Get methods of delegate.
 
void Add (DelegateBase *delegate)
 Add delegate.
 
void Remove (DelegateBase *delegate)
 Remove delegate.
 
void operator+= (DelegateBase *base)
 
void operator-= (DelegateBase *base)
 
template<typename NewRet>
MulticastDelegate< NewRet > & cast () const
 Cast delegate to be able to invoke it.
 

Detailed Description

Wrapper of Il2CppMulticastDelegate.

Member Function Documentation

◆ GetMethods()

std::vector< MethodBase > BNM::MulticastDelegateBase::GetMethods ( ) const
inline

Get methods of delegate.

Returns
Vector of MethodBase if delegate isn't null, otherwise empty vector.