public void Initialize(IPluginHostAPI hostModuleAPI)
        {
            var handler = new C2SHandler(hostModuleAPI);

            hostModuleAPI.Hook(handler);
            Log.Debug("plugin is initialized");
        }
Beispiel #2
0
 public void Initialize(IPluginHostAPI pluginHost)
 {
     pluginHost.Hook(new ChatMessageRouterC2SHandler(pluginHost));
 }