public void Handle(GameClient Session, ClientMessage Event)
 {
     uint num = Event.PopWiredUInt();
     Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
     if (@class != null && [email protected]_3)
     {
         RoomUser class2 = @class.method_48(num);
         if (class2 == null || class2.PetData == null)
         {
             DataRow dataRow = null;
             using (DatabaseClient class3 = GoldTree.GetDatabase().GetClient())
             {
                 class3.AddParamWithValue("petid", num);
                 dataRow = class3.ReadDataRow("SELECT Id, user_id, room_id, name, type, race, color, expirience, energy, nutrition, respect, createstamp, x, y, z FROM user_pets WHERE Id = @petid LIMIT 1");
             }
             if (dataRow != null)
             {
                 Session.SendMessage(GoldTree.GetGame().GetCatalog().method_12(dataRow).SerializeInfo());
             }
         }
         else
         {
             Session.SendMessage(class2.PetData.SerializeInfo());
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     uint num = Event.PopWiredUInt();
     RoomData @class = GoldTree.GetGame().GetRoomManager().method_12(num);
     if (@class == null || Session.GetHabbo().list_1.Count >= 30 || Session.GetHabbo().list_1.Contains(num) || @class.Type == "public")
     {
         ServerMessage Message = new ServerMessage(33u);
         Message.AppendInt32(-9001);
         Session.SendMessage(Message);
     }
     else
     {
         ServerMessage Message2 = new ServerMessage(459u);
         Message2.AppendUInt(num);
         Message2.AppendBoolean(true);
         Session.SendMessage(Message2);
         Session.GetHabbo().list_1.Add(num);
         using (DatabaseClient class2 = GoldTree.GetDatabase().GetClient())
         {
             class2.ExecuteQuery(string.Concat(new object[]
             {
                 "INSERT INTO user_favorites (user_id,room_id) VALUES ('",
                 Session.GetHabbo().Id,
                 "','",
                 num,
                 "')"
             }));
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     uint num = Event.PopWiredUInt();
     Event.PopFixedString();
     Event.PopWiredInt32();
     RoomData @class = GoldTree.GetGame().GetRoomManager().method_12(num);
     if (@class != null)
     {
         if (@class.Type == "private")
         {
             ServerMessage Message = new ServerMessage(286u);
             Message.AppendBoolean(@class.IsPublicRoom);
             Message.AppendUInt(num);
             Session.SendMessage(Message);
         }
         else
         {
             ServerMessage Message2 = new ServerMessage(453u);
             Message2.AppendUInt(@class.Id);
             Message2.AppendStringWithBreak(@class.CCTs);
             Message2.AppendUInt(@class.Id);
             Session.SendMessage(Message2);
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     Dictionary<Room, int> dictionary = GoldTree.GetGame().GetRoomManager().method_21();
     Room @class = null;
     IEnumerable<Room> arg_35_0 = dictionary.Keys;
     if (FindNewFriendsMessageEvent.func_0 == null)
     {
         FindNewFriendsMessageEvent.func_0 = new Func<Room, int>(FindNewFriendsMessageEvent.smethod_0);
     }
     IOrderedEnumerable<Room> orderedEnumerable = arg_35_0.OrderByDescending(FindNewFriendsMessageEvent.func_0);
     int num = 0;
     foreach (Room current in orderedEnumerable)
     {
         num++;
         string a = GoldTree.smethod_5(1, 5).ToString();
         if (a == "2")
         {
             goto IL_83;
         }
         if (num == orderedEnumerable.Count<Room>())
         {
             goto IL_83;
         }
         bool arg_A2_0 = true;
         IL_A2:
         if (arg_A2_0)
         {
             continue;
         }
         @class = current;
         break;
         IL_83:
         arg_A2_0 = (Session == null ||Session.GetHabbo() == null || Session.GetHabbo().CurrentRoom == null || Session.GetHabbo().CurrentRoom == current);
         goto IL_A2;
     }
     if (@class == null)
     {
         ServerMessage Message = new ServerMessage(831u);
         Message.AppendBoolean(false);
         Session.SendMessage(Message);
     }
     else
     {
         ServerMessage Message2 = new ServerMessage(286u);
         Message2.AppendBoolean(@class.Boolean_3);
         Message2.AppendUInt(@class.Id);
         Session.SendMessage(Message2);
         ServerMessage Message3 = new ServerMessage(831u);
         Message3.AppendBoolean(true);
         Session.SendMessage(Message3);
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (Session.GetHabbo().method_23() != null)
     {
         Session.SendMessage(Session.GetHabbo().method_23().method_15());
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     ServerMessage Message = new ServerMessage(308u);
     Message.AppendInt32(Session.GetHabbo().Volume);
     Message.AppendBoolean(false);
     Session.SendMessage(Message);
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
     if (@class != null && @class.CheckRights(Session, true))
     {
         ServerMessage Message = new ServerMessage(465u);
         Message.AppendUInt(@class.Id);
         Message.AppendStringWithBreak(@class.Name);
         Message.AppendStringWithBreak(@class.Description);
         Message.AppendInt32(@class.State);
         Message.AppendInt32(@class.Category);
         Message.AppendInt32(@class.UsersMax);
         Message.AppendInt32(100);
         Message.AppendInt32(@class.Tags.Count);
         foreach (string current in @class.Tags)
         {
             Message.AppendStringWithBreak(current);
         }
         Message.AppendInt32(@class.UsersWithRights.Count);
         foreach (uint current2 in @class.UsersWithRights)
         {
             Message.AppendUInt(current2);
             Message.AppendStringWithBreak(GoldTree.GetGame().GetClientManager().GetNameById(current2));
         }
         Message.AppendInt32(@class.UsersWithRights.Count);
         Message.AppendBoolean(@class.AllowPet);
         Message.AppendBoolean(@class.AllowPetsEating);
         Message.AppendBoolean(@class.AllowWalkthrough);
         Message.AppendBoolean(@class.Hidewall);
         Message.AppendInt32(@class.Wallthick);
         Message.AppendInt32(@class.Floorthick);
         Session.SendMessage(Message);
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (Session != null)
     {
         Session.SendMessage(GoldTree.GetGame().GetNavigator().method_12(Session, -3));
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (Session != null && Session.GetHabbo() != null)
     {
         Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
         if (@class != null)
         {
             RoomUser class2 = @class.GetRoomUserByHabbo(Event.PopWiredUInt());
             if (class2 != null && !class2.IsBot && class2.GetClient() != null)
             {
                 ServerMessage Message = new ServerMessage(228u);
                 Message.AppendUInt(class2.GetClient().GetHabbo().Id);
                 Message.AppendInt32(class2.GetClient().GetHabbo().method_22().Int32_1);
                 using (TimedLock.Lock(class2.GetClient().GetHabbo().method_22().List_0))
                 {
                     foreach (Badge current in class2.GetClient().GetHabbo().method_22().List_0)
                     {
                         if (current.Slot > 0)
                         {
                             Message.AppendInt32(current.Slot);
                             Message.AppendStringWithBreak(current.Code);
                         }
                     }
                 }
                 Session.SendMessage(Message);
             }
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (Session != null && Session.GetHabbo() != null && Session.GetHabbo().GetMessenger() != null)
     {
         Session.SendMessage(Session.GetHabbo().GetMessenger().SerializeUpdates());
     }
 }
        public void Handle(GameClient Session, ClientMessage Event)
        {
            int num = Event.PopWiredInt32();
            ServerMessage Message = new ServerMessage(300u);
            Message.AppendInt32(num);
            if (num > 0)
            {
                for (int i = 0; i < num; i++)
                {
                    int num2 = Event.PopWiredInt32();
                    if (num2 > 0)
                    {
                        /*Soundtrack @class = GoldTree.GetGame().GetItemManager().method_4(num2);
                        Message.AppendInt32(@class.Id);
                        Message.AppendStringWithBreak(@class.Name);
                        Message.AppendStringWithBreak(@class.Track);
                        Message.AppendInt32(@class.Length);
                        Message.AppendStringWithBreak(@class.Author);*/

                        Message.AppendInt32(SongManager.GetSong(num2).Id);
                        Message.AppendStringWithBreak(SongManager.GetSong(num2).Name);
                        Message.AppendStringWithBreak(SongManager.GetSong(num2).Track);
                        Message.AppendInt32(SongManager.GetSong(num2).Length);
                        Message.AppendStringWithBreak(SongManager.GetSong(num2).Author);
                    }
                }
            }
            Session.SendMessage(Message);
        }
 public override void OnTrigger(GameClient Session, RoomItem RoomItem_0, int int_0, bool bool_0)
 {
     if (bool_0)
     {
         ServerMessage Message = new ServerMessage(650u);
         Message.AppendInt32(0);
         Message.AppendInt32(5);
         Message.AppendInt32(0);
         Message.AppendInt32(RoomItem_0.GetBaseItem().Sprite);
         Message.AppendUInt(RoomItem_0.uint_0);
         Message.AppendStringWithBreak("");
         Message.AppendString("I");
         if (RoomItem_0.string_3.Length > 0)
         {
             Message.AppendString(RoomItem_0.string_3);
         }
         else
         {
             Message.AppendString("RB");
         }
         Message.AppendStringWithBreak("HRAH");
         Session.SendMessage(Message);
         RoomItem_0.ReqUpdate(1);
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     ServerMessage Message = new ServerMessage(611u);
     Message.AppendBoolean(true);
     Message.AppendInt32(2);
     Session.SendMessage(Message);
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     ServerMessage Message = new ServerMessage(620u);
     Message.AppendInt32(1);
     Message.AppendInt32(1);
     Message.AppendInt32(10);
     for (int i = 187; i < 191; i++)
     {
         Message.AppendInt32(i);
     }
     Message.AppendInt32(7);
     Message.AppendInt32(0);
     Message.AppendInt32(1);
     Message.AppendInt32(2);
     Message.AppendInt32(3);
     Message.AppendInt32(4);
     Message.AppendInt32(5);
     Message.AppendInt32(6);
     Message.AppendInt32(11);
     Message.AppendInt32(0);
     Message.AppendInt32(1);
     Message.AppendInt32(2);
     Message.AppendInt32(3);
     Message.AppendInt32(4);
     Message.AppendInt32(5);
     Message.AppendInt32(6);
     Message.AppendInt32(7);
     Message.AppendInt32(8);
     Message.AppendInt32(9);
     Message.AppendInt32(10);
     Message.AppendInt32(1);
     Session.SendMessage(Message);
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (((Session != null) && (Session.GetHabbo() != null)) && (Session.GetHabbo().CurrentRoom != null))
     {
         Room currentRoom = Session.GetHabbo().CurrentRoom;
         if (currentRoom.CheckRights(Session, true))
         {
             RoomMusicController roomMusicController = currentRoom.GetRoomMusicController();
             if (roomMusicController.PlaylistSize < roomMusicController.PlaylistCapacity)
             {
                 int num = Event.PopWiredInt32();
                 UserItem item = Session.GetHabbo().method_23().method_10((uint)num);
                 if ((item != null) && (item.method_1().InteractionType == "musicdisc"))
                 {
                     SongItem diskItem = new SongItem(item);
                     if (roomMusicController.AddDisk(diskItem) >= 0)
                     {
                         //diskItem.SaveToDatabase((int)currentRoom.Id); // <-- old
                         diskItem.SaveToDatabase((int)roomMusicController.LinkedItemId); // <-- new
                         Session.GetHabbo().method_23().method_12((uint)num, 0u, true);
                         Session.GetHabbo().method_23().method_9(true);
                         Session.SendMessage(JukeboxDiscksComposer.Compose(roomMusicController.PlaylistCapacity, roomMusicController.Playlist.Values.ToList<SongInstance>()));
                     }
                 }
             }
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     ServerMessage Message = new ServerMessage(443u);
     Message.AppendInt32(Session.GetHabbo().AchievementScore);
     Message.AppendStringWithBreak("");
     Session.SendMessage(Message);
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (Session != null && Session.GetHabbo() != null)
     {
         Session.SendMessage(GoldTree.GetGame().GetCatalog().method_18(Session.GetHabbo().Rank));
     }
 }
 public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
 {
     if (UserHasRights && Session != null)
     {
         Item.method_9();
         ServerMessage Message = new ServerMessage(652u);
         Message.AppendInt32(0);
         Message.AppendInt32(5);
         if (Item.string_5.Length > 0)
         {
             Message.AppendString(Item.string_5);
         }
         else
         {
             Message.AppendInt32(0);
         }
         Message.AppendInt32(Item.GetBaseItem().Sprite);
         Message.AppendUInt(Item.uint_0);
         Message.AppendStringWithBreak("");
         Message.AppendString("J");
         if (Item.string_3.Length > 0)
         {
             Message.AppendString(Item.string_3);
         }
         else
         {
             Message.AppendString("HHH");
         }
         Session.SendMessage(Message);
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (Session.GetHabbo().HasFuse("acc_chatlogs"))
     {
         Session.SendMessage(GoldTree.GetGame().GetModerationTool().method_20(Event.PopWiredUInt()));
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     Room class14_ = Session.GetHabbo().CurrentRoom;
     if (class14_ != null)
     {
         Event.PopWiredUInt();
         string string_ = Event.PopFixedString();
         RoomUser @class = class14_.method_56(string_);
         if (@class != null)
         {
             uint uint_ = @class.GetClient().GetHabbo().Id;
             if (Session.GetHabbo().list_2.Contains(uint_))
             {
                 Session.GetHabbo().list_2.Remove(uint_);
                 using (DatabaseClient class2 = GoldTree.GetDatabase().GetClient())
                 {
                     class2.ExecuteQuery(string.Concat(new object[]
                     {
                         "DELETE FROM user_ignores WHERE user_id = ",
                         Session.GetHabbo().Id,
                         " AND ignore_id = ",
                         uint_,
                         " LIMIT 1;"
                     }));
                 }
                 ServerMessage Message = new ServerMessage(419u);
                 Message.AppendInt32(3);
                 Session.SendMessage(Message);
             }
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     uint num = Event.PopWiredUInt();
     Room room = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
     if (room != null)
     {
         RoomUser roomUserByHabbo = room.GetRoomUserByHabbo(num);
         if (room != null && room.CheckRights(Session, true) && roomUserByHabbo != null && !roomUserByHabbo.IsBot && !room.UsersWithRights.Contains(num))
         {
             room.UsersWithRights.Add(num);
             using (DatabaseClient client = GoldTree.GetDatabase().GetClient())
             {
                 client.ExecuteQuery(string.Concat(new object[]
                 {
                     "INSERT INTO room_rights (room_id,user_id) VALUES (",
                     room.Id,
                     ",",
                     num,
                     ")"
                 }));
             }
             ServerMessage serverMessage = new ServerMessage(510u);
             serverMessage.AppendUInt(room.Id);
             serverMessage.AppendUInt(num);
             serverMessage.AppendStringWithBreak(roomUserByHabbo.GetClient().GetHabbo().Username);
             Session.SendMessage(serverMessage);
             roomUserByHabbo.AddStatus("flatctrl", "");
             roomUserByHabbo.UpdateNeeded = true;
             roomUserByHabbo.GetClient().SendMessage(new ServerMessage(42u));
         }
     }
 }
        public void Handle(GameClient Session, ClientMessage Event)
        {
            if (Session.GetHabbo() == null)
            {
                Session.method_6(Event.PopFixedString());
                if (Session.GetHabbo() != null && Session.GetHabbo().list_2 != null && Session.GetHabbo().list_2.Count > 0)
                {
                    using (DatabaseClient @class = GoldTree.GetDatabase().GetClient())
                    {
                        try
                        {
                            ServerMessage Message = new ServerMessage(420u);
                            Message.AppendInt32(Session.GetHabbo().list_2.Count);
                            foreach (uint current in Session.GetHabbo().list_2)
                            {
                                string string_ = @class.ReadString("SELECT username FROM users WHERE Id = " + current + " LIMIT 1;");
                                Message.AppendStringWithBreak(string_);
                            }
                            Session.SendMessage(Message);
                        }
                        catch
                        {
                            Console.ForegroundColor = ConsoleColor.Red;
                            Logging.WriteLine("Login error: User is ignoring a user that no longer exists");
                            Console.ForegroundColor = ConsoleColor.Gray;
                        }

                    }
                }
            }
        }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
     if (@class != null && !Session.GetHabbo().list_4.Contains(@class.Id) && [email protected](Session, true))
     {
         switch (Event.PopWiredInt32())
         {
         case -1:
             @class.Score--;
             break;
         case 0:
             return;
         case 1:
             @class.Score++;
             break;
         default:
             return;
         }
         using (DatabaseClient class2 = GoldTree.GetDatabase().GetClient())
         {
             class2.ExecuteQuery(string.Concat(new object[]
             {
                 "UPDATE rooms SET score = '",
                 @class.Score,
                 "' WHERE Id = '",
                 @class.Id,
                 "' LIMIT 1"
             }));
         }
         Session.GetHabbo().list_4.Add(@class.Id);
         ServerMessage Message = new ServerMessage(345u);
         Message.AppendInt32(@class.Score);
         Session.SendMessage(Message);
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     uint num = Event.PopWiredUInt();
     string text = GoldTree.FilterString(Event.PopFixedString());
     if (Session != null && Session.GetHabbo() != null && Session.GetHabbo().GetMessenger() != null)
     {
         if (num == 0u && Session.GetHabbo().HasFuse("cmd_sa"))
         {
             ServerMessage Message = new ServerMessage(134u);
             Message.AppendUInt(0u);
             Message.AppendString(Session.GetHabbo().Username + ": " + text);
             GoldTree.GetGame().GetClientManager().method_17(Session, Message);
         }
         else
         {
             if (num == 0u)
             {
                 ServerMessage Message2 = new ServerMessage(261u);
                 Message2.AppendInt32(4);
                 Message2.AppendUInt(0u);
                 Session.SendMessage(Message2);
             }
             else
             {
                 if (Session != null && Session.GetHabbo() != null)
                 {
                     Session.GetHabbo().GetMessenger().method_18(num, text);
                 }
             }
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     try
     {
         Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
         if (@class != null && @class.CheckRights(Session, true) && @class.class67_0 != null)
         {
             ServerMessage Message = new ServerMessage(365u);
             Message.AppendInt32(@class.class67_0.Presets.Count);
             Message.AppendInt32(@class.class67_0.CurrentPreset);
             int num = 0;
             foreach (MoodlightPreset current in @class.class67_0.Presets)
             {
                 num++;
                 Message.AppendInt32(num);
                 Message.AppendInt32(int.Parse(GoldTree.smethod_4(current.BackgroundOnly)) + 1);
                 Message.AppendStringWithBreak(current.ColorCode);
                 Message.AppendInt32(current.ColorIntensity);
             }
             Session.SendMessage(Message);
         }
     }
     catch
     {
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     DataTable dataTable_ = Session.GetHabbo().dataTable_0;
     if (dataTable_ != null)
     {
         ServerMessage Message = new ServerMessage(915u);
         Message.AppendInt32(dataTable_.Rows.Count);
         foreach (DataRow dataRow in dataTable_.Rows)
         {
             GroupsManager @class = Groups.smethod_2((int)dataRow["groupid"]);
             Message.AppendInt32(@class.int_0);
             Message.AppendStringWithBreak(@class.string_0);
             Message.AppendStringWithBreak(@class.string_2);
             if (Session.GetHabbo().int_0 == @class.int_0) // is favorite group?
             {
                 Message.AppendBoolean(true);
             }
             else
             {
                 Message.AppendBoolean(false);
             }
         }
         Session.SendMessage(Message);
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     Room class14_ = Session.GetHabbo().CurrentRoom;
     if (class14_ != null)
     {
         Event.PopWiredUInt();
         string string_ = Event.PopFixedString();
         RoomUser @class = class14_.method_56(string_);
         if (@class != null && @class.GetClient().GetHabbo().Rank <= 2u)
         {
             uint uint_ = @class.GetClient().GetHabbo().Id;
             if (!Session.GetHabbo().list_2.Contains(uint_))
             {
                 Session.GetHabbo().list_2.Add(uint_);
                 using (DatabaseClient class2 = GoldTree.GetDatabase().GetClient())
                 {
                     class2.ExecuteQuery(string.Concat(new object[]
                     {
                         "INSERT INTO user_ignores(user_id, ignore_id) VALUES (",
                         Session.GetHabbo().Id,
                         ", ",
                         uint_,
                         ");"
                     }));
                 }
                 ServerMessage Message = new ServerMessage(419u);
                 Message.AppendInt32(1);
                 Session.SendMessage(Message);
             }
         }
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     string text = Event.PopFixedString();
     ServerMessage Message = new ServerMessage(7u);
     Message.AppendStringWithBreak(text.ToLower());
     if (Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
     {
         double num = (double)Session.GetHabbo().GetSubscriptionManager().method_1("habbo_vip").Int32_0;
         double num2 = num - GoldTree.GetUnixTimestamp();
         int num3 = (int)Math.Ceiling(num2 / 86400.0);
         int num4 = num3 / 31;
         if (num4 >= 1)
         {
             num4--;
         }
         Message.AppendInt32(num3 - num4 * 31);
         Message.AppendBoolean(true);
         Message.AppendInt32(num4);
         Message.AppendBoolean(true);
         Message.AppendBoolean(true);
         Message.AppendBoolean(Session.GetHabbo().Vip);
         Message.AppendInt32(0);
         Message.AppendInt32(0);
     }
     else
     {
         if (Session.GetHabbo().GetSubscriptionManager().HasSubscription(text))
         {
             double num = (double)Session.GetHabbo().GetSubscriptionManager().method_1(text).Int32_0;
             double num2 = num - GoldTree.GetUnixTimestamp();
             int num3 = (int)Math.Ceiling(num2 / 86400.0);
             int num4 = num3 / 31;
             if (num4 >= 1)
             {
                 num4--;
             }
             Message.AppendInt32(num3 - num4 * 31);
             Message.AppendBoolean(true);
             Message.AppendInt32(num4);
             if (Session.GetHabbo().Rank >= 2u)
             {
                 Message.AppendInt32(1);
                 Message.AppendInt32(1);
                 Message.AppendInt32(2);
             }
             else
             {
                 Message.AppendInt32(1);
             }
         }
         else
         {
             for (int i = 0; i < 3; i++)
             {
                 Message.AppendInt32(0);
             }
         }
     }
     Session.SendMessage(Message);
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     string text = GoldTree.FilterString(Event.PopFixedString());
     if (text.Length >= 1)
     {
         Session.SendMessage(GoldTree.GetGame().GetHelpTool().method_10(text));
     }
 }
 public void Handle(GameClient Session, ClientMessage Event)
 {
     if (GoldTree.GetGame().GetModerationTool().method_9(Session.GetHabbo().Id))
     {
         GoldTree.GetGame().GetModerationTool().method_10(Session.GetHabbo().Id);
         ServerMessage Message5_ = new ServerMessage(320u);
         Session.SendMessage(Message5_);
     }
 }