コード例 #1
0
        public static void Stop()
        {
            foreach (Level op in ResourcesManager.GetOnlinePlayers())
            {
                ResourcesManager.DropClient(op.GetClient().GetSocketHandle());
            }

            m_vDatabase     = new DatabaseManager();
            NpcLevels       = new Dictionary <int, string>();
            DataTables      = new DataTables();
            m_vAlliances    = new Dictionary <long, Alliance>();
            m_vHomeDefault  = "";
            m_vAvatarSeed   = 0;
            m_vAllianceSeed = 0;
            _Logger.Print("     Object Manager unloaded successfully", Types.INFO);
        }