Esempio n. 1
0
 private static void HandleEvent(SnipePokemonUpdateEvent eve, ISession session)
 {
     lock (clientData)
     {
         clientData.ExpiredPokemons.Add(eve.EncounterId);
     }
 }
Esempio n. 2
0
        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} ");
        }