Skip to content

Instantly share code, notes, and snippets.

@hartbit
Created August 1, 2013 15:39
Show Gist options
  • Save hartbit/6132550 to your computer and use it in GitHub Desktop.
Save hartbit/6132550 to your computer and use it in GitHub Desktop.
// SetCallback calls an instance of the class' SetCallback method
class ASE_PluginBase
{
public:
ASE_PluginBase();
~ASE_PluginBase();
void SetGameObjectName( const char * sName );
void SetMethodName( const char * sName );
void SetCallback( ASE_Callback * cbk );
void SendMessage( int idCallback, const char * sMessage );
private:
ASE_Callback * pCallback;
char sGameObjectName[256];
char sMethodName[256];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment