public static PersonalShopSetUpR ( Creature creature, Prop shopProp ) : void | ||
creature | Creature | |
shopProp | Prop | |
return | void |
public static void PersonalShopSetUpR(Creature creature, Prop shopProp)
{
var location = shopProp.GetLocation();
var packet = new Packet(Op.PersonalShopSetUpR, creature.EntityId);
packet.PutByte(true);
packet.PutLong(shopProp.EntityId);
packet.PutByte(1); // no location if 0?
packet.PutInt(location.RegionId);
packet.PutInt(location.X);
packet.PutInt(location.Y);
creature.Client.Send(packet);
}