public static Notice ( Creature creature, NoticeType type, int duration, string format ) : void | ||
creature | Creature | |
type | NoticeType | |
duration | int | Ignored if 0 |
format | string | |
return | void |
public static void Notice(Creature creature, NoticeType type, int duration, string format, params object[] args)
{
var packet = new Packet(Op.Notice, MabiId.Broadcast);
packet.PutByte((byte)type);
packet.PutString(string.Format(format, args));
if (duration > 0)
packet.PutInt(duration);
creature.Client.Send(packet);
}
Send::Notice ( Creature creature, NoticeType type, string format ) : void | |
Send::Notice ( Creature creature, string format ) : void | |
Send::Notice ( NoticeType type, int duration, string format ) : void | |
Send::Notice ( NoticeType type, string format ) : void | |
Send::Notice ( Region region, NoticeType type, int duration, string format ) : void | |
Send::Notice ( Region region, string format ) : void |