public override void Parse() { UserId = PacketOriginal.NextInt(); Username = PacketOriginal.NextString(); Figure = PacketOriginal.NextString(); Motto = PacketOriginal.NextString(); CreationDate = PacketOriginal.NextString(); AchievementPoints = PacketOriginal.NextInt(); FriendCount = PacketOriginal.NextInt(); IsFriend = PacketOriginal.NextBool(); IsFriendRequestPending = PacketOriginal.NextBool(); IsOnline = PacketOriginal.NextBool(); Groups = new List <HabboGroupEntryData>(PacketOriginal.NextInt()); for (var i = 0; i < Groups.Capacity; i++) { Groups.Add(new HabboGroupEntryData { GroupId = PacketOriginal.NextInt(), Name = PacketOriginal.NextString(), Badge = PacketOriginal.NextString(), Colour1 = PacketOriginal.NextString(), Colour2 = PacketOriginal.NextString(), IsFavourite = PacketOriginal.NextBool(), Unknown0 = PacketOriginal.NextInt(), IsForumEnabled = PacketOriginal.NextBool() }); } LastOnline = PacketOriginal.NextInt(); ShowProfile = PacketOriginal.NextBool(); }
public override void Parse() { RoomId = PacketOriginal.NextInt(); Name = PacketOriginal.NextString(); Description = PacketOriginal.NextString(); DoorMode = PacketOriginal.NextInt(); Password = PacketOriginal.NextString(); MaxUsers = PacketOriginal.NextInt(); CategoryId = PacketOriginal.NextInt(); Tags = new List <string>(PacketOriginal.NextInt()); for (var i = 0; i < Tags.Capacity; i++) { Tags.Add(PacketOriginal.NextString()); } TradeSettings = PacketOriginal.NextInt(); AllowPets = PacketOriginal.NextBool(); AllowPetsEat = PacketOriginal.NextBool(); RoomBlockingEnabled = PacketOriginal.NextBool(); HideWall = PacketOriginal.NextBool(); WallThickness = PacketOriginal.NextInt(); FloorThickness = PacketOriginal.NextInt(); ModerationSettings = new RoomModerationSettings(PacketOriginal); ChatSettings = new RoomChatSettings(PacketOriginal); Unknown0 = PacketOriginal.NextBool(); }
public override void Parse() { PageId = PacketOriginal.NextInt(); CatalogType = PacketOriginal.NextString(); LayoutCode = PacketOriginal.NextString(); Localization = new CatalogLocalizationData(PacketOriginal); Offers = new List <CatalogPageMessageOfferData>(PacketOriginal.NextInt()); for (var i = 0; i < Offers.Capacity; i++) { Offers.Add(new CatalogPageMessageOfferData(PacketOriginal)); } OfferId = PacketOriginal.NextInt(); Unknown1 = PacketOriginal.NextBool(); if (PacketOriginal.BytesAvailable) { FrontPageItems = new List <FrontPageItem>(PacketOriginal.NextInt()); for (var i = 0; i < FrontPageItems.Capacity; i++) { FrontPageItems.Add(new FrontPageItem(PacketOriginal)); } } }
public override void Parse() { DeclineAll = PacketOriginal.NextBool(); DeclineIds = new List <int>(PacketOriginal.NextInt()); for (var i = 0; i < DeclineIds.Capacity; i++) { DeclineIds.Add(PacketOriginal.NextInt()); } }
public override void Parse() { UserId = PacketOriginal.NextInt(); IsMe = PacketOriginal.NextBool(); // Check if this packet is repeated. if (Connection.LastIncomingPacket == Incoming.GetExtendedProfile) { Discard = true; } }
public override void Parse() { Volume1 = PacketOriginal.NextInt(); Volume2 = PacketOriginal.NextInt(); Volume3 = PacketOriginal.NextInt(); ChatPreference = PacketOriginal.NextBool(); InvitesStatus = PacketOriginal.NextBool(); FocusPreference = PacketOriginal.NextBool(); FriendBarState = PacketOriginal.NextInt(); Unknown0 = PacketOriginal.NextInt(); }
public override void Parse() { PageId = PacketOriginal.NextInt(); ItemId = PacketOriginal.NextInt(); ExtraData = PacketOriginal.NextString(); GiftUser = PacketOriginal.NextString(); GiftMessage = PacketOriginal.NextString(); SpriteId = PacketOriginal.NextInt(); Ribbon = PacketOriginal.NextInt(); Colour = PacketOriginal.NextInt(); Unknown0 = PacketOriginal.NextBool(); }
public override void Parse() { Unknown0 = PacketOriginal.NextBool(); RoomData = new WebRoomData(PacketOriginal); Unknown1 = PacketOriginal.NextBool(); Unknown2 = PacketOriginal.NextBool(); Unknown3 = PacketOriginal.NextBool(); Unknown4 = PacketOriginal.NextBool(); ModerationSettings = new RoomModerationSettings(PacketOriginal); Unknown5 = PacketOriginal.NextBool(); ChatSettings = new RoomChatSettings(PacketOriginal); }
public override void Parse() { Perks = new List <UserPerk>(PacketOriginal.NextInt()); for (var i = 0; i < Perks.Capacity; i++) { Perks.Add(new UserPerk { Code = PacketOriginal.NextString(), ErrorMessage = PacketOriginal.NextString(), IsAllowed = PacketOriginal.NextBool() }); } }
public override void Parse() { Effects = new List <Habbo.Data.HabboInventory.AvatarEffect>(PacketOriginal.NextInt()); for (var i = 0; i < Effects.Capacity; i++) { Effects.Add(new Habbo.Data.HabboInventory.AvatarEffect { SpriteId = PacketOriginal.NextInt(), Type = (AvatarEffectType)PacketOriginal.NextInt(), Duration = PacketOriginal.NextInt(), Quantity = PacketOriginal.NextInt(), TimeLeft = PacketOriginal.NextInt(), Permanent = PacketOriginal.NextBool() }); } }
public override void Parse() { Id = PacketOriginal.NextInt(); Username = PacketOriginal.NextString(); Look = PacketOriginal.NextString(); Gender = PacketOriginal.NextString(); Motto = PacketOriginal.NextString(); Unknown0 = PacketOriginal.NextString(); Unknown1 = PacketOriginal.NextBool(); Respect = PacketOriginal.NextInt(); DailyRespectPoints = PacketOriginal.NextInt(); DailyPetRespectPoints = PacketOriginal.NextInt(); FriendStreamActive = PacketOriginal.NextBool(); LastOnline = PacketOriginal.NextString(); CanChangeName = PacketOriginal.NextBool(); Unknown2 = PacketOriginal.NextBool(); }
public override void Parse() { Categories = new List <FlatCategory>(PacketOriginal.NextInt()); for (var i = 0; i < Categories.Capacity; i++) { Categories.Add(new FlatCategory { Id = PacketOriginal.NextInt(), NodeName = PacketOriginal.NextString(), Visible = PacketOriginal.NextBool(), Automatic = PacketOriginal.NextBool(), Unknown0 = PacketOriginal.NextString(), Unknown1 = PacketOriginal.NextString(), Unknown2 = PacketOriginal.NextBool() }); } }
public override void Parse() { ProductName = PacketOriginal.NextString(); DisplayDays = PacketOriginal.NextInt(); Unknown0 = PacketOriginal.NextInt(); DisplayMonths = PacketOriginal.NextInt(); Unknown1 = PacketOriginal.NextInt(); IsHabboClub = PacketOriginal.NextBool(); IsVip = PacketOriginal.NextBool(); Unknown2 = PacketOriginal.NextInt(); Unknown3 = PacketOriginal.NextInt(); Unknown4 = PacketOriginal.NextInt(); if (PacketOriginal.BytesAvailable) { Unknown5 = PacketOriginal.NextInt(); } }
public override void Parse() { Friends = new List <HabboSearchResultData>(PacketOriginal.NextInt()); for (var i = 0; i < Friends.Capacity; i++) { Friends.Add(new HabboSearchResultData { UserId = PacketOriginal.NextInt(), Username = PacketOriginal.NextString(), Motto = PacketOriginal.NextString(), IsOnline = PacketOriginal.NextBool(), Unknown0 = PacketOriginal.NextBool(), Unknown1 = PacketOriginal.NextString(), Unknown2 = PacketOriginal.NextInt(), Figure = PacketOriginal.NextString(), LastOnline = PacketOriginal.NextString() }); } Others = new List <HabboSearchResultData>(PacketOriginal.NextInt()); for (var i = 0; i < Others.Capacity; i++) { Others.Add(new HabboSearchResultData { UserId = PacketOriginal.NextInt(), Username = PacketOriginal.NextString(), Motto = PacketOriginal.NextString(), IsOnline = PacketOriginal.NextBool(), Unknown0 = PacketOriginal.NextBool(), Unknown1 = PacketOriginal.NextString(), Unknown2 = PacketOriginal.NextInt(), Figure = PacketOriginal.NextString(), LastOnline = PacketOriginal.NextString() }); } }
public override void Parse() { PublicKey = PacketOriginal.NextString(); EnableClientEncryption = PacketOriginal.BytesLeft > 0 && PacketOriginal.NextBool(); }
public override void Parse() { RoomId = PacketOriginal.NextInt(); IsAdded = PacketOriginal.NextBool(); }
public override void Parse() { ClubLevel = PacketOriginal.NextInt(); Rank = PacketOriginal.NextInt(); IsAmbassador = PacketOriginal.NextBool(); }
public override void Parse() { Unknown0 = PacketOriginal.NextBool(); Unknown1 = PacketOriginal.NextBool(); Unknown2 = PacketOriginal.BytesAvailable ? (bool?)PacketOriginal.NextBool() : null; }
public override void Parse() { Root = new NodeData(PacketOriginal); Unknown0 = PacketOriginal.NextBool(); CatalogType = PacketOriginal.NextString(); }
public override void Parse() { Score = PacketOriginal.NextInt(); CanVote = PacketOriginal.NextBool(); }
public override void Parse() { HideWalls = PacketOriginal.NextBool(); Walls = PacketOriginal.NextInt(); Floor = PacketOriginal.NextInt(); }
public override void Parse() { Unknown0 = PacketOriginal.NextBool(); WallHeight = PacketOriginal.NextInt(); Map = PacketOriginal.NextString(); }
public override void Parse() { VirtualId = PacketOriginal.NextInt(); IsSleeping = PacketOriginal.NextBool(); }