private void FollowerArmamentsExtendedResultHandler(LegionCompanionWrapper.FollowerArmamentsExtendedResultEvent eventArgs)
 {
     PersistentArmamentData.ClearData();
     for (int i = 0; i < eventArgs.Armaments.Count; i++)
     {
         PersistentArmamentData.AddOrUpdateArmament(eventArgs.Armaments[i]);
     }
     if (this.ArmamentInventoryChangedAction != null)
     {
         this.ArmamentInventoryChangedAction();
     }
 }
Exemple #2
0
 public void MobileLoggedIn()
 {
     PersistentArmamentData.ClearData();
     PersistentBountyData.ClearData();
     PersistentEquipmentData.ClearData();
     PersistentFollowerData.ClearData();
     PersistentFollowerData.ClearPreMissionFollowerData();
     PersistentMissionData.ClearData();
     PersistentShipmentData.ClearData();
     PersistentTalentData.ClearData();
     MissionDataCache.ClearData();
     WorldQuestData.ClearData();
     ItemStatCache.instance.ClearItemStats();
     GarrisonStatus.Initialized = false;
     MobileClient.SetCommunityID(Singleton <CharacterData> .Instance.CommunityID);
     MobileClient.Initialize();
     Singleton <GarrisonWrapper> .Instance.MobileRequestData();
 }