public static PetCreationOptionsRequestR ( Aura.Login.Network.LoginClient client, PetCreationOptionsListType type, List |
||
client | Aura.Login.Network.LoginClient | |
type | PetCreationOptionsListType | |
list | List |
No overwrite if list is null. |
return | void |
public static void PetCreationOptionsRequestR(LoginClient client, PetCreationOptionsListType type, List<int> list)
{
var packet = new Packet(Op.PetCreationOptionsRequestR, MabiId.Login);
packet.PutByte(list != null);
if (list != null)
{
packet.PutByte((byte)type);
foreach (var race in list)
packet.PutInt(race);
packet.PutInt(-1); // End of list
}
client.Send(packet);
}