Skip to content

Instantly share code, notes, and snippets.

@iFlake
Last active August 27, 2018 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iFlake/4900642e17003a51994b19f4691fdbcc to your computer and use it in GitHub Desktop.
Save iFlake/4900642e17003a51994b19f4691fdbcc to your computer and use it in GitHub Desktop.
public static class MyTestApp {
private static Fleka.DotnetVcmp.Interop.PluginFunctions _pluginFunctions;
[Fleka.DotnetVcmp.Interop.EntryPoint]
public static void MyEntryPoint(Fleka.DotnetVcmp.Interop.PluginFunctions pluginFunctions, ref Fleka.DotnetVcmp.Interop.PluginCallbacks pluginCallbacks) {
_pluginFunctions = pluginFunctions;
pluginCallbacks.OnServerInitialize = OnServerInitialize;
}
internal static byte OnServerInitialize() {
_pluginFunctions.LogMessage("%s", "Hello world");
return 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment