wServer.realm.World.Delete C# (CSharp) Method

Delete() public method

public Delete ( ) : bool
return bool
        public bool Delete()
        {
            lock (this)
            {
                if (Players.Count > 0) return false;
                Id = 0;
            }
            Map = null;
            Players = null;
            Enemies = null;
            Projectiles = null;
            StaticObjects = null;
            return true;
        }