예제 #1
0
        // 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: 0x060010EA RID: 4330 RVA: 0x00018CDC File Offset: 0x00016EDC
        public static PlayerStatisticsView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            PlayerStatisticsView playerStatisticsView = new PlayerStatisticsView();

            playerStatisticsView.Cmid      = Int32Proxy.Deserialize(bytes);
            playerStatisticsView.Headshots = Int32Proxy.Deserialize(bytes);
            playerStatisticsView.Hits      = Int64Proxy.Deserialize(bytes);
            playerStatisticsView.Level     = Int32Proxy.Deserialize(bytes);
            playerStatisticsView.Nutshots  = Int32Proxy.Deserialize(bytes);
            if ((num & 1) != 0)
            {
                playerStatisticsView.PersonalRecord = PlayerPersonalRecordStatisticsViewProxy.Deserialize(bytes);
            }
            playerStatisticsView.Shots           = Int64Proxy.Deserialize(bytes);
            playerStatisticsView.Splats          = Int32Proxy.Deserialize(bytes);
            playerStatisticsView.Splatted        = Int32Proxy.Deserialize(bytes);
            playerStatisticsView.TimeSpentInGame = Int32Proxy.Deserialize(bytes);
            if ((num & 2) != 0)
            {
                playerStatisticsView.WeaponStatistics = PlayerWeaponStatisticsViewProxy.Deserialize(bytes);
            }
            playerStatisticsView.Xp = Int32Proxy.Deserialize(bytes);
            return(playerStatisticsView);
        }
        // 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: 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: 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);
        }
예제 #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: 0x060010EC RID: 4332 RVA: 0x00018F30 File Offset: 0x00017130
 public static PlayerWeaponStatisticsView Deserialize(Stream bytes)
 {
     return(new PlayerWeaponStatisticsView
     {
         CannonTotalDamageDone = Int32Proxy.Deserialize(bytes),
         CannonTotalShotsFired = Int32Proxy.Deserialize(bytes),
         CannonTotalShotsHit = Int32Proxy.Deserialize(bytes),
         CannonTotalSplats = Int32Proxy.Deserialize(bytes),
         LauncherTotalDamageDone = Int32Proxy.Deserialize(bytes),
         LauncherTotalShotsFired = Int32Proxy.Deserialize(bytes),
         LauncherTotalShotsHit = Int32Proxy.Deserialize(bytes),
         LauncherTotalSplats = Int32Proxy.Deserialize(bytes),
         MachineGunTotalDamageDone = Int32Proxy.Deserialize(bytes),
         MachineGunTotalShotsFired = Int32Proxy.Deserialize(bytes),
         MachineGunTotalShotsHit = Int32Proxy.Deserialize(bytes),
         MachineGunTotalSplats = Int32Proxy.Deserialize(bytes),
         MeleeTotalDamageDone = Int32Proxy.Deserialize(bytes),
         MeleeTotalShotsFired = Int32Proxy.Deserialize(bytes),
         MeleeTotalShotsHit = Int32Proxy.Deserialize(bytes),
         MeleeTotalSplats = Int32Proxy.Deserialize(bytes),
         ShotgunTotalDamageDone = Int32Proxy.Deserialize(bytes),
         ShotgunTotalShotsFired = Int32Proxy.Deserialize(bytes),
         ShotgunTotalShotsHit = Int32Proxy.Deserialize(bytes),
         ShotgunTotalSplats = Int32Proxy.Deserialize(bytes),
         SniperTotalDamageDone = Int32Proxy.Deserialize(bytes),
         SniperTotalShotsFired = Int32Proxy.Deserialize(bytes),
         SniperTotalShotsHit = Int32Proxy.Deserialize(bytes),
         SniperTotalSplats = Int32Proxy.Deserialize(bytes),
         SplattergunTotalDamageDone = Int32Proxy.Deserialize(bytes),
         SplattergunTotalShotsFired = Int32Proxy.Deserialize(bytes),
         SplattergunTotalShotsHit = Int32Proxy.Deserialize(bytes),
         SplattergunTotalSplats = Int32Proxy.Deserialize(bytes)
     });
 }
예제 #8
0
        public static ApplicationConfigurationView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            ApplicationConfigurationView applicationConfigurationView = new ApplicationConfigurationView();

            applicationConfigurationView.MaxLevel              = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.MaxXp                 = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsBaseLoser       = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsBaseWinner      = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsHeadshot        = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsKill            = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsNutshot         = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsPerMinuteLoser  = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsPerMinuteWinner = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.PointsSmackdown       = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpBaseLoser           = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpBaseWinner          = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpHeadshot            = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpKill                = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpNutshot             = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpPerMinuteLoser      = Int32Proxy.Deserialize(bytes);
            applicationConfigurationView.XpPerMinuteWinner     = Int32Proxy.Deserialize(bytes);
            if ((num & 1) != 0)
            {
                applicationConfigurationView.XpRequiredPerLevel = DictionaryProxy <int, int> .Deserialize(bytes, new DictionaryProxy <int, int> .Deserializer <int>(Int32Proxy.Deserialize), new DictionaryProxy <int, int> .Deserializer <int>(Int32Proxy.Deserialize));
            }
            applicationConfigurationView.XpSmackdown = Int32Proxy.Deserialize(bytes);
            return(applicationConfigurationView);
        }
