public static GuildStoneLocation ( Creature creature, GuildStone stone ) : void | ||
creature | Creature | |
stone | GuildStone | Removes marker if null. |
Résultat | void |
public static void GuildStoneLocation(Creature creature, GuildStone stone)
{
var packet = new Packet(Op.GuildStoneLocation, creature.EntityId);
packet.PutByte(stone != null);
if (stone != null)
{
packet.PutInt(stone.RegionId);
packet.PutInt(stone.X);
packet.PutInt(stone.Y);
}
creature.Client.Send(packet);
}