public void AcceptGift(LoginClient client, Packet packet) { var giftId = packet.GetLong(); var gift = client.Account.GetGift(giftId); if (gift != null) { client.Account.ChangeGiftToCard(gift); } Send.AcceptGiftR(client, gift); }
public void AcceptGift(LoginClient client, Packet packet) { var giftId = packet.GetLong(); var gift = client.Account.GetGift(giftId); if (gift != null) { client.Account.ChangeGiftToCard(gift); } Send.AcceptGiftR(client, gift); }