// Token: 0x06001104 RID: 4356 RVA: 0x0001A4F0 File Offset: 0x000186F0 public static MapView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); MapView mapView = new MapView(); if ((num & 1) != 0) { mapView.Description = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { mapView.DisplayName = StringProxy.Deserialize(bytes); } mapView.IsBlueBox = BooleanProxy.Deserialize(bytes); mapView.MapId = Int32Proxy.Deserialize(bytes); mapView.MaxPlayers = Int32Proxy.Deserialize(bytes); mapView.RecommendedItemId = Int32Proxy.Deserialize(bytes); if ((num & 4) != 0) { mapView.SceneName = StringProxy.Deserialize(bytes); } if ((num & 8) != 0) { mapView.Settings = DictionaryProxy <GameModeType, MapSettings> .Deserialize(bytes, new DictionaryProxy <GameModeType, MapSettings> .Deserializer <GameModeType>(EnumProxy <GameModeType> .Deserialize), new DictionaryProxy <GameModeType, MapSettings> .Deserializer <MapSettings>(MapSettingsProxy.Deserialize)); } mapView.SupportedGameModes = Int32Proxy.Deserialize(bytes); mapView.SupportedItemClass = Int32Proxy.Deserialize(bytes); return(mapView); }
// Token: 0x06001076 RID: 4214 RVA: 0x00014F70 File Offset: 0x00013170 public static PublicProfileView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PublicProfileView publicProfileView = new PublicProfileView(); publicProfileView.AccessLevel = EnumProxy <MemberAccessLevel> .Deserialize(bytes); publicProfileView.Cmid = Int32Proxy.Deserialize(bytes); publicProfileView.EmailAddressStatus = EnumProxy <EmailAddressStatus> .Deserialize(bytes); if ((num & 1) != 0) { publicProfileView.FacebookId = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { publicProfileView.GroupTag = StringProxy.Deserialize(bytes); } publicProfileView.IsChatDisabled = BooleanProxy.Deserialize(bytes); publicProfileView.LastLoginDate = DateTimeProxy.Deserialize(bytes); if ((num & 4) != 0) { publicProfileView.Name = StringProxy.Deserialize(bytes); } return(publicProfileView); }
// Token: 0x06001052 RID: 4178 RVA: 0x000138F0 File Offset: 0x00011AF0 public static GroupInvitationView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); GroupInvitationView groupInvitationView = new GroupInvitationView(); groupInvitationView.GroupId = Int32Proxy.Deserialize(bytes); groupInvitationView.GroupInvitationId = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { groupInvitationView.GroupName = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { groupInvitationView.GroupTag = StringProxy.Deserialize(bytes); } groupInvitationView.InviteeCmid = Int32Proxy.Deserialize(bytes); if ((num & 4) != 0) { groupInvitationView.InviteeName = StringProxy.Deserialize(bytes); } groupInvitationView.InviterCmid = Int32Proxy.Deserialize(bytes); if ((num & 8) != 0) { groupInvitationView.InviterName = StringProxy.Deserialize(bytes); } if ((num & 16) != 0) { groupInvitationView.Message = StringProxy.Deserialize(bytes); } return(groupInvitationView); }
// Token: 0x06001060 RID: 4192 RVA: 0x00014234 File Offset: 0x00012434 public static MemberSessionDataView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); MemberSessionDataView memberSessionDataView = new MemberSessionDataView(); memberSessionDataView.AccessLevel = EnumProxy <MemberAccessLevel> .Deserialize(bytes); if ((num & 1) != 0) { memberSessionDataView.AuthToken = StringProxy.Deserialize(bytes); } memberSessionDataView.Channel = EnumProxy <ChannelType> .Deserialize(bytes); if ((num & 2) != 0) { memberSessionDataView.ClanTag = StringProxy.Deserialize(bytes); } memberSessionDataView.Cmid = Int32Proxy.Deserialize(bytes); memberSessionDataView.IsBanned = BooleanProxy.Deserialize(bytes); memberSessionDataView.Level = Int32Proxy.Deserialize(bytes); memberSessionDataView.LoginDate = DateTimeProxy.Deserialize(bytes); if ((num & 4) != 0) { memberSessionDataView.Name = StringProxy.Deserialize(bytes); } memberSessionDataView.XP = Int32Proxy.Deserialize(bytes); return(memberSessionDataView); }
// Token: 0x060010E4 RID: 4324 RVA: 0x000188D4 File Offset: 0x00016AD4 public static PlayerCardView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PlayerCardView playerCardView = new PlayerCardView(); playerCardView.Cmid = Int32Proxy.Deserialize(bytes); playerCardView.Hits = Int64Proxy.Deserialize(bytes); if ((num & 1) != 0) { playerCardView.Name = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { playerCardView.Precision = StringProxy.Deserialize(bytes); } playerCardView.Ranking = Int32Proxy.Deserialize(bytes); playerCardView.Shots = Int64Proxy.Deserialize(bytes); playerCardView.Splats = Int32Proxy.Deserialize(bytes); playerCardView.Splatted = Int32Proxy.Deserialize(bytes); if ((num & 4) != 0) { playerCardView.TagName = StringProxy.Deserialize(bytes); } return(playerCardView); }
// Token: 0x060010C0 RID: 4288 RVA: 0x00016AB0 File Offset: 0x00014CB0 public static EndOfMatchData Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); EndOfMatchData endOfMatchData = new EndOfMatchData(); endOfMatchData.HasWonMatch = BooleanProxy.Deserialize(bytes); if ((num & 1) != 0) { endOfMatchData.MatchGuid = StringProxy.Deserialize(bytes); } endOfMatchData.MostEffecientWeaponId = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { endOfMatchData.MostValuablePlayers = ListProxy <StatsSummary> .Deserialize(bytes, new ListProxy <StatsSummary> .Deserializer <StatsSummary>(StatsSummaryProxy.Deserialize)); } if ((num & 4) != 0) { endOfMatchData.PlayerStatsBestPerLife = StatsCollectionProxy.Deserialize(bytes); } if ((num & 8) != 0) { endOfMatchData.PlayerStatsTotal = StatsCollectionProxy.Deserialize(bytes); } if ((num & 16) != 0) { endOfMatchData.PlayerXpEarned = DictionaryProxy <byte, ushort> .Deserialize(bytes, new DictionaryProxy <byte, ushort> .Deserializer <byte>(ByteProxy.Deserialize), new DictionaryProxy <byte, ushort> .Deserializer <ushort>(UInt16Proxy.Deserialize)); } endOfMatchData.TimeInGameMinutes = Int32Proxy.Deserialize(bytes); return(endOfMatchData); }
// Token: 0x060010D8 RID: 4312 RVA: 0x00017FC8 File Offset: 0x000161C8 public static AuthenticateApplicationView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); AuthenticateApplicationView authenticateApplicationView = new AuthenticateApplicationView(); if ((num & 1) != 0) { authenticateApplicationView.CommServer = PhotonViewProxy.Deserialize(bytes); } if ((num & 2) != 0) { authenticateApplicationView.EncryptionInitVector = StringProxy.Deserialize(bytes); } if ((num & 4) != 0) { authenticateApplicationView.EncryptionPassPhrase = StringProxy.Deserialize(bytes); } if ((num & 8) != 0) { authenticateApplicationView.GameServers = ListProxy <PhotonView> .Deserialize(bytes, new ListProxy <PhotonView> .Deserializer <PhotonView>(PhotonViewProxy.Deserialize)); } authenticateApplicationView.IsEnabled = BooleanProxy.Deserialize(bytes); authenticateApplicationView.WarnPlayer = BooleanProxy.Deserialize(bytes); return(authenticateApplicationView); }
// Token: 0x06001106 RID: 4358 RVA: 0x0001A6A8 File Offset: 0x000188A8 public static MemberAuthenticationResultView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); MemberAuthenticationResultView memberAuthenticationResultView = new MemberAuthenticationResultView(); if ((num & 1) != 0) { memberAuthenticationResultView.AuthToken = StringProxy.Deserialize(bytes); } memberAuthenticationResultView.IsAccountComplete = BooleanProxy.Deserialize(bytes); if ((num & 2) != 0) { memberAuthenticationResultView.LuckyDraw = LuckyDrawUnityViewProxy.Deserialize(bytes); } memberAuthenticationResultView.MemberAuthenticationResult = EnumProxy <MemberAuthenticationResult> .Deserialize(bytes); if ((num & 4) != 0) { memberAuthenticationResultView.MemberView = MemberViewProxy.Deserialize(bytes); } if ((num & 8) != 0) { memberAuthenticationResultView.PlayerStatisticsView = PlayerStatisticsViewProxy.Deserialize(bytes); } memberAuthenticationResultView.ServerTime = DateTimeProxy.Deserialize(bytes); return(memberAuthenticationResultView); }
// Token: 0x06001102 RID: 4354 RVA: 0x0001A324 File Offset: 0x00018524 public static GameApplicationView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); GameApplicationView gameApplicationView = new GameApplicationView(); if ((num & 1) != 0) { gameApplicationView.CommServer = PhotonViewProxy.Deserialize(bytes); } if ((num & 2) != 0) { gameApplicationView.EncryptionInitVector = StringProxy.Deserialize(bytes); } if ((num & 4) != 0) { gameApplicationView.EncryptionPassPhrase = StringProxy.Deserialize(bytes); } if ((num & 8) != 0) { gameApplicationView.GameServers = ListProxy <PhotonView> .Deserialize(bytes, new ListProxy <PhotonView> .Deserializer <PhotonView>(PhotonViewProxy.Deserialize)); } if ((num & 16) != 0) { gameApplicationView.SupportUrl = StringProxy.Deserialize(bytes); } if ((num & 32) != 0) { gameApplicationView.Version = StringProxy.Deserialize(bytes); } return(gameApplicationView); }
// Token: 0x0600105A RID: 4186 RVA: 0x00013E44 File Offset: 0x00012044 public static LuckyDrawUnityView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); LuckyDrawUnityView luckyDrawUnityView = new LuckyDrawUnityView(); luckyDrawUnityView.Category = EnumProxy <BundleCategoryType> .Deserialize(bytes); if ((num & 1) != 0) { luckyDrawUnityView.Description = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { luckyDrawUnityView.IconUrl = StringProxy.Deserialize(bytes); } luckyDrawUnityView.Id = Int32Proxy.Deserialize(bytes); luckyDrawUnityView.IsAvailableInShop = BooleanProxy.Deserialize(bytes); if ((num & 4) != 0) { luckyDrawUnityView.LuckyDrawSets = ListProxy <LuckyDrawSetUnityView> .Deserialize(bytes, new ListProxy <LuckyDrawSetUnityView> .Deserializer <LuckyDrawSetUnityView>(LuckyDrawSetUnityViewProxy.Deserialize)); } if ((num & 8) != 0) { luckyDrawUnityView.Name = StringProxy.Deserialize(bytes); } luckyDrawUnityView.Price = Int32Proxy.Deserialize(bytes); luckyDrawUnityView.UberStrikeCurrencyType = EnumProxy <UberStrikeCurrencyType> .Deserialize(bytes); return(luckyDrawUnityView); }
// Token: 0x060010C8 RID: 4296 RVA: 0x000171EC File Offset: 0x000153EC public static CommActorInfo Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); CommActorInfo commActorInfo = new CommActorInfo(); commActorInfo.AccessLevel = EnumProxy <MemberAccessLevel> .Deserialize(bytes); commActorInfo.Channel = EnumProxy <ChannelType> .Deserialize(bytes); if ((num & 1) != 0) { commActorInfo.ClanTag = StringProxy.Deserialize(bytes); } commActorInfo.Cmid = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { commActorInfo.CurrentRoom = GameRoomProxy.Deserialize(bytes); } commActorInfo.ModerationFlag = ByteProxy.Deserialize(bytes); if ((num & 4) != 0) { commActorInfo.ModInformation = StringProxy.Deserialize(bytes); } if ((num & 8) != 0) { commActorInfo.PlayerName = StringProxy.Deserialize(bytes); } return(commActorInfo); }
// Token: 0x060010CC RID: 4300 RVA: 0x0001744C File Offset: 0x0001564C public static GameRoomData Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); GameRoomData gameRoomData = new GameRoomData(); gameRoomData.ConnectedPlayers = Int32Proxy.Deserialize(bytes); gameRoomData.GameFlags = Int32Proxy.Deserialize(bytes); gameRoomData.GameMode = EnumProxy <GameModeType> .Deserialize(bytes); if ((num & 1) != 0) { gameRoomData.Guid = StringProxy.Deserialize(bytes); } gameRoomData.IsPasswordProtected = BooleanProxy.Deserialize(bytes); gameRoomData.IsPermanentGame = BooleanProxy.Deserialize(bytes); gameRoomData.KillLimit = Int32Proxy.Deserialize(bytes); gameRoomData.LevelMax = ByteProxy.Deserialize(bytes); gameRoomData.LevelMin = ByteProxy.Deserialize(bytes); gameRoomData.MapID = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { gameRoomData.Name = StringProxy.Deserialize(bytes); } gameRoomData.Number = Int32Proxy.Deserialize(bytes); gameRoomData.PlayerLimit = Int32Proxy.Deserialize(bytes); if ((num & 4) != 0) { gameRoomData.Server = ConnectionAddressProxy.Deserialize(bytes); } gameRoomData.TimeLimit = Int32Proxy.Deserialize(bytes); return(gameRoomData); }
// Token: 0x0600103A RID: 4154 RVA: 0x000127DC File Offset: 0x000109DC public static BundleView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); BundleView bundleView = new BundleView(); if ((num & 1) != 0) { bundleView.AndroidStoreUniqueId = StringProxy.Deserialize(bytes); } bundleView.ApplicationId = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { bundleView.Availability = ListProxy <ChannelType> .Deserialize(bytes, new ListProxy <ChannelType> .Deserializer <ChannelType>(EnumProxy <ChannelType> .Deserialize)); } if ((num & 4) != 0) { bundleView.BundleItemViews = ListProxy <BundleItemView> .Deserialize(bytes, new ListProxy <BundleItemView> .Deserializer <BundleItemView>(BundleItemViewProxy.Deserialize)); } bundleView.Category = EnumProxy <BundleCategoryType> .Deserialize(bytes); bundleView.Credits = Int32Proxy.Deserialize(bytes); if ((num & 8) != 0) { bundleView.Description = StringProxy.Deserialize(bytes); } if ((num & 16) != 0) { bundleView.IconUrl = StringProxy.Deserialize(bytes); } bundleView.Id = Int32Proxy.Deserialize(bytes); if ((num & 32) != 0) { bundleView.ImageUrl = StringProxy.Deserialize(bytes); } if ((num & 64) != 0) { bundleView.IosAppStoreUniqueId = StringProxy.Deserialize(bytes); } bundleView.IsDefault = BooleanProxy.Deserialize(bytes); bundleView.IsOnSale = BooleanProxy.Deserialize(bytes); bundleView.IsPromoted = BooleanProxy.Deserialize(bytes); if ((num & 128) != 0) { bundleView.MacAppStoreUniqueId = StringProxy.Deserialize(bytes); } if ((num & 256) != 0) { bundleView.Name = StringProxy.Deserialize(bytes); } bundleView.Points = Int32Proxy.Deserialize(bytes); if ((num & 512) != 0) { bundleView.PromotionTag = StringProxy.Deserialize(bytes); } bundleView.USDPrice = DecimalProxy.Deserialize(bytes); bundleView.USDPromoPrice = DecimalProxy.Deserialize(bytes); return(bundleView); }
// Token: 0x060010C2 RID: 4290 RVA: 0x00016D94 File Offset: 0x00014F94 public static GameActorInfo Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); GameActorInfo gameActorInfo = new GameActorInfo(); gameActorInfo.AccessLevel = EnumProxy <MemberAccessLevel> .Deserialize(bytes); gameActorInfo.ArmorPointCapacity = ByteProxy.Deserialize(bytes); gameActorInfo.ArmorPoints = ByteProxy.Deserialize(bytes); gameActorInfo.Channel = EnumProxy <ChannelType> .Deserialize(bytes); if ((num & 1) != 0) { gameActorInfo.ClanTag = StringProxy.Deserialize(bytes); } gameActorInfo.Cmid = Int32Proxy.Deserialize(bytes); gameActorInfo.CurrentFiringMode = EnumProxy <FireMode> .Deserialize(bytes); gameActorInfo.CurrentWeaponSlot = ByteProxy.Deserialize(bytes); gameActorInfo.Deaths = Int16Proxy.Deserialize(bytes); if ((num & 2) != 0) { gameActorInfo.FunctionalItems = ListProxy <int> .Deserialize(bytes, new ListProxy <int> .Deserializer <int>(Int32Proxy.Deserialize)); } if ((num & 4) != 0) { gameActorInfo.Gear = ListProxy <int> .Deserialize(bytes, new ListProxy <int> .Deserializer <int>(Int32Proxy.Deserialize)); } gameActorInfo.Health = Int16Proxy.Deserialize(bytes); gameActorInfo.Kills = Int16Proxy.Deserialize(bytes); gameActorInfo.Level = Int32Proxy.Deserialize(bytes); gameActorInfo.Ping = UInt16Proxy.Deserialize(bytes); gameActorInfo.PlayerId = ByteProxy.Deserialize(bytes); if ((num & 8) != 0) { gameActorInfo.PlayerName = StringProxy.Deserialize(bytes); } gameActorInfo.PlayerState = EnumProxy <PlayerStates> .Deserialize(bytes); if ((num & 16) != 0) { gameActorInfo.QuickItems = ListProxy <int> .Deserialize(bytes, new ListProxy <int> .Deserializer <int>(Int32Proxy.Deserialize)); } gameActorInfo.Rank = ByteProxy.Deserialize(bytes); gameActorInfo.SkinColor = ColorProxy.Deserialize(bytes); gameActorInfo.StepSound = EnumProxy <SurfaceType> .Deserialize(bytes); gameActorInfo.TeamID = EnumProxy <TeamID> .Deserialize(bytes); if ((num & 32) != 0) { gameActorInfo.Weapons = ListProxy <int> .Deserialize(bytes, new ListProxy <int> .Deserializer <int>(Int32Proxy.Deserialize)); } return(gameActorInfo); }
// Token: 0x060010F2 RID: 4338 RVA: 0x00019290 File Offset: 0x00017490 public static ItemAssetBundleView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); ItemAssetBundleView itemAssetBundleView = new ItemAssetBundleView(); if ((num & 1) != 0) { itemAssetBundleView.Url = StringProxy.Deserialize(bytes); } return(itemAssetBundleView); }
// Token: 0x06001048 RID: 4168 RVA: 0x00012FD0 File Offset: 0x000111D0 public static ClanView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); ClanView clanView = new ClanView(); if ((num & 1) != 0) { clanView.Address = StringProxy.Deserialize(bytes); } clanView.ApplicationId = Int32Proxy.Deserialize(bytes); clanView.ColorStyle = EnumProxy <GroupColor> .Deserialize(bytes); if ((num & 2) != 0) { clanView.Description = StringProxy.Deserialize(bytes); } clanView.FontStyle = EnumProxy <GroupFontStyle> .Deserialize(bytes); clanView.FoundingDate = DateTimeProxy.Deserialize(bytes); clanView.GroupId = Int32Proxy.Deserialize(bytes); clanView.LastUpdated = DateTimeProxy.Deserialize(bytes); if ((num & 4) != 0) { clanView.Members = ListProxy <ClanMemberView> .Deserialize(bytes, new ListProxy <ClanMemberView> .Deserializer <ClanMemberView>(ClanMemberViewProxy.Deserialize)); } clanView.MembersCount = Int32Proxy.Deserialize(bytes); clanView.MembersLimit = Int32Proxy.Deserialize(bytes); if ((num & 8) != 0) { clanView.Motto = StringProxy.Deserialize(bytes); } if ((num & 16) != 0) { clanView.Name = StringProxy.Deserialize(bytes); } clanView.OwnerCmid = Int32Proxy.Deserialize(bytes); if ((num & 32) != 0) { clanView.OwnerName = StringProxy.Deserialize(bytes); } if ((num & 64) != 0) { clanView.Picture = StringProxy.Deserialize(bytes); } if ((num & 128) != 0) { clanView.Tag = StringProxy.Deserialize(bytes); } clanView.Type = EnumProxy <GroupType> .Deserialize(bytes); return(clanView); }
// Token: 0x060010EE RID: 4334 RVA: 0x00019114 File Offset: 0x00017314 public static PlayerXPEventView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PlayerXPEventView playerXPEventView = new PlayerXPEventView(); if ((num & 1) != 0) { playerXPEventView.Name = StringProxy.Deserialize(bytes); } playerXPEventView.PlayerXPEventId = Int32Proxy.Deserialize(bytes); playerXPEventView.XPMultiplier = DecimalProxy.Deserialize(bytes); return(playerXPEventView); }
// Token: 0x06001036 RID: 4150 RVA: 0x000124B4 File Offset: 0x000106B4 public static BugView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); BugView bugView = new BugView(); if ((num & 1) != 0) { bugView.Content = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { bugView.Subject = StringProxy.Deserialize(bytes); } return(bugView); }
// Token: 0x0600110A RID: 4362 RVA: 0x0001A888 File Offset: 0x00018A88 public static PlaySpanHashesViewModel Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PlaySpanHashesViewModel playSpanHashesViewModel = new PlaySpanHashesViewModel(); if ((num & 1) != 0) { playSpanHashesViewModel.Hashes = DictionaryProxy <decimal, string> .Deserialize(bytes, new DictionaryProxy <decimal, string> .Deserializer <decimal>(DecimalProxy.Deserialize), new DictionaryProxy <decimal, string> .Deserializer <string>(StringProxy.Deserialize)); } if ((num & 2) != 0) { playSpanHashesViewModel.MerchTrans = StringProxy.Deserialize(bytes); } return(playSpanHashesViewModel); }
// Token: 0x0600105C RID: 4188 RVA: 0x00013F84 File Offset: 0x00012184 public static MemberPositionUpdateView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); MemberPositionUpdateView memberPositionUpdateView = new MemberPositionUpdateView(); if ((num & 1) != 0) { memberPositionUpdateView.AuthToken = StringProxy.Deserialize(bytes); } memberPositionUpdateView.GroupId = Int32Proxy.Deserialize(bytes); memberPositionUpdateView.MemberCmid = Int32Proxy.Deserialize(bytes); memberPositionUpdateView.Position = EnumProxy <GroupPosition> .Deserialize(bytes); return(memberPositionUpdateView); }
// Token: 0x0600104A RID: 4170 RVA: 0x000131B8 File Offset: 0x000113B8 public static ContactGroupView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); ContactGroupView contactGroupView = new ContactGroupView(); if ((num & 1) != 0) { contactGroupView.Contacts = ListProxy <PublicProfileView> .Deserialize(bytes, new ListProxy <PublicProfileView> .Deserializer <PublicProfileView>(PublicProfileViewProxy.Deserialize)); } contactGroupView.GroupId = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { contactGroupView.GroupName = StringProxy.Deserialize(bytes); } return(contactGroupView); }
// Token: 0x06001042 RID: 4162 RVA: 0x00012C48 File Offset: 0x00010E48 public static ClanMemberView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); ClanMemberView clanMemberView = new ClanMemberView(); clanMemberView.Cmid = Int32Proxy.Deserialize(bytes); clanMemberView.JoiningDate = DateTimeProxy.Deserialize(bytes); clanMemberView.Lastlogin = DateTimeProxy.Deserialize(bytes); if ((num & 1) != 0) { clanMemberView.Name = StringProxy.Deserialize(bytes); } clanMemberView.Position = EnumProxy <GroupPosition> .Deserialize(bytes); return(clanMemberView); }
// Token: 0x060010BC RID: 4284 RVA: 0x0001681C File Offset: 0x00014A1C public static ServerConnectionView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); ServerConnectionView serverConnectionView = new ServerConnectionView(); serverConnectionView.AccessLevel = EnumProxy <MemberAccessLevel> .Deserialize(bytes); if ((num & 1) != 0) { serverConnectionView.ApiVersion = StringProxy.Deserialize(bytes); } serverConnectionView.Channel = EnumProxy <ChannelType> .Deserialize(bytes); serverConnectionView.Cmid = Int32Proxy.Deserialize(bytes); return(serverConnectionView); }
// Token: 0x060010FC RID: 4348 RVA: 0x00019A30 File Offset: 0x00017C30 public static UberStrikeItemQuickView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); UberStrikeItemQuickView uberStrikeItemQuickView = new UberStrikeItemQuickView(); uberStrikeItemQuickView.BehaviourType = EnumProxy <QuickItemLogic> .Deserialize(bytes); uberStrikeItemQuickView.CoolDownTime = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { uberStrikeItemQuickView.CustomProperties = DictionaryProxy <string, string> .Deserialize(bytes, new DictionaryProxy <string, string> .Deserializer <string>(StringProxy.Deserialize), new DictionaryProxy <string, string> .Deserializer <string>(StringProxy.Deserialize)); } if ((num & 2) != 0) { uberStrikeItemQuickView.Description = StringProxy.Deserialize(bytes); } uberStrikeItemQuickView.ID = Int32Proxy.Deserialize(bytes); uberStrikeItemQuickView.IsConsumable = BooleanProxy.Deserialize(bytes); uberStrikeItemQuickView.ItemClass = EnumProxy <UberstrikeItemClass> .Deserialize(bytes); if ((num & 4) != 0) { uberStrikeItemQuickView.ItemProperties = DictionaryProxy <ItemPropertyType, int> .Deserialize(bytes, new DictionaryProxy <ItemPropertyType, int> .Deserializer <ItemPropertyType>(EnumProxy <ItemPropertyType> .Deserialize), new DictionaryProxy <ItemPropertyType, int> .Deserializer <int>(Int32Proxy.Deserialize)); } uberStrikeItemQuickView.LevelLock = Int32Proxy.Deserialize(bytes); uberStrikeItemQuickView.MaxDurationDays = Int32Proxy.Deserialize(bytes); uberStrikeItemQuickView.MaxOwnableAmount = Int32Proxy.Deserialize(bytes); if ((num & 8) != 0) { uberStrikeItemQuickView.Name = StringProxy.Deserialize(bytes); } if ((num & 16) != 0) { uberStrikeItemQuickView.PrefabName = StringProxy.Deserialize(bytes); } if ((num & 32) != 0) { uberStrikeItemQuickView.Prices = ListProxy <ItemPrice> .Deserialize(bytes, new ListProxy <ItemPrice> .Deserializer <ItemPrice>(ItemPriceProxy.Deserialize)); } uberStrikeItemQuickView.ShopHighlightType = EnumProxy <ItemShopHighlightType> .Deserialize(bytes); uberStrikeItemQuickView.UsesPerGame = Int32Proxy.Deserialize(bytes); uberStrikeItemQuickView.UsesPerLife = Int32Proxy.Deserialize(bytes); uberStrikeItemQuickView.UsesPerRound = Int32Proxy.Deserialize(bytes); uberStrikeItemQuickView.WarmUpTime = Int32Proxy.Deserialize(bytes); return(uberStrikeItemQuickView); }
// Token: 0x0600106C RID: 4204 RVA: 0x000149C4 File Offset: 0x00012BC4 public static PackageView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PackageView packageView = new PackageView(); packageView.Bonus = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { packageView.Items = ListProxy <int> .Deserialize(bytes, new ListProxy <int> .Deserializer <int>(Int32Proxy.Deserialize)); } if ((num & 2) != 0) { packageView.Name = StringProxy.Deserialize(bytes); } packageView.Price = DecimalProxy.Deserialize(bytes); return(packageView); }
// Token: 0x060010DE RID: 4318 RVA: 0x000182AC File Offset: 0x000164AC public static LiveFeedView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); LiveFeedView liveFeedView = new LiveFeedView(); liveFeedView.Date = DateTimeProxy.Deserialize(bytes); if ((num & 1) != 0) { liveFeedView.Description = StringProxy.Deserialize(bytes); } liveFeedView.LivedFeedId = Int32Proxy.Deserialize(bytes); liveFeedView.Priority = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { liveFeedView.Url = StringProxy.Deserialize(bytes); } return(liveFeedView); }
// Token: 0x060010AE RID: 4270 RVA: 0x000158F4 File Offset: 0x00013AF4 public static CommActorInfoDelta Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); byte id = ByteProxy.Deserialize(bytes); CommActorInfoDelta commActorInfoDelta = new CommActorInfoDelta(); commActorInfoDelta.Id = id; if (num != 0) { if ((num & 1) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.AccessLevel] = EnumProxy <MemberAccessLevel> .Deserialize(bytes); } if ((num & 2) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.Channel] = EnumProxy <ChannelType> .Deserialize(bytes); } if ((num & 4) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.ClanTag] = StringProxy.Deserialize(bytes); } if ((num & 8) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.Cmid] = Int32Proxy.Deserialize(bytes); } if ((num & 16) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.CurrentRoom] = GameRoomProxy.Deserialize(bytes); } if ((num & 32) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.ModerationFlag] = ByteProxy.Deserialize(bytes); } if ((num & 64) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.ModInformation] = StringProxy.Deserialize(bytes); } if ((num & 128) != 0) { commActorInfoDelta.Changes[CommActorInfoDelta.Keys.PlayerName] = StringProxy.Deserialize(bytes); } } return(commActorInfoDelta); }
// Token: 0x06001066 RID: 4198 RVA: 0x00014578 File Offset: 0x00012778 public static MessageThreadView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); MessageThreadView messageThreadView = new MessageThreadView(); messageThreadView.HasNewMessages = BooleanProxy.Deserialize(bytes); if ((num & 1) != 0) { messageThreadView.LastMessagePreview = StringProxy.Deserialize(bytes); } messageThreadView.LastUpdate = DateTimeProxy.Deserialize(bytes); messageThreadView.MessageCount = Int32Proxy.Deserialize(bytes); messageThreadView.ThreadId = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { messageThreadView.ThreadName = StringProxy.Deserialize(bytes); } return(messageThreadView); }
// Token: 0x060010E0 RID: 4320 RVA: 0x000184F0 File Offset: 0x000166F0 public static LoadoutView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); LoadoutView loadoutView = new LoadoutView(); loadoutView.Backpack = Int32Proxy.Deserialize(bytes); loadoutView.Boots = Int32Proxy.Deserialize(bytes); loadoutView.Cmid = Int32Proxy.Deserialize(bytes); loadoutView.Face = Int32Proxy.Deserialize(bytes); loadoutView.FunctionalItem1 = Int32Proxy.Deserialize(bytes); loadoutView.FunctionalItem2 = Int32Proxy.Deserialize(bytes); loadoutView.FunctionalItem3 = Int32Proxy.Deserialize(bytes); loadoutView.Gloves = Int32Proxy.Deserialize(bytes); loadoutView.Head = Int32Proxy.Deserialize(bytes); loadoutView.LoadoutId = Int32Proxy.Deserialize(bytes); loadoutView.LowerBody = Int32Proxy.Deserialize(bytes); loadoutView.MeleeWeapon = Int32Proxy.Deserialize(bytes); loadoutView.QuickItem1 = Int32Proxy.Deserialize(bytes); loadoutView.QuickItem2 = Int32Proxy.Deserialize(bytes); loadoutView.QuickItem3 = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { loadoutView.SkinColor = StringProxy.Deserialize(bytes); } loadoutView.Type = EnumProxy <AvatarType> .Deserialize(bytes); loadoutView.UpperBody = Int32Proxy.Deserialize(bytes); loadoutView.Weapon1 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon1Mod1 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon1Mod2 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon1Mod3 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon2 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon2Mod1 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon2Mod2 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon2Mod3 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon3 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon3Mod1 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon3Mod2 = Int32Proxy.Deserialize(bytes); loadoutView.Weapon3Mod3 = Int32Proxy.Deserialize(bytes); loadoutView.Webbing = Int32Proxy.Deserialize(bytes); return(loadoutView); }
// Token: 0x06001114 RID: 4372 RVA: 0x0001ADB4 File Offset: 0x00018FB4 public static UberStrikeItemGearView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); UberStrikeItemGearView uberStrikeItemGearView = new UberStrikeItemGearView(); uberStrikeItemGearView.ArmorPoints = Int32Proxy.Deserialize(bytes); uberStrikeItemGearView.ArmorWeight = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { uberStrikeItemGearView.CustomProperties = DictionaryProxy <string, string> .Deserialize(bytes, new DictionaryProxy <string, string> .Deserializer <string>(StringProxy.Deserialize), new DictionaryProxy <string, string> .Deserializer <string>(StringProxy.Deserialize)); } if ((num & 2) != 0) { uberStrikeItemGearView.Description = StringProxy.Deserialize(bytes); } uberStrikeItemGearView.ID = Int32Proxy.Deserialize(bytes); uberStrikeItemGearView.IsConsumable = BooleanProxy.Deserialize(bytes); uberStrikeItemGearView.ItemClass = EnumProxy <UberstrikeItemClass> .Deserialize(bytes); if ((num & 4) != 0) { uberStrikeItemGearView.ItemProperties = DictionaryProxy <ItemPropertyType, int> .Deserialize(bytes, new DictionaryProxy <ItemPropertyType, int> .Deserializer <ItemPropertyType>(EnumProxy <ItemPropertyType> .Deserialize), new DictionaryProxy <ItemPropertyType, int> .Deserializer <int>(Int32Proxy.Deserialize)); } uberStrikeItemGearView.LevelLock = Int32Proxy.Deserialize(bytes); uberStrikeItemGearView.MaxDurationDays = Int32Proxy.Deserialize(bytes); if ((num & 8) != 0) { uberStrikeItemGearView.Name = StringProxy.Deserialize(bytes); } if ((num & 16) != 0) { uberStrikeItemGearView.PrefabName = StringProxy.Deserialize(bytes); } if ((num & 32) != 0) { uberStrikeItemGearView.Prices = ListProxy <ItemPrice> .Deserialize(bytes, new ListProxy <ItemPrice> .Deserializer <ItemPrice>(ItemPriceProxy.Deserialize)); } uberStrikeItemGearView.ShopHighlightType = EnumProxy <ItemShopHighlightType> .Deserialize(bytes); return(uberStrikeItemGearView); }