// Token: 0x060010BA RID: 4282 RVA: 0x000166C8 File Offset: 0x000148C8
        public static PlayerMatchStats Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            PlayerMatchStats playerMatchStats = new PlayerMatchStats();

            playerMatchStats.Cmid             = Int32Proxy.Deserialize(bytes);
            playerMatchStats.Death            = Int32Proxy.Deserialize(bytes);
            playerMatchStats.HasFinishedMatch = BooleanProxy.Deserialize(bytes);
            playerMatchStats.HasWonMatch      = BooleanProxy.Deserialize(bytes);
            playerMatchStats.Headshots        = Int32Proxy.Deserialize(bytes);
            playerMatchStats.Hits             = Int64Proxy.Deserialize(bytes);
            playerMatchStats.Kills            = Int32Proxy.Deserialize(bytes);
            playerMatchStats.Nutshots         = Int32Proxy.Deserialize(bytes);
            if ((num & 1) != 0)
            {
                playerMatchStats.PersonalRecord = PlayerPersonalRecordStatisticsViewProxy.Deserialize(bytes);
            }
            playerMatchStats.Shots           = Int64Proxy.Deserialize(bytes);
            playerMatchStats.Smackdowns      = Int32Proxy.Deserialize(bytes);
            playerMatchStats.TimeSpentInGame = Int32Proxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                playerMatchStats.WeaponStatistics = PlayerWeaponStatisticsViewProxy.Deserialize(bytes);
            }
            return(playerMatchStats);
        }
        // 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: 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: 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);
        }
Exemple #5
0
        // 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);
        }
Exemple #6
0
        // 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: 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);
        }
Exemple #8
0
        // 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);
        }
Exemple #9
0
        // 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);
        }
Exemple #10
0
        // 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);
        }
Exemple #11
0
 // Token: 0x060010D4 RID: 4308 RVA: 0x00017D78 File Offset: 0x00015F78
 public static ClanInvitationAnswerViewModel Deserialize(Stream bytes)
 {
     return(new ClanInvitationAnswerViewModel
     {
         GroupInvitationId = Int32Proxy.Deserialize(bytes),
         IsInvitationAccepted = BooleanProxy.Deserialize(bytes),
         ReturnValue = Int32Proxy.Deserialize(bytes)
     });
 }
Exemple #12
0
 // Token: 0x06001072 RID: 4210 RVA: 0x00014CA4 File Offset: 0x00012EA4
 public static PointDepositView Deserialize(Stream bytes)
 {
     return(new PointDepositView
     {
         Cmid = Int32Proxy.Deserialize(bytes),
         DepositDate = DateTimeProxy.Deserialize(bytes),
         DepositType = EnumProxy <PointsDepositType> .Deserialize(bytes),
         IsAdminAction = BooleanProxy.Deserialize(bytes),
         PointDepositId = Int32Proxy.Deserialize(bytes),
         Points = Int32Proxy.Deserialize(bytes)
     });
 }
 // Token: 0x06001056 RID: 4182 RVA: 0x00013B4C File Offset: 0x00011D4C
 public static ItemTransactionView Deserialize(Stream bytes)
 {
     return new ItemTransactionView
     {
         Cmid = Int32Proxy.Deserialize(bytes),
         Credits = Int32Proxy.Deserialize(bytes),
         Duration = EnumProxy<BuyingDurationType>.Deserialize(bytes),
         IsAdminAction = BooleanProxy.Deserialize(bytes),
         ItemId = Int32Proxy.Deserialize(bytes),
         Points = Int32Proxy.Deserialize(bytes),
         WithdrawalDate = DateTimeProxy.Deserialize(bytes),
         WithdrawalId = Int32Proxy.Deserialize(bytes)
     };
 }
Exemple #14
0
        // 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);
        }
Exemple #15
0
        // 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);
        }
Exemple #16
0
        // 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);
        }
Exemple #17
0
        // Token: 0x06001058 RID: 4184 RVA: 0x00013C9C File Offset: 0x00011E9C
        public static LuckyDrawSetUnityView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            LuckyDrawSetUnityView luckyDrawSetUnityView = new LuckyDrawSetUnityView();

            luckyDrawSetUnityView.CreditsAttributed    = Int32Proxy.Deserialize(bytes);
            luckyDrawSetUnityView.ExposeItemsToPlayers = BooleanProxy.Deserialize(bytes);
            luckyDrawSetUnityView.Id = Int32Proxy.Deserialize(bytes);
            if ((num & 1) != 0)
            {
                luckyDrawSetUnityView.ImageUrl = StringProxy.Deserialize(bytes);
            }
            luckyDrawSetUnityView.LuckyDrawId = Int32Proxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                luckyDrawSetUnityView.LuckyDrawSetItems = ListProxy <BundleItemView> .Deserialize(bytes, new ListProxy <BundleItemView> .Deserializer <BundleItemView>(BundleItemViewProxy.Deserialize));
            }
            luckyDrawSetUnityView.PointsAttributed = Int32Proxy.Deserialize(bytes);
            luckyDrawSetUnityView.SetWeight        = Int32Proxy.Deserialize(bytes);
            return(luckyDrawSetUnityView);
        }
