コード例 #1
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());
        }
コード例 #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();
        }