Ejemplo n.º 1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposedValue)
            {
                if (disposing)
                {
                    Character.Dispose();
                    Fight.Dispose();
                    Gather.Dispose();
                    Inventory.Dispose();
                    Jobs.Dispose();
                    Map.Dispose();
                    Npc.Dispose();
                    Mount.Dispose();
                    Storage.Dispose();
                    Exchange.Dispose();
                    Bid.Dispose();
                }

                Character = null;
                Fight     = null;
                Gather    = null;
                Inventory = null;
                Jobs      = null;
                Map       = null;
                Npc       = null;
                Mount     = null;
                Storage   = null;
                Exchange  = null;
                Bid       = null;

                _disposedValue = true;
            }
        }