public void MobileRequestData() { LegionCompanionWrapper.RequestShipmentTypes((int)GarrisonStatus.GarrisonType); LegionCompanionWrapper.RequestShipments((int)GarrisonStatus.GarrisonType); LegionCompanionWrapper.RequestWorldQuestBounties(10); this.RequestWorldQuests(); LegionCompanionWrapper.RequestFollowerEquipment((int)GarrisonStatus.GarrisonFollowerType); LegionCompanionWrapper.RequestFollowerArmamentsExtended((int)GarrisonStatus.GarrisonFollowerType); LegionCompanionWrapper.RequestFollowerActivationData((int)GarrisonStatus.GarrisonType); LegionCompanionWrapper.GetArtifactInfo(); LegionCompanionWrapper.RequestContributionInfo(); LegionCompanionWrapper.RequestAreaPoiInfo(); LegionCompanionWrapper.RequestMaxFollowers((int)GarrisonStatus.GarrisonFollowerType); LegionCompanionWrapper.RequestGarrisonData((int)GarrisonStatus.GarrisonType); LegionCompanionWrapper.RequestAreaPoiInfo(); if (this.GarrisonDataResetFinishedAction != null) { this.GarrisonDataResetFinishedAction(); } }
private void ChangeFollowerActiveResultHandler(LegionCompanionWrapper.ChangeFollowerActiveResultEvent eventArgs) { if (eventArgs.Result == 0) { PersistentFollowerData.AddOrUpdateFollower(eventArgs.Follower); FollowerStatus followerStatus = GeneralHelpers.GetFollowerStatus(eventArgs.Follower); if (followerStatus == FollowerStatus.inactive) { Debug.Log("Follower is now inactive. " + eventArgs.ActivationsRemaining + " activations remain for the day."); } else { Debug.Log("Follower is now active. " + eventArgs.ActivationsRemaining + " activations remain for the day."); } if (this.FollowerDataChangedAction != null) { this.FollowerDataChangedAction(); } LegionCompanionWrapper.RequestFollowerActivationData((int)GarrisonStatus.GarrisonType); } }