Пример #1
0
 private void Minis_NewMiniSelected(object sender, CreatureBoardAssetEventArgs ea)
 {
     Talespire.Log.Debug($"\"{ea.Mini?.GetOnlyCreatureName()}\" selected.");
     if (ea.Mini?.CreatureId.ToString() == OwnerID)
     {
         Talespire.Log.Warning($"MiniGrouper.RefreshIndicators();");
         RefreshIndicators();
     }
 }
Пример #2
0
 public static void OnMiniSelected(CreatureBoardAssetEventArgs ea)
 {
     if (ea.Mini == null)
     {
         Log.Error($"OnMiniSelected - ea.Mini is null!");
     }
     else
     {
         Log.Debug($"OnMiniSelected - {ea.Mini.GetOnlyCreatureName()} selected!");
     }
     MiniSelected?.Invoke(null, ea);
 }