InteractionComponent:UltimateCommandComponent
The component used to store all interactive commands of the Actor
Variable/Function | Explain |
---|---|
Commands | Interactive Command Array |
CommandClasss(Setting) | All interactive commands allowed by this Actor |
GetCommand(int32 CommandID) | Find the corresponding interactive command based on the command ID |
ExecuteCommand(int32 CommandID,ACharacter* Character,APlayerController* PC) | Execute interactive commands,User interaction (whether by clicking or networking), please use UltimateControllerComponent->ServerUseCommand |
QueryCommand(ACharacter* Character, APlayerController* PC) | Query all interactive commands and return the FCommandEntry array for UI use. It is recommended to use the roulette wheel to select interactive commands |
OnInteraction(Delegation) | Attempt interactive notification, called by the UltimateInteractionComponent, typically implemented in the entity blueprint to display/hide interactive prompts |