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); }
public void UseSkill(Skill skill) { int mskill = Convert.ToInt32(skill); uonet.Send(Packets.Send.Packets.useSkill(mskill)); }