CommandInteractionClassInterface Class Reference

#include <commandbase.h>

Inheritance diagram for CommandInteractionClassInterface:

Detailed Description

Implements the command interactivity. Optional.

Public Member Functions

MAXON_METHOD Result< COMMANDRESULTInteract (CommandDataRef &data, INTERACTIONTYPE interactionType) const
 

Private Member Functions

 MAXON_INTERFACE (CommandInteractionClassInterface, MAXON_REFERENCE_CONST, "net.maxon.command.interface.commandinteraction")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( CommandInteractionClassInterface  ,
MAXON_REFERENCE_CONST  ,
"net.maxon.command.interface.commandinteraction"   
)
private

◆ Interact()

MAXON_METHOD Result<COMMANDRESULT> Interact ( CommandDataRef &  data,
INTERACTIONTYPE  interactionType 
) const

Executes the command interaction.

Parameters
[in,out]dataThe command data.
[in]interactionTypeThe interaction type.
Returns
The command result or an error.