public static bool Send(Objects.Client client, int eventId)
        {
            AddContextMenuPacket p = new AddContextMenuPacket(client);

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

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

            return p.Send();
        }
예제 #3
0
 public static bool Send(Objects.Client client, int eventId)
 {
     AddContextMenuPacket p = new AddContextMenuPacket(client);
     p.EventId = eventId;
     return p.Send();
 }