void Player_Pickup_CallBack(object e) { if (Timer.Pickup != null) { client.Send(Packet.ActionState(1, 1)); Player_PickUp(); } }
public void StopAttackTimer() { try { if (Timer.Attack != null) { client.Send(Packet.ActionState(2, 0)); Timer.Attack.Dispose(); Timer.Attack = null; Character.Action.nAttack = false; Character.Action.Object = null; Character.Action.Target = -1; Console.WriteLine("Attack Durduruldu"); } } catch (Exception ex) { //Console.WriteLine("Error::StopAttackTimer({0})", Character.Information.Name); Log.Exception(ex); } }