public static MsgBox ( Creature creature, string title, MsgBoxButtons buttons, MsgBoxAlign align, string format ) : void | ||
creature | Creature | |
title | string | |
buttons | MsgBoxButtons | |
align | MsgBoxAlign | |
format | string | |
Результат | void |
public static void MsgBox(Creature creature, string title, MsgBoxButtons buttons, MsgBoxAlign align, string format, params object[] args)
{
var packet = new Packet(Op.MsgBox, creature.EntityId);
packet.PutString(format, args);
// Can be sent with the title enum as byte as well.
packet.PutString(title);
packet.PutByte((byte)buttons);
packet.PutByte((byte)align);
creature.Client.Send(packet);
}