Exemple #18
0
        // Token: 0x06001068 RID: 4200 RVA: 0x00014770 File Offset: 0x00012970
        public static MysteryBoxUnityView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            MysteryBoxUnityView mysteryBoxUnityView = new MysteryBoxUnityView();

            mysteryBoxUnityView.Category = EnumProxy <BundleCategoryType> .Deserialize(bytes);

            mysteryBoxUnityView.CreditsAttributed       = Int32Proxy.Deserialize(bytes);
            mysteryBoxUnityView.CreditsAttributedWeight = Int32Proxy.Deserialize(bytes);
            if ((num & 1) != 0)
            {
                mysteryBoxUnityView.Description = StringProxy.Deserialize(bytes);
            }
            mysteryBoxUnityView.ExposeItemsToPlayers = BooleanProxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                mysteryBoxUnityView.IconUrl = StringProxy.Deserialize(bytes);
            }
            mysteryBoxUnityView.Id = Int32Proxy.Deserialize(bytes);
            if ((num & 4) != 0)
            {
                mysteryBoxUnityView.ImageUrl = StringProxy.Deserialize(bytes);
            }
            mysteryBoxUnityView.IsAvailableInShop = BooleanProxy.Deserialize(bytes);
            mysteryBoxUnityView.ItemsAttributed   = Int32Proxy.Deserialize(bytes);
            if ((num & 8) != 0)
            {
                mysteryBoxUnityView.MysteryBoxItems = ListProxy <BundleItemView> .Deserialize(bytes, new ListProxy <BundleItemView> .Deserializer <BundleItemView>(BundleItemViewProxy.Deserialize));
            }
            if ((num & 16) != 0)
            {
                mysteryBoxUnityView.Name = StringProxy.Deserialize(bytes);
            }
            mysteryBoxUnityView.PointsAttributed       = Int32Proxy.Deserialize(bytes);
            mysteryBoxUnityView.PointsAttributedWeight = Int32Proxy.Deserialize(bytes);
            mysteryBoxUnityView.Price = Int32Proxy.Deserialize(bytes);
            mysteryBoxUnityView.UberStrikeCurrencyType = EnumProxy <UberStrikeCurrencyType> .Deserialize(bytes);

            return(mysteryBoxUnityView);
        }
        // Token: 0x06001032 RID: 4146 RVA: 0x0001205C File Offset: 0x0001025C
        public static ApplicationView Deserialize(Stream bytes)
        {
            int             num             = Int32Proxy.Deserialize(bytes);
            ApplicationView applicationView = new ApplicationView();

            applicationView.ApplicationVersionId = Int32Proxy.Deserialize(bytes);
            applicationView.Build = EnumProxy <BuildType> .Deserialize(bytes);

            applicationView.Channel = EnumProxy <ChannelType> .Deserialize(bytes);

            if ((num & 1) != 0)
            {
                applicationView.ExpirationDate = new DateTime?(DateTimeProxy.Deserialize(bytes));
            }
            if ((num & 2) != 0)
            {
                applicationView.FileName = StringProxy.Deserialize(bytes);
            }
            applicationView.IsCurrent     = BooleanProxy.Deserialize(bytes);
            applicationView.PhotonGroupId = Int32Proxy.Deserialize(bytes);
            if ((num & 4) != 0)
            {
                applicationView.PhotonGroupName = StringProxy.Deserialize(bytes);
            }
            applicationView.ReleaseDate   = DateTimeProxy.Deserialize(bytes);
            applicationView.RemainingTime = Int32Proxy.Deserialize(bytes);
            if ((num & 8) != 0)
            {
                applicationView.Servers = ListProxy <PhotonView> .Deserialize(bytes, new ListProxy <PhotonView> .Deserializer <PhotonView>(PhotonViewProxy.Deserialize));
            }
            if ((num & 16) != 0)
            {
                applicationView.SupportUrl = StringProxy.Deserialize(bytes);
            }
            if ((num & 32) != 0)
            {
                applicationView.Version = StringProxy.Deserialize(bytes);
            }
            return(applicationView);
        }
        // Token: 0x06001074 RID: 4212 RVA: 0x00014DE8 File Offset: 0x00012FE8
        public static PrivateMessageView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            PrivateMessageView privateMessageView = new PrivateMessageView();

            if ((num & 1) != 0)
            {
                privateMessageView.ContentText = StringProxy.Deserialize(bytes);
            }
            privateMessageView.DateSent = DateTimeProxy.Deserialize(bytes);
            privateMessageView.FromCmid = Int32Proxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                privateMessageView.FromName = StringProxy.Deserialize(bytes);
            }
            privateMessageView.HasAttachment       = BooleanProxy.Deserialize(bytes);
            privateMessageView.IsDeletedByReceiver = BooleanProxy.Deserialize(bytes);
            privateMessageView.IsDeletedBySender   = BooleanProxy.Deserialize(bytes);
            privateMessageView.IsRead           = BooleanProxy.Deserialize(bytes);
            privateMessageView.PrivateMessageId = Int32Proxy.Deserialize(bytes);
            privateMessageView.ToCmid           = Int32Proxy.Deserialize(bytes);
            return(privateMessageView);
        }
