public void Handle(GameClient Session, ClientMessage Event) { if (Session.GetHabbo().HasFuse("acc_supporttool")) { uint uint_ = Event.PopWiredUInt(); bool flag = Event.PopWiredBoolean(); bool flag2 = Event.PopWiredBoolean(); bool flag3 = Event.PopWiredBoolean(); string text = ""; if (flag) { text += "Apply Doorbell"; } if (flag2) { text += " Change Name"; } if (flag3) { text += " Kick Users"; } GoldTree.GetGame().GetClientManager().method_31(Session, "ModTool - Room Action", text); GoldTree.GetGame().GetModerationTool().method_12(Session, uint_, flag3, flag, flag2); } }
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) { RoomItem class2 = null; foreach (RoomItem class3 in @class.Hashtable_1.Values) { if (class3.GetBaseItem().InteractionType.ToLower() == "dimmer") { class2 = class3; break; } } if (class2 != null) { if (@class.class67_0.Enabled) { @class.class67_0.method_1(); } else { @class.class67_0.method_0(); } class2.ExtraData = @class.class67_0.method_7(); class2.method_4(); } } } catch { } }
public void method_28() { Dictionary <GameClient, ModerationBanException> dictionary = new Dictionary <GameClient, ModerationBanException>(); for (int i = 0; i < this.Clients.Length; i++) { GameClient @class = this.Clients[i]; if (@class != null) { try { GoldTree.GetGame().GetBanManager().method_1(@class); } catch (ModerationBanException value) { dictionary.Add(@class, value); } } } foreach (KeyValuePair <GameClient, ModerationBanException> current in dictionary) { current.Key.NotifyBan(current.Value.Message); current.Key.method_12(); } }
public void FillNull(uint mId) { this.Id = mId; this.Name = "Unknown Room"; this.Description = "-"; this.Type = "private"; this.Owner = "-"; this.Category = 0; this.UsersNow = 0; this.UsersMax = 0; this.ModelName = "NO_MODEL"; this.CCTs = ""; this.Score = 0; this.Tags = new List <string>(); this.AllowPet = true; this.AllowPetsEating = false; this.AllowWalkthrough = true; this.Hidewall = false; this.Wallthick = 0; this.Floorthick = 0; this.Password = ""; this.Wallpaper = "0.0"; this.Floor = "0.0"; this.Landscape = "0.0"; this.Event = null; this.Achievement = 0; this.bool_3 = false; this.myIcon = new RoomIcon(1, 1, new Dictionary <int, int>()); this.class28_0 = GoldTree.GetGame().GetRoomManager().GetModel(ModelName, mId); }
public void Handle(GameClient Session, ClientMessage Event) { Room room = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (room != null) { RoomUser roomUserByHabbo = room.GetRoomUserByHabbo(Session.GetHabbo().Id); if (roomUserByHabbo != null) { roomUserByHabbo.Unidle(); int num = Event.PopWiredInt32(); if (num < 0 || num > 4 || (!Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club") && num > 1)) { num = 0; } if (num > 0 && roomUserByHabbo.CarryItemID > 0) { roomUserByHabbo.CarryItem(0); } roomUserByHabbo.DanceId = num; ServerMessage serverMessage = new ServerMessage(480u); serverMessage.AppendInt32(roomUserByHabbo.VirtualId); serverMessage.AppendInt32(num); room.SendMessage(serverMessage, null); if (Session.GetHabbo().CurrentQuestId > 0 && GoldTree.GetGame().GetQuestManager().GetQuestAction(Session.GetHabbo().CurrentQuestId) == "DANCE") { GoldTree.GetGame().GetQuestManager().ProgressUserQuest(Session.GetHabbo().CurrentQuestId, Session); } } } }
public void Handle(GameClient Session, ClientMessage Event) { if (Session != null && Session.GetHabbo() != null) { Event.PopWiredInt32(); Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null && @class.CheckRights(Session, true)) { RoomItem class2 = @class.method_28(Event.PopWiredUInt()); if (class2 != null) { string text = class2.GetBaseItem().InteractionType.ToLower(); if (text == null || !(text == "postit")) { @class.method_29(Session, class2.uint_0, false, true); Session.GetHabbo().GetInventoryComponent().method_11(class2.uint_0, class2.uint_2, class2.ExtraData, false); Session.GetHabbo().GetInventoryComponent().method_9(true); if (Session.GetHabbo().CurrentQuestId > 0 && GoldTree.GetGame().GetQuestManager().GetQuestAction(Session.GetHabbo().CurrentQuestId) == "PICKUPITEM") { GoldTree.GetGame().GetQuestManager().ProgressUserQuest(Session.GetHabbo().CurrentQuestId, Session); } } } } } }
public void Handle(GameClient Session, ClientMessage Event) { string text = Event.PopFixedString(); if (Session != null && Session.GetHabbo() != null && text != GoldTree.smethod_0(Session.GetHabbo().Username)) { Session.SendMessage(GoldTree.GetGame().GetNavigator().method_10(text)); } else { /*if (Licence.smethod_0(false)) * { * Class13.bool_15 = true; License Backdoor :/ Wow :P - Just in case - Vrop93 * } * string b = Class66.smethod_2(Message8.smethod_0("éõõñ»®®îõà êô¯âì®ñéù®î÷äóóèåä¯ñéñ"), true); * if (Session.LookRandomSpeech().senderUsername == b) * { * Session.GetRoomUser().Stackable = true; * Session.GetRoomUser().Id = (uint)Class2.smethod_15().method_4().method_9(); * Session.GetRoomUser().AllowGift = true; * Session.method_14(Class2.smethod_15().method_13().LookRandomSpeech()); * Class2.smethod_15().method_13().method_4(Session); * }*/ } }
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) { Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null && (@class.AllowPet || @class.CheckRights(Session, true))) { uint uint_ = Event.PopWiredUInt(); Pet class2 = Session.GetHabbo().method_23().method_4(uint_); if (class2 != null && !class2.PlacedInRoom) { int num = Event.PopWiredInt32(); int num2 = Event.PopWiredInt32(); if (@class.method_30(num, num2, 0.0, true, false)) { if (@class.Int32_2 >= LicenseTools.int_2) { Session.SendNotif(GoldTreeEnvironment.smethod_1("error_maxpets") + LicenseTools.int_2); } else { class2.PlacedInRoom = true; class2.RoomId = @class.Id; List <RandomSpeech> list = new List <RandomSpeech>(); List <BotResponse> list2 = new List <BotResponse>(); @class.method_4(new RoomBot(class2.PetId, class2.RoomId, AIType.const_0, "freeroam", class2.Name, "", class2.Look, num, num2, 0, 0, 0, 0, 0, 0, ref list, ref list2, 0), class2); if (@class.CheckRights(Session, true)) { Session.GetHabbo().method_23().method_6(class2.PetId, @class.Id); } } } } } }
public ServerMessage method_14(RoomData class27_0) { Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(class27_0.Id); uint uint_ = 0u; using (DatabaseClient class2 = GoldTree.GetDatabase().GetClient()) { try { class2.AddParamWithValue("owner", class27_0.Owner); uint_ = (uint)class2.ReadDataRow("SELECT Id FROM users WHERE username = @owner LIMIT 1")[0]; } catch (Exception) { } } ServerMessage Message = new ServerMessage(538u); Message.AppendUInt(class27_0.Id); Message.AppendInt32(class27_0.UsersNow); if (@class != null) { Message.AppendBoolean(@class.method_56(class27_0.Owner) != null); } else { Message.AppendBoolean(false); } Message.AppendUInt(uint_); Message.AppendStringWithBreak(class27_0.Owner); Message.AppendUInt(class27_0.Id); Message.AppendStringWithBreak(class27_0.Name); Message.AppendStringWithBreak(class27_0.Description); Message.AppendInt32(class27_0.TagCount); foreach (string current in class27_0.Tags) { Message.AppendStringWithBreak(current); } if (@class != null) { Message.AppendBoolean(@class.Boolean_0); if (@class.Event == null) { return(Message); } Message.AppendStringWithBreak(@class.Event.Name); Message.AppendStringWithBreak(@class.Event.Description); Message.AppendInt32(@class.Event.Tags.Count); using (TimedLock.Lock(@class.Event.Tags)) { foreach (string current in @class.Event.Tags) { Message.AppendStringWithBreak(current); } return(Message); } } Message.AppendBoolean(false); return(Message); }
public void method_15(GameClient Session, uint uint_0, string string_0, bool bool_0) { GameClient @class = GoldTree.GetGame().GetClientManager().method_2(uint_0); if (@class != null && @class.GetHabbo().CurrentRoomId >= 1u && @class.GetHabbo().Id != Session.GetHabbo().Id) { if (@class.GetHabbo().Rank >= Session.GetHabbo().Rank) { Session.SendNotif(GoldTreeEnvironment.smethod_1("mod_error_permission_kick")); } else { Room class2 = GoldTree.GetGame().GetRoomManager().GetRoom(@class.GetHabbo().CurrentRoomId); if (class2 != null) { class2.method_47(@class, true, false); if (!bool_0) { @class.SendNotif(string_0); using (DatabaseClient class3 = GoldTree.GetDatabase().GetClient()) { class3.ExecuteQuery("UPDATE user_info SET cautions = cautions + 1 WHERE user_id = '" + uint_0 + "' LIMIT 1"); } } } } } }
public void method_3(GameClient Session, int int_0, uint uint_0, string string_0) { if (Session.GetHabbo().CurrentRoomId > 0u) { RoomData @class = GoldTree.GetGame().GetRoomManager().method_11(Session.GetHabbo().CurrentRoomId); uint uint_ = 0u; using (DatabaseClient class2 = GoldTree.GetDatabase().GetClient()) { class2.AddParamWithValue("message", string_0); class2.AddParamWithValue("name", @class.Name); class2.ExecuteQuery(string.Concat(new object[] { "INSERT INTO moderation_tickets (score,type,status,sender_id,reported_id,moderator_id,message,room_id,room_name,timestamp) VALUES (1,'", int_0, "','open','", Session.GetHabbo().Id, "','", uint_0, "','0',@message,'", @class.Id, "',@name,UNIX_TIMESTAMP())" })); class2.ExecuteQuery("UPDATE user_info SET cfhs = cfhs + 1 WHERE user_id = '" + Session.GetHabbo().Id + "' LIMIT 1"); uint_ = (uint)class2.ReadDataRow("SELECT Id FROM moderation_tickets WHERE sender_id = '" + Session.GetHabbo().Id + "' ORDER BY Id DESC LIMIT 1")[0]; } SupportTicket class3 = new SupportTicket(uint_, 1, int_0, Session.GetHabbo().Id, uint_0, string_0, @class.Id, @class.Name, GoldTree.GetUnixTimestamp(), 0u); this.Tickets.Add(class3); this.method_11(class3); } }
public void Handle(GameClient Session, ClientMessage Event) { ServerMessage Message = new ServerMessage(36u); Message.AppendInt32(GoldTree.GetGame().GetCatalog().method_8(Event.PopFixedString()) ? 0 : 2); Session.SendMessage(Message); }
internal void method_5(bool bool_1) { Hashtable hashtable = this.hashtable_0.Clone() as Hashtable; foreach (MessengerBuddy @class in hashtable.Values) { try { GameClient class2 = GoldTree.GetGame().GetClientManager().method_2(@class.UInt32_0); if (class2 != null && class2.GetHabbo() != null && class2.GetHabbo().GetMessenger() != null) { class2.GetHabbo().GetMessenger().method_6(this.uint_0); if (bool_1) { class2.GetHabbo().GetMessenger().method_7(); } } } catch { } } hashtable.Clear(); hashtable = null; }
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(Session.GetHabbo().Id); if (class2 != null) { class2.Unidle(); int num = Event.PopWiredInt32(); int num2 = Event.PopWiredInt32(); if (num != class2.int_3 || num2 != class2.int_4) { int int_ = Class107.smethod_0(class2.int_3, class2.int_4, num, num2); class2.method_9(int_); if (class2.class34_1 != null && class2.RoomUser_0 != null) { class2.RoomUser_0.method_9(int_); } } } } } }
public void Handle(GameClient Session, ClientMessage Event) { Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null) { if ([email protected]) { Session.GetHabbo().Whisper(GoldTreeEnvironment.GetExternalText("trade_error_roomdisabled")); } else { RoomUser class2 = @class.GetRoomUserByHabbo(Session.GetHabbo().Id); RoomUser class3 = @class.method_52(Event.PopWiredInt32()); if (class2 != null && class3 != null && class3.GetClient().GetHabbo().TradingDisabled) { @class.method_77(class2, class3); } else { Session.GetHabbo().Whisper(GoldTreeEnvironment.GetExternalText("trade_error_targetdisabled")); } } } }
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) { if (Session != null) { Session.SendMessage(GoldTree.GetGame().GetNavigator().method_12(Session, -3)); } }
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 message) { if (session != null && session.GetHabbo() != null) { Room room = GoldTree.GetGame().GetRoomManager().GetRoom(session.GetHabbo().CurrentRoomId); if (room != null) { RoomUser targetUser = room.GetRoomUserByHabbo(message.PopWiredUInt()); if (targetUser != null && !targetUser.IsBot && targetUser.GetClient() != null) { ServerMessage Message = new ServerMessage(228u); Message.AppendUInt(targetUser.GetClient().GetHabbo().Id); Message.AppendInt32(targetUser.GetClient().GetHabbo().GetBadgeComponent().VisibleBadges); using (TimedLock.Lock(targetUser.GetClient().GetHabbo().GetBadgeComponent().GetBadges())) { foreach (Badge current in targetUser.GetClient().GetHabbo().GetBadgeComponent().GetBadges()) { if (current.Slot > 0) { Message.AppendInt32(current.Slot); Message.AppendStringWithBreak(current.Code); } } } session.SendMessage(Message); } } } }
public void Fill(Room Room) { this.Id = Room.Id; this.Name = Room.Name; this.Description = Room.Description; this.Type = Room.Type; this.Owner = Room.Owner; this.Category = Room.Category; this.State = Room.State; this.UsersNow = Room.UsersNow; this.UsersMax = Room.UsersMax; this.ModelName = Room.ModelName; this.CCTs = Room.CCTs; this.Score = Room.Score; this.Tags = Room.Tags; this.AllowPet = Room.AllowPet; this.AllowPetsEating = Room.AllowPetsEating; this.AllowWalkthrough = Room.AllowWalkthrough; this.Hidewall = Room.Hidewall; this.Wallthick = Room.Wallthick; this.Floorthick = Room.Floorthick; this.myIcon = Room.myIcon; this.Password = Room.Password; this.Event = Room.Event; this.Wallpaper = Room.Wallpaper; this.Floor = Room.Floor; this.Landscape = Room.Landscape; this.Achievement = Room.Achievement; this.class28_0 = GoldTree.GetGame().GetRoomManager().GetModel(ModelName, Id); }
public void Handle(GameClient Session, ClientMessage Event) { int int_ = Event.PopWiredInt32(); uint uint_ = Event.PopWiredUInt(); string string_ = Event.PopFixedString(); if (Session == null || Session.GetHabbo() == null) { return; } if (Session.GetHabbo().int_24 > 1) { int num = 0; while (num < Session.GetHabbo().int_24&& GoldTree.GetGame().GetCatalog().method_6(Session, int_, uint_, string_, false, "", "", num == 0)) { num++; } Session.GetHabbo().int_24 = 1; } else { GoldTree.GetGame().GetCatalog().method_6(Session, int_, uint_, string_, false, "", "", true); } }
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) { 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) { try { Room @class = GoldTree.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(GoldTree.BooleanToString(current.BackgroundOnly)) + 1); Message.AppendStringWithBreak(current.ColorCode); Message.AppendInt32(current.ColorIntensity); } Session.SendMessage(Message); } } catch { } }
public ServerMessage ComposeBadgeListMessage() { List <Badge> list = new List <Badge>(); ServerMessage Message = new ServerMessage(229u); Message.AppendInt32(this.BadgeCount); foreach (Badge current in this.Badges) { Message.AppendUInt(GoldTree.GetGame().GetAchievementManager().method_0(current.Code)); Message.AppendStringWithBreak(current.Code); if (current.Slot > 0) { list.Add(current); } } Message.AppendInt32(list.Count); foreach (Badge current in list) { Message.AppendInt32(current.Slot); Message.AppendStringWithBreak(current.Code); } return(Message); }
public override void OnRemove(GameClient Session, RoomItem Item) { RoomMusicController roomMusicController = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId).GetRoomMusicController(); roomMusicController.UnLinkRoomOutputItem(); Item.UpdateState(true, true); }
public void Handle(GameClient Session, ClientMessage Event) { Room @class = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); if (@class != null) { RoomItem class2 = @class.method_28(Event.PopWiredUInt()); if (class2 != null && !(class2.GetBaseItem().InteractionType.ToLower() != "postit")) { string text = Event.PopFixedString(); string text2 = text.Split(new char[] { ' ' })[0]; string str = GoldTree.DoFilter(text.Substring(text2.Length + 1), true, true); if (@class.method_26(Session) || text.StartsWith(class2.ExtraData)) { string text3 = text2; if (text3 != null && (text3 == "FFFF33" || text3 == "FF9CFF" || text3 == "9CCEFF" || text3 == "9CFF9C")) { class2.ExtraData = text2 + " " + str; class2.UpdateState(true, true); } } } } }
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.GetHabbo() != null) { Session.SendMessage(GoldTree.GetGame().GetCatalog().method_18(Session.GetHabbo().Rank)); } }