//TODO - move to string translation later. private static void HandleEvent(GymDeployEvent ev, ISession session) { var GXP = session.RuntimeStatistics.TotalExperience; var GSD = session.Inventory.GetStarDust(); Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.Name} GYM. | XP: {GXP} | SD: {GSD}", LogLevel.Gym, ConsoleColor.Green); }
//TODO - move to string translation later. private static void HandleEvent(GymDeployEvent ev, ISession session) { Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.GymGetInfo.Name} GYM. | Free Spots: {6 - ev.GymGetInfo.GymStatusAndDefenders.GymDefender.Count()}", LogLevel.Gym, ConsoleColor.Green); if (session.LogicSettings.NotificationConfig.EnablePushBulletNotification) { PushNotificationClient.SendNotification(session, $"Gym Post", $"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.GymGetInfo.Name} GYM.\nFree Spots: {6 - ev.GymGetInfo.GymStatusAndDefenders.GymDefender.Count()}", true).ConfigureAwait(false); } }
//TODO - move to string translation later. private static void HandleEvent(GymDeployEvent ev, ISession session) { var GXP = session.RuntimeStatistics.TotalExperience; var GSD = session.Inventory.GetStarDust(); Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.Name} GYM. | XP: {GXP} | SD: {GSD}", LogLevel.Gym, ConsoleColor.Green); if (session.LogicSettings.NotificationConfig.EnablePushBulletNotification == true) PushNotificationClient.SendNotification(session, $"Gym Post", $"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.Name} GYM.\nXP: {GXP}\nSD: {GSD}", true).ConfigureAwait(false); }
//TODO - move to string translation later. private static void HandleEvent(GymDeployEvent ev, ISession session) { var Info = new GymDetailInfoEvent(); Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.Name} GYM. | Gym Points: {UseGymBattleTask.GetGymLevel(Info.Point)}", LogLevel.Gym, ConsoleColor.Green); if (session.LogicSettings.NotificationConfig.EnablePushBulletNotification == true) { PushNotificationClient.SendNotification(session, $"Gym Post", $"Great!!! Your {ev.PokemonId.ToString()} is now defending {ev.Name} GYM.\nGym Points: {UseGymBattleTask.GetGymLevel(Info.Point)}", true).ConfigureAwait(false); } }
//TODO - move to string translation later. private static void HandleEvent(GymDeployEvent ev, ISession session) { Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} now is defending for GYM {ev.Name}", LogLevel.Gym, ConsoleColor.Green); }