예제 #1
0
 public override void LoadData()
 {
     if (!IsLoaded)
     {
         IsLoaded = true;
         var tempData = DataContainer.Load <ProfileData>();
         if (tempData != null)
         {
             CachedProfileData = tempData;
         }
     }
 }
예제 #2
0
        public override void LoadData()
        {
            if (!IsLoaded)
            {
                IsLoaded = true;
                var tempData = DataContainer.Load <CurrenciesData>();
                if (tempData != null)
                {
                    CurrenciesData = tempData;
                }

                TryAddDefaultCurrencies();
            }
        }
예제 #3
0
        public override void LoadData()
        {
            if (IsLoaded)
            {
                return;
            }

            IsLoaded = true;
            var tempData = DataContainer.Load <OptionData>();

            if (tempData != null)
            {
                CachedOptionData = tempData;
            }
        }
예제 #4
0
        public override void LoadData()
        {
            if (!IsLoaded)
            {
                IsLoaded = true;
                var tempData = DataContainer.Load <ContainerData>();
                if (tempData != null)
                {
                    ContainerData = tempData;
                }
                _container.InitializeContainer();
                TryInitSave();


                _container.Items = ContainerData.Items;
            }
        }