Exemple #1
0
 public static void HandleEvent(CatchLimitUpdate ev, ISession session)
 {
     Logger.Write($"(CATCH LIMIT) {ev.Value}/{ev.Limit}", LogLevel.Info, ConsoleColor.Yellow);
 }
Exemple #2
0
 internal void UpdateCatchLimit(CatchLimitUpdate ev)
 {
     this.CatchLimit = $"{ev.Value}/{ev.Limit}";
     this.RaisePropertyChanged("CatchLimit");
 }
Exemple #3
0
 public void OnBotEvent(CatchLimitUpdate ev)
 {
     this.datacontext.PlayerInfo.UpdateCatchLimit(ev);
 }
 internal void UpdateCatchLimit(CatchLimitUpdate ev)
 {
     CatchLimit = $"{ev.Value}/{ev.Limit}";
     RaisePropertyChanged("CatchLimit");
     UpdateEggs(KmRemaining);
 }