protected PluginManager( ) { _instance = this; Plugins = new Dictionary<Guid, IPlugin>( ); PluginStates = new Dictionary<Guid, bool>( ); _pluginAssemblies = new Dictionary<Guid, Assembly>( ); Initialized = false; _lastUpdate = DateTime.Now; _lastUpdateTime = DateTime.Now - _lastUpdate; _averageUpdateInterval = 0; _averageUpdateTime = 0; _lastAverageOutput = DateTime.Now; _averageEvents = 0; _lastConnectedPlayerList = new List<ulong>( ); _pluginPaths = new Dictionary<Guid, string>( ); ApplicationLog.BaseLog.Info( "Finished loading PluginManager" ); }
protected PluginManager( ) { m_instance = this; Plugins = new Dictionary<Guid, Object>( ); PluginStates = new Dictionary<Guid, bool>( ); m_pluginAssemblies = new Dictionary<Guid, Assembly>( ); Initialized = false; m_lastUpdate = DateTime.Now; m_lastUpdateTime = DateTime.Now - m_lastUpdate; m_averageUpdateInterval = 0; m_averageUpdateTime = 0; m_lastAverageOutput = DateTime.Now; m_averageEvents = 0; m_lastConnectedPlayerList = new List<ulong>( ); m_pluginPaths = new Dictionary<Guid, string>( ); SetupWcfService( ); Console.WriteLine( "Finished loading PluginManager" ); }
private bool SetupManagers() { m_serverWrapper = ServerAssemblyWrapper.Instance; m_pluginManager = PluginManager.Instance; m_gameAssemblyWrapper = SandboxGameAssemblyWrapper.Instance; m_factionsManager = FactionsManager.Instance; m_logManager = LogManager.Instance; m_entityEventManager = EntityEventManager.Instance; m_chatManager = ChatManager.Instance; return true; }
private bool SetupManagers( ) { _dedicatedServerWrapper = DedicatedServerAssemblyWrapper.Instance; _pluginManager = PluginManager.Instance; _factionsManager = FactionsManager.Instance; _entityEventManager = EntityEventManager.Instance; _chatManager = ChatManager.Instance; _sessionManager = SessionManager.Instance; return true; }