예제 #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);
        }
예제 #10
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);
        }
        // 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: 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);
        }
예제 #13
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);
        }
        // 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: 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);
        }
예제 #16
0
        // 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);
        }
예제 #17
0
 // Token: 0x060010CA RID: 4298 RVA: 0x000172DC File Offset: 0x000154DC
 public static ConnectionAddress Deserialize(Stream bytes)
 {
     return(new ConnectionAddress
     {
         Ipv4 = Int32Proxy.Deserialize(bytes),
         Port = UInt16Proxy.Deserialize(bytes)
     });
 }
 // Token: 0x06001046 RID: 4166 RVA: 0x00012DC4 File Offset: 0x00010FC4
 public static ClanRequestDeclineView Deserialize(Stream bytes)
 {
     return(new ClanRequestDeclineView
     {
         ActionResult = Int32Proxy.Deserialize(bytes),
         ClanRequestId = Int32Proxy.Deserialize(bytes)
     });
 }
예제 #19
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);
        }
예제 #20
0
 // Token: 0x060010E6 RID: 4326 RVA: 0x000189D4 File Offset: 0x00016BD4
 public static PlayerLevelCapView Deserialize(Stream bytes)
 {
     return(new PlayerLevelCapView
     {
         Level = Int32Proxy.Deserialize(bytes),
         PlayerLevelCapId = Int32Proxy.Deserialize(bytes),
         XPRequired = Int32Proxy.Deserialize(bytes)
     });
 }
예제 #21
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)
     });
 }
 // Token: 0x0600106A RID: 4202 RVA: 0x000148E0 File Offset: 0x00012AE0
 public static MysteryBoxWonItemUnityView Deserialize(Stream bytes)
 {
     return(new MysteryBoxWonItemUnityView
     {
         CreditWon = Int32Proxy.Deserialize(bytes),
         ItemIdWon = Int32Proxy.Deserialize(bytes),
         PointWon = Int32Proxy.Deserialize(bytes)
     });
 }
예제 #23
0
 // Token: 0x060010DA RID: 4314 RVA: 0x000180B8 File Offset: 0x000162B8
 public static DailyPointsView Deserialize(Stream bytes)
 {
     return(new DailyPointsView
     {
         Current = Int32Proxy.Deserialize(bytes),
         PointsMax = Int32Proxy.Deserialize(bytes),
         PointsTomorrow = Int32Proxy.Deserialize(bytes)
     });
 }
 // Token: 0x06001038 RID: 4152 RVA: 0x00012564 File Offset: 0x00010764
 public static BundleItemView Deserialize(Stream bytes)
 {
     return(new BundleItemView
     {
         Amount = Int32Proxy.Deserialize(bytes),
         BundleId = Int32Proxy.Deserialize(bytes),
         Duration = EnumProxy <BuyingDurationType> .Deserialize(bytes),
         ItemId = Int32Proxy.Deserialize(bytes)
     });
 }
예제 #25
0
 // Token: 0x0600106E RID: 4206 RVA: 0x00014A98 File Offset: 0x00012C98
 public static PhotonServerLoad Deserialize(Stream bytes)
 {
     return(new PhotonServerLoad
     {
         MaxPlayerCount = SingleProxy.Deserialize(bytes),
         PeersConnected = Int32Proxy.Deserialize(bytes),
         PlayersConnected = Int32Proxy.Deserialize(bytes),
         RoomsCreated = Int32Proxy.Deserialize(bytes)
     });
 }
        // 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);
        }
예제 #27
0
 // Token: 0x0600107C RID: 4220 RVA: 0x000150CC File Offset: 0x000132CC
 public static decimal Deserialize(Stream bytes)
 {
     int[] bits = new int[]
     {
         Int32Proxy.Deserialize(bytes),
         Int32Proxy.Deserialize(bytes),
         Int32Proxy.Deserialize(bytes),
         Int32Proxy.Deserialize(bytes)
     };
     return(new decimal(bits));
 }
예제 #28
0
 // Token: 0x060010F8 RID: 4344 RVA: 0x00019540 File Offset: 0x00017740
 public static MatchPointsView Deserialize(Stream bytes)
 {
     return(new MatchPointsView
     {
         LoserPointsBase = Int32Proxy.Deserialize(bytes),
         LoserPointsPerMinute = Int32Proxy.Deserialize(bytes),
         MaxTimeInGame = Int32Proxy.Deserialize(bytes),
         WinnerPointsBase = Int32Proxy.Deserialize(bytes),
         WinnerPointsPerMinute = Int32Proxy.Deserialize(bytes)
     });
 }
        // Token: 0x0600107E RID: 4222 RVA: 0x00015184 File Offset: 0x00013384
        public static Dictionary <S, T> Deserialize(Stream bytes, DictionaryProxy <S, T> .Deserializer <S> keySerialization, DictionaryProxy <S, T> .Deserializer <T> valueSerialization)
        {
            int num = Int32Proxy.Deserialize(bytes);
            Dictionary <S, T> dictionary = new Dictionary <S, T>(num);

            for (int i = 0; i < num; i++)
            {
                dictionary.Add(keySerialization(bytes), valueSerialization(bytes));
            }
            return(dictionary);
        }
        // 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);
        }