Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal void SubmitHelpTicket()
- {
- if (!SilverwaveEnvironment.GetGame().GetModerationTool().UsersHasPendingTicket(this.Session.GetHabbo().Id))
- {
- string Message = this.Request.PopFixedString();
- int Category = this.Request.PopWiredInt32();
- uint ReportedUser = this.Request.PopWiredUInt();
- uint Room = this.Request.PopWiredUInt();
- int Messagecount = this.Request.PopWiredInt32();
- List<string> Chats = new List<string>();
- for (int i = 0; i < Messagecount; i++)
- {
- Request.PopWiredUInt();
- Chats.Add(Request.PopFixedString());
- }
- SilverwaveEnvironment.GetGame().GetModerationTool().SendNewTicket(this.Session, Category, ReportedUser, Message, Chats);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement