IAICommunicationHandler

C++
struct IAICommunicationHandler {
  enum ECommunicationHandlerEvent {
    SoundStarted = 0,
    SoundFinished,
    SoundCancelled,
    SoundFailed,
    VoiceStarted,
    VoiceFinished,
    VoiceCancelled,
    VoiceFailed,
    ActionStarted,
    ActionCancelled,
    ActionFailed,
    SignalStarted,
    SignalFinished,
    SignalCancelled,
    SignalFailed
  };
  enum EAnimationMethod {
    AnimationMethodSignal = 0,
    AnimationMethodAction
  };
  struct IEventListener {
  };
};
File

IAgent.h

IAICommunicationHandler::EAnimationMethod Enumeration
C++
enum EAnimationMethod {
  AnimationMethodSignal = 0,
  AnimationMethodAction
};
File

IAgent.h

IAICommunicationHandler::ECommunicationHandlerEvent Enumeration
C++
enum ECommunicationHandlerEvent {
  SoundStarted = 0,
  SoundFinished,
  SoundCancelled,
  SoundFailed,
  VoiceStarted,
  VoiceFinished,
  VoiceCancelled,
  VoiceFailed,
  ActionStarted,
  ActionCancelled,
  ActionFailed,
  SignalStarted,
  SignalFinished,
  SignalCancelled,
  SignalFailed
};
File

IAgent.h

IAICommunicationHandler::IEventListener Structure
C++
struct IEventListener {
};
File

IAgent.h

IAICommunicationHandler::IEventListener::~IEventListener Destructor
C++
virtual ~IEventListener();
IAICommunicationHandler::IEventListener::OnCommunicationHandlerEvent Method
C++
virtual void OnCommunicationHandlerEvent(ECommunicationHandlerEvent type, CommPlayID playID, EntityId actorID) = 0;
IAICommunicationHandler::~IAICommunicationHandler Destructor
C++
IAICommunicationHandler::IsInAGState Method
C++
virtual bool IsInAGState(const char* name) = 0;
IAICommunicationHandler::IsPlayingAnimation Method
C++
virtual bool IsPlayingAnimation() const = 0;
IAICommunicationHandler::IsPlayingSound Method
C++
virtual bool IsPlayingSound() const = 0;
IAICommunicationHandler::PlayAnimation Method
C++
virtual void PlayAnimation(CommPlayID playID, const char* name, EAnimationMethod method, IEventListener* listener = 0) = 0;
IAICommunicationHandler::ResetAnimationState Method
C++
virtual void ResetAnimationState() = 0;
IAICommunicationHandler::SendDialogueRequest Method
C++
virtual void SendDialogueRequest(CommPlayID playID, const char* name, IEventListener* listener = 0) = 0;
Description

virtual tSoundID PlayVoice(CommPlayID playID, const char* name, IEventListener* listener = 0) = 0; virtual void StopVoice(tSoundID soundID) = 0;

IAICommunicationHandler::StopAnimation Method
C++
virtual void StopAnimation(CommPlayID playID, const char* name, EAnimationMethod method) = 0;