예제 #1
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: 0x060010F0 RID: 4336 RVA: 0x000191E4 File Offset: 0x000173E4
        public static UberstrikeMemberView Deserialize(Stream bytes)
        {
            int num = Int32Proxy.Deserialize(bytes);
            UberstrikeMemberView uberstrikeMemberView = new UberstrikeMemberView();

            if ((num & 1) != 0)
            {
                uberstrikeMemberView.PlayerCardView = PlayerCardViewProxy.Deserialize(bytes);
            }
            if ((num & 2) != 0)
            {
                uberstrikeMemberView.PlayerStatisticsView = PlayerStatisticsViewProxy.Deserialize(bytes);
            }
            return(uberstrikeMemberView);
        }