|
| template<typename ... Parameters> |
| Ret | Invoke (Parameters ...parameters) |
| | Invoke delegate.
|
| |
|
template<typename ... Parameters> |
| Ret | operator() (Parameters ...parameters) |
| |
| IL2CPP::Il2CppObject * | GetInstance () const |
| | Get instance of delegate.
|
| |
| BNM::MethodBase | GetMethod () const |
| | Get method of delegate.
|
| |
| DelegateBase * | Create (BNM::MethodBase method) |
| | Create delegate from method.
|
| |
|
bool | IsValid () const noexcept |
| | Check if delegate is valid.
|
| |
|
| operator bool () const noexcept |
| | Check if delegate is valid.
|
| |
|
template<typename NewRet> |
| Delegate< NewRet > & | cast () const |
| | Cast delegate to be able to invoke it.
|
| |
template<typename Ret>
struct BNM::Delegate< Ret >
Typed wrapper of Il2CppDelegate.
- Template Parameters
-