Help File:PluginVersion

From Cheat Engine
Jump to navigation Jump to search

The PluginVersion lets you specify for which plugin version the dll was developed and what the name of that plugin is.


   typedef struct _PluginVersion
   {
       unsigned int version;
       char *pluginname;
   } PluginVersion, *PPluginVersion;


Members

version

Set this to the plugin version this dll is expecting. Cheat Engine will then try to provide your plugin with a compatible pointer/functionlists on initializePlugin.

pluginname

Set this to a 0-terminated string containing the name of the plugin shown to the user in the plugin menu in settings. Make sure this string is NOT stored on the stack as this pointer can be used at random times after return of the GetVersion function call.