Created
August 27, 2018 13:37
-
-
Save iFlake/3cccc53709330ebc08ada8fb020a62a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static sealed class MyTestApp { | |
private static PluginFunctions _pluginFunctions; | |
[Fleka.DotnetVcmp.Interop.EntryPoint] | |
void MyEntryPoint(PluginFunctions pluginFunctions, ref PluginCallbacks pluginCallbacks) { | |
_pluginFunctions = pluginFunctions; | |
pluginCallbacks.OnServerInitialize = OnServerInitialize; | |
} | |
byte OnServerInitialize() { | |
_pluginFunctions.LogMessage("Hello world"); | |
return 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment