Пример #1
0
        public void ShowGump(GumpInstanceId id, GumpTypeId type, int x, int y, string commands, string[] textLines)
        {
            var gumpPacket = new SendGumpMenuDialogPacket();

            gumpPacket.GumpId     = id;
            gumpPacket.GumpTypeId = type;
            gumpPacket.X          = (uint)x;
            gumpPacket.Y          = (uint)y;
            gumpPacket.Commands   = commands;
            gumpPacket.TextLines  = textLines;

            Send(gumpPacket.Serialize());
        }
Пример #2
0
 public void CloseGump(GumpTypeId gumpTypeId)
 {
     Send(new CloseGenericGumpPacket(gumpTypeId).RawPacket);
 }