// 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: 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: 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: 0x0600104E RID: 4174 RVA: 0x000134D0 File Offset: 0x000116D0 public static CurrencyDepositView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); CurrencyDepositView currencyDepositView = new CurrencyDepositView(); currencyDepositView.ApplicationId = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { currencyDepositView.BundleId = new int?(Int32Proxy.Deserialize(bytes)); } if ((num & 2) != 0) { currencyDepositView.BundleName = StringProxy.Deserialize(bytes); } currencyDepositView.Cash = DecimalProxy.Deserialize(bytes); currencyDepositView.ChannelId = EnumProxy <ChannelType> .Deserialize(bytes); currencyDepositView.Cmid = Int32Proxy.Deserialize(bytes); currencyDepositView.Credits = Int32Proxy.Deserialize(bytes); currencyDepositView.CreditsDepositId = Int32Proxy.Deserialize(bytes); if ((num & 4) != 0) { currencyDepositView.CurrencyLabel = StringProxy.Deserialize(bytes); } currencyDepositView.DepositDate = DateTimeProxy.Deserialize(bytes); currencyDepositView.IsAdminAction = BooleanProxy.Deserialize(bytes); currencyDepositView.PaymentProviderId = EnumProxy <PaymentProviderType> .Deserialize(bytes); currencyDepositView.Points = Int32Proxy.Deserialize(bytes); if ((num & 8) != 0) { currencyDepositView.TransactionKey = StringProxy.Deserialize(bytes); } currencyDepositView.UsdAmount = DecimalProxy.Deserialize(bytes); return(currencyDepositView); }