public void parse(GameClient Session, ClientMessage Event) { uint Id = Event.PopWiredUInt(); Event.PopFixedString(); Event.PopWiredInt32(); RoomData Data = PhoenixEnvironment.GetGame().GetRoomManager().GenerateRoomData(Id); if (Data != null) { if (Data.Type == "private") { ServerMessage Message = new ServerMessage(286); Message.AppendBoolean(Data.IsPublicRoom); Message.AppendUInt(Id); Session.SendMessage(Message); } else { ServerMessage Message2 = new ServerMessage(453); Message2.AppendUInt(Data.Id); Message2.AppendStringWithBreak(Data.CCTs); Message2.AppendUInt(Data.Id); Session.SendMessage(Message2); } } }
public void parse(GameClient Session, ClientMessage Event) { uint num = Event.PopWiredUInt(); Room @class = PhoenixEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null && [email protected]) { RoomUser class2 = @class.method_48(num); if (class2 == null || class2.PetData == null) { DataRow dataRow = null; using (DatabaseClient class3 = PhoenixEnvironment.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(PhoenixEnvironment.GetGame().GetCatalog().GeneratePetFromRow(dataRow).SerializeInfo()); } } else { Session.SendMessage(class2.PetData.SerializeInfo()); } } }
public void parse(GameClient Session, ClientMessage Event) { Room Room = PhoenixEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (Room != null && Room.CheckRights(Session, true)) { Event.PopWiredInt32(); Dictionary<int, int> Items = new Dictionary<int, int>(); int BackgroundImage = Event.PopWiredInt32(); int ForegroundImage = Event.PopWiredInt32(); int num3 = Event.PopWiredInt32(); for (int i = 0; i < num3; i++) { int num4 = Event.PopWiredInt32(); int num5 = Event.PopWiredInt32(); if (num4 < 0 || num4 > 10 || (num5 < 1 || num5 > 27) || Items.ContainsKey(num4)) { return; } Items.Add(num4, num5); } if (BackgroundImage >= 1 && BackgroundImage <= 24 && (ForegroundImage >= 0 && ForegroundImage <= 11)) { StringBuilder stringBuilder = new StringBuilder(); int num6 = 0; foreach (KeyValuePair<int, int> Item in Items) { if (num6 > 0) { stringBuilder.Append("|"); } stringBuilder.Append(Item.Key + "," + Item.Value); num6++; } using (DatabaseClient adapter = PhoenixEnvironment.GetDatabase().GetClient()) { adapter.ExecuteQuery("UPDATE rooms SET icon_bg = '" + BackgroundImage + "', icon_fg = '" + ForegroundImage + "', icon_items = '" + stringBuilder.ToString() + "' WHERE Id = '" + Room.RoomId + "' LIMIT 1"); } Room.myIcon = new RoomIcon(BackgroundImage, ForegroundImage, Items); ServerMessage Message = new ServerMessage(457); Message.AppendUInt(Room.RoomId); Message.AppendBoolean(true); Session.SendMessage(Message); ServerMessage Message2 = new ServerMessage(456); Message2.AppendUInt(Room.RoomId); Session.SendMessage(Message2); RoomData Data = Room.RoomData; ServerMessage Message3 = new ServerMessage(454); Message3.AppendBoolean(false); Data.Serialize(Message3, false, false); Session.SendMessage(Message3); } } }
public void parse(GameClient Session, ClientMessage Event) { Dictionary<Room, int> dictionary = PhoenixEnvironment.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 = PhoenixEnvironment.GetRandomNumber(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.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.IsPublic); Message2.AppendUInt(@class.RoomId); Session.SendMessage(Message2); ServerMessage Message3 = new ServerMessage(831u); Message3.AppendBoolean(true); Session.SendMessage(Message3); } }
public void parse(GameClient Session, ClientMessage Request) { ServerMessage message = new ServerMessage(267); message.AppendBoolean(Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club")); if (Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club")) { using (DatabaseClient adapter = PhoenixEnvironment.GetDatabase().GetClient()) { adapter.AddParamWithValue("userid", Session.GetHabbo().Id); DataTable Row = adapter.ReadDataTable("SELECT slot_id, look, gender FROM user_wardrobe WHERE user_id = @userid;"); if (Row == null) { message.AppendInt32(0); } else { message.AppendInt32(Row.Rows.Count); foreach (DataRow row in Row.Rows) { message.AppendUInt((uint)row["slot_id"]); message.AppendStringWithBreak((string)row["look"]); message.AppendStringWithBreak((string)row["gender"]); } } } Session.SendMessage(message); } else { using (DatabaseClient adapter = PhoenixEnvironment.GetDatabase().GetClient()) { adapter.AddParamWithValue("userid", Session.GetHabbo().Id); DataTable Row = adapter.ReadDataTable("SELECT slot_id, look, gender FROM user_wardrobe WHERE user_id = @userid;"); if (Row == null) { message.AppendInt32(0); } else { message.AppendInt32(Row.Rows.Count); foreach (DataRow row in Row.Rows) { message.AppendUInt((uint)row["slot_id"]); message.AppendStringWithBreak((string)row["look"]); message.AppendStringWithBreak((string)row["gender"]); } } } Session.SendMessage(message); } }
public void SellItem(GameClient Session, uint ItemId, int SellingPrice) { UserItem Item = Session.GetHabbo().GetInventoryComponent().GetItem(ItemId); if (Item == null || SellingPrice > GlobalClass.MaxMarketPlacePrice || !this.CanSellItem(Item)) { ServerMessage Message = new ServerMessage(610u); Message.AppendBoolean(false); Session.SendMessage(Message); } else { int num = this.CalculateComissionPrice((float)SellingPrice); int num2 = SellingPrice + num; int num3 = 1; if (Item.GetBaseItem().Type == 'i') { num3++; } using (DatabaseClient class2 = PhoenixEnvironment.GetDatabase().GetClient()) { class2.AddParamWithValue("public_name", Item.GetBaseItem().PublicName); class2.AddParamWithValue("extra_data", Item.ExtraData); class2.ExecuteQuery(string.Concat(new object[] { "INSERT INTO catalog_marketplace_offers (furni_id, item_id,user_id,asking_price,total_price,public_name,sprite_id,item_type,timestamp,extra_data) VALUES ('", ItemId, "','", Item.BaseItem, "','", Session.GetHabbo().Id, "','", SellingPrice, "','", num2, "',@public_name,'", Item.GetBaseItem().SpriteId, "','", num3, "','", PhoenixEnvironment.GetUnixTimestamp(), "',@extra_data)" })); } Session.GetHabbo().GetInventoryComponent().RemoveItem(ItemId, 0u, true); ServerMessage Message2 = new ServerMessage(610u); Message2.AppendBoolean(true); Session.SendMessage(Message2); } }
public void parse(GameClient Session, ClientMessage Event) { if (Session.GetHabbo() == null) { Session.Login(Event.PopFixedString()); if (Session.GetHabbo() != null && Session.GetHabbo().MutedUsers != null && Session.GetHabbo().MutedUsers.Count > 0) { using (DatabaseClient adapter = PhoenixEnvironment.GetDatabase().GetClient()) { try { ServerMessage Message = new ServerMessage(420); Message.AppendInt32(Session.GetHabbo().MutedUsers.Count); foreach (uint Id in Session.GetHabbo().MutedUsers) { string string_ = adapter.ReadString("SELECT username FROM users WHERE Id = " + Id + " 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 parse(GameClient Session, ClientMessage Event) { if (Session != null && Session.GetHabbo() != null) { Session.SendMessage(PhoenixEnvironment.GetGame().GetCatalog().GetIndexMessageForRank(Session.GetHabbo().Rank)); } }
public void parse(GameClient Session, ClientMessage Event) { if (Session.GetHabbo().GetMessenger() != null) { Session.SendMessage(Session.GetHabbo().GetMessenger().PerformSearch(Event.PopFixedString())); } }
public void parse(GameClient Session, ClientMessage Event) { uint num = Event.PopWiredUInt(); Room room = PhoenixEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); 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 adapter = PhoenixEnvironment.GetDatabase().GetClient()) { adapter.ExecuteQuery(string.Concat(new object[] { "INSERT INTO room_rights (room_id,user_id) VALUES ('", room.RoomId, "','", num, "')" })); } ServerMessage Message = new ServerMessage(510); Message.AppendUInt(room.RoomId); Message.AppendUInt(num); Message.AppendStringWithBreak(roomUserByHabbo.GetClient().GetHabbo().Username); Session.SendMessage(Message); roomUserByHabbo.AddStatus("flatctrl", ""); roomUserByHabbo.UpdateNeeded = true; roomUserByHabbo.GetClient().SendMessage(new ServerMessage(42)); } }
public void parse(GameClient Session, ClientMessage Event) { if (Session != null && Session.GetHabbo() != null) { Session.SendMessage(Session.GetHabbo().GetInventoryComponent().SerializeFloorItemInventory()); } }
public void parse(GameClient Session, ClientMessage Event) { if (Session != null && Session.GetHabbo() != null && Session.GetHabbo().GetMessenger() != null) { Session.SendMessage(Session.GetHabbo().GetMessenger().SerializeUpdates()); } }
public void parse(GameClient Session, ClientMessage Event) { DataTable dataTable_ = Session.GetHabbo().GroupMemberships; if (dataTable_ != null) { ServerMessage Message = new ServerMessage(915u); Message.AppendInt32(dataTable_.Rows.Count); foreach (DataRow dataRow in dataTable_.Rows) { Group @class = GroupManager.GetGroup((int)dataRow["groupid"]); Message.AppendInt32(@class.Id); Message.AppendStringWithBreak(@class.Name); Message.AppendStringWithBreak(@class.Badge); if (Session.GetHabbo().GroupID == @class.Id) // is favorite group? { Message.AppendBoolean(true); } else { Message.AppendBoolean(false); } } Session.SendMessage(Message); } }
public void parse(GameClient Session, ClientMessage Event) { ServerMessage Message = new ServerMessage(443); Message.AppendInt32(Session.GetHabbo().AchievementScore); Message.AppendStringWithBreak(""); Session.SendMessage(Message); }
public void parse(GameClient Session, ClientMessage Event) { Room class14_ = Session.GetHabbo().CurrentRoom; if (class14_ != null) { Event.PopWiredUInt(); string string_ = Event.PopFixedString(); RoomUser @class = class14_.GetRoomUserByHabbo(string_); if (@class != null) { uint uint_ = @class.GetClient().GetHabbo().Id; if (Session.GetHabbo().MutedUsers.Contains(uint_)) { Session.GetHabbo().MutedUsers.Remove(uint_); using (DatabaseClient class2 = PhoenixEnvironment.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 override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRight) { if (UserHasRight) { ServerMessage Message = new ServerMessage(650); Message.AppendInt32(0); Message.AppendInt32(5); Message.AppendInt32(0); Message.AppendInt32(Item.GetBaseItem().SpriteId); Message.AppendUInt(Item.Id); Message.AppendStringWithBreak(""); Message.AppendString("I"); if (Item.Extra2.Length > 0) { Message.AppendString(Item.Extra2); } else { Message.AppendString("RB"); } Message.AppendStringWithBreak("HRAH"); Session.SendMessage(Message); Item.ReqUpdate(1); } }
public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRight) { if (UserHasRight && Session != null) { Item.method_10(); ServerMessage Message = new ServerMessage(651); Message.AppendInt32(0); Message.AppendInt32(5); if (Item.Extra1.Length > 0) { Message.AppendString(Item.Extra1); } else { Message.AppendInt32(0); } Message.AppendInt32(Item.GetBaseItem().SpriteId); Message.AppendUInt(Item.Id); Message.AppendStringWithBreak(""); Message.AppendInt32(0); Message.AppendInt32(0); Message.AppendInt32(0); Message.AppendInt32(0); Message.AppendInt32(0); Message.AppendStringWithBreak(""); Session.SendMessage(Message); } }
public void parse(GameClient Session, ClientMessage Event) { ServerMessage Message = new ServerMessage(308); Message.AppendInt32(Session.GetHabbo().Volume); Message.AppendBoolean(false); Session.SendMessage(Message); }
public void parse(GameClient Session, ClientMessage Event) { int num = Event.PopWiredInt32(); ServerMessage Message = new ServerMessage(300); 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 void parse(GameClient Session, ClientMessage Event) { Room class14_ = Session.GetHabbo().CurrentRoom; if (class14_ != null) { Event.PopWiredUInt(); string string_ = Event.PopFixedString(); RoomUser @class = class14_.GetRoomUserByHabbo(string_); if (@class != null && @class.GetClient().GetHabbo().Rank <= 2u) { uint uint_ = @class.GetClient().GetHabbo().Id; if (!Session.GetHabbo().MutedUsers.Contains(uint_)) { Session.GetHabbo().MutedUsers.Add(uint_); using (DatabaseClient class2 = PhoenixEnvironment.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 parse(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().GetSubscription("habbo_vip").ExpireTime; double num2 = num - PhoenixEnvironment.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().GetSubscription(text).ExpireTime; double num2 = num - PhoenixEnvironment.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 parse(GameClient Session, ClientMessage Event) { if (Session.GetHabbo().HasRole("acc_chatlogs")) { Session.SendMessage(PhoenixEnvironment.GetGame().GetModerationTool().SerializeUserChatlog(Event.PopWiredUInt())); } }
public void parse(GameClient Session, ClientMessage Event) { if (Session != null && Session.GetHabbo() != null) { Room @class = PhoenixEnvironment.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().GetBadgeComponent().EquippedCount); using (TimedLock.Lock(class2.GetClient().GetHabbo().GetBadgeComponent().BadgeList)) { foreach (Badge current in class2.GetClient().GetHabbo().GetBadgeComponent().BadgeList) { if (current.Slot > 0) { Message.AppendInt32(current.Slot); Message.AppendStringWithBreak(current.Code); } } } Session.SendMessage(Message); } } } }
public void parse(GameClient Session, ClientMessage Event) { try { Room @class = PhoenixEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null && @class.CheckRights(Session, true) && @class.MoodlightData != null) { ServerMessage Message = new ServerMessage(365u); Message.AppendInt32(@class.MoodlightData.Presets.Count); Message.AppendInt32(@class.MoodlightData.CurrentPreset); int num = 0; foreach (MoodlightPreset current in @class.MoodlightData.Presets) { num++; Message.AppendInt32(num); Message.AppendInt32(int.Parse(PhoenixEnvironment.BoolToEnum(current.BackgroundOnly)) + 1); Message.AppendStringWithBreak(current.ColorCode); Message.AppendInt32(current.ColorIntensity); } Session.SendMessage(Message); } } catch { } }
public void parse(GameClient Session, ClientMessage Event) { ServerMessage Message = new ServerMessage(611); Message.AppendBoolean(true); Message.AppendInt32(2); Session.SendMessage(Message); }
public void parse(GameClient Session, ClientMessage Event) { uint num = Event.PopWiredUInt(); string text = PhoenixEnvironment.FilterInjectionChars(Event.PopFixedString()); if (Session.GetHabbo().GetMessenger() != null) { if (num == 0 && Session.GetHabbo().HasRole("cmd_sa")) { ServerMessage Message = new ServerMessage(134); Message.AppendUInt(0); Message.AppendString(Session.GetHabbo().Username + ": " + text); PhoenixEnvironment.GetGame().GetClientManager().SendStaffChat(Session, Message); } else { if (num == 0) { ServerMessage Message2 = new ServerMessage(261); Message2.AppendInt32(4); Message2.AppendUInt(0); Session.SendMessage(Message2); } else { Session.GetHabbo().GetMessenger().method_18(num, text); } } } }
public void parse(GameClient Session, ClientMessage Event) { Room @class = PhoenixEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null && @class.CheckRights(Session, true)) { ServerMessage Message = new ServerMessage(465u); Message.AppendUInt(@class.RoomId); 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(PhoenixEnvironment.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 parse(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().GetInventoryComponent().GetItem((uint)num); if ((item != null) && (item.GetBaseItem().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().GetInventoryComponent().RemoveItem((uint)num, 0, true); Session.GetHabbo().GetInventoryComponent().UpdateItems(true); Session.SendMessage(JukeboxDiscksComposer.Compose(roomMusicController.PlaylistCapacity, roomMusicController.Playlist.Values.ToList<SongInstance>())); } } } } } }
public void parse(GameClient Session, ClientMessage Event) { string Query = PhoenixEnvironment.FilterInjectionChars(Event.PopFixedString()); if (Query.Length >= 1) { Session.SendMessage(PhoenixEnvironment.GetGame().GetHelpTool().SerializeSearchResults(Query)); } }
public void parse(GameClient Session, ClientMessage Event) { if (Session.GetHabbo().HasRole("acc_supporttool")) { uint UserId = Event.PopWiredUInt(); Session.SendMessage(PhoenixEnvironment.GetGame().GetModerationTool().SerializeRoomVisits(UserId)); } }