public D3D11Hook(ServerInterface server) { try { var serverProxy = new ServerInterfaceProxy(); _server = server; _server.OnModelsReloaded += serverProxy.ReloadModels; serverProxy.OnModelsReloaded += OnModelsReloaded; } catch (Exception e) { _server.Message(e.ToString()); throw; } }
//[DebuggerStepThrough] private static void InitializePropxy <T>(string controllerName, ServerInterfaceProxy <T> p, ManagedConnection connection) where T : class { p.InitializeClone(controllerName, connection); }
public PluginMain(ServerInterfaceProxy proxy, params string[] args) { }