Navigation
API > API/Runtime > API/Runtime/uLangCore
Registration portion of an TEvent<>. Split out as a standalone class, so systems can expose direct registration functionality without exposing execution rights, like so: class CMySystem
{
public:
using CMyEvent = TEvent
| Name | TEventRegistrar |
| Type | class |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Misc/Event.h |
| Include Path | #include "uLang/Common/Misc/Event.h" |
Syntax
template<typename... ParamTypes>
class TEventRegistrar
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TEventRegistrar() |
uLang/Common/Misc/Event.h |
Structs
| Name | Remarks |
|---|---|
| SRegisteredListener |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FunctionType | uLang::TFunction< void(ParamTypes...)> | uLang/Common/Misc/Event.h | |
| SubscriberId | EventSubscriberId | uLang/Common/Misc/Event.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsBound() |
uLang/Common/Misc/Event.h | ||
int32_t Num() |
uLang/Common/Misc/Event.h | ||
void Reset() |
uLang/Common/Misc/Event.h | ||
SubscriberId Subscribe
(
FunctorType&& InFunc |
uLang/Common/Misc/Event.h | ||
SubscriberId Subscribe
(
const FunctionType& Listener |
uLang/Common/Misc/Event.h | ||
bool Unsubscribe
(
const SubscriberId ListenerId |
uLang/Common/Misc/Event.h |