Wrapper of Il2CppMulticastDelegate. More...
#include <Delegates.hpp>
Public Member Functions | |
| std::vector< BNM::MethodBase > | GetMethods () const |
| Get methods of delegate. | |
| void | Add (DelegateBase *delegate) |
| Add delegate. | |
| DelegateBase * | Add (BNM::MethodBase method) |
| Add method to delegate. | |
| void | Remove (DelegateBase *delegate) |
| Remove delegate. | |
| void | operator+= (DelegateBase *delegate) |
| void | operator+= (BNM::MethodBase method) |
| void | operator-= (DelegateBase *delegate) |
| template<typename NewRet> | |
| MulticastDelegate< NewRet > & | cast () const |
| Cast delegate to be able to invoke it. | |
Wrapper of Il2CppMulticastDelegate.
| DelegateBase * BNM::MulticastDelegateBase::Add | ( | BNM::MethodBase | method | ) |
| void BNM::MulticastDelegateBase::Add | ( | DelegateBase * | delegate | ) |
Add delegate.
| delegate | Delegate to add |
| std::vector< BNM::MethodBase > BNM::MulticastDelegateBase::GetMethods | ( | ) | const |
Get methods of delegate.
| void BNM::MulticastDelegateBase::Remove | ( | DelegateBase * | delegate | ) |
Remove delegate.
| delegate | Delegate to remove |