private static void HandleEvent(SnipePokemonUpdateEvent eve, ISession session) { lock (clientData) { clientData.ExpiredPokemons.Add(eve.EncounterId); } }
private static void HandleEvent(SnipePokemonUpdateEvent e, ISession session) { //move to resource later if (e.IsRemoteEvent) Logger.Write($"Expired snipe pokemon has been removed from queue : {e.Data.PokemonId} "); }