예제 #1
0
 private void Pingtimer_Tick(object sender, EventArgs e)
 {
     byte[] pingpacket = new byte[2];
     pingpacket[0] = 0x73;
     pingpacket[1] = 0x00;
     if (!uonet.bConnected)
     {
         Pingtimer.Stop();
     }
     uonet.Send(pingpacket);
 }
예제 #2
0
        public void UseSkill(Skill skill)
        {
            int mskill = Convert.ToInt32(skill);

            uonet.Send(Packets.Send.Packets.useSkill(mskill));
        }