Subscribing
Single topic with delegate

UDispatchitoSubsystem* subsystem = GEngine->GetEngineSubsystem<UDispatchitoSubsystem>();
TWeakObjectPtr<UMyClass> subscriber = NewObject<UMyClass>();
FDispatchitoDelegate callback;
callback.BindUObject(subscriber.Get(), &UMyClass::CallbackMethod);
FDispatchitoEventBindingHandle handle = subsystem->SubscribeToTopic(eventTopic, callback);All topics with delegate

All topics as an interface implementer

Last updated