Ejemplo n.º 1
0
        private static SavedTargets GetCurrentTargets()
        {
            SavedTargets currentTargets = new SavedTargets();

            currentTargets.TargetedCreatures = GetTargets().Select(x => x.taleSpireId).ToList();
            return(currentTargets);
        }
Ejemplo n.º 2
0
 private static void LoadTargets(SavedTargets targets)
 {
     TaleSpireClient.CleanUpTargets();
     TaleSpireClient.RemoveTargetingUI();
     TargetCreaturesByTaleSpireId(targets);
     CreatureManager.UpdateInGameStats();
     foreach (string taleSpireId in targets.TargetedCreatures)
     {
         TaleSpireClient.SetTargeted(taleSpireId, true);
     }
 }
Ejemplo n.º 3
0
 static void TargetCreaturesByTaleSpireId(SavedTargets savedTargets)
 {
     TargetCreaturesByTaleSpireId(savedTargets.TargetedCreatures);
 }