Пример #1
0
 private void checkBox_CollectMail_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox_CollectMail.Checked == true)
     {
         Client.OpeningMail = true;
         Client.session.SendPacket(PacketFactory.ChangePlayerState(0x10));
         Client.session.SendPacket(PacketFactory.OpenMailbox());
     }
     else
     {
         Client.OpeningMail = false;
     }
 }