Beispiel #1
0
void ShutdownMQ2KeyBinds()
{
    BindList.Cleanup();
    RemoveDetour(KeypressHandler__ClearCommandStateArray);
    RemoveDetour(KeypressHandler__HandleKeyDown);
    RemoveDetour(KeypressHandler__HandleKeyUp);
}
Beispiel #2
0
// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID)
{
    DebugSpewAlways("Shutting down MQ2CustomBinds");
    RemoveCommand("/custombind");
    //SaveCustomBinds();

    for (unsigned long N = 0 ; N < CustomBinds.Size ; N++)
        if (PCUSTOMBIND pBind=CustomBinds[N])
        {
            RemoveMQ2KeyBind(pBind->Name);
        }
        CustomBinds.Cleanup();
        // Remove commands, macro parameters, hooks, etc.
        // RemoveMQ2Benchmark(bmMyBenchmark);
        // RemoveParm("$myparm(x)");
        // RemoveCommand("/mycommand");
        // RemoveXMLFile("MQUI_MyXMLFile.xml");
}
Beispiel #3
0
void ShutdownMQ2Data()
{
	MQ2DataItems.Cleanup();
}