Exemple #21
0
        // Token: 0x06001050 RID: 4176 RVA: 0x00013714 File Offset: 0x00011914
        public static GroupCreationView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            GroupCreationView groupCreationView = new GroupCreationView();

            if ((num & 1) != 0)
            {
                groupCreationView.Address = StringProxy.Deserialize(bytes);
            }
            groupCreationView.ApplicationId = Int32Proxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                groupCreationView.AuthToken = StringProxy.Deserialize(bytes);
            }
            if ((num & 4) != 0)
            {
                groupCreationView.Description = StringProxy.Deserialize(bytes);
            }
            groupCreationView.HasPicture = BooleanProxy.Deserialize(bytes);
            if ((num & 8) != 0)
            {
                groupCreationView.Locale = StringProxy.Deserialize(bytes);
            }
            if ((num & 16) != 0)
            {
                groupCreationView.Motto = StringProxy.Deserialize(bytes);
            }
            if ((num & 32) != 0)
            {
                groupCreationView.Name = StringProxy.Deserialize(bytes);
            }
            if ((num & 64) != 0)
            {
                groupCreationView.Tag = StringProxy.Deserialize(bytes);
            }
            return(groupCreationView);
        }
Exemple #22
0
        // 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);
        }
Exemple #23
0
        // Token: 0x06001100 RID: 4352 RVA: 0x00019FE0 File Offset: 0x000181E0
        public static UberStrikeItemWeaponView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            UberStrikeItemWeaponView uberStrikeItemWeaponView = new UberStrikeItemWeaponView();

            uberStrikeItemWeaponView.AccuracySpread = Int32Proxy.Deserialize(bytes);
            //uberStrikeItemWeaponView.ArmorPierced = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.CombatRange         = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.CriticalStrikeBonus = Int32Proxy.Deserialize(bytes);
            if ((num & 1) != 0)
            {
                uberStrikeItemWeaponView.CustomProperties = DictionaryProxy <string, string> .Deserialize(bytes, new DictionaryProxy <string, string> .Deserializer <string>(StringProxy.Deserialize), new DictionaryProxy <string, string> .Deserializer <string>(StringProxy.Deserialize));
            }
            uberStrikeItemWeaponView.DamageKnockback       = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.DamagePerProjectile   = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.DefaultZoomMultiplier = Int32Proxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                uberStrikeItemWeaponView.Description = StringProxy.Deserialize(bytes);
            }
            uberStrikeItemWeaponView.HasAutomaticFire = BooleanProxy.Deserialize(bytes);
            uberStrikeItemWeaponView.ID           = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.IsConsumable = BooleanProxy.Deserialize(bytes);
            uberStrikeItemWeaponView.ItemClass    = EnumProxy <UberstrikeItemClass> .Deserialize(bytes);

            if ((num & 4) != 0)
            {
                uberStrikeItemWeaponView.ItemProperties = DictionaryProxy <ItemPropertyType, int> .Deserialize(bytes, new DictionaryProxy <ItemPropertyType, int> .Deserializer <ItemPropertyType>(EnumProxy <ItemPropertyType> .Deserialize), new DictionaryProxy <ItemPropertyType, int> .Deserializer <int>(Int32Proxy.Deserialize));
            }
            uberStrikeItemWeaponView.LevelLock             = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MaxAmmo               = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MaxDurationDays       = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MaxZoomMultiplier     = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MinZoomMultiplier     = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MissileBounciness     = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MissileForceImpulse   = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.MissileTimeToDetonate = Int32Proxy.Deserialize(bytes);
            if ((num & 8) != 0)
            {
                uberStrikeItemWeaponView.Name = StringProxy.Deserialize(bytes);
            }
            if ((num & 16) != 0)
            {
                uberStrikeItemWeaponView.PrefabName = StringProxy.Deserialize(bytes);
            }
            if ((num & 32) != 0)
            {
                uberStrikeItemWeaponView.Prices = ListProxy <ItemPrice> .Deserialize(bytes, new ListProxy <ItemPrice> .Deserializer <ItemPrice>(ItemPriceProxy.Deserialize));
            }
            uberStrikeItemWeaponView.ProjectileSpeed        = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.ProjectilesPerShot     = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.RateOfFire             = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.RecoilKickback         = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.RecoilMovement         = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.SecondaryActionReticle = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.ShopHighlightType      = EnumProxy <ItemShopHighlightType> .Deserialize(bytes);

            uberStrikeItemWeaponView.SplashRadius          = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.StartAmmo             = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.Tier                  = Int32Proxy.Deserialize(bytes);
            uberStrikeItemWeaponView.WeaponSecondaryAction = Int32Proxy.Deserialize(bytes);

            return(uberStrikeItemWeaponView);
        }