示例#1
0
        /// <summary>
        /// Picks the ticket.
        /// </summary>
        /// <param name="session">The session.</param>
        /// <param name="ticketId">The ticket identifier.</param>
        internal void PickTicket(GameClient session, uint ticketId)
        {
            SupportTicket ticket = this.GetTicket(ticketId);

            if (ticket == null || ticket.Status != TicketStatus.Open)
            {
                return;
            }
            ticket.Pick(session.GetHabbo().Id, true);
            SendTicketToModerators(ticket);
        }
示例#2
0
        public void PickTicket(GameClient Session, int TicketId)
        {
            SupportTicket Ticket = GetTicket(TicketId);

            if (Ticket == null || Ticket.Status != TicketStatus.OPEN)
            {
                return;
            }

            Ticket.Pick(Session.GetHabbo().Id, true);
            SendTicketToModerators(Ticket);
        }