public static bool Send(Objects.Client client, int eventId, string text, Constants.ContextMenuType contextMenuType, bool hasSeparator)
        {
            RemoveContextMenuPacket p = new RemoveContextMenuPacket(client);

            p.EventId         = eventId;
            p.Text            = text;
            p.ContextMenuType = contextMenuType;
            p.HasSeparator    = Convert.ToByte(hasSeparator);

            return(p.Send());
        }
Exemplo n.º 2
0
        public static bool Send(Objects.Client client, int eventId, string text, Constants.ContextMenuType contextMenuType, bool hasSeparator)
        {
            RemoveContextMenuPacket p = new RemoveContextMenuPacket(client);

            p.EventId = eventId;
            p.Text = text;
            p.ContextMenuType = contextMenuType;
            p.HasSeparator = Convert.ToByte(hasSeparator);

            return p.Send();
        }