Aura.Login.Network.Send.AcceptGiftR C# (CSharp) 메소드

AcceptGiftR() 공개 정적인 메소드

Sends AcceptGiftR to client.
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
리턴 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);
		}