public static AcceptGiftR ( Aura.Login.Network.LoginClient client, Aura.Login.Database.Gift gift ) : void | ||
client | Aura.Login.Network.LoginClient | |
gift | Aura.Login.Database.Gift | Negative response if null |
return | void |
public static void AcceptGiftR(LoginClient client, Gift gift)
{
var packet = new Packet(Op.AcceptGiftR, MabiId.Login);
packet.PutByte(gift != null);
if (gift != null)
{
packet.PutByte(gift.IsCharacter);
packet.PutInt(0); // ?
packet.PutInt(0); // ?
packet.PutInt(gift.Type);
// ?
}
client.Send(packet);
}