// Token: 0x060010EB RID: 4331 RVA: 0x00018D98 File Offset: 0x00016F98 public static void Serialize(Stream stream, PlayerWeaponStatisticsView instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.CannonTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.CannonTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.CannonTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.CannonTotalSplats); Int32Proxy.Serialize(memoryStream, instance.LauncherTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.LauncherTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.LauncherTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.LauncherTotalSplats); Int32Proxy.Serialize(memoryStream, instance.MachineGunTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.MachineGunTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.MachineGunTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.MachineGunTotalSplats); Int32Proxy.Serialize(memoryStream, instance.MeleeTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.MeleeTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.MeleeTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.MeleeTotalSplats); Int32Proxy.Serialize(memoryStream, instance.ShotgunTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.ShotgunTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.ShotgunTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.ShotgunTotalSplats); Int32Proxy.Serialize(memoryStream, instance.SniperTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.SniperTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.SniperTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.SniperTotalSplats); Int32Proxy.Serialize(memoryStream, instance.SplattergunTotalDamageDone); Int32Proxy.Serialize(memoryStream, instance.SplattergunTotalShotsFired); Int32Proxy.Serialize(memoryStream, instance.SplattergunTotalShotsHit); Int32Proxy.Serialize(memoryStream, instance.SplattergunTotalSplats); memoryStream.WriteTo(stream); } }
// Token: 0x060010DD RID: 4317 RVA: 0x00018200 File Offset: 0x00016400 public static void Serialize(Stream stream, LiveFeedView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { DateTimeProxy.Serialize(memoryStream, instance.Date); if (instance.Description != null) { StringProxy.Serialize(memoryStream, instance.Description); } else { num |= 1; } Int32Proxy.Serialize(memoryStream, instance.LivedFeedId); Int32Proxy.Serialize(memoryStream, instance.Priority); if (instance.Url != null) { StringProxy.Serialize(memoryStream, instance.Url); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001035 RID: 4149 RVA: 0x0001242C File Offset: 0x0001062C public static void Serialize(Stream stream, BugView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.Content != null) { StringProxy.Serialize(memoryStream, instance.Content); } else { num |= 1; } if (instance.Subject != null) { StringProxy.Serialize(memoryStream, instance.Subject); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x060010E1 RID: 4321 RVA: 0x00018688 File Offset: 0x00016888 public static void Serialize(Stream stream, MatchView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { EnumProxy <GameModeType> .Serialize(memoryStream, instance.GameModeId); Int32Proxy.Serialize(memoryStream, instance.MapId); if (instance.PlayersCompleted != null) { ListProxy <PlayerStatisticsView> .Serialize(memoryStream, instance.PlayersCompleted, new ListProxy <PlayerStatisticsView> .Serializer <PlayerStatisticsView>(PlayerStatisticsViewProxy.Serialize)); } else { num |= 1; } Int32Proxy.Serialize(memoryStream, instance.PlayersLimit); if (instance.PlayersNonCompleted != null) { ListProxy <PlayerStatisticsView> .Serialize(memoryStream, instance.PlayersNonCompleted, new ListProxy <PlayerStatisticsView> .Serializer <PlayerStatisticsView>(PlayerStatisticsViewProxy.Serialize)); } else { num |= 2; } Int32Proxy.Serialize(memoryStream, instance.TimeLimit); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001049 RID: 4169 RVA: 0x00013118 File Offset: 0x00011318 public static void Serialize(Stream stream, ContactGroupView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.Contacts != null) { ListProxy <PublicProfileView> .Serialize(memoryStream, instance.Contacts, new ListProxy <PublicProfileView> .Serializer <PublicProfileView>(PublicProfileViewProxy.Serialize)); } else { num |= 1; } Int32Proxy.Serialize(memoryStream, instance.GroupId); if (instance.GroupName != null) { StringProxy.Serialize(memoryStream, instance.GroupName); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x060010CF RID: 4303 RVA: 0x00017920 File Offset: 0x00015B20 public static void Serialize(Stream stream, StatsSummary instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.Achievements != null) { DictionaryProxy <byte, ushort> .Serialize(memoryStream, instance.Achievements, new DictionaryProxy <byte, ushort> .Serializer <byte>(ByteProxy.Serialize), new DictionaryProxy <byte, ushort> .Serializer <ushort>(UInt16Proxy.Serialize)); } else { num |= 1; } Int32Proxy.Serialize(memoryStream, instance.Cmid); Int32Proxy.Serialize(memoryStream, instance.Deaths); Int32Proxy.Serialize(memoryStream, instance.Kills); Int32Proxy.Serialize(memoryStream, instance.Level); if (instance.Name != null) { StringProxy.Serialize(memoryStream, instance.Name); } else { num |= 2; } EnumProxy <TeamID> .Serialize(memoryStream, instance.Team); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001117 RID: 4375 RVA: 0x0001AF98 File Offset: 0x00019198 public static void Serialize(Stream stream, UberstrikeUserViewModel instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.CmuneMemberView != null) { MemberViewProxy.Serialize(memoryStream, instance.CmuneMemberView); } else { num |= 1; } if (instance.UberstrikeMemberView != null) { UberstrikeMemberViewProxy.Serialize(memoryStream, instance.UberstrikeMemberView); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001109 RID: 4361 RVA: 0x0001A7E8 File Offset: 0x000189E8 public static void Serialize(Stream stream, PlaySpanHashesViewModel instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.Hashes != null) { DictionaryProxy <decimal, string> .Serialize(memoryStream, instance.Hashes, new DictionaryProxy <decimal, string> .Serializer <decimal>(DecimalProxy.Serialize), new DictionaryProxy <decimal, string> .Serializer <string>(StringProxy.Serialize)); } else { num |= 1; } if (instance.MerchTrans != null) { StringProxy.Serialize(memoryStream, instance.MerchTrans); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x0600104B RID: 4171 RVA: 0x00013214 File Offset: 0x00011414 public static void Serialize(Stream stream, ContactRequestView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.InitiatorCmid); if (instance.InitiatorMessage != null) { StringProxy.Serialize(memoryStream, instance.InitiatorMessage); } else { num |= 1; } if (instance.InitiatorName != null) { StringProxy.Serialize(memoryStream, instance.InitiatorName); } else { num |= 2; } Int32Proxy.Serialize(memoryStream, instance.ReceiverCmid); Int32Proxy.Serialize(memoryStream, instance.RequestId); DateTimeProxy.Serialize(memoryStream, instance.SentDate); EnumProxy <ContactRequestStatus> .Serialize(memoryStream, instance.Status); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001073 RID: 4211 RVA: 0x00014D00 File Offset: 0x00012F00 public static void Serialize(Stream stream, PrivateMessageView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.ContentText != null) { StringProxy.Serialize(memoryStream, instance.ContentText); } else { num |= 1; } DateTimeProxy.Serialize(memoryStream, instance.DateSent); Int32Proxy.Serialize(memoryStream, instance.FromCmid); if (instance.FromName != null) { StringProxy.Serialize(memoryStream, instance.FromName); } else { num |= 2; } BooleanProxy.Serialize(memoryStream, instance.HasAttachment); BooleanProxy.Serialize(memoryStream, instance.IsDeletedByReceiver); BooleanProxy.Serialize(memoryStream, instance.IsDeletedBySender); BooleanProxy.Serialize(memoryStream, instance.IsRead); Int32Proxy.Serialize(memoryStream, instance.PrivateMessageId); Int32Proxy.Serialize(memoryStream, instance.ToCmid); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x0600103B RID: 4155 RVA: 0x00012960 File Offset: 0x00010B60 public static void Serialize(Stream stream, CheckApplicationVersionView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.ClientVersion != null) { ApplicationViewProxy.Serialize(memoryStream, instance.ClientVersion); } else { num |= 1; } if (instance.CurrentVersion != null) { ApplicationViewProxy.Serialize(memoryStream, instance.CurrentVersion); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001065 RID: 4197 RVA: 0x000144C0 File Offset: 0x000126C0 public static void Serialize(Stream stream, MessageThreadView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { BooleanProxy.Serialize(memoryStream, instance.HasNewMessages); if (instance.LastMessagePreview != null) { StringProxy.Serialize(memoryStream, instance.LastMessagePreview); } else { num |= 1; } DateTimeProxy.Serialize(memoryStream, instance.LastUpdate); Int32Proxy.Serialize(memoryStream, instance.MessageCount); Int32Proxy.Serialize(memoryStream, instance.ThreadId); if (instance.ThreadName != null) { StringProxy.Serialize(memoryStream, instance.ThreadName); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x0600106B RID: 4203 RVA: 0x00014918 File Offset: 0x00012B18 public static void Serialize(Stream stream, PackageView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.Bonus); if (instance.Items != null) { ListProxy <int> .Serialize(memoryStream, instance.Items, new ListProxy <int> .Serializer <int>(Int32Proxy.Serialize)); } else { num |= 1; } if (instance.Name != null) { StringProxy.Serialize(memoryStream, instance.Name); } else { num |= 2; } DecimalProxy.Serialize(memoryStream, instance.Price); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x060010D5 RID: 4309 RVA: 0x00017DB0 File Offset: 0x00015FB0 public static void Serialize(Stream stream, AccountCompletionResultView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.ItemsAttributed != null) { DictionaryProxy <int, int> .Serialize(memoryStream, instance.ItemsAttributed, new DictionaryProxy <int, int> .Serializer <int>(Int32Proxy.Serialize), new DictionaryProxy <int, int> .Serializer <int>(Int32Proxy.Serialize)); } else { num |= 1; } if (instance.NonDuplicateNames != null) { ListProxy <string> .Serialize(memoryStream, instance.NonDuplicateNames, new ListProxy <string> .Serializer <string>(StringProxy.Serialize)); } else { num |= 2; } Int32Proxy.Serialize(memoryStream, instance.Result); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x060010EF RID: 4335 RVA: 0x0001915C File Offset: 0x0001735C public static void Serialize(Stream stream, UberstrikeMemberView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.PlayerCardView != null) { PlayerCardViewProxy.Serialize(memoryStream, instance.PlayerCardView); } else { num |= 1; } if (instance.PlayerStatisticsView != null) { PlayerStatisticsViewProxy.Serialize(memoryStream, instance.PlayerStatisticsView); } else { num |= 2; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001061 RID: 4193 RVA: 0x000142E0 File Offset: 0x000124E0 public static void Serialize(Stream stream, MemberView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.MemberItems != null) { ListProxy <int> .Serialize(memoryStream, instance.MemberItems, new ListProxy <int> .Serializer <int>(Int32Proxy.Serialize)); } else { num |= 1; } if (instance.MemberWallet != null) { MemberWalletViewProxy.Serialize(memoryStream, instance.MemberWallet); } else { num |= 2; } if (instance.PublicProfile != null) { PublicProfileViewProxy.Serialize(memoryStream, instance.PublicProfile); } else { num |= 4; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x0600106F RID: 4207 RVA: 0x00014ADC File Offset: 0x00012CDC public static void Serialize(Stream stream, PhotonView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.IP != null) { StringProxy.Serialize(memoryStream, instance.IP); } else { num |= 1; } Int32Proxy.Serialize(memoryStream, instance.MinLatency); if (instance.Name != null) { StringProxy.Serialize(memoryStream, instance.Name); } else { num |= 2; } Int32Proxy.Serialize(memoryStream, instance.PhotonId); Int32Proxy.Serialize(memoryStream, instance.Port); EnumProxy <RegionType> .Serialize(memoryStream, instance.Region); EnumProxy <PhotonUsageType> .Serialize(memoryStream, instance.UsageType); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x06001057 RID: 4183 RVA: 0x00013BC0 File Offset: 0x00011DC0 public static void Serialize(Stream stream, LuckyDrawSetUnityView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.CreditsAttributed); BooleanProxy.Serialize(memoryStream, instance.ExposeItemsToPlayers); Int32Proxy.Serialize(memoryStream, instance.Id); if (instance.ImageUrl != null) { StringProxy.Serialize(memoryStream, instance.ImageUrl); } else { num |= 1; } Int32Proxy.Serialize(memoryStream, instance.LuckyDrawId); if (instance.LuckyDrawSetItems != null) { ListProxy <BundleItemView> .Serialize(memoryStream, instance.LuckyDrawSetItems, new ListProxy <BundleItemView> .Serializer <BundleItemView>(BundleItemViewProxy.Serialize)); } else { num |= 2; } Int32Proxy.Serialize(memoryStream, instance.PointsAttributed); Int32Proxy.Serialize(memoryStream, instance.SetWeight); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x0600107B RID: 4219 RVA: 0x00015094 File Offset: 0x00013294 public static void Serialize(Stream bytes, decimal instance) { int[] bits = decimal.GetBits(instance); Int32Proxy.Serialize(bytes, bits[0]); Int32Proxy.Serialize(bytes, bits[1]); Int32Proxy.Serialize(bytes, bits[2]); Int32Proxy.Serialize(bytes, bits[3]); }
// Token: 0x06001101 RID: 4353 RVA: 0x0001A210 File Offset: 0x00018410 public static void Serialize(Stream stream, GameApplicationView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { if (instance.CommServer != null) { PhotonViewProxy.Serialize(memoryStream, instance.CommServer); } else { num |= 1; } if (instance.EncryptionInitVector != null) { StringProxy.Serialize(memoryStream, instance.EncryptionInitVector); } else { num |= 2; } if (instance.EncryptionPassPhrase != null) { StringProxy.Serialize(memoryStream, instance.EncryptionPassPhrase); } else { num |= 4; } if (instance.GameServers != null) { ListProxy <PhotonView> .Serialize(memoryStream, instance.GameServers, new ListProxy <PhotonView> .Serializer <PhotonView>(PhotonViewProxy.Serialize)); } else { num |= 8; } if (instance.SupportUrl != null) { StringProxy.Serialize(memoryStream, instance.SupportUrl); } else { num |= 16; } if (instance.Version != null) { StringProxy.Serialize(memoryStream, instance.Version); } else { num |= 32; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x0600107D RID: 4221 RVA: 0x0001510C File Offset: 0x0001330C public static void Serialize(Stream bytes, Dictionary <S, T> instance, DictionaryProxy <S, T> .Serializer <S> keySerialization, DictionaryProxy <S, T> .Serializer <T> valueSerialization) { Int32Proxy.Serialize(bytes, instance.Count); foreach (KeyValuePair <S, T> keyValuePair in instance) { keySerialization(bytes, keyValuePair.Key); valueSerialization(bytes, keyValuePair.Value); } }
// Token: 0x06001045 RID: 4165 RVA: 0x00012D70 File Offset: 0x00010F70 public static void Serialize(Stream stream, ClanRequestDeclineView instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.ActionResult); Int32Proxy.Serialize(memoryStream, instance.ClanRequestId); memoryStream.WriteTo(stream); } }
// Token: 0x060010C9 RID: 4297 RVA: 0x00017288 File Offset: 0x00015488 public static void Serialize(Stream stream, ConnectionAddress instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.Ipv4); UInt16Proxy.Serialize(memoryStream, instance.Port); memoryStream.WriteTo(stream); } }
// Token: 0x0600104D RID: 4173 RVA: 0x00013358 File Offset: 0x00011558 public static void Serialize(Stream stream, CurrencyDepositView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.ApplicationId); if (instance.BundleId != null) { Stream bytes = memoryStream; int? bundleId = instance.BundleId; Int32Proxy.Serialize(bytes, (bundleId == null) ? 0 : bundleId.Value); } else { num |= 1; } if (instance.BundleName != null) { StringProxy.Serialize(memoryStream, instance.BundleName); } else { num |= 2; } DecimalProxy.Serialize(memoryStream, instance.Cash); EnumProxy <ChannelType> .Serialize(memoryStream, instance.ChannelId); Int32Proxy.Serialize(memoryStream, instance.Cmid); Int32Proxy.Serialize(memoryStream, instance.Credits); Int32Proxy.Serialize(memoryStream, instance.CreditsDepositId); if (instance.CurrencyLabel != null) { StringProxy.Serialize(memoryStream, instance.CurrencyLabel); } else { num |= 4; } DateTimeProxy.Serialize(memoryStream, instance.DepositDate); BooleanProxy.Serialize(memoryStream, instance.IsAdminAction); EnumProxy <PaymentProviderType> .Serialize(memoryStream, instance.PaymentProviderId); Int32Proxy.Serialize(memoryStream, instance.Points); if (instance.TransactionKey != null) { StringProxy.Serialize(memoryStream, instance.TransactionKey); } else { num |= 8; } DecimalProxy.Serialize(memoryStream, instance.UsdAmount); Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }
// Token: 0x060010E5 RID: 4325 RVA: 0x00018974 File Offset: 0x00016B74 public static void Serialize(Stream stream, PlayerLevelCapView instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.Level); Int32Proxy.Serialize(memoryStream, instance.PlayerLevelCapId); Int32Proxy.Serialize(memoryStream, instance.XPRequired); memoryStream.WriteTo(stream); } }
// Token: 0x060010D9 RID: 4313 RVA: 0x00018058 File Offset: 0x00016258 public static void Serialize(Stream stream, DailyPointsView instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.Current); Int32Proxy.Serialize(memoryStream, instance.PointsMax); Int32Proxy.Serialize(memoryStream, instance.PointsTomorrow); memoryStream.WriteTo(stream); } }
// Token: 0x060010D3 RID: 4307 RVA: 0x00017D18 File Offset: 0x00015F18 public static void Serialize(Stream stream, ClanInvitationAnswerViewModel instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.GroupInvitationId); BooleanProxy.Serialize(memoryStream, instance.IsInvitationAccepted); Int32Proxy.Serialize(memoryStream, instance.ReturnValue); memoryStream.WriteTo(stream); } }
// Token: 0x06001069 RID: 4201 RVA: 0x00014880 File Offset: 0x00012A80 public static void Serialize(Stream stream, MysteryBoxWonItemUnityView instance) { using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.CreditWon); Int32Proxy.Serialize(memoryStream, instance.ItemIdWon); Int32Proxy.Serialize(memoryStream, instance.PointWon); memoryStream.WriteTo(stream); } }
// Token: 0x0600106D RID: 4205 RVA: 0x00014A2C File Offset: 0x00012C2C public static void Serialize(Stream stream, PhotonServerLoad instance) { using (MemoryStream memoryStream = new MemoryStream()) { SingleProxy.Serialize(memoryStream, instance.MaxPlayerCount); Int32Proxy.Serialize(memoryStream, instance.PeersConnected); Int32Proxy.Serialize(memoryStream, instance.PlayersConnected); Int32Proxy.Serialize(memoryStream, instance.RoomsCreated); memoryStream.WriteTo(stream); } }
// Token: 0x06001051 RID: 4177 RVA: 0x000137D8 File Offset: 0x000119D8 public static void Serialize(Stream stream, GroupInvitationView instance) { int num = 0; using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, instance.GroupId); Int32Proxy.Serialize(memoryStream, instance.GroupInvitationId); if (instance.GroupName != null) { StringProxy.Serialize(memoryStream, instance.GroupName); } else { num |= 1; } if (instance.GroupTag != null) { StringProxy.Serialize(memoryStream, instance.GroupTag); } else { num |= 2; } Int32Proxy.Serialize(memoryStream, instance.InviteeCmid); if (instance.InviteeName != null) { StringProxy.Serialize(memoryStream, instance.InviteeName); } else { num |= 4; } Int32Proxy.Serialize(memoryStream, instance.InviterCmid); if (instance.InviterName != null) { StringProxy.Serialize(memoryStream, instance.InviterName); } else { num |= 8; } if (instance.Message != null) { StringProxy.Serialize(memoryStream, instance.Message); } else { num |= 16; } Int32Proxy.Serialize(stream, ~num); memoryStream.WriteTo(stream); } }