public static SummonPetR ( Creature creature, Creature pet ) : void | ||
creature | Creature | |
pet | Creature | Negative response if null |
return | void |
public static void SummonPetR(Creature creature, Creature pet)
{
var packet = new Packet(Op.SummonPetR, creature.EntityId);
packet.PutByte(pet != null);
if (pet != null)
packet.PutLong(pet.EntityId);
creature.Client.Send(packet);
}