New in version 1.12.0.
The base class that allows you to subscribe to Commands Channel from the Genvid Stack.
Subscribe to all commands defined in this instance.
Unsubscribe to all commands on the instance destruction.
Acts as a superset of the AActor BeginPlay. It’s the first function called when the UGenvidCommands class is created.
Read-only variable for reporting if the commands have been successfully subscribed to.
- virtual void
This class hold the name of the command to subscribe and its delegate.
The name of the command to subscribe.
An Unreal Dynamic Delegate with two parameters:
const FString& commandID: the id of the command.
const FString& fullCommand: the command as a single string.
The delegate is actually declared this way:
DECLARE_DYNAMIC_DELEGATE_TwoParams(FOnGenvidCommand, const FString&, commandID, const FString&, fullCommand))