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()); }
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(); }