Download

Where is defined VoiceInterface.h in the ShooterGameHud.h from the example project?

Hi,

I’m copying and studying the ShooterGame example project and there are several classes that I can’t find included or forward declared.
For example, in my version of ShooterGameHUD.h



FOnPlayerTalkingStateChangedDelegate OnPlayerTalkingStateChangedDelegate;

I’ve got the errors:


error C3646: 'OnPlayerTalkingStateChangedDelegate': unknown override specifier
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

including “VoiceInterface.h” solves the problem on my end but I would like to know how the original example does it without that include on the file.

Can anyone help?