Exemple #1
0
        internal async static void DoHeartbeat(object sender, ElapsedEventArgs e)
        {
            if (IsLoggedIn)
            {
                //string LCDSHeartBeatString = Convert.ToInt32(LoginPacket.AllSummonerData.Summoner.AcctId) + "|" + PlayerSession.Token, HeartbeatCount + "|" + DateTime.Now.ToString("ddd MMM d yyyy HH:mm:ss 'GMT'KKKK");
                Client.Log("Preforming LCDSHeartBeat");
                await PVPNet.PerformLCDSHeartBeat(Convert.ToInt32(LoginPacket.AllSummonerData.Summoner.AcctId), PlayerSession.Token, HeartbeatCount, DateTime.Now.ToString("ddd MMM d yyyy HH:mm:ss 'GMT'KKKK"));

                HeartbeatCount++;
            }
        }