diff --git a/WowPacketParser/Enums/ServiceHash.cs b/WowPacketParser/Enums/ServiceHash.cs new file mode 100644 index 0000000000..48023223c4 --- /dev/null +++ b/WowPacketParser/Enums/ServiceHash.cs @@ -0,0 +1,22 @@ +namespace WowPacketParser.Enums +{ + public enum ServiceHash : uint + { + AccountService = 0x62DA0891, + AuthenticationListener = 0x71240E35, + AuthenticationService = 0xDECFC01, + ChallengeService = 0xBBDA171F, + ClubListener = 0x80909D73, + ClubService = 0xE273DE0E, + ClubMembershipListener = 0x2B34597B, + ClubMembershipService = 0x94B94786, + ConnectionService = 0x65446991, + FriendsService = 0xA3DDB1BD, + GameUtilitiesService = 0x3FC1274D, + PresenceListener = 0x890AB85F, + ReportService = 0x7CAF61C9, + ReportServiceV2 = 0x3A4218FB, + ResourceService = 0xECBE75BA, + UserManagerService = 0x3E19268A + } +} diff --git a/WowPacketParser/Misc/MethodCall.cs b/WowPacketParser/Misc/MethodCall.cs new file mode 100644 index 0000000000..8292084522 --- /dev/null +++ b/WowPacketParser/Misc/MethodCall.cs @@ -0,0 +1,22 @@ +namespace WowPacketParser.Misc +{ + public struct MethodCall + { + public MethodCall(ulong type, ulong objectId, uint token) + { + Type = type; + ObjectId = objectId; + Token = token; + } + + public ulong Type; + + public ulong ObjectId; + + public uint Token; + + public uint GetServiceHash() { return (uint)(Type >> 32); } + + public uint GetMethodId() { return (uint)(Type & 0xFFFFFFFF); } + } +} diff --git a/WowPacketParser/PacketStructures/ProtoExtensions.cs b/WowPacketParser/PacketStructures/ProtoExtensions.cs index 2aea1150d8..4d9ff61f57 100644 --- a/WowPacketParser/PacketStructures/ProtoExtensions.cs +++ b/WowPacketParser/PacketStructures/ProtoExtensions.cs @@ -227,7 +227,7 @@ public static UniversalSplineFlag ToUniversal(this SplineFlag flags) universal |= UniversalSplineFlag.UncompressedPath; return universal; } - + public static CreateObjectType ToCreateObjectType(this UpdateTypeCataclysm updateTypeCataclysm) { if (updateTypeCataclysm == UpdateTypeCataclysm.CreateObject1) diff --git a/WowPacketParser/Parsing/Parsers/BattlenetProtoHandler.cs b/WowPacketParser/Parsing/Parsers/BattlenetProtoHandler.cs new file mode 100644 index 0000000000..09f13dff17 --- /dev/null +++ b/WowPacketParser/Parsing/Parsers/BattlenetProtoHandler.cs @@ -0,0 +1,53 @@ +using WowPacketParser.Enums; +using WowPacketParser.Misc; + +namespace WowPacketParser.Parsing.Parsers +{ + public static class BattlenetProtoHandler + { + public static MethodCall ReadMethodCall(Packet packet, params object[] idx) + { + var method = new MethodCall(); + + method.Type = packet.ReadUInt64("Type", idx); + method.ObjectId = packet.ReadUInt64("ObjectId", idx); + method.Token = packet.ReadUInt32("Token", idx); + + return method; + } + + public static void ReadProtoData(Packet packet, int length, MethodCall method, params object[] indexes) + { + packet.AddValue("MethodCall", "ServiceHash: 0x" + method.GetServiceHash().ToString("X") + " MethodID: " + method.GetMethodId(), indexes); + packet.ReadBytesTable("Message", length, indexes); + } + + [Parser(Opcode.CMSG_BATTLENET_REQUEST)] + public static void HandleBattlenetRequest(Packet packet) + { + var method = ReadMethodCall(packet, "Method"); + + int protoSize = packet.ReadInt32(); + ReadProtoData(packet, protoSize, method, "Data"); + } + + [Parser(Opcode.SMSG_BATTLENET_NOTIFICATION)] + public static void HandleBattlenetNotification(Packet packet) + { + var method = ReadMethodCall(packet, "Method"); + + int protoSize = packet.ReadInt32(); + ReadProtoData(packet, protoSize, method, "Data"); + } + + [Parser(Opcode.SMSG_BATTLENET_RESPONSE)] + public static void HandleBattlenetResponse(Packet packet) + { + packet.ReadInt32E("BnetStatus"); + var method = ReadMethodCall(packet, "Method"); + + int protoSize = packet.ReadInt32(); + ReadProtoData(packet, protoSize, method, "Data"); + } + } +} diff --git a/WowPacketParserModule.V10_0_0_46181/Parsers/BattlenetProtoHandler1020.cs b/WowPacketParserModule.V10_0_0_46181/Parsers/BattlenetProtoHandler1020.cs new file mode 100644 index 0000000000..e41080e9f1 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Parsers/BattlenetProtoHandler1020.cs @@ -0,0 +1,75 @@ +using System; +using System.Text.Json; +using WowPacketParser.Enums; +using WowPacketParser.Misc; +using WowPacketParser.Parsing; + +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649 +{ + public static class BattlenetProtoHandler + { + public static MethodCall ReadMethodCall(Packet packet, params object[] idx) + { + var method = new MethodCall(); + + method.Type = packet.ReadUInt64("Type", idx); + method.ObjectId = packet.ReadUInt64("ObjectId", idx); + method.Token = packet.ReadUInt32("Token", idx); + + return method; + } + + public static void ReadProtoData(Packet packet, int length, MethodCall method, params object[] indexes) + { + var val = packet.ReadBytes(length); + + var parser = ProtobufParser.GetParser(method.GetServiceHash(), method.GetMethodId(), packet.Opcode); + + if (parser == null) + { + packet.AddValue("MethodCall", "ServiceHash: 0x" + method.GetServiceHash().ToString("X") + " MethodID: " + method.GetMethodId(), indexes); + packet.AddValue("Message", Convert.ToHexString(val), indexes); + return; + } + + packet.AddValue("Type", ProtobufParser.GetParserName(parser), indexes); + + var msg = parser.ParseFrom(val).ToString(); + var formattedMsg = JsonSerializer.Serialize(JsonDocument.Parse(msg), new JsonSerializerOptions + { + Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping, + WriteIndented = true + }); + + packet.AddValue("Message", System.Environment.NewLine + formattedMsg, indexes); + } + + [Parser(Opcode.CMSG_BATTLENET_REQUEST)] + public static void HandleBattlenetRequest(Packet packet) + { + var method = ReadMethodCall(packet, "Method"); + + int protoSize = packet.ReadInt32(); + ReadProtoData(packet, protoSize, method, "Data"); + } + + [Parser(Opcode.SMSG_BATTLENET_NOTIFICATION)] + public static void HandleBattlenetNotification(Packet packet) + { + var method = ReadMethodCall(packet, "Method"); + + int protoSize = packet.ReadInt32(); + ReadProtoData(packet, protoSize, method, "Data"); + } + + [Parser(Opcode.SMSG_BATTLENET_RESPONSE)] + public static void HandleBattlenetResponse(Packet packet) + { + packet.ReadInt32E("BnetStatus"); + var method = ReadMethodCall(packet, "Method"); + + int protoSize = packet.ReadInt32(); + ReadProtoData(packet, protoSize, method, "Data"); + } + } +} diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/ProtobufParser.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/ProtobufParser.cs new file mode 100644 index 0000000000..d2d3fba553 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/ProtobufParser.cs @@ -0,0 +1,192 @@ +using System; +using System.Collections.Generic; +using WowPacketParser.Enums; + +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649 +{ + public static class ProtobufParser + { + private static readonly Dictionary<(ServiceHash, uint /*MethodId*/), (Google.Protobuf.MessageParser /*Request|Notification*/, Google.Protobuf.MessageParser /*Response*/)> Parsers = new() + { + { (ServiceHash.AccountService, 13u), (Bgs.Protocol.Account.V1.ResolveAccountRequest.Parser, Bgs.Protocol.Account.V1.ResolveAccountResponse.Parser) }, + { (ServiceHash.AccountService, 25u), (Bgs.Protocol.Account.V1.SubscriptionUpdateRequest.Parser, Bgs.Protocol.Account.V1.SubscriptionUpdateResponse.Parser) }, + { (ServiceHash.AccountService, 26u), (Bgs.Protocol.Account.V1.SubscriptionUpdateRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.AccountService, 30u), (Bgs.Protocol.Account.V1.GetAccountStateRequest.Parser, Bgs.Protocol.Account.V1.GetAccountStateResponse.Parser) }, + { (ServiceHash.AccountService, 31u), (Bgs.Protocol.Account.V1.GetGameAccountStateRequest.Parser, Bgs.Protocol.Account.V1.GetGameAccountStateResponse.Parser) }, + { (ServiceHash.AccountService, 32u), (Bgs.Protocol.Account.V1.GetLicensesRequest.Parser, Bgs.Protocol.Account.V1.GetLicensesResponse.Parser) }, + { (ServiceHash.AccountService, 33u), (Bgs.Protocol.Account.V1.GetGameTimeRemainingInfoRequest.Parser, Bgs.Protocol.Account.V1.GetGameTimeRemainingInfoResponse.Parser) }, + { (ServiceHash.AccountService, 34u), (Bgs.Protocol.Account.V1.GetGameSessionInfoRequest.Parser, Bgs.Protocol.Account.V1.GetGameSessionInfoResponse.Parser) }, + { (ServiceHash.AccountService, 35u), (Bgs.Protocol.Account.V1.GetCAISInfoRequest.Parser, Bgs.Protocol.Account.V1.GetCAISInfoResponse.Parser) }, + { (ServiceHash.AccountService, 37u), (Bgs.Protocol.Account.V1.GetAuthorizedDataRequest.Parser, Bgs.Protocol.Account.V1.GetAuthorizedDataResponse.Parser) }, + { (ServiceHash.AccountService, 44u), (Bgs.Protocol.Account.V1.GetSignedAccountStateRequest.Parser, Bgs.Protocol.Account.V1.GetSignedAccountStateResponse.Parser) }, + { (ServiceHash.AccountService, 45u), (Bgs.Protocol.Account.V1.GetAccountInfoRequest.Parser, Bgs.Protocol.Account.V1.GetAccountInfoResponse.Parser) }, + { (ServiceHash.AccountService, 46u), (Bgs.Protocol.Account.V1.GetAccountPlatformRestrictionsRequest.Parser, Bgs.Protocol.Account.V1.GetAccountPlatformRestrictionsResponse.Parser) }, + { (ServiceHash.AuthenticationListener, 4u), (Bgs.Protocol.Authentication.V1.ServerStateChangeRequest.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.AuthenticationListener, 5u), (Bgs.Protocol.Authentication.V1.LogonResult.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.AuthenticationListener, 10u), (Bgs.Protocol.Authentication.V1.LogonUpdateRequest.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.AuthenticationListener, 11u), (Bgs.Protocol.Authentication.V1.VersionInfoNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.AuthenticationListener, 12u), (Bgs.Protocol.Authentication.V1.LogonQueueUpdateRequest.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.AuthenticationListener, 13u), (Bgs.Protocol.NoData.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.AuthenticationService, 1u), (Bgs.Protocol.Authentication.V1.LogonRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.AuthenticationService, 7u), (Bgs.Protocol.Authentication.V1.VerifyWebCredentialsRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.AuthenticationService, 8u), (Bgs.Protocol.Authentication.V1.GenerateWebCredentialsRequest.Parser, Bgs.Protocol.Authentication.V1.GenerateWebCredentialsResponse.Parser) }, + { (ServiceHash.ChallengeService, 3u), (Bgs.Protocol.Challenge.V1.ChallengeExternalRequest.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ChallengeService, 4u), (Bgs.Protocol.Challenge.V1.ChallengeExternalResult.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 1u), (Bgs.Protocol.Club.V1.SubscribeNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 2u), (Bgs.Protocol.Club.V1.UnsubscribeNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 3u), (Bgs.Protocol.Club.V1.StateChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 4u), (Bgs.Protocol.Club.V1.SettingsChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 30u), (Bgs.Protocol.Club.V1.MemberAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 31u), (Bgs.Protocol.Club.V1.MemberRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 32u), (Bgs.Protocol.Club.V1.MemberStateChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 33u), (Bgs.Protocol.Club.V1.SubscriberStateChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 34u), (Bgs.Protocol.Club.V1.MemberRoleChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 50u), (Bgs.Protocol.Club.V1.InvitationAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 51u), (Bgs.Protocol.Club.V1.InvitationRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 70u), (Bgs.Protocol.Club.V1.SuggestionAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 71u), (Bgs.Protocol.Club.V1.SuggestionRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 100u), (Bgs.Protocol.Club.V1.StreamAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 101u), (Bgs.Protocol.Club.V1.StreamRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 102u), (Bgs.Protocol.Club.V1.StreamStateChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 150u), (Bgs.Protocol.Club.V1.StreamMessageAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 152u), (Bgs.Protocol.Club.V1.StreamMessageUpdatedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 153u), (Bgs.Protocol.Club.V1.StreamTypingIndicatorNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 154u), (Bgs.Protocol.Club.V1.StreamUnreadIndicatorNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubListener, 155u), (Bgs.Protocol.Club.V1.StreamAdvanceViewTimeNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubService, 1u), (Bgs.Protocol.Club.V1.SubscribeRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 2u), (Bgs.Protocol.Club.V1.UnsubscribeRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 3u), (Bgs.Protocol.Club.V1.CreateRequest.Parser, Bgs.Protocol.Club.V1.CreateResponse.Parser) }, + { (ServiceHash.ClubService, 4u), (Bgs.Protocol.Club.V1.DestroyRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 5u), (Bgs.Protocol.Club.V1.GetDescriptionRequest.Parser, Bgs.Protocol.Club.V1.GetDescriptionResponse.Parser) }, + { (ServiceHash.ClubService, 6u), (Bgs.Protocol.Club.V1.GetClubTypeRequest.Parser, Bgs.Protocol.Club.V1.GetClubTypeResponse.Parser) }, + { (ServiceHash.ClubService, 7u), (Bgs.Protocol.Club.V1.UpdateClubStateRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 8u), (Bgs.Protocol.Club.V1.UpdateClubSettingsRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 30u), (Bgs.Protocol.Club.V1.JoinRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 31u), (Bgs.Protocol.Club.V1.LeaveRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 32u), (Bgs.Protocol.Club.V1.KickRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 33u), (Bgs.Protocol.Club.V1.GetMemberRequest.Parser, Bgs.Protocol.Club.V1.GetMemberResponse.Parser) }, + { (ServiceHash.ClubService, 34u), (Bgs.Protocol.Club.V1.GetMembersRequest.Parser, Bgs.Protocol.Club.V1.GetMembersResponse.Parser) }, + { (ServiceHash.ClubService, 35u), (Bgs.Protocol.Club.V1.UpdateMemberStateRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 36u), (Bgs.Protocol.Club.V1.UpdateSubscriberStateRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 37u), (Bgs.Protocol.Club.V1.AssignRoleRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 38u), (Bgs.Protocol.Club.V1.UnassignRoleRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 50u), (Bgs.Protocol.Club.V1.SendInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 51u), (Bgs.Protocol.Club.V1.AcceptInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 52u), (Bgs.Protocol.Club.V1.DeclineInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 53u), (Bgs.Protocol.Club.V1.RevokeInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 54u), (Bgs.Protocol.Club.V1.GetInvitationRequest.Parser, Bgs.Protocol.Club.V1.GetInvitationResponse.Parser) }, + { (ServiceHash.ClubService, 55u), (Bgs.Protocol.Club.V1.GetInvitationsRequest.Parser, Bgs.Protocol.Club.V1.GetInvitationsResponse.Parser) }, + { (ServiceHash.ClubService, 60u), (Bgs.Protocol.Club.V1.SendSuggestionRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 61u), (Bgs.Protocol.Club.V1.AcceptSuggestionRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 62u), (Bgs.Protocol.Club.V1.DeclineSuggestionRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 63u), (Bgs.Protocol.Club.V1.GetSuggestionRequest.Parser, Bgs.Protocol.Club.V1.GetSuggestionResponse.Parser) }, + { (ServiceHash.ClubService, 64u), (Bgs.Protocol.Club.V1.GetSuggestionsRequest.Parser, Bgs.Protocol.Club.V1.GetSuggestionsResponse.Parser) }, + { (ServiceHash.ClubService, 70u), (Bgs.Protocol.Club.V1.CreateTicketRequest.Parser, Bgs.Protocol.Club.V1.CreateTicketResponse.Parser) }, + { (ServiceHash.ClubService, 71u), (Bgs.Protocol.Club.V1.DestroyTicketRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 72u), (Bgs.Protocol.Club.V1.RedeemTicketRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 73u), (Bgs.Protocol.Club.V1.GetTicketRequest.Parser, Bgs.Protocol.Club.V1.GetTicketResponse.Parser) }, + { (ServiceHash.ClubService, 74u), (Bgs.Protocol.Club.V1.GetTicketsRequest.Parser, Bgs.Protocol.Club.V1.GetTicketsResponse.Parser) }, + { (ServiceHash.ClubService, 80u), (Bgs.Protocol.Club.V1.AddBanRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 81u), (Bgs.Protocol.Club.V1.RemoveBanRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 82u), (Bgs.Protocol.Club.V1.GetBanRequest.Parser, Bgs.Protocol.Club.V1.GetBanResponse.Parser) }, + { (ServiceHash.ClubService, 83u), (Bgs.Protocol.Club.V1.GetBansRequest.Parser, Bgs.Protocol.Club.V1.GetBansResponse.Parser) }, + { (ServiceHash.ClubService, 100u), (Bgs.Protocol.Club.V1.SubscribeStreamRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 101u), (Bgs.Protocol.Club.V1.UnsubscribeStreamRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 102u), (Bgs.Protocol.Club.V1.CreateStreamRequest.Parser, Bgs.Protocol.Club.V1.CreateStreamResponse.Parser) }, + { (ServiceHash.ClubService, 103u), (Bgs.Protocol.Club.V1.DestroyStreamRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 104u), (Bgs.Protocol.Club.V1.GetStreamRequest.Parser, Bgs.Protocol.Club.V1.GetStreamResponse.Parser) }, + { (ServiceHash.ClubService, 105u), (Bgs.Protocol.Club.V1.GetStreamsRequest.Parser, Bgs.Protocol.Club.V1.GetStreamsResponse.Parser) }, + { (ServiceHash.ClubService, 106u), (Bgs.Protocol.Club.V1.UpdateStreamStateRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 107u), (Bgs.Protocol.Club.V1.SetStreamFocusRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 108u), (Bgs.Protocol.Club.V1.GetStreamVoiceTokenRequest.Parser, Bgs.Protocol.Club.V1.GetStreamVoiceTokenResponse.Parser) }, + { (ServiceHash.ClubService, 109u), (Bgs.Protocol.Club.V1.KickFromStreamVoiceRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 150u), (Bgs.Protocol.Club.V1.CreateMessageRequest.Parser, Bgs.Protocol.Club.V1.CreateMessageResponse.Parser) }, + { (ServiceHash.ClubService, 151u), (Bgs.Protocol.Club.V1.DestroyMessageRequest.Parser, Bgs.Protocol.Club.V1.DestroyMessageResponse.Parser) }, + { (ServiceHash.ClubService, 152u), (Bgs.Protocol.Club.V1.EditMessageRequest.Parser, Bgs.Protocol.Club.V1.EditMessageResponse.Parser) }, + { (ServiceHash.ClubService, 153u), (Bgs.Protocol.Club.V1.SetMessagePinnedRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 154u), (Bgs.Protocol.Club.V1.SetTypingIndicatorRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 155u), (Bgs.Protocol.Club.V1.AdvanceStreamViewTimeRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubService, 156u), (Bgs.Protocol.Club.V1.GetStreamHistoryRequest.Parser, Bgs.Protocol.Club.V1.GetStreamHistoryResponse.Parser) }, + { (ServiceHash.ClubService, 157u), (Bgs.Protocol.Club.V1.GetStreamMessageRequest.Parser, Bgs.Protocol.Club.V1.GetStreamMessageResponse.Parser) }, + { (ServiceHash.ClubMembershipListener, 1u), (Bgs.Protocol.Club.V1.Membership.ClubAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 2u), (Bgs.Protocol.Club.V1.Membership.ClubRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 3u), (Bgs.Protocol.Club.V1.Membership.ReceivedInvitationAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 4u), (Bgs.Protocol.Club.V1.Membership.ReceivedInvitationRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 5u), (Bgs.Protocol.Club.V1.Membership.SharedSettingsChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 6u), (Bgs.Protocol.Club.V1.Membership.StreamMentionAddedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 7u), (Bgs.Protocol.Club.V1.Membership.StreamMentionRemovedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipListener, 8u), (Bgs.Protocol.Club.V1.Membership.StreamMentionAdvanceViewTimeNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ClubMembershipService, 1u), (Bgs.Protocol.Club.V1.Membership.SubscribeRequest.Parser,Bgs.Protocol.Club.V1.Membership.SubscribeResponse.Parser) }, + { (ServiceHash.ClubMembershipService, 2u), (Bgs.Protocol.Club.V1.Membership.UnsubscribeRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubMembershipService, 3u), (Bgs.Protocol.Club.V1.Membership.GetStateRequest.Parser,Bgs.Protocol.Club.V1.Membership.GetStateResponse.Parser) }, + { (ServiceHash.ClubMembershipService, 4u), (Bgs.Protocol.Club.V1.Membership.UpdateClubSharedSettingsRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubMembershipService, 5u), (Bgs.Protocol.Club.V1.Membership.GetStreamMentionsRequest.Parser,Bgs.Protocol.Club.V1.Membership.GetStreamMentionsResponse.Parser) }, + { (ServiceHash.ClubMembershipService, 6u), (Bgs.Protocol.Club.V1.Membership.RemoveStreamMentionsRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ClubMembershipService, 7u), (Bgs.Protocol.Club.V1.Membership.AdvanceStreamMentionViewTimeRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ConnectionService, 1u), (Bgs.Protocol.Connection.V1.ConnectRequest.Parser, Bgs.Protocol.Connection.V1.ConnectResponse.Parser) }, + { (ServiceHash.ConnectionService, 2u), (Bgs.Protocol.Connection.V1.BindRequest.Parser, Bgs.Protocol.Connection.V1.BindResponse.Parser) }, + { (ServiceHash.ConnectionService, 3u), (Bgs.Protocol.Connection.V1.EchoRequest.Parser, Bgs.Protocol.Connection.V1.EchoResponse.Parser) }, + { (ServiceHash.ConnectionService, 4u), (Bgs.Protocol.Connection.V1.DisconnectNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ConnectionService, 5u), (Bgs.Protocol.NoData.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ConnectionService, 6u), (Bgs.Protocol.Connection.V1.EncryptRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ConnectionService, 7u), (Bgs.Protocol.Connection.V1.DisconnectRequest.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.FriendsService, 1u), (Bgs.Protocol.Friends.V1.SubscribeRequest.Parser, Bgs.Protocol.Friends.V1.SubscribeResponse.Parser) }, + { (ServiceHash.FriendsService, 2u), (Bgs.Protocol.Friends.V1.SendInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 3u), (Bgs.Protocol.Friends.V1.AcceptInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 4u), (Bgs.Protocol.Friends.V1.RevokeInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 5u), (Bgs.Protocol.Friends.V1.DeclineInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 6u), (Bgs.Protocol.Friends.V1.IgnoreInvitationRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 8u), (Bgs.Protocol.Friends.V1.RemoveFriendRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 9u), (Bgs.Protocol.Friends.V1.ViewFriendsRequest.Parser, Bgs.Protocol.Friends.V1.ViewFriendsResponse.Parser) }, + { (ServiceHash.FriendsService, 10u), (Bgs.Protocol.Friends.V1.UpdateFriendStateRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 11u), (Bgs.Protocol.Friends.V1.UnsubscribeRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 12u), (Bgs.Protocol.Friends.V1.RevokeAllInvitationsRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.FriendsService, 13u), (Bgs.Protocol.Friends.V1.GetFriendListRequest.Parser, Bgs.Protocol.Friends.V1.GetFriendListResponse.Parser) }, + { (ServiceHash.FriendsService, 14u), (Bgs.Protocol.Friends.V1.CreateFriendshipRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.GameUtilitiesService, 1u), (Bgs.Protocol.GameUtilities.V1.ClientRequest.Parser, Bgs.Protocol.GameUtilities.V1.ClientResponse.Parser) }, + { (ServiceHash.GameUtilitiesService, 2u), (Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.GameUtilitiesService, 6u), (Bgs.Protocol.GameUtilities.V1.ServerRequest.Parser, Bgs.Protocol.GameUtilities.V1.ServerResponse.Parser) }, + { (ServiceHash.GameUtilitiesService, 7u), (Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.GameUtilitiesService, 8u), (Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.GameUtilitiesService, 10u), (Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest.Parser, Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse.Parser) }, + { (ServiceHash.GameUtilitiesService, 11u), (Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest.Parser, Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse.Parser) }, + { (ServiceHash.GameUtilitiesService, 12u), (Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.PresenceListener, 1u), (Bgs.Protocol.Presence.V1.SubscribeNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.PresenceListener, 2u), (Bgs.Protocol.Presence.V1.StateChangedNotification.Parser, Bgs.Protocol.NO_RESPONSE.Parser) }, + { (ServiceHash.ReportService, 1u), (Bgs.Protocol.Report.V1.SendReportRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ReportService, 2u), (Bgs.Protocol.Report.V1.SubmitReportRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ReportServiceV2, 1u), (Bgs.Protocol.Report.V2.SubmitReportRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.ResourceService, 1u), (Bgs.Protocol.Resources.V1.ContentHandleRequest.Parser, Bgs.Protocol.ContentHandle.Parser) }, + { (ServiceHash.ResourceService, 2u), (Bgs.Protocol.Resources.V1.GetTitleIconsRequest.Parser, Bgs.Protocol.Resources.V1.GetTitleIconsResponse.Parser) }, + { (ServiceHash.UserManagerService, 1u), (Bgs.Protocol.UserManager.V1.SubscribeRequest.Parser, Bgs.Protocol.UserManager.V1.SubscribeResponse.Parser) }, + { (ServiceHash.UserManagerService, 10u), (Bgs.Protocol.UserManager.V1.AddRecentPlayersRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.UserManagerService, 11u), (Bgs.Protocol.UserManager.V1.ClearRecentPlayersRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.UserManagerService, 20u), (Bgs.Protocol.UserManager.V1.BlockPlayerRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.UserManagerService, 21u), (Bgs.Protocol.UserManager.V1.UnblockPlayerRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.UserManagerService, 40u), (Bgs.Protocol.UserManager.V1.BlockPlayerRequest.Parser, Bgs.Protocol.NoData.Parser) }, + { (ServiceHash.UserManagerService, 51u), (Bgs.Protocol.UserManager.V1.UnsubscribeRequest.Parser, Bgs.Protocol.NoData.Parser) } + }; + + public static Google.Protobuf.MessageParser GetParser(uint serviceHash, uint methodId, int opcode) + { + var key = ((ServiceHash)serviceHash, methodId & 0x3FFFFFFF); + if (!Parsers.ContainsKey(key)) + return null; + + return (opcode == WowPacketParser.Enums.Version.Opcodes.GetOpcode(Opcode.SMSG_BATTLENET_RESPONSE, Direction.ServerToClient)) ? Parsers[key].Item2 : Parsers[key].Item1; + } + + public static string GetParserName(Google.Protobuf.MessageParser parser) + { + if (parser == null || parser.GetType().IsGenericType == false) + return String.Empty; + + if (parser.GetType().GetGenericArguments().Length == 0) + return String.Empty; + + var name = parser.GetType().GetGenericArguments()[0].ToString(); + + return name.Replace(typeof(ProtobufParser).Namespace + ".", String.Empty); + } + } +} diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AccountService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AccountService.cs new file mode 100644 index 0000000000..81cb0e5aec --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AccountService.cs @@ -0,0 +1,7367 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/account_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/account_service.proto + public static partial class AccountServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/account_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AccountServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CidiZ3MvbG93L3BiL2NsaWVudC9hY2NvdW50X3NlcnZpY2UucHJvdG8SF2Jn", + "cy5wcm90b2NvbC5hY2NvdW50LnYxGiViZ3MvbG93L3BiL2NsaWVudC9hY2Nv", + "dW50X3R5cGVzLnByb3RvGiRiZ3MvbG93L3BiL2NsaWVudC9lbnRpdHlfdHlw", + "ZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3JwY190eXBlcy5wcm90byJp", + "ChVSZXNvbHZlQWNjb3VudFJlcXVlc3QSPgoDcmVmGAEgASgLMikuYmdzLnBy", + "b3RvY29sLmFjY291bnQudjEuQWNjb3VudFJlZmVyZW5jZUIGgvkrAhABEhAK", + "CGZldGNoX2lkGAwgASgIIkgKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USLgoC", + "aWQYDCABKAsyIi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50SWQi", + "fgocR2FtZUFjY291bnRGbGFnVXBkYXRlUmVxdWVzdBJACgxnYW1lX2FjY291", + "bnQYASABKAsyKi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5HYW1lQWNjb3Vu", + "dEhhbmRsZRIMCgRmbGFnGAIgASgEEg4KBmFjdGl2ZRgDIAEoCCJWChlTdWJz", + "Y3JpcHRpb25VcGRhdGVSZXF1ZXN0EjkKA3JlZhgCIAMoCzIsLmJncy5wcm90", + "b2NvbC5hY2NvdW50LnYxLlN1YnNjcmliZXJSZWZlcmVuY2UiVwoaU3Vic2Ny", + "aXB0aW9uVXBkYXRlUmVzcG9uc2USOQoDcmVmGAEgAygLMiwuYmdzLnByb3Rv", + "Y29sLmFjY291bnQudjEuU3Vic2NyaWJlclJlZmVyZW5jZSLkAQoWR2V0QWNj", + "b3VudFN0YXRlUmVxdWVzdBIxCgllbnRpdHlfaWQYASABKAsyFi5iZ3MucHJv", + "dG9jb2wuRW50aXR5SWRCBoL5KwIQARIPCgdwcm9ncmFtGAIgASgNEg4KBnJl", + "Z2lvbhgDIAEoDRI9CgdvcHRpb25zGAogASgLMiwuYmdzLnByb3RvY29sLmFj", + "Y291bnQudjEuQWNjb3VudEZpZWxkT3B0aW9ucxI3CgR0YWdzGAsgASgLMiku", + "YmdzLnByb3RvY29sLmFjY291bnQudjEuQWNjb3VudEZpZWxkVGFncyKIAQoX", + "R2V0QWNjb3VudFN0YXRlUmVzcG9uc2USNAoFc3RhdGUYASABKAsyJS5iZ3Mu", + "cHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50U3RhdGUSNwoEdGFncxgCIAEo", + "CzIpLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRGaWVsZFRhZ3Mi", + "WwocR2V0U2lnbmVkQWNjb3VudFN0YXRlUmVxdWVzdBI7CgdhY2NvdW50GAEg", + "ASgLMiIuYmdzLnByb3RvY29sLmFjY291bnQudjEuQWNjb3VudElkQgaC+SsC", + "EAEiLgodR2V0U2lnbmVkQWNjb3VudFN0YXRlUmVzcG9uc2USDQoFdG9rZW4Y", + "ASABKAkihQIKGkdldEdhbWVBY2NvdW50U3RhdGVSZXF1ZXN0Ei4KCmFjY291", + "bnRfaWQYASABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWRCAhgBEjcKD2dh", + "bWVfYWNjb3VudF9pZBgCIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZEIG", + "gvkrAhABEkEKB29wdGlvbnMYCiABKAsyMC5iZ3MucHJvdG9jb2wuYWNjb3Vu", + "dC52MS5HYW1lQWNjb3VudEZpZWxkT3B0aW9ucxI7CgR0YWdzGAsgASgLMi0u", + "YmdzLnByb3RvY29sLmFjY291bnQudjEuR2FtZUFjY291bnRGaWVsZFRhZ3Mi", + "lAEKG0dldEdhbWVBY2NvdW50U3RhdGVSZXNwb25zZRI4CgVzdGF0ZRgBIAEo", + "CzIpLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVBY2NvdW50U3RhdGUS", + "OwoEdGFncxgCIAEoCzItLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVB", + "Y2NvdW50RmllbGRUYWdzIu0BChJHZXRMaWNlbnNlc1JlcXVlc3QSMQoJdGFy", + "Z2V0X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsCEAES", + "HgoWZmV0Y2hfYWNjb3VudF9saWNlbnNlcxgCIAEoCBIjChtmZXRjaF9nYW1l", + "X2FjY291bnRfbGljZW5zZXMYAyABKAgSJgoeZmV0Y2hfZHluYW1pY19hY2Nv", + "dW50X2xpY2Vuc2VzGAQgASgIEg8KB3Byb2dyYW0YBSABKAcSJgoXZXhjbHVk", + "ZV91bmtub3duX3Byb2dyYW0YBiABKAg6BWZhbHNlIlAKE0dldExpY2Vuc2Vz", + "UmVzcG9uc2USOQoIbGljZW5zZXMYASADKAsyJy5iZ3MucHJvdG9jb2wuYWNj", + "b3VudC52MS5BY2NvdW50TGljZW5zZSJGChlHZXRHYW1lU2Vzc2lvbkluZm9S", + "ZXF1ZXN0EikKCWVudGl0eV9pZBgBIAEoCzIWLmJncy5wcm90b2NvbC5FbnRp", + "dHlJZCJcChpHZXRHYW1lU2Vzc2lvbkluZm9SZXNwb25zZRI+CgxzZXNzaW9u", + "X2luZm8YAiABKAsyKC5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5HYW1lU2Vz", + "c2lvbkluZm8ilQEKH0dldEdhbWVUaW1lUmVtYWluaW5nSW5mb1JlcXVlc3QS", + "LwoPZ2FtZV9hY2NvdW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0", + "eUlkEioKCmFjY291bnRfaWQYAiABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5", + "SWQSFQoNYmVuZWZhY3Rvcl9pZBgDIAEoCSJ0CiBHZXRHYW1lVGltZVJlbWFp", + "bmluZ0luZm9SZXNwb25zZRJQChhnYW1lX3RpbWVfcmVtYWluaW5nX2luZm8Y", + "ASABKAsyLi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5HYW1lVGltZVJlbWFp", + "bmluZ0luZm8iRwoSR2V0Q0FJU0luZm9SZXF1ZXN0EjEKCWVudGl0eV9pZBgB", + "IAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAhABIkcKE0dldENB", + "SVNJbmZvUmVzcG9uc2USMAoJY2Fpc19pbmZvGAEgASgLMh0uYmdzLnByb3Rv", + "Y29sLmFjY291bnQudjEuQ0FJUyJ2ChhHZXRBdXRob3JpemVkRGF0YVJlcXVl", + "c3QSMQoJZW50aXR5X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk", + "QgaC+SsCEAESCwoDdGFnGAIgAygJEhoKEnByaXZpbGVnZWRfbmV0d29yaxgD", + "IAEoCCJSChlHZXRBdXRob3JpemVkRGF0YVJlc3BvbnNlEjUKBGRhdGEYASAD", + "KAsyJy5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BdXRob3JpemVkRGF0YSJL", + "ChVHZXRBY2NvdW50SW5mb1JlcXVlc3QSMgoKYWNjb3VudF9pZBgBIAEoCzIW", + "LmJncy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAhABIlQKFkdldEFjY291bnRJ", + "bmZvUmVzcG9uc2USOgoMYWNjb3VudF9pbmZvGAEgASgLMiQuYmdzLnByb3Rv", + "Y29sLmFjY291bnQudjEuQWNjb3VudEluZm8iWwolR2V0QWNjb3VudFBsYXRm", + "b3JtUmVzdHJpY3Rpb25zUmVxdWVzdBIyCgphY2NvdW50X2lkGAEgASgLMhYu", + "YmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsCEAEiewomR2V0QWNjb3VudFBs", + "YXRmb3JtUmVzdHJpY3Rpb25zUmVzcG9uc2USUQoQcmVzdHJpY3Rpb25faW5m", + "bxgBIAEoCzI3LmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRQbGF0", + "Zm9ybVJlc3RyaWN0aW9uSW5mbyLUAQoYQWNjb3VudFN0YXRlTm90aWZpY2F0", + "aW9uEjwKDWFjY291bnRfc3RhdGUYASABKAsyJS5iZ3MucHJvdG9jb2wuYWNj", + "b3VudC52MS5BY2NvdW50U3RhdGUSGQoNc3Vic2NyaWJlcl9pZBgCIAEoBEIC", + "GAESPwoMYWNjb3VudF90YWdzGAMgASgLMikuYmdzLnByb3RvY29sLmFjY291", + "bnQudjEuQWNjb3VudEZpZWxkVGFncxIeChZzdWJzY3JpcHRpb25fY29tcGxl", + "dGVkGAQgASgIIuoBChxHYW1lQWNjb3VudFN0YXRlTm90aWZpY2F0aW9uEkUK", + "EmdhbWVfYWNjb3VudF9zdGF0ZRgBIAEoCzIpLmJncy5wcm90b2NvbC5hY2Nv", + "dW50LnYxLkdhbWVBY2NvdW50U3RhdGUSGQoNc3Vic2NyaWJlcl9pZBgCIAEo", + "BEICGAESSAoRZ2FtZV9hY2NvdW50X3RhZ3MYAyABKAsyLS5iZ3MucHJvdG9j", + "b2wuYWNjb3VudC52MS5HYW1lQWNjb3VudEZpZWxkVGFncxIeChZzdWJzY3Jp", + "cHRpb25fY29tcGxldGVkGAQgASgIIrIBChdHYW1lQWNjb3VudE5vdGlmaWNh", + "dGlvbhI/Cg1nYW1lX2FjY291bnRzGAEgAygLMiguYmdzLnByb3RvY29sLmFj", + "Y291bnQudjEuR2FtZUFjY291bnRMaXN0EhUKDXN1YnNjcmliZXJfaWQYAiAB", + "KAQSPwoMYWNjb3VudF90YWdzGAMgASgLMikuYmdzLnByb3RvY29sLmFjY291", + "bnQudjEuQWNjb3VudEZpZWxkVGFncyKoAQoeR2FtZUFjY291bnRTZXNzaW9u", + "Tm90aWZpY2F0aW9uEkAKDGdhbWVfYWNjb3VudBgBIAEoCzIqLmJncy5wcm90", + "b2NvbC5hY2NvdW50LnYxLkdhbWVBY2NvdW50SGFuZGxlEkQKDHNlc3Npb25f", + "aW5mbxgCIAEoCzIuLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVTZXNz", + "aW9uVXBkYXRlSW5mbzLzDQoOQWNjb3VudFNlcnZpY2USeQoOUmVzb2x2ZUFj", + "Y291bnQSLi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5SZXNvbHZlQWNjb3Vu", + "dFJlcXVlc3QaLy5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5SZXNvbHZlQWNj", + "b3VudFJlc3BvbnNlIgaC+SsCCA0SfAoJU3Vic2NyaWJlEjIuYmdzLnByb3Rv", + "Y29sLmFjY291bnQudjEuU3Vic2NyaXB0aW9uVXBkYXRlUmVxdWVzdBozLmJn", + "cy5wcm90b2NvbC5hY2NvdW50LnYxLlN1YnNjcmlwdGlvblVwZGF0ZVJlc3Bv", + "bnNlIgaC+SsCCBkSXwoLVW5zdWJzY3JpYmUSMi5iZ3MucHJvdG9jb2wuYWNj", + "b3VudC52MS5TdWJzY3JpcHRpb25VcGRhdGVSZXF1ZXN0GhQuYmdzLnByb3Rv", + "Y29sLk5vRGF0YSIGgvkrAggaEnwKD0dldEFjY291bnRTdGF0ZRIvLmJncy5w", + "cm90b2NvbC5hY2NvdW50LnYxLkdldEFjY291bnRTdGF0ZVJlcXVlc3QaMC5i", + "Z3MucHJvdG9jb2wuYWNjb3VudC52MS5HZXRBY2NvdW50U3RhdGVSZXNwb25z", + "ZSIGgvkrAggeEogBChNHZXRHYW1lQWNjb3VudFN0YXRlEjMuYmdzLnByb3Rv", + "Y29sLmFjY291bnQudjEuR2V0R2FtZUFjY291bnRTdGF0ZVJlcXVlc3QaNC5i", + "Z3MucHJvdG9jb2wuYWNjb3VudC52MS5HZXRHYW1lQWNjb3VudFN0YXRlUmVz", + "cG9uc2UiBoL5KwIIHxJwCgtHZXRMaWNlbnNlcxIrLmJncy5wcm90b2NvbC5h", + "Y2NvdW50LnYxLkdldExpY2Vuc2VzUmVxdWVzdBosLmJncy5wcm90b2NvbC5h", + "Y2NvdW50LnYxLkdldExpY2Vuc2VzUmVzcG9uc2UiBoL5KwIIIBKXAQoYR2V0", + "R2FtZVRpbWVSZW1haW5pbmdJbmZvEjguYmdzLnByb3RvY29sLmFjY291bnQu", + "djEuR2V0R2FtZVRpbWVSZW1haW5pbmdJbmZvUmVxdWVzdBo5LmJncy5wcm90", + "b2NvbC5hY2NvdW50LnYxLkdldEdhbWVUaW1lUmVtYWluaW5nSW5mb1Jlc3Bv", + "bnNlIgaC+SsCCCEShwEKEkdldEdhbWVTZXNzaW9uSW5mbxIyLmJncy5wcm90", + "b2NvbC5hY2NvdW50LnYxLkdldEdhbWVTZXNzaW9uSW5mb1JlcXVlc3QaMy5i", + "Z3MucHJvdG9jb2wuYWNjb3VudC52MS5HZXRHYW1lU2Vzc2lvbkluZm9SZXNw", + "b25zZSIIgvkrBAgiUAEScAoLR2V0Q0FJU0luZm8SKy5iZ3MucHJvdG9jb2wu", + "YWNjb3VudC52MS5HZXRDQUlTSW5mb1JlcXVlc3QaLC5iZ3MucHJvdG9jb2wu", + "YWNjb3VudC52MS5HZXRDQUlTSW5mb1Jlc3BvbnNlIgaC+SsCCCMSggEKEUdl", + "dEF1dGhvcml6ZWREYXRhEjEuYmdzLnByb3RvY29sLmFjY291bnQudjEuR2V0", + "QXV0aG9yaXplZERhdGFSZXF1ZXN0GjIuYmdzLnByb3RvY29sLmFjY291bnQu", + "djEuR2V0QXV0aG9yaXplZERhdGFSZXNwb25zZSIGgvkrAgglEo4BChVHZXRT", + "aWduZWRBY2NvdW50U3RhdGUSNS5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5H", + "ZXRTaWduZWRBY2NvdW50U3RhdGVSZXF1ZXN0GjYuYmdzLnByb3RvY29sLmFj", + "Y291bnQudjEuR2V0U2lnbmVkQWNjb3VudFN0YXRlUmVzcG9uc2UiBoL5KwII", + "LBJ5Cg5HZXRBY2NvdW50SW5mbxIuLmJncy5wcm90b2NvbC5hY2NvdW50LnYx", + "LkdldEFjY291bnRJbmZvUmVxdWVzdBovLmJncy5wcm90b2NvbC5hY2NvdW50", + "LnYxLkdldEFjY291bnRJbmZvUmVzcG9uc2UiBoL5KwIILRKpAQoeR2V0QWNj", + "b3VudFBsYXRmb3JtUmVzdHJpY3Rpb25zEj4uYmdzLnByb3RvY29sLmFjY291", + "bnQudjEuR2V0QWNjb3VudFBsYXRmb3JtUmVzdHJpY3Rpb25zUmVxdWVzdBo/", + "LmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdldEFjY291bnRQbGF0Zm9ybVJl", + "c3RyaWN0aW9uc1Jlc3BvbnNlIgaC+SsCCC4aOYL5Ky8KJGJuZXQucHJvdG9j", + "b2wuYWNjb3VudC5BY2NvdW50U2VydmljZSoHYWNjb3VudIr5KwIQATKQBAoP", + "QWNjb3VudExpc3RlbmVyEm0KFU9uQWNjb3VudFN0YXRlVXBkYXRlZBIxLmJn", + "cy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRTdGF0ZU5vdGlmaWNhdGlv", + "bhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkrAggBEnUKGU9uR2Ft", + "ZUFjY291bnRTdGF0ZVVwZGF0ZWQSNS5iZ3MucHJvdG9jb2wuYWNjb3VudC52", + "MS5HYW1lQWNjb3VudFN0YXRlTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29s", + "Lk5PX1JFU1BPTlNFIgaC+SsCCAISbgoVT25HYW1lQWNjb3VudHNVcGRhdGVk", + "EjAuYmdzLnByb3RvY29sLmFjY291bnQudjEuR2FtZUFjY291bnROb3RpZmlj", + "YXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiCIL5KwQIA1ABEnQK", + "FE9uR2FtZVNlc3Npb25VcGRhdGVkEjcuYmdzLnByb3RvY29sLmFjY291bnQu", + "djEuR2FtZUFjY291bnRTZXNzaW9uTm90aWZpY2F0aW9uGhkuYmdzLnByb3Rv", + "Y29sLk5PX1JFU1BPTlNFIgiC+SsECARQARoxgvkrJwojYm5ldC5wcm90b2Nv", + "bC5hY2NvdW50LkFjY291bnROb3RpZnk4AYr5KwIIAUIFSAGAAQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ResolveAccountRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ResolveAccountRequest.Parser, new[]{ "Ref", "FetchId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ResolveAccountResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ResolveAccountResponse.Parser, new[]{ "Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFlagUpdateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFlagUpdateRequest.Parser, new[]{ "GameAccount", "Flag", "Active" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriptionUpdateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriptionUpdateRequest.Parser, new[]{ "Ref" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriptionUpdateResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriptionUpdateResponse.Parser, new[]{ "Ref" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountStateRequest.Parser, new[]{ "EntityId", "Program", "Region", "Options", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountStateResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountStateResponse.Parser, new[]{ "State", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetSignedAccountStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetSignedAccountStateRequest.Parser, new[]{ "Account" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetSignedAccountStateResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetSignedAccountStateResponse.Parser, new[]{ "Token" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameAccountStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameAccountStateRequest.Parser, new[]{ "AccountId", "GameAccountId", "Options", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameAccountStateResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameAccountStateResponse.Parser, new[]{ "State", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetLicensesRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetLicensesRequest.Parser, new[]{ "TargetId", "FetchAccountLicenses", "FetchGameAccountLicenses", "FetchDynamicAccountLicenses", "Program", "ExcludeUnknownProgram" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetLicensesResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetLicensesResponse.Parser, new[]{ "Licenses" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameSessionInfoRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameSessionInfoRequest.Parser, new[]{ "EntityId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameSessionInfoResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameSessionInfoResponse.Parser, new[]{ "SessionInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameTimeRemainingInfoRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameTimeRemainingInfoRequest.Parser, new[]{ "GameAccountId", "AccountId", "BenefactorId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameTimeRemainingInfoResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetGameTimeRemainingInfoResponse.Parser, new[]{ "GameTimeRemainingInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetCAISInfoRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetCAISInfoRequest.Parser, new[]{ "EntityId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetCAISInfoResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetCAISInfoResponse.Parser, new[]{ "CaisInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAuthorizedDataRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAuthorizedDataRequest.Parser, new[]{ "EntityId", "Tag", "PrivilegedNetwork" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAuthorizedDataResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAuthorizedDataResponse.Parser, new[]{ "Data" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountInfoRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountInfoRequest.Parser, new[]{ "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountInfoResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountInfoResponse.Parser, new[]{ "AccountInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountPlatformRestrictionsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountPlatformRestrictionsRequest.Parser, new[]{ "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountPlatformRestrictionsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GetAccountPlatformRestrictionsResponse.Parser, new[]{ "RestrictionInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountStateNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountStateNotification.Parser, new[]{ "AccountState", "SubscriberId", "AccountTags", "SubscriptionCompleted" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountStateNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountStateNotification.Parser, new[]{ "GameAccountState", "SubscriberId", "GameAccountTags", "SubscriptionCompleted" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountNotification.Parser, new[]{ "GameAccounts", "SubscriberId", "AccountTags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountSessionNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountSessionNotification.Parser, new[]{ "GameAccount", "SessionInfo" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResolveAccountRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResolveAccountRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveAccountRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveAccountRequest(ResolveAccountRequest other) : this() { + _hasBits0 = other._hasBits0; + ref_ = other.ref_ != null ? other.ref_.Clone() : null; + fetchId_ = other.fetchId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveAccountRequest Clone() { + return new ResolveAccountRequest(this); + } + + /// Field number for the "ref" field. + public const int RefFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference ref_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference Ref { + get { return ref_; } + set { + ref_ = value; + } + } + + /// Field number for the "fetch_id" field. + public const int FetchIdFieldNumber = 12; + private readonly static bool FetchIdDefaultValue = false; + + private bool fetchId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FetchId { + get { if ((_hasBits0 & 1) != 0) { return fetchId_; } else { return FetchIdDefaultValue; } } + set { + _hasBits0 |= 1; + fetchId_ = value; + } + } + /// Gets whether the "fetch_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "fetch_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ResolveAccountRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResolveAccountRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Ref, other.Ref)) return false; + if (FetchId != other.FetchId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ref_ != null) hash ^= Ref.GetHashCode(); + if (HasFetchId) hash ^= FetchId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ref_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ref); + } + if (HasFetchId) { + output.WriteRawTag(96); + output.WriteBool(FetchId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ref_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ref); + } + if (HasFetchId) { + output.WriteRawTag(96); + output.WriteBool(FetchId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ref_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ref); + } + if (HasFetchId) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResolveAccountRequest other) { + if (other == null) { + return; + } + if (other.ref_ != null) { + if (ref_ == null) { + Ref = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference(); + } + Ref.MergeFrom(other.Ref); + } + if (other.HasFetchId) { + FetchId = other.FetchId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (ref_ == null) { + Ref = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference(); + } + input.ReadMessage(Ref); + break; + } + case 96: { + FetchId = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (ref_ == null) { + Ref = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference(); + } + input.ReadMessage(Ref); + break; + } + case 96: { + FetchId = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResolveAccountResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResolveAccountResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveAccountResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveAccountResponse(ResolveAccountResponse other) : this() { + id_ = other.id_ != null ? other.id_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveAccountResponse Clone() { + return new ResolveAccountResponse(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 12; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId Id { + get { return id_; } + set { + id_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ResolveAccountResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResolveAccountResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(98); + output.WriteMessage(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(98); + output.WriteMessage(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResolveAccountResponse other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + Id.MergeFrom(other.Id); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 98: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Id); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 98: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Id); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountFlagUpdateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountFlagUpdateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFlagUpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFlagUpdateRequest(GameAccountFlagUpdateRequest other) : this() { + _hasBits0 = other._hasBits0; + gameAccount_ = other.gameAccount_ != null ? other.gameAccount_.Clone() : null; + flag_ = other.flag_; + active_ = other.active_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFlagUpdateRequest Clone() { + return new GameAccountFlagUpdateRequest(this); + } + + /// Field number for the "game_account" field. + public const int GameAccountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle gameAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle GameAccount { + get { return gameAccount_; } + set { + gameAccount_ = value; + } + } + + /// Field number for the "flag" field. + public const int FlagFieldNumber = 2; + private readonly static ulong FlagDefaultValue = 0UL; + + private ulong flag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Flag { + get { if ((_hasBits0 & 1) != 0) { return flag_; } else { return FlagDefaultValue; } } + set { + _hasBits0 |= 1; + flag_ = value; + } + } + /// Gets whether the "flag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFlag { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "flag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFlag() { + _hasBits0 &= ~1; + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 3; + private readonly static bool ActiveDefaultValue = false; + + private bool active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { if ((_hasBits0 & 2) != 0) { return active_; } else { return ActiveDefaultValue; } } + set { + _hasBits0 |= 2; + active_ = value; + } + } + /// Gets whether the "active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasActive { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearActive() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountFlagUpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountFlagUpdateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccount, other.GameAccount)) return false; + if (Flag != other.Flag) return false; + if (Active != other.Active) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccount_ != null) hash ^= GameAccount.GetHashCode(); + if (HasFlag) hash ^= Flag.GetHashCode(); + if (HasActive) hash ^= Active.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccount_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccount); + } + if (HasFlag) { + output.WriteRawTag(16); + output.WriteUInt64(Flag); + } + if (HasActive) { + output.WriteRawTag(24); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccount_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccount); + } + if (HasFlag) { + output.WriteRawTag(16); + output.WriteUInt64(Flag); + } + if (HasActive) { + output.WriteRawTag(24); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccount); + } + if (HasFlag) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Flag); + } + if (HasActive) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountFlagUpdateRequest other) { + if (other == null) { + return; + } + if (other.gameAccount_ != null) { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + GameAccount.MergeFrom(other.GameAccount); + } + if (other.HasFlag) { + Flag = other.Flag; + } + if (other.HasActive) { + Active = other.Active; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + case 16: { + Flag = input.ReadUInt64(); + break; + } + case 24: { + Active = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + case 16: { + Flag = input.ReadUInt64(); + break; + } + case 24: { + Active = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriptionUpdateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriptionUpdateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriptionUpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriptionUpdateRequest(SubscriptionUpdateRequest other) : this() { + ref_ = other.ref_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriptionUpdateRequest Clone() { + return new SubscriptionUpdateRequest(this); + } + + /// Field number for the "ref" field. + public const int RefFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_ref_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriberReference.Parser); + private readonly pbc::RepeatedField ref_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ref { + get { return ref_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriptionUpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriptionUpdateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ref_.Equals(other.ref_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= ref_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + ref_.WriteTo(output, _repeated_ref_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + ref_.WriteTo(ref output, _repeated_ref_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += ref_.CalculateSize(_repeated_ref_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriptionUpdateRequest other) { + if (other == null) { + return; + } + ref_.Add(other.ref_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + ref_.AddEntriesFrom(input, _repeated_ref_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + ref_.AddEntriesFrom(ref input, _repeated_ref_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriptionUpdateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriptionUpdateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriptionUpdateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriptionUpdateResponse(SubscriptionUpdateResponse other) : this() { + ref_ = other.ref_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriptionUpdateResponse Clone() { + return new SubscriptionUpdateResponse(this); + } + + /// Field number for the "ref" field. + public const int RefFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ref_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriberReference.Parser); + private readonly pbc::RepeatedField ref_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ref { + get { return ref_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriptionUpdateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriptionUpdateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ref_.Equals(other.ref_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= ref_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + ref_.WriteTo(output, _repeated_ref_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + ref_.WriteTo(ref output, _repeated_ref_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += ref_.CalculateSize(_repeated_ref_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriptionUpdateResponse other) { + if (other == null) { + return; + } + ref_.Add(other.ref_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ref_.AddEntriesFrom(input, _repeated_ref_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ref_.AddEntriesFrom(ref input, _repeated_ref_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAccountStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAccountStateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountStateRequest(GetAccountStateRequest other) : this() { + _hasBits0 = other._hasBits0; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + program_ = other.program_; + region_ = other.region_; + options_ = other.options_ != null ? other.options_.Clone() : null; + tags_ = other.tags_ != null ? other.tags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountStateRequest Clone() { + return new GetAccountStateRequest(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 3; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 2) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 2; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~2; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 10; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 11; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags tags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags Tags { + get { return tags_; } + set { + tags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAccountStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAccountStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if (Program != other.Program) return false; + if (Region != other.Region) return false; + if (!object.Equals(Options, other.Options)) return false; + if (!object.Equals(Tags, other.Tags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasRegion) hash ^= Region.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (tags_ != null) hash ^= Tags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (HasProgram) { + output.WriteRawTag(16); + output.WriteUInt32(Program); + } + if (HasRegion) { + output.WriteRawTag(24); + output.WriteUInt32(Region); + } + if (options_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Options); + } + if (tags_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (HasProgram) { + output.WriteRawTag(16); + output.WriteUInt32(Program); + } + if (HasRegion) { + output.WriteRawTag(24); + output.WriteUInt32(Region); + } + if (options_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Options); + } + if (tags_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (HasProgram) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Program); + } + if (HasRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (tags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAccountStateRequest other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasRegion) { + Region = other.Region; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions(); + } + Options.MergeFrom(other.Options); + } + if (other.tags_ != null) { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + Tags.MergeFrom(other.Tags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 16: { + Program = input.ReadUInt32(); + break; + } + case 24: { + Region = input.ReadUInt32(); + break; + } + case 82: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions(); + } + input.ReadMessage(Options); + break; + } + case 90: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 16: { + Program = input.ReadUInt32(); + break; + } + case 24: { + Region = input.ReadUInt32(); + break; + } + case 82: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions(); + } + input.ReadMessage(Options); + break; + } + case 90: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAccountStateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAccountStateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountStateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountStateResponse(GetAccountStateResponse other) : this() { + state_ = other.state_ != null ? other.state_.Clone() : null; + tags_ = other.tags_ != null ? other.tags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountStateResponse Clone() { + return new GetAccountStateResponse(this); + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags tags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags Tags { + get { return tags_; } + set { + tags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAccountStateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAccountStateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(State, other.State)) return false; + if (!object.Equals(Tags, other.Tags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (state_ != null) hash ^= State.GetHashCode(); + if (tags_ != null) hash ^= Tags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (tags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (tags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (tags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAccountStateResponse other) { + if (other == null) { + return; + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + State.MergeFrom(other.State); + } + if (other.tags_ != null) { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + Tags.MergeFrom(other.Tags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + input.ReadMessage(State); + break; + } + case 18: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + input.ReadMessage(State); + break; + } + case 18: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSignedAccountStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSignedAccountStateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSignedAccountStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSignedAccountStateRequest(GetSignedAccountStateRequest other) : this() { + account_ = other.account_ != null ? other.account_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSignedAccountStateRequest Clone() { + return new GetSignedAccountStateRequest(this); + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId account_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId Account { + get { return account_; } + set { + account_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSignedAccountStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSignedAccountStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Account, other.Account)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (account_ != null) hash ^= Account.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (account_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Account); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSignedAccountStateRequest other) { + if (other == null) { + return; + } + if (other.account_ != null) { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + Account.MergeFrom(other.Account); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSignedAccountStateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSignedAccountStateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSignedAccountStateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSignedAccountStateResponse(GetSignedAccountStateResponse other) : this() { + token_ = other.token_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSignedAccountStateResponse Clone() { + return new GetSignedAccountStateResponse(this); + } + + /// Field number for the "token" field. + public const int TokenFieldNumber = 1; + private readonly static string TokenDefaultValue = ""; + + private string token_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_ ?? TokenDefaultValue; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasToken { + get { return token_ != null; } + } + /// Clears the value of the "token" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearToken() { + token_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSignedAccountStateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSignedAccountStateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Token != other.Token) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasToken) hash ^= Token.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasToken) { + output.WriteRawTag(10); + output.WriteString(Token); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasToken) { + output.WriteRawTag(10); + output.WriteString(Token); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasToken) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSignedAccountStateResponse other) { + if (other == null) { + return; + } + if (other.HasToken) { + Token = other.Token; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Token = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Token = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetGameAccountStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGameAccountStateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameAccountStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameAccountStateRequest(GetGameAccountStateRequest other) : this() { + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + tags_ = other.tags_ != null ? other.tags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameAccountStateRequest Clone() { + return new GetGameAccountStateRequest(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 10; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 11; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags tags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags Tags { + get { return tags_; } + set { + tags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetGameAccountStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetGameAccountStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (!object.Equals(Options, other.Options)) return false; + if (!object.Equals(Tags, other.Tags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (tags_ != null) hash ^= Tags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (options_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Options); + } + if (tags_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (options_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Options); + } + if (tags_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (tags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetGameAccountStateRequest other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions(); + } + Options.MergeFrom(other.Options); + } + if (other.tags_ != null) { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + Tags.MergeFrom(other.Tags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 82: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions(); + } + input.ReadMessage(Options); + break; + } + case 90: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 82: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions(); + } + input.ReadMessage(Options); + break; + } + case 90: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetGameAccountStateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGameAccountStateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameAccountStateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameAccountStateResponse(GetGameAccountStateResponse other) : this() { + state_ = other.state_ != null ? other.state_.Clone() : null; + tags_ = other.tags_ != null ? other.tags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameAccountStateResponse Clone() { + return new GetGameAccountStateResponse(this); + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags tags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags Tags { + get { return tags_; } + set { + tags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetGameAccountStateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetGameAccountStateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(State, other.State)) return false; + if (!object.Equals(Tags, other.Tags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (state_ != null) hash ^= State.GetHashCode(); + if (tags_ != null) hash ^= Tags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (tags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (tags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Tags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (tags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetGameAccountStateResponse other) { + if (other == null) { + return; + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + State.MergeFrom(other.State); + } + if (other.tags_ != null) { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + Tags.MergeFrom(other.Tags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + input.ReadMessage(State); + break; + } + case 18: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + input.ReadMessage(State); + break; + } + case 18: { + if (tags_ == null) { + Tags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(Tags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetLicensesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetLicensesRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicensesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicensesRequest(GetLicensesRequest other) : this() { + _hasBits0 = other._hasBits0; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + fetchAccountLicenses_ = other.fetchAccountLicenses_; + fetchGameAccountLicenses_ = other.fetchGameAccountLicenses_; + fetchDynamicAccountLicenses_ = other.fetchDynamicAccountLicenses_; + program_ = other.program_; + excludeUnknownProgram_ = other.excludeUnknownProgram_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicensesRequest Clone() { + return new GetLicensesRequest(this); + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "fetch_account_licenses" field. + public const int FetchAccountLicensesFieldNumber = 2; + private readonly static bool FetchAccountLicensesDefaultValue = false; + + private bool fetchAccountLicenses_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FetchAccountLicenses { + get { if ((_hasBits0 & 1) != 0) { return fetchAccountLicenses_; } else { return FetchAccountLicensesDefaultValue; } } + set { + _hasBits0 |= 1; + fetchAccountLicenses_ = value; + } + } + /// Gets whether the "fetch_account_licenses" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchAccountLicenses { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "fetch_account_licenses" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchAccountLicenses() { + _hasBits0 &= ~1; + } + + /// Field number for the "fetch_game_account_licenses" field. + public const int FetchGameAccountLicensesFieldNumber = 3; + private readonly static bool FetchGameAccountLicensesDefaultValue = false; + + private bool fetchGameAccountLicenses_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FetchGameAccountLicenses { + get { if ((_hasBits0 & 2) != 0) { return fetchGameAccountLicenses_; } else { return FetchGameAccountLicensesDefaultValue; } } + set { + _hasBits0 |= 2; + fetchGameAccountLicenses_ = value; + } + } + /// Gets whether the "fetch_game_account_licenses" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchGameAccountLicenses { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "fetch_game_account_licenses" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchGameAccountLicenses() { + _hasBits0 &= ~2; + } + + /// Field number for the "fetch_dynamic_account_licenses" field. + public const int FetchDynamicAccountLicensesFieldNumber = 4; + private readonly static bool FetchDynamicAccountLicensesDefaultValue = false; + + private bool fetchDynamicAccountLicenses_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FetchDynamicAccountLicenses { + get { if ((_hasBits0 & 4) != 0) { return fetchDynamicAccountLicenses_; } else { return FetchDynamicAccountLicensesDefaultValue; } } + set { + _hasBits0 |= 4; + fetchDynamicAccountLicenses_ = value; + } + } + /// Gets whether the "fetch_dynamic_account_licenses" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchDynamicAccountLicenses { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "fetch_dynamic_account_licenses" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchDynamicAccountLicenses() { + _hasBits0 &= ~4; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 5; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 8) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 8; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~8; + } + + /// Field number for the "exclude_unknown_program" field. + public const int ExcludeUnknownProgramFieldNumber = 6; + private readonly static bool ExcludeUnknownProgramDefaultValue = false; + + private bool excludeUnknownProgram_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ExcludeUnknownProgram { + get { if ((_hasBits0 & 16) != 0) { return excludeUnknownProgram_; } else { return ExcludeUnknownProgramDefaultValue; } } + set { + _hasBits0 |= 16; + excludeUnknownProgram_ = value; + } + } + /// Gets whether the "exclude_unknown_program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExcludeUnknownProgram { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "exclude_unknown_program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExcludeUnknownProgram() { + _hasBits0 &= ~16; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetLicensesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetLicensesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TargetId, other.TargetId)) return false; + if (FetchAccountLicenses != other.FetchAccountLicenses) return false; + if (FetchGameAccountLicenses != other.FetchGameAccountLicenses) return false; + if (FetchDynamicAccountLicenses != other.FetchDynamicAccountLicenses) return false; + if (Program != other.Program) return false; + if (ExcludeUnknownProgram != other.ExcludeUnknownProgram) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (HasFetchAccountLicenses) hash ^= FetchAccountLicenses.GetHashCode(); + if (HasFetchGameAccountLicenses) hash ^= FetchGameAccountLicenses.GetHashCode(); + if (HasFetchDynamicAccountLicenses) hash ^= FetchDynamicAccountLicenses.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasExcludeUnknownProgram) hash ^= ExcludeUnknownProgram.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (HasFetchAccountLicenses) { + output.WriteRawTag(16); + output.WriteBool(FetchAccountLicenses); + } + if (HasFetchGameAccountLicenses) { + output.WriteRawTag(24); + output.WriteBool(FetchGameAccountLicenses); + } + if (HasFetchDynamicAccountLicenses) { + output.WriteRawTag(32); + output.WriteBool(FetchDynamicAccountLicenses); + } + if (HasProgram) { + output.WriteRawTag(45); + output.WriteFixed32(Program); + } + if (HasExcludeUnknownProgram) { + output.WriteRawTag(48); + output.WriteBool(ExcludeUnknownProgram); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (HasFetchAccountLicenses) { + output.WriteRawTag(16); + output.WriteBool(FetchAccountLicenses); + } + if (HasFetchGameAccountLicenses) { + output.WriteRawTag(24); + output.WriteBool(FetchGameAccountLicenses); + } + if (HasFetchDynamicAccountLicenses) { + output.WriteRawTag(32); + output.WriteBool(FetchDynamicAccountLicenses); + } + if (HasProgram) { + output.WriteRawTag(45); + output.WriteFixed32(Program); + } + if (HasExcludeUnknownProgram) { + output.WriteRawTag(48); + output.WriteBool(ExcludeUnknownProgram); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (HasFetchAccountLicenses) { + size += 1 + 1; + } + if (HasFetchGameAccountLicenses) { + size += 1 + 1; + } + if (HasFetchDynamicAccountLicenses) { + size += 1 + 1; + } + if (HasProgram) { + size += 1 + 4; + } + if (HasExcludeUnknownProgram) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetLicensesRequest other) { + if (other == null) { + return; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + if (other.HasFetchAccountLicenses) { + FetchAccountLicenses = other.FetchAccountLicenses; + } + if (other.HasFetchGameAccountLicenses) { + FetchGameAccountLicenses = other.FetchGameAccountLicenses; + } + if (other.HasFetchDynamicAccountLicenses) { + FetchDynamicAccountLicenses = other.FetchDynamicAccountLicenses; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasExcludeUnknownProgram) { + ExcludeUnknownProgram = other.ExcludeUnknownProgram; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 16: { + FetchAccountLicenses = input.ReadBool(); + break; + } + case 24: { + FetchGameAccountLicenses = input.ReadBool(); + break; + } + case 32: { + FetchDynamicAccountLicenses = input.ReadBool(); + break; + } + case 45: { + Program = input.ReadFixed32(); + break; + } + case 48: { + ExcludeUnknownProgram = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 16: { + FetchAccountLicenses = input.ReadBool(); + break; + } + case 24: { + FetchGameAccountLicenses = input.ReadBool(); + break; + } + case 32: { + FetchDynamicAccountLicenses = input.ReadBool(); + break; + } + case 45: { + Program = input.ReadFixed32(); + break; + } + case 48: { + ExcludeUnknownProgram = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetLicensesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetLicensesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicensesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicensesResponse(GetLicensesResponse other) : this() { + licenses_ = other.licenses_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicensesResponse Clone() { + return new GetLicensesResponse(this); + } + + /// Field number for the "licenses" field. + public const int LicensesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_licenses_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLicense.Parser); + private readonly pbc::RepeatedField licenses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Licenses { + get { return licenses_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetLicensesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetLicensesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!licenses_.Equals(other.licenses_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= licenses_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + licenses_.WriteTo(output, _repeated_licenses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + licenses_.WriteTo(ref output, _repeated_licenses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += licenses_.CalculateSize(_repeated_licenses_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetLicensesResponse other) { + if (other == null) { + return; + } + licenses_.Add(other.licenses_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + licenses_.AddEntriesFrom(input, _repeated_licenses_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + licenses_.AddEntriesFrom(ref input, _repeated_licenses_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetGameSessionInfoRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGameSessionInfoRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameSessionInfoRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameSessionInfoRequest(GetGameSessionInfoRequest other) : this() { + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameSessionInfoRequest Clone() { + return new GetGameSessionInfoRequest(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetGameSessionInfoRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetGameSessionInfoRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetGameSessionInfoRequest other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetGameSessionInfoResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGameSessionInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameSessionInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameSessionInfoResponse(GetGameSessionInfoResponse other) : this() { + sessionInfo_ = other.sessionInfo_ != null ? other.sessionInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameSessionInfoResponse Clone() { + return new GetGameSessionInfoResponse(this); + } + + /// Field number for the "session_info" field. + public const int SessionInfoFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo sessionInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo SessionInfo { + get { return sessionInfo_; } + set { + sessionInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetGameSessionInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetGameSessionInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SessionInfo, other.SessionInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sessionInfo_ != null) hash ^= SessionInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (sessionInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SessionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (sessionInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SessionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sessionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SessionInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetGameSessionInfoResponse other) { + if (other == null) { + return; + } + if (other.sessionInfo_ != null) { + if (sessionInfo_ == null) { + SessionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo(); + } + SessionInfo.MergeFrom(other.SessionInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + if (sessionInfo_ == null) { + SessionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + if (sessionInfo_ == null) { + SessionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetGameTimeRemainingInfoRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGameTimeRemainingInfoRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameTimeRemainingInfoRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameTimeRemainingInfoRequest(GetGameTimeRemainingInfoRequest other) : this() { + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + benefactorId_ = other.benefactorId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameTimeRemainingInfoRequest Clone() { + return new GetGameTimeRemainingInfoRequest(this); + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "benefactor_id" field. + public const int BenefactorIdFieldNumber = 3; + private readonly static string BenefactorIdDefaultValue = ""; + + private string benefactorId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BenefactorId { + get { return benefactorId_ ?? BenefactorIdDefaultValue; } + set { + benefactorId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "benefactor_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBenefactorId { + get { return benefactorId_ != null; } + } + /// Clears the value of the "benefactor_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBenefactorId() { + benefactorId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetGameTimeRemainingInfoRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetGameTimeRemainingInfoRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + if (BenefactorId != other.BenefactorId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (HasBenefactorId) hash ^= BenefactorId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AccountId); + } + if (HasBenefactorId) { + output.WriteRawTag(26); + output.WriteString(BenefactorId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AccountId); + } + if (HasBenefactorId) { + output.WriteRawTag(26); + output.WriteString(BenefactorId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (HasBenefactorId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BenefactorId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetGameTimeRemainingInfoRequest other) { + if (other == null) { + return; + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.HasBenefactorId) { + BenefactorId = other.BenefactorId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 18: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 26: { + BenefactorId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 18: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 26: { + BenefactorId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetGameTimeRemainingInfoResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGameTimeRemainingInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameTimeRemainingInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameTimeRemainingInfoResponse(GetGameTimeRemainingInfoResponse other) : this() { + gameTimeRemainingInfo_ = other.gameTimeRemainingInfo_ != null ? other.gameTimeRemainingInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetGameTimeRemainingInfoResponse Clone() { + return new GetGameTimeRemainingInfoResponse(this); + } + + /// Field number for the "game_time_remaining_info" field. + public const int GameTimeRemainingInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo gameTimeRemainingInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo GameTimeRemainingInfo { + get { return gameTimeRemainingInfo_; } + set { + gameTimeRemainingInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetGameTimeRemainingInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetGameTimeRemainingInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameTimeRemainingInfo, other.GameTimeRemainingInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameTimeRemainingInfo_ != null) hash ^= GameTimeRemainingInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameTimeRemainingInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameTimeRemainingInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameTimeRemainingInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameTimeRemainingInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameTimeRemainingInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameTimeRemainingInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetGameTimeRemainingInfoResponse other) { + if (other == null) { + return; + } + if (other.gameTimeRemainingInfo_ != null) { + if (gameTimeRemainingInfo_ == null) { + GameTimeRemainingInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo(); + } + GameTimeRemainingInfo.MergeFrom(other.GameTimeRemainingInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameTimeRemainingInfo_ == null) { + GameTimeRemainingInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo(); + } + input.ReadMessage(GameTimeRemainingInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameTimeRemainingInfo_ == null) { + GameTimeRemainingInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo(); + } + input.ReadMessage(GameTimeRemainingInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCAISInfoRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCAISInfoRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCAISInfoRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCAISInfoRequest(GetCAISInfoRequest other) : this() { + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCAISInfoRequest Clone() { + return new GetCAISInfoRequest(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetCAISInfoRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCAISInfoRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCAISInfoRequest other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCAISInfoResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCAISInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCAISInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCAISInfoResponse(GetCAISInfoResponse other) : this() { + caisInfo_ = other.caisInfo_ != null ? other.caisInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCAISInfoResponse Clone() { + return new GetCAISInfoResponse(this); + } + + /// Field number for the "cais_info" field. + public const int CaisInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS caisInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS CaisInfo { + get { return caisInfo_; } + set { + caisInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetCAISInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCAISInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CaisInfo, other.CaisInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (caisInfo_ != null) hash ^= CaisInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (caisInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CaisInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (caisInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CaisInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (caisInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CaisInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCAISInfoResponse other) { + if (other == null) { + return; + } + if (other.caisInfo_ != null) { + if (caisInfo_ == null) { + CaisInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS(); + } + CaisInfo.MergeFrom(other.CaisInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (caisInfo_ == null) { + CaisInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS(); + } + input.ReadMessage(CaisInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (caisInfo_ == null) { + CaisInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS(); + } + input.ReadMessage(CaisInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAuthorizedDataRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAuthorizedDataRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAuthorizedDataRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAuthorizedDataRequest(GetAuthorizedDataRequest other) : this() { + _hasBits0 = other._hasBits0; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + tag_ = other.tag_.Clone(); + privilegedNetwork_ = other.privilegedNetwork_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAuthorizedDataRequest Clone() { + return new GetAuthorizedDataRequest(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_tag_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField tag_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tag { + get { return tag_; } + } + + /// Field number for the "privileged_network" field. + public const int PrivilegedNetworkFieldNumber = 3; + private readonly static bool PrivilegedNetworkDefaultValue = false; + + private bool privilegedNetwork_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PrivilegedNetwork { + get { if ((_hasBits0 & 1) != 0) { return privilegedNetwork_; } else { return PrivilegedNetworkDefaultValue; } } + set { + _hasBits0 |= 1; + privilegedNetwork_ = value; + } + } + /// Gets whether the "privileged_network" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivilegedNetwork { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privileged_network" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivilegedNetwork() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAuthorizedDataRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAuthorizedDataRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if(!tag_.Equals(other.tag_)) return false; + if (PrivilegedNetwork != other.PrivilegedNetwork) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + hash ^= tag_.GetHashCode(); + if (HasPrivilegedNetwork) hash ^= PrivilegedNetwork.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + tag_.WriteTo(output, _repeated_tag_codec); + if (HasPrivilegedNetwork) { + output.WriteRawTag(24); + output.WriteBool(PrivilegedNetwork); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + tag_.WriteTo(ref output, _repeated_tag_codec); + if (HasPrivilegedNetwork) { + output.WriteRawTag(24); + output.WriteBool(PrivilegedNetwork); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + size += tag_.CalculateSize(_repeated_tag_codec); + if (HasPrivilegedNetwork) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAuthorizedDataRequest other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + tag_.Add(other.tag_); + if (other.HasPrivilegedNetwork) { + PrivilegedNetwork = other.PrivilegedNetwork; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + tag_.AddEntriesFrom(input, _repeated_tag_codec); + break; + } + case 24: { + PrivilegedNetwork = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + tag_.AddEntriesFrom(ref input, _repeated_tag_codec); + break; + } + case 24: { + PrivilegedNetwork = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAuthorizedDataResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAuthorizedDataResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[20]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAuthorizedDataResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAuthorizedDataResponse(GetAuthorizedDataResponse other) : this() { + data_ = other.data_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAuthorizedDataResponse Clone() { + return new GetAuthorizedDataResponse(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_data_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AuthorizedData.Parser); + private readonly pbc::RepeatedField data_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Data { + get { return data_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAuthorizedDataResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAuthorizedDataResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!data_.Equals(other.data_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= data_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + data_.WriteTo(output, _repeated_data_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + data_.WriteTo(ref output, _repeated_data_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += data_.CalculateSize(_repeated_data_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAuthorizedDataResponse other) { + if (other == null) { + return; + } + data_.Add(other.data_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + data_.AddEntriesFrom(input, _repeated_data_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + data_.AddEntriesFrom(ref input, _repeated_data_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAccountInfoRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAccountInfoRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[21]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountInfoRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountInfoRequest(GetAccountInfoRequest other) : this() { + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountInfoRequest Clone() { + return new GetAccountInfoRequest(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAccountInfoRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAccountInfoRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAccountInfoRequest other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAccountInfoResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAccountInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[22]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountInfoResponse(GetAccountInfoResponse other) : this() { + accountInfo_ = other.accountInfo_ != null ? other.accountInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountInfoResponse Clone() { + return new GetAccountInfoResponse(this); + } + + /// Field number for the "account_info" field. + public const int AccountInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo accountInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo AccountInfo { + get { return accountInfo_; } + set { + accountInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAccountInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAccountInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountInfo, other.AccountInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountInfo_ != null) hash ^= AccountInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAccountInfoResponse other) { + if (other == null) { + return; + } + if (other.accountInfo_ != null) { + if (accountInfo_ == null) { + AccountInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo(); + } + AccountInfo.MergeFrom(other.AccountInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountInfo_ == null) { + AccountInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo(); + } + input.ReadMessage(AccountInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountInfo_ == null) { + AccountInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo(); + } + input.ReadMessage(AccountInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAccountPlatformRestrictionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAccountPlatformRestrictionsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[23]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountPlatformRestrictionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountPlatformRestrictionsRequest(GetAccountPlatformRestrictionsRequest other) : this() { + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountPlatformRestrictionsRequest Clone() { + return new GetAccountPlatformRestrictionsRequest(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAccountPlatformRestrictionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAccountPlatformRestrictionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAccountPlatformRestrictionsRequest other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAccountPlatformRestrictionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAccountPlatformRestrictionsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[24]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountPlatformRestrictionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountPlatformRestrictionsResponse(GetAccountPlatformRestrictionsResponse other) : this() { + restrictionInfo_ = other.restrictionInfo_ != null ? other.restrictionInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAccountPlatformRestrictionsResponse Clone() { + return new GetAccountPlatformRestrictionsResponse(this); + } + + /// Field number for the "restriction_info" field. + public const int RestrictionInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo restrictionInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo RestrictionInfo { + get { return restrictionInfo_; } + set { + restrictionInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAccountPlatformRestrictionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAccountPlatformRestrictionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(RestrictionInfo, other.RestrictionInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (restrictionInfo_ != null) hash ^= RestrictionInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (restrictionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(RestrictionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (restrictionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(RestrictionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (restrictionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RestrictionInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAccountPlatformRestrictionsResponse other) { + if (other == null) { + return; + } + if (other.restrictionInfo_ != null) { + if (restrictionInfo_ == null) { + RestrictionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo(); + } + RestrictionInfo.MergeFrom(other.RestrictionInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (restrictionInfo_ == null) { + RestrictionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo(); + } + input.ReadMessage(RestrictionInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (restrictionInfo_ == null) { + RestrictionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo(); + } + input.ReadMessage(RestrictionInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountStateNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountStateNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[25]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountStateNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountStateNotification(AccountStateNotification other) : this() { + _hasBits0 = other._hasBits0; + accountState_ = other.accountState_ != null ? other.accountState_.Clone() : null; + subscriberId_ = other.subscriberId_; + accountTags_ = other.accountTags_ != null ? other.accountTags_.Clone() : null; + subscriptionCompleted_ = other.subscriptionCompleted_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountStateNotification Clone() { + return new AccountStateNotification(this); + } + + /// Field number for the "account_state" field. + public const int AccountStateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState accountState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState AccountState { + get { return accountState_; } + set { + accountState_ = value; + } + } + + /// Field number for the "subscriber_id" field. + public const int SubscriberIdFieldNumber = 2; + private readonly static ulong SubscriberIdDefaultValue = 0UL; + + private ulong subscriberId_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SubscriberId { + get { if ((_hasBits0 & 1) != 0) { return subscriberId_; } else { return SubscriberIdDefaultValue; } } + set { + _hasBits0 |= 1; + subscriberId_ = value; + } + } + /// Gets whether the "subscriber_id" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriberId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "subscriber_id" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriberId() { + _hasBits0 &= ~1; + } + + /// Field number for the "account_tags" field. + public const int AccountTagsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags accountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags AccountTags { + get { return accountTags_; } + set { + accountTags_ = value; + } + } + + /// Field number for the "subscription_completed" field. + public const int SubscriptionCompletedFieldNumber = 4; + private readonly static bool SubscriptionCompletedDefaultValue = false; + + private bool subscriptionCompleted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SubscriptionCompleted { + get { if ((_hasBits0 & 2) != 0) { return subscriptionCompleted_; } else { return SubscriptionCompletedDefaultValue; } } + set { + _hasBits0 |= 2; + subscriptionCompleted_ = value; + } + } + /// Gets whether the "subscription_completed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriptionCompleted { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "subscription_completed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriptionCompleted() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountStateNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountStateNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountState, other.AccountState)) return false; + if (SubscriberId != other.SubscriberId) return false; + if (!object.Equals(AccountTags, other.AccountTags)) return false; + if (SubscriptionCompleted != other.SubscriptionCompleted) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountState_ != null) hash ^= AccountState.GetHashCode(); + if (HasSubscriberId) hash ^= SubscriberId.GetHashCode(); + if (accountTags_ != null) hash ^= AccountTags.GetHashCode(); + if (HasSubscriptionCompleted) hash ^= SubscriptionCompleted.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountState); + } + if (HasSubscriberId) { + output.WriteRawTag(16); + output.WriteUInt64(SubscriberId); + } + if (accountTags_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountTags); + } + if (HasSubscriptionCompleted) { + output.WriteRawTag(32); + output.WriteBool(SubscriptionCompleted); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountState); + } + if (HasSubscriberId) { + output.WriteRawTag(16); + output.WriteUInt64(SubscriberId); + } + if (accountTags_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountTags); + } + if (HasSubscriptionCompleted) { + output.WriteRawTag(32); + output.WriteBool(SubscriptionCompleted); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountState_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountState); + } + if (HasSubscriberId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SubscriberId); + } + if (accountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountTags); + } + if (HasSubscriptionCompleted) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountStateNotification other) { + if (other == null) { + return; + } + if (other.accountState_ != null) { + if (accountState_ == null) { + AccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + AccountState.MergeFrom(other.AccountState); + } + if (other.HasSubscriberId) { + SubscriberId = other.SubscriberId; + } + if (other.accountTags_ != null) { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + AccountTags.MergeFrom(other.AccountTags); + } + if (other.HasSubscriptionCompleted) { + SubscriptionCompleted = other.SubscriptionCompleted; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountState_ == null) { + AccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + input.ReadMessage(AccountState); + break; + } + case 16: { + SubscriberId = input.ReadUInt64(); + break; + } + case 26: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + case 32: { + SubscriptionCompleted = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountState_ == null) { + AccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + input.ReadMessage(AccountState); + break; + } + case 16: { + SubscriberId = input.ReadUInt64(); + break; + } + case 26: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + case 32: { + SubscriptionCompleted = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountStateNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountStateNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[26]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountStateNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountStateNotification(GameAccountStateNotification other) : this() { + _hasBits0 = other._hasBits0; + gameAccountState_ = other.gameAccountState_ != null ? other.gameAccountState_.Clone() : null; + subscriberId_ = other.subscriberId_; + gameAccountTags_ = other.gameAccountTags_ != null ? other.gameAccountTags_.Clone() : null; + subscriptionCompleted_ = other.subscriptionCompleted_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountStateNotification Clone() { + return new GameAccountStateNotification(this); + } + + /// Field number for the "game_account_state" field. + public const int GameAccountStateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState gameAccountState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState GameAccountState { + get { return gameAccountState_; } + set { + gameAccountState_ = value; + } + } + + /// Field number for the "subscriber_id" field. + public const int SubscriberIdFieldNumber = 2; + private readonly static ulong SubscriberIdDefaultValue = 0UL; + + private ulong subscriberId_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SubscriberId { + get { if ((_hasBits0 & 1) != 0) { return subscriberId_; } else { return SubscriberIdDefaultValue; } } + set { + _hasBits0 |= 1; + subscriberId_ = value; + } + } + /// Gets whether the "subscriber_id" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriberId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "subscriber_id" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriberId() { + _hasBits0 &= ~1; + } + + /// Field number for the "game_account_tags" field. + public const int GameAccountTagsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags gameAccountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags GameAccountTags { + get { return gameAccountTags_; } + set { + gameAccountTags_ = value; + } + } + + /// Field number for the "subscription_completed" field. + public const int SubscriptionCompletedFieldNumber = 4; + private readonly static bool SubscriptionCompletedDefaultValue = false; + + private bool subscriptionCompleted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SubscriptionCompleted { + get { if ((_hasBits0 & 2) != 0) { return subscriptionCompleted_; } else { return SubscriptionCompletedDefaultValue; } } + set { + _hasBits0 |= 2; + subscriptionCompleted_ = value; + } + } + /// Gets whether the "subscription_completed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriptionCompleted { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "subscription_completed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriptionCompleted() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountStateNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountStateNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccountState, other.GameAccountState)) return false; + if (SubscriberId != other.SubscriberId) return false; + if (!object.Equals(GameAccountTags, other.GameAccountTags)) return false; + if (SubscriptionCompleted != other.SubscriptionCompleted) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccountState_ != null) hash ^= GameAccountState.GetHashCode(); + if (HasSubscriberId) hash ^= SubscriberId.GetHashCode(); + if (gameAccountTags_ != null) hash ^= GameAccountTags.GetHashCode(); + if (HasSubscriptionCompleted) hash ^= SubscriptionCompleted.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountState); + } + if (HasSubscriberId) { + output.WriteRawTag(16); + output.WriteUInt64(SubscriberId); + } + if (gameAccountTags_ != null) { + output.WriteRawTag(26); + output.WriteMessage(GameAccountTags); + } + if (HasSubscriptionCompleted) { + output.WriteRawTag(32); + output.WriteBool(SubscriptionCompleted); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountState); + } + if (HasSubscriberId) { + output.WriteRawTag(16); + output.WriteUInt64(SubscriberId); + } + if (gameAccountTags_ != null) { + output.WriteRawTag(26); + output.WriteMessage(GameAccountTags); + } + if (HasSubscriptionCompleted) { + output.WriteRawTag(32); + output.WriteBool(SubscriptionCompleted); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccountState_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountState); + } + if (HasSubscriberId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SubscriberId); + } + if (gameAccountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountTags); + } + if (HasSubscriptionCompleted) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountStateNotification other) { + if (other == null) { + return; + } + if (other.gameAccountState_ != null) { + if (gameAccountState_ == null) { + GameAccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + GameAccountState.MergeFrom(other.GameAccountState); + } + if (other.HasSubscriberId) { + SubscriberId = other.SubscriberId; + } + if (other.gameAccountTags_ != null) { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + GameAccountTags.MergeFrom(other.GameAccountTags); + } + if (other.HasSubscriptionCompleted) { + SubscriptionCompleted = other.SubscriptionCompleted; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccountState_ == null) { + GameAccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + input.ReadMessage(GameAccountState); + break; + } + case 16: { + SubscriberId = input.ReadUInt64(); + break; + } + case 26: { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(GameAccountTags); + break; + } + case 32: { + SubscriptionCompleted = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccountState_ == null) { + GameAccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + input.ReadMessage(GameAccountState); + break; + } + case 16: { + SubscriberId = input.ReadUInt64(); + break; + } + case 26: { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(GameAccountTags); + break; + } + case 32: { + SubscriptionCompleted = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[27]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountNotification(GameAccountNotification other) : this() { + _hasBits0 = other._hasBits0; + gameAccounts_ = other.gameAccounts_.Clone(); + subscriberId_ = other.subscriberId_; + accountTags_ = other.accountTags_ != null ? other.accountTags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountNotification Clone() { + return new GameAccountNotification(this); + } + + /// Field number for the "game_accounts" field. + public const int GameAccountsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_gameAccounts_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountList.Parser); + private readonly pbc::RepeatedField gameAccounts_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameAccounts { + get { return gameAccounts_; } + } + + /// Field number for the "subscriber_id" field. + public const int SubscriberIdFieldNumber = 2; + private readonly static ulong SubscriberIdDefaultValue = 0UL; + + private ulong subscriberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SubscriberId { + get { if ((_hasBits0 & 1) != 0) { return subscriberId_; } else { return SubscriberIdDefaultValue; } } + set { + _hasBits0 |= 1; + subscriberId_ = value; + } + } + /// Gets whether the "subscriber_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriberId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "subscriber_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriberId() { + _hasBits0 &= ~1; + } + + /// Field number for the "account_tags" field. + public const int AccountTagsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags accountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags AccountTags { + get { return accountTags_; } + set { + accountTags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!gameAccounts_.Equals(other.gameAccounts_)) return false; + if (SubscriberId != other.SubscriberId) return false; + if (!object.Equals(AccountTags, other.AccountTags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= gameAccounts_.GetHashCode(); + if (HasSubscriberId) hash ^= SubscriberId.GetHashCode(); + if (accountTags_ != null) hash ^= AccountTags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + gameAccounts_.WriteTo(output, _repeated_gameAccounts_codec); + if (HasSubscriberId) { + output.WriteRawTag(16); + output.WriteUInt64(SubscriberId); + } + if (accountTags_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountTags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + gameAccounts_.WriteTo(ref output, _repeated_gameAccounts_codec); + if (HasSubscriberId) { + output.WriteRawTag(16); + output.WriteUInt64(SubscriberId); + } + if (accountTags_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountTags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += gameAccounts_.CalculateSize(_repeated_gameAccounts_codec); + if (HasSubscriberId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SubscriberId); + } + if (accountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountTags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountNotification other) { + if (other == null) { + return; + } + gameAccounts_.Add(other.gameAccounts_); + if (other.HasSubscriberId) { + SubscriberId = other.SubscriberId; + } + if (other.accountTags_ != null) { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + AccountTags.MergeFrom(other.AccountTags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + gameAccounts_.AddEntriesFrom(input, _repeated_gameAccounts_codec); + break; + } + case 16: { + SubscriberId = input.ReadUInt64(); + break; + } + case 26: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + gameAccounts_.AddEntriesFrom(ref input, _repeated_gameAccounts_codec); + break; + } + case 16: { + SubscriberId = input.ReadUInt64(); + break; + } + case 26: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountSessionNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountSessionNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountServiceReflection.Descriptor.MessageTypes[28]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountSessionNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountSessionNotification(GameAccountSessionNotification other) : this() { + gameAccount_ = other.gameAccount_ != null ? other.gameAccount_.Clone() : null; + sessionInfo_ = other.sessionInfo_ != null ? other.sessionInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountSessionNotification Clone() { + return new GameAccountSessionNotification(this); + } + + /// Field number for the "game_account" field. + public const int GameAccountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle gameAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle GameAccount { + get { return gameAccount_; } + set { + gameAccount_ = value; + } + } + + /// Field number for the "session_info" field. + public const int SessionInfoFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo sessionInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo SessionInfo { + get { return sessionInfo_; } + set { + sessionInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountSessionNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountSessionNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccount, other.GameAccount)) return false; + if (!object.Equals(SessionInfo, other.SessionInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccount_ != null) hash ^= GameAccount.GetHashCode(); + if (sessionInfo_ != null) hash ^= SessionInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccount_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccount); + } + if (sessionInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SessionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccount_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccount); + } + if (sessionInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SessionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccount); + } + if (sessionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SessionInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountSessionNotification other) { + if (other == null) { + return; + } + if (other.gameAccount_ != null) { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + GameAccount.MergeFrom(other.GameAccount); + } + if (other.sessionInfo_ != null) { + if (sessionInfo_ == null) { + SessionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo(); + } + SessionInfo.MergeFrom(other.SessionInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + case 18: { + if (sessionInfo_ == null) { + SessionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + case 18: { + if (sessionInfo_ == null) { + SessionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AccountTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AccountTypes.cs new file mode 100644 index 0000000000..f84ae3ad0c --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AccountTypes.cs @@ -0,0 +1,15069 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/account_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/account_types.proto + public static partial class AccountTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/account_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AccountTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiViZ3MvbG93L3BiL2NsaWVudC9hY2NvdW50X3R5cGVzLnByb3RvEhdiZ3Mu", + "cHJvdG9jb2wuYWNjb3VudC52MRokYmdzL2xvdy9wYi9jbGllbnQvZW50aXR5", + "X3R5cGVzLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5z", + "aW9ucy9tZXNzYWdlX29wdGlvbnMucHJvdG8aN2Jncy9sb3cvcGIvY2xpZW50", + "L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8iKQoJQWNj", + "b3VudElkEhQKAmlkGAEgAigHQgiK+SsEEgIQADoGgvkrAggBIi0KDkFjY291", + "bnRMaWNlbnNlEgoKAmlkGAEgAigNEg8KB2V4cGlyZXMYAiABKAQiawoRR2Ft", + "ZUFjY291bnRIYW5kbGUSFAoCaWQYASACKAdCCIr5KwQSAhAAEhkKB3Byb2dy", + "YW0YAiACKAdCCIr5KwQSAhAAEh0KBnJlZ2lvbhgDIAIoDUINivkrCRIHCgUI", + "ARD/AToGgvkrAggBIsYBChBBY2NvdW50UmVmZXJlbmNlEgoKAmlkGAEgASgH", + "EhUKBWVtYWlsGAIgASgJQgaC+SsCCAESOgoGaGFuZGxlGAMgASgLMiouYmdz", + "LnByb3RvY29sLmFjY291bnQudjEuR2FtZUFjY291bnRIYW5kbGUSGgoKYmF0", + "dGxlX3RhZxgEIAEoCUIGgvkrAggBEhwKDHBob25lX251bWJlchgFIAEoCUIG", + "gvkrAggBEhEKBnJlZ2lvbhgKIAEoDToBMDoGgvkrAggBIokBCghJZGVudGl0", + "eRIzCgdhY2NvdW50GAEgASgLMiIuYmdzLnByb3RvY29sLmFjY291bnQudjEu", + "QWNjb3VudElkEkAKDGdhbWVfYWNjb3VudBgCIAEoCzIqLmJncy5wcm90b2Nv", + "bC5hY2NvdW50LnYxLkdhbWVBY2NvdW50SGFuZGxlOgaC+SsCEAEiKgoKUHJv", + "Z3JhbVRhZxIPCgdwcm9ncmFtGAEgASgHEgsKA3RhZxgCIAEoByIoCglSZWdp", + "b25UYWcSDgoGcmVnaW9uGAEgASgHEgsKA3RhZxgCIAEoByLNAgoQQWNjb3Vu", + "dEZpZWxkVGFncxIeChZhY2NvdW50X2xldmVsX2luZm9fdGFnGAIgASgHEhgK", + "EHByaXZhY3lfaW5mb190YWcYAyABKAcSIQoZcGFyZW50YWxfY29udHJvbF9p", + "bmZvX3RhZxgEIAEoBxJBChRnYW1lX2xldmVsX2luZm9fdGFncxgHIAMoCzIj", + "LmJncy5wcm90b2NvbC5hY2NvdW50LnYxLlByb2dyYW1UYWcSPQoQZ2FtZV9z", + "dGF0dXNfdGFncxgJIAMoCzIjLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLlBy", + "b2dyYW1UYWcSPQoRZ2FtZV9hY2NvdW50X3RhZ3MYCyADKAsyIi5iZ3MucHJv", + "dG9jb2wuYWNjb3VudC52MS5SZWdpb25UYWcSGwoTc2VjdXJpdHlfc3RhdHVz", + "X3RhZxgMIAEoByJ+ChRHYW1lQWNjb3VudEZpZWxkVGFncxIbChNnYW1lX2xl", + "dmVsX2luZm9fdGFnGAIgASgHEhoKEmdhbWVfdGltZV9pbmZvX3RhZxgDIAEo", + "BxIXCg9nYW1lX3N0YXR1c190YWcYBCABKAcSFAoMcmFmX2luZm9fdGFnGAUg", + "ASgHIoICChNBY2NvdW50RmllbGRPcHRpb25zEhIKCmFsbF9maWVsZHMYASAB", + "KAgSIAoYZmllbGRfYWNjb3VudF9sZXZlbF9pbmZvGAIgASgIEhoKEmZpZWxk", + "X3ByaXZhY3lfaW5mbxgDIAEoCBIjChtmaWVsZF9wYXJlbnRhbF9jb250cm9s", + "X2luZm8YBCABKAgSHQoVZmllbGRfZ2FtZV9sZXZlbF9pbmZvGAYgASgIEhkK", + "EWZpZWxkX2dhbWVfc3RhdHVzGAcgASgIEhsKE2ZpZWxkX2dhbWVfYWNjb3Vu", + "dHMYCCABKAgSHQoVZmllbGRfc2VjdXJpdHlfc3RhdHVzGAkgASgIIp0BChdH", + "YW1lQWNjb3VudEZpZWxkT3B0aW9ucxISCgphbGxfZmllbGRzGAEgASgIEh0K", + "FWZpZWxkX2dhbWVfbGV2ZWxfaW5mbxgCIAEoCBIcChRmaWVsZF9nYW1lX3Rp", + "bWVfaW5mbxgDIAEoCBIZChFmaWVsZF9nYW1lX3N0YXR1cxgEIAEoCBIWCg5m", + "aWVsZF9yYWZfaW5mbxgFIAEoCCKSAwoTU3Vic2NyaWJlclJlZmVyZW5jZRIU", + "CglvYmplY3RfaWQYASABKAQ6ATASKQoJZW50aXR5X2lkGAIgASgLMhYuYmdz", + "LnByb3RvY29sLkVudGl0eUlkEkUKD2FjY291bnRfb3B0aW9ucxgDIAEoCzIs", + "LmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRGaWVsZE9wdGlvbnMS", + "PwoMYWNjb3VudF90YWdzGAQgASgLMikuYmdzLnByb3RvY29sLmFjY291bnQu", + "djEuQWNjb3VudEZpZWxkVGFncxJOChRnYW1lX2FjY291bnRfb3B0aW9ucxgF", + "IAEoCzIwLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVBY2NvdW50Rmll", + "bGRPcHRpb25zEkgKEWdhbWVfYWNjb3VudF90YWdzGAYgASgLMi0uYmdzLnBy", + "b3RvY29sLmFjY291bnQudjEuR2FtZUFjY291bnRGaWVsZFRhZ3MSGAoNc3Vi", + "c2NyaWJlcl9pZBgHIAEoBDoBMCIZCgZPcHRJbnMSDwoDaWRzGAEgAygEQgIQ", + "ASKABQoQQWNjb3VudExldmVsSW5mbxI5CghsaWNlbnNlcxgDIAMoCzInLmJn", + "cy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRMaWNlbnNlEhgKEGRlZmF1", + "bHRfY3VycmVuY3kYBCABKAcSDwoHY291bnRyeRgFIAEoCRIYChBwcmVmZXJy", + "ZWRfcmVnaW9uGAYgASgNEhkKCWZ1bGxfbmFtZRgHIAEoCUIGgvkrAggBEhoK", + "CmJhdHRsZV90YWcYCCABKAlCBoL5KwIIARINCgVtdXRlZBgJIAEoCBIVCg1t", + "YW51YWxfcmV2aWV3GAogASgIEhgKEGFjY291bnRfcGFpZF9hbnkYCyABKAgS", + "UgoVaWRlbnRpdHlfY2hlY2tfc3RhdHVzGAwgASgOMjMuYmdzLnByb3RvY29s", + "LmFjY291bnQudjEuSWRlbnRpdHlWZXJpZmljYXRpb25TdGF0dXMSFQoFZW1h", + "aWwYDSABKAlCBoL5KwIIARIYChBoZWFkbGVzc19hY2NvdW50GA4gASgIEhQK", + "DHRlc3RfYWNjb3VudBgPIAEoCBIYChBpc19zbXNfcHJvdGVjdGVkGBEgASgI", + "EiEKGXJhdGluZ3NfYm9hcmRfbWluaW11bV9hZ2UYEiABKA0SHAoMcGhvbmVf", + "bnVtYmVyGBMgASgJQgaC+SsCCAESGQoJYmlydGhkYXRlGBQgASgJQgaC+SsC", + "CAESMgoqbGVnYWxfY291bnRyeV9mZWF0dXJlX3Jlc3RyaWN0aW9uc19hcHBs", + "aWVkGBUgASgIEjAKB29wdF9pbnMYFiABKAsyHy5iZ3MucHJvdG9jb2wuYWNj", + "b3VudC52MS5PcHRJbnMiwgIKC1ByaXZhY3lJbmZvEhQKDGlzX3VzaW5nX3Jp", + "ZBgDIAEoCBIjChtpc192aXNpYmxlX2Zvcl92aWV3X2ZyaWVuZHMYBCABKAgS", + "JAocaXNfaGlkZGVuX2Zyb21fZnJpZW5kX2ZpbmRlchgFIAEoCBJgChFnYW1l", + "X2luZm9fcHJpdmFjeRgGIAEoDjI0LmJncy5wcm90b2NvbC5hY2NvdW50LnYx", + "LlByaXZhY3lJbmZvLkdhbWVJbmZvUHJpdmFjeToPUFJJVkFDWV9GUklFTkRT", + "EiIKGm9ubHlfYWxsb3dfZnJpZW5kX3doaXNwZXJzGAcgASgIIkwKD0dhbWVJ", + "bmZvUHJpdmFjeRIOCgpQUklWQUNZX01FEAASEwoPUFJJVkFDWV9GUklFTkRT", + "EAESFAoQUFJJVkFDWV9FVkVSWU9ORRACItUBChNQYXJlbnRhbENvbnRyb2xJ", + "bmZvEhAKCHRpbWV6b25lGAMgASgJEhcKD21pbnV0ZXNfcGVyX2RheRgEIAEo", + "DRIYChBtaW51dGVzX3Blcl93ZWVrGAUgASgNEhkKEWNhbl9yZWNlaXZlX3Zv", + "aWNlGAYgASgIEhYKDmNhbl9zZW5kX3ZvaWNlGAcgASgIEhUKDXBsYXlfc2No", + "ZWR1bGUYCCADKAgSFgoOY2FuX2pvaW5fZ3JvdXAYCSABKAgSFwoPY2FuX3Vz", + "ZV9wcm9maWxlGAogASgIIkIKF1BsYXlTY2hlZHVsZVJlc3RyaWN0aW9uEhUK", + "DXBsYXlfc2NoZWR1bGUYASADKAgSEAoIdGltZXpvbmUYAiABKAki/AEKDUdh", + "bWVMZXZlbEluZm8SEAoIaXNfdHJpYWwYBCABKAgSEwoLaXNfbGlmZXRpbWUY", + "BSABKAgSFQoNaXNfcmVzdHJpY3RlZBgGIAEoCBIPCgdpc19iZXRhGAcgASgI", + "EhQKBG5hbWUYCCABKAlCBoL5KwIIARIPCgdwcm9ncmFtGAkgASgHEjkKCGxp", + "Y2Vuc2VzGAogAygLMicuYmdzLnByb3RvY29sLmFjY291bnQudjEuQWNjb3Vu", + "dExpY2Vuc2USGQoRcmVhbG1fcGVybWlzc2lvbnMYCyABKA0SHwoTbGFzdF9s", + "b2dvdXRfdGltZV9tcxgMIAEoBEICGAEihQEKDEdhbWVUaW1lSW5mbxIeChZp", + "c191bmxpbWl0ZWRfcGxheV90aW1lGAMgASgIEhkKEXBsYXlfdGltZV9leHBp", + "cmVzGAUgASgEEhcKD2lzX3N1YnNjcmlwdGlvbhgGIAEoCBIhChlpc19yZWN1", + "cnJpbmdfc3Vic2NyaXB0aW9uGAcgASgIIrEBChVHYW1lVGltZVJlbWFpbmlu", + "Z0luZm8SGQoRbWludXRlc19yZW1haW5pbmcYASABKA0SKAogcGFyZW50YWxf", + "ZGFpbHlfbWludXRlc19yZW1haW5pbmcYAiABKA0SKQohcGFyZW50YWxfd2Vl", + "a2x5X21pbnV0ZXNfcmVtYWluaW5nGAMgASgNEigKHHNlY29uZHNfcmVtYWlu", + "aW5nX3VudGlsX2tpY2sYBCABKA1CAhgBIpABCgpHYW1lU3RhdHVzEhQKDGlz", + "X3N1c3BlbmRlZBgEIAEoCBIRCglpc19iYW5uZWQYBSABKAgSGgoSc3VzcGVu", + "c2lvbl9leHBpcmVzGAYgASgEEg8KB3Byb2dyYW0YByABKAcSEQoJaXNfbG9j", + "a2VkGAggASgIEhkKEWlzX2JhbV91bmxvY2thYmxlGAkgASgIIhsKB1JBRklu", + "Zm8SEAoIcmFmX2luZm8YASABKAwiqAIKD0dhbWVTZXNzaW9uSW5mbxIWCgpz", + "dGFydF90aW1lGAMgASgNQgIYARI+Cghsb2NhdGlvbhgEIAEoCzIsLmJncy5w", + "cm90b2NvbC5hY2NvdW50LnYxLkdhbWVTZXNzaW9uTG9jYXRpb24SFgoOaGFz", + "X2JlbmVmYWN0b3IYBSABKAgSFAoMaXNfdXNpbmdfaWdyGAYgASgIEiAKGHBh", + "cmVudGFsX2NvbnRyb2xzX2FjdGl2ZRgHIAEoCBIWCg5zdGFydF90aW1lX3Nl", + "YxgIIAEoBBIuCgZpZ3JfaWQYCSABKAsyHi5iZ3MucHJvdG9jb2wuYWNjb3Vu", + "dC52MS5JZ3JJZBITCgtwbGF0Zm9ybV9pZBgKIAEoBxIQCghpZ3JfcGFpZBgL", + "IAEoCCJEChVHYW1lU2Vzc2lvblVwZGF0ZUluZm8SKwoEY2FpcxgIIAEoCzId", + "LmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkNBSVMiSAoTR2FtZVNlc3Npb25M", + "b2NhdGlvbhISCgppcF9hZGRyZXNzGAEgASgJEg8KB2NvdW50cnkYAiABKA0S", + "DAoEY2l0eRgDIAEoCSJPCgRDQUlTEhYKDnBsYXllZF9taW51dGVzGAEgASgN", + "EhYKDnJlc3RlZF9taW51dGVzGAIgASgNEhcKD2xhc3RfaGVhcmRfdGltZRgD", + "IAEoBCJdCg9HYW1lQWNjb3VudExpc3QSDgoGcmVnaW9uGAMgASgNEjoKBmhh", + "bmRsZRgEIAMoCzIqLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVBY2Nv", + "dW50SGFuZGxlIpkBCg5TZWN1cml0eVN0YXR1cxIbChNzbXNfcHJvdGVjdF9l", + "bmFibGVkGAEgASgIEhYKDmVtYWlsX3ZlcmlmaWVkGAIgASgIEh0KFWF1dGhl", + "bnRpY2F0b3JfZW5hYmxlZBgDIAEoCBITCgtzcWFfZW5hYmxlZBgEIAEoCBIe", + "ChZhdXRoZW50aWNhdG9yX3JlcXVpcmVkGAUgASgIIqkECgxBY2NvdW50U3Rh", + "dGUSRQoSYWNjb3VudF9sZXZlbF9pbmZvGAEgASgLMikuYmdzLnByb3RvY29s", + "LmFjY291bnQudjEuQWNjb3VudExldmVsSW5mbxI6Cgxwcml2YWN5X2luZm8Y", + "AiABKAsyJC5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5Qcml2YWN5SW5mbxJL", + "ChVwYXJlbnRhbF9jb250cm9sX2luZm8YAyABKAsyLC5iZ3MucHJvdG9jb2wu", + "YWNjb3VudC52MS5QYXJlbnRhbENvbnRyb2xJbmZvEj8KD2dhbWVfbGV2ZWxf", + "aW5mbxgFIAMoCzImLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVMZXZl", + "bEluZm8SOAoLZ2FtZV9zdGF0dXMYBiADKAsyIy5iZ3MucHJvdG9jb2wuYWNj", + "b3VudC52MS5HYW1lU3RhdHVzEj8KDWdhbWVfYWNjb3VudHMYByADKAsyKC5i", + "Z3MucHJvdG9jb2wuYWNjb3VudC52MS5HYW1lQWNjb3VudExpc3QSQAoPc2Vj", + "dXJpdHlfc3RhdHVzGAggASgLMicuYmdzLnByb3RvY29sLmFjY291bnQudjEu", + "U2VjdXJpdHlTdGF0dXMSSwoRZ292ZXJubWVudF9jdXJmZXcYCSABKAsyMC5i", + "Z3MucHJvdG9jb2wuYWNjb3VudC52MS5QbGF5U2NoZWR1bGVSZXN0cmljdGlv", + "biKTAQoSQWNjb3VudFN0YXRlVGFnZ2VkEjwKDWFjY291bnRfc3RhdGUYASAB", + "KAsyJS5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50U3RhdGUSPwoM", + "YWNjb3VudF90YWdzGAIgASgLMikuYmdzLnByb3RvY29sLmFjY291bnQudjEu", + "QWNjb3VudEZpZWxkVGFncyKAAgoQR2FtZUFjY291bnRTdGF0ZRI/Cg9nYW1l", + "X2xldmVsX2luZm8YASABKAsyJi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5H", + "YW1lTGV2ZWxJbmZvEj0KDmdhbWVfdGltZV9pbmZvGAIgASgLMiUuYmdzLnBy", + "b3RvY29sLmFjY291bnQudjEuR2FtZVRpbWVJbmZvEjgKC2dhbWVfc3RhdHVz", + "GAMgASgLMiMuYmdzLnByb3RvY29sLmFjY291bnQudjEuR2FtZVN0YXR1cxIy", + "CghyYWZfaW5mbxgEIAEoCzIgLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLlJB", + "RkluZm8iqQEKFkdhbWVBY2NvdW50U3RhdGVUYWdnZWQSRQoSZ2FtZV9hY2Nv", + "dW50X3N0YXRlGAEgASgLMikuYmdzLnByb3RvY29sLmFjY291bnQudjEuR2Ft", + "ZUFjY291bnRTdGF0ZRJIChFnYW1lX2FjY291bnRfdGFncxgCIAEoCzItLmJn", + "cy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVBY2NvdW50RmllbGRUYWdzIi8K", + "DkF1dGhvcml6ZWREYXRhEgwKBGRhdGEYASABKAkSDwoHbGljZW5zZRgCIAMo", + "DSJ+CgVJZ3JJZBJGCgxnYW1lX2FjY291bnQYASABKAsyKi5iZ3MucHJvdG9j", + "b2wuYWNjb3VudC52MS5HYW1lQWNjb3VudEhhbmRsZUICGAFIABIVCgtleHRl", + "cm5hbF9pZBgCIAEoB0gAEg4KBHV1aWQYAyABKAlIAEIGCgR0eXBlIjQKCkln", + "ckFkZHJlc3MSFgoOY2xpZW50X2FkZHJlc3MYASABKAkSDgoGcmVnaW9uGAIg", + "ASgNIpwBChVBY2NvdW50UHJpdmFjeVNldHRpbmcSFAoMaXNfdXNpbmdfcmlk", + "GAEgASgIEiMKG2lzX3Zpc2libGVfZm9yX3ZpZXdfZnJpZW5kcxgCIAEoCBIk", + "Chxpc19oaWRkZW5fZnJvbV9mcmllbmRfZmluZGVyGAMgASgIEiIKGm9ubHlf", + "YWxsb3dfZnJpZW5kX3doaXNwZXJzGAQgASgIIuMDCgtBY2NvdW50SW5mbxIa", + "CgpiYXR0bGVfdGFnGAEgASgJQgaC+SsCCAESFQoFZW1haWwYAiABKAlCBoL5", + "KwIIARIcCgxwaG9uZV9udW1iZXIYAyABKAlCBoL5KwIIARIZCglmdWxsX25h", + "bWUYBCABKAlCBoL5KwIIARIZCgliaXJ0aGRhdGUYBSABKAlCBoL5KwIIARIP", + "Cgdjb3VudHJ5GAYgASgJEhgKEGRlZmF1bHRfY3VycmVuY3kYByABKAkSGAoQ", + "cHJlZmVycmVkX3JlZ2lvbhgIIAEoDRIhChlyYXRpbmdzX2JvYXJkX21pbmlt", + "dW1fYWdlGAkgASgNEhwKFGhhc19wYXJlbnRhbF9jb250cm9sGAogASgIEhkK", + "EWlzX2VtYWlsX3ZlcmlmaWVkGAsgASgIEhgKEGlzX3Ntc19wcm90ZWN0ZWQY", + "DCABKAgSGwoTaXNfaGVhZGxlc3NfYWNjb3VudBgNIAEoCBITCgtpc19lbXBs", + "b3llZRgOIAEoCBIXCg9pc190ZXN0X2FjY291bnQYDyABKAgSRwoPcHJpdmFj", + "eV9zZXR0aW5nGBAgASgLMi4uYmdzLnByb3RvY29sLmFjY291bnQudjEuQWNj", + "b3VudFByaXZhY3lTZXR0aW5nIjoKEVJlc3RyaWN0aW9uU3RhdHVzEg4KBmFj", + "dGl2ZRgBIAEoCBIVCg1leHBpcmF0aW9uX3VzGAIgASgEIr8BCh5BY2NvdW50", + "UGxhdGZvcm1SZXN0cmljdGlvbkluZm8SPQoJc3F1ZWxjaGVkGAIgASgLMiou", + "YmdzLnByb3RvY29sLmFjY291bnQudjEuUmVzdHJpY3Rpb25TdGF0dXMSXgoq", + "bGVnYWxfY291bnRyeV9mZWF0dXJlX3Jlc3RyaWN0aW9uc19hcHBsaWVkGAMg", + "ASgLMiouYmdzLnByb3RvY29sLmFjY291bnQudjEuUmVzdHJpY3Rpb25TdGF0", + "dXMqtQEKGklkZW50aXR5VmVyaWZpY2F0aW9uU3RhdHVzEhEKDUlERU5UX05P", + "X0RBVEEQABIRCg1JREVOVF9QRU5ESU5HEAESEQoNSURFTlRfT1ZFUl8xOBAC", + "EhIKDklERU5UX1VOREVSXzE4EAMSEAoMSURFTlRfRkFJTEVEEAQSEQoNSURF", + "TlRfU1VDQ0VTUxAFEhIKDklERU5UX1NVQ0NfTU5MEAYSEQoNSURFTlRfVU5L", + "Tk9XThAHQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId.Parser, new[]{ "Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLicense), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLicense.Parser, new[]{ "Id", "Expires" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle.Parser, new[]{ "Id", "Program", "Region" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountReference.Parser, new[]{ "Id", "Email", "Handle", "BattleTag", "PhoneNumber", "Region" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity.Parser, new[]{ "Account", "GameAccount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ProgramTag), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ProgramTag.Parser, new[]{ "Program", "Tag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RegionTag), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RegionTag.Parser, new[]{ "Region", "Tag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags.Parser, new[]{ "AccountLevelInfoTag", "PrivacyInfoTag", "ParentalControlInfoTag", "GameLevelInfoTags", "GameStatusTags", "GameAccountTags", "SecurityStatusTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags.Parser, new[]{ "GameLevelInfoTag", "GameTimeInfoTag", "GameStatusTag", "RafInfoTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions.Parser, new[]{ "AllFields", "FieldAccountLevelInfo", "FieldPrivacyInfo", "FieldParentalControlInfo", "FieldGameLevelInfo", "FieldGameStatus", "FieldGameAccounts", "FieldSecurityStatus" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions.Parser, new[]{ "AllFields", "FieldGameLevelInfo", "FieldGameTimeInfo", "FieldGameStatus", "FieldRafInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriberReference), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SubscriberReference.Parser, new[]{ "ObjectId", "EntityId", "AccountOptions", "AccountTags", "GameAccountOptions", "GameAccountTags", "SubscriberId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns.Parser, new[]{ "Ids" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo.Parser, new[]{ "Licenses", "DefaultCurrency", "Country", "PreferredRegion", "FullName", "BattleTag", "Muted", "ManualReview", "AccountPaidAny", "IdentityCheckStatus", "Email", "HeadlessAccount", "TestAccount", "IsSmsProtected", "RatingsBoardMinimumAge", "PhoneNumber", "Birthdate", "LegalCountryFeatureRestrictionsApplied", "OptIns" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Parser, new[]{ "IsUsingRid", "IsVisibleForViewFriends", "IsHiddenFromFriendFinder", "GameInfoPrivacy", "OnlyAllowFriendWhispers" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo.Parser, new[]{ "Timezone", "MinutesPerDay", "MinutesPerWeek", "CanReceiveVoice", "CanSendVoice", "PlaySchedule", "CanJoinGroup", "CanUseProfile" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction.Parser, new[]{ "PlaySchedule", "Timezone" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo.Parser, new[]{ "IsTrial", "IsLifetime", "IsRestricted", "IsBeta", "Name", "Program", "Licenses", "RealmPermissions", "LastLogoutTimeMs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo.Parser, new[]{ "IsUnlimitedPlayTime", "PlayTimeExpires", "IsSubscription", "IsRecurringSubscription" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeRemainingInfo.Parser, new[]{ "MinutesRemaining", "ParentalDailyMinutesRemaining", "ParentalWeeklyMinutesRemaining", "SecondsRemainingUntilKick" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus.Parser, new[]{ "IsSuspended", "IsBanned", "SuspensionExpires", "Program", "IsLocked", "IsBamUnlockable" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo.Parser, new[]{ "RafInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionInfo.Parser, new[]{ "StartTime", "Location", "HasBenefactor", "IsUsingIgr", "ParentalControlsActive", "StartTimeSec", "IgrId", "PlatformId", "IgrPaid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionUpdateInfo.Parser, new[]{ "Cais" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation.Parser, new[]{ "IpAddress", "Country", "City" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS.Parser, new[]{ "PlayedMinutes", "RestedMinutes", "LastHeardTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountList), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountList.Parser, new[]{ "Region", "Handle" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus.Parser, new[]{ "SmsProtectEnabled", "EmailVerified", "AuthenticatorEnabled", "SqaEnabled", "AuthenticatorRequired" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState.Parser, new[]{ "AccountLevelInfo", "PrivacyInfo", "ParentalControlInfo", "GameLevelInfo", "GameStatus", "GameAccounts", "SecurityStatus", "GovernmentCurfew" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountStateTagged), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountStateTagged.Parser, new[]{ "AccountState", "AccountTags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState.Parser, new[]{ "GameLevelInfo", "GameTimeInfo", "GameStatus", "RafInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountStateTagged), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountStateTagged.Parser, new[]{ "GameAccountState", "GameAccountTags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AuthorizedData), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AuthorizedData.Parser, new[]{ "Data", "License" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId.Parser, new[]{ "GameAccount", "ExternalId", "Uuid" }, new[]{ "Type" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrAddress), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrAddress.Parser, new[]{ "ClientAddress", "Region" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting.Parser, new[]{ "IsUsingRid", "IsVisibleForViewFriends", "IsHiddenFromFriendFinder", "OnlyAllowFriendWhispers" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountInfo.Parser, new[]{ "BattleTag", "Email", "PhoneNumber", "FullName", "Birthdate", "Country", "DefaultCurrency", "PreferredRegion", "RatingsBoardMinimumAge", "HasParentalControl", "IsEmailVerified", "IsSmsProtected", "IsHeadlessAccount", "IsEmployee", "IsTestAccount", "PrivacySetting" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus.Parser, new[]{ "Active", "ExpirationUs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPlatformRestrictionInfo.Parser, new[]{ "Squelched", "LegalCountryFeatureRestrictionsApplied" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum IdentityVerificationStatus { + [pbr::OriginalName("IDENT_NO_DATA")] IdentNoData = 0, + [pbr::OriginalName("IDENT_PENDING")] IdentPending = 1, + [pbr::OriginalName("IDENT_OVER_18")] IdentOver18 = 2, + [pbr::OriginalName("IDENT_UNDER_18")] IdentUnder18 = 3, + [pbr::OriginalName("IDENT_FAILED")] IdentFailed = 4, + [pbr::OriginalName("IDENT_SUCCESS")] IdentSuccess = 5, + [pbr::OriginalName("IDENT_SUCC_MNL")] IdentSuccMnl = 6, + [pbr::OriginalName("IDENT_UNKNOWN")] IdentUnknown = 7, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountId(AccountId other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountId Clone() { + return new AccountId(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(13); + output.WriteFixed32(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(13); + output.WriteFixed32(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountId other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Id = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Id = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountLicense : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountLicense()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountLicense() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountLicense(AccountLicense other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + expires_ = other.expires_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountLicense Clone() { + return new AccountLicense(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "expires" field. + public const int ExpiresFieldNumber = 2; + private readonly static ulong ExpiresDefaultValue = 0UL; + + private ulong expires_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Expires { + get { if ((_hasBits0 & 2) != 0) { return expires_; } else { return ExpiresDefaultValue; } } + set { + _hasBits0 |= 2; + expires_ = value; + } + } + /// Gets whether the "expires" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpires { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "expires" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpires() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountLicense); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountLicense other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Expires != other.Expires) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasExpires) hash ^= Expires.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasExpires) { + output.WriteRawTag(16); + output.WriteUInt64(Expires); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasExpires) { + output.WriteRawTag(16); + output.WriteUInt64(Expires); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (HasExpires) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Expires); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountLicense other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasExpires) { + Expires = other.Expires; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 16: { + Expires = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 16: { + Expires = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountHandle : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountHandle()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountHandle() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountHandle(GameAccountHandle other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + program_ = other.program_; + region_ = other.region_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountHandle Clone() { + return new GameAccountHandle(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 2) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 2; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~2; + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 3; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 4) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 4; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountHandle); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountHandle other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Program != other.Program) return false; + if (Region != other.Region) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasRegion) hash ^= Region.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(13); + output.WriteFixed32(Id); + } + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (HasRegion) { + output.WriteRawTag(24); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(13); + output.WriteFixed32(Id); + } + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (HasRegion) { + output.WriteRawTag(24); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 4; + } + if (HasProgram) { + size += 1 + 4; + } + if (HasRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountHandle other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasRegion) { + Region = other.Region; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Id = input.ReadFixed32(); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + case 24: { + Region = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Id = input.ReadFixed32(); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + case 24: { + Region = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountReference : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountReference()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountReference() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountReference(AccountReference other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + email_ = other.email_; + handle_ = other.handle_ != null ? other.handle_.Clone() : null; + battleTag_ = other.battleTag_; + phoneNumber_ = other.phoneNumber_; + region_ = other.region_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountReference Clone() { + return new AccountReference(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "email" field. + public const int EmailFieldNumber = 2; + private readonly static string EmailDefaultValue = ""; + + private string email_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Email { + get { return email_ ?? EmailDefaultValue; } + set { + email_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "email" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEmail { + get { return email_ != null; } + } + /// Clears the value of the "email" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEmail() { + email_ = null; + } + + /// Field number for the "handle" field. + public const int HandleFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle handle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Handle { + get { return handle_; } + set { + handle_ = value; + } + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 4; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "phone_number" field. + public const int PhoneNumberFieldNumber = 5; + private readonly static string PhoneNumberDefaultValue = ""; + + private string phoneNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PhoneNumber { + get { return phoneNumber_ ?? PhoneNumberDefaultValue; } + set { + phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "phone_number" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPhoneNumber { + get { return phoneNumber_ != null; } + } + /// Clears the value of the "phone_number" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPhoneNumber() { + phoneNumber_ = null; + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 10; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 2) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 2; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountReference); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountReference other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Email != other.Email) return false; + if (!object.Equals(Handle, other.Handle)) return false; + if (BattleTag != other.BattleTag) return false; + if (PhoneNumber != other.PhoneNumber) return false; + if (Region != other.Region) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasEmail) hash ^= Email.GetHashCode(); + if (handle_ != null) hash ^= Handle.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (HasPhoneNumber) hash ^= PhoneNumber.GetHashCode(); + if (HasRegion) hash ^= Region.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(13); + output.WriteFixed32(Id); + } + if (HasEmail) { + output.WriteRawTag(18); + output.WriteString(Email); + } + if (handle_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Handle); + } + if (HasBattleTag) { + output.WriteRawTag(34); + output.WriteString(BattleTag); + } + if (HasPhoneNumber) { + output.WriteRawTag(42); + output.WriteString(PhoneNumber); + } + if (HasRegion) { + output.WriteRawTag(80); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(13); + output.WriteFixed32(Id); + } + if (HasEmail) { + output.WriteRawTag(18); + output.WriteString(Email); + } + if (handle_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Handle); + } + if (HasBattleTag) { + output.WriteRawTag(34); + output.WriteString(BattleTag); + } + if (HasPhoneNumber) { + output.WriteRawTag(42); + output.WriteString(PhoneNumber); + } + if (HasRegion) { + output.WriteRawTag(80); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 4; + } + if (HasEmail) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); + } + if (handle_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Handle); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (HasPhoneNumber) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber); + } + if (HasRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountReference other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasEmail) { + Email = other.Email; + } + if (other.handle_ != null) { + if (handle_ == null) { + Handle = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Handle.MergeFrom(other.Handle); + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + if (other.HasPhoneNumber) { + PhoneNumber = other.PhoneNumber; + } + if (other.HasRegion) { + Region = other.Region; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Id = input.ReadFixed32(); + break; + } + case 18: { + Email = input.ReadString(); + break; + } + case 26: { + if (handle_ == null) { + Handle = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Handle); + break; + } + case 34: { + BattleTag = input.ReadString(); + break; + } + case 42: { + PhoneNumber = input.ReadString(); + break; + } + case 80: { + Region = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Id = input.ReadFixed32(); + break; + } + case 18: { + Email = input.ReadString(); + break; + } + case 26: { + if (handle_ == null) { + Handle = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Handle); + break; + } + case 34: { + BattleTag = input.ReadString(); + break; + } + case 42: { + PhoneNumber = input.ReadString(); + break; + } + case 80: { + Region = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Identity : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Identity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Identity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Identity(Identity other) : this() { + account_ = other.account_ != null ? other.account_.Clone() : null; + gameAccount_ = other.gameAccount_ != null ? other.gameAccount_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Identity Clone() { + return new Identity(this); + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId account_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId Account { + get { return account_; } + set { + account_ = value; + } + } + + /// Field number for the "game_account" field. + public const int GameAccountFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle gameAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle GameAccount { + get { return gameAccount_; } + set { + gameAccount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Identity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Identity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Account, other.Account)) return false; + if (!object.Equals(GameAccount, other.GameAccount)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (account_ != null) hash ^= Account.GetHashCode(); + if (gameAccount_ != null) hash ^= GameAccount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (gameAccount_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (gameAccount_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (account_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Account); + } + if (gameAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Identity other) { + if (other == null) { + return; + } + if (other.account_ != null) { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + Account.MergeFrom(other.Account); + } + if (other.gameAccount_ != null) { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + GameAccount.MergeFrom(other.GameAccount); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + case 18: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + case 18: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProgramTag : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProgramTag()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProgramTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProgramTag(ProgramTag other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + tag_ = other.tag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProgramTag Clone() { + return new ProgramTag(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 2; + private readonly static uint TagDefaultValue = 0; + + private uint tag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tag { + get { if ((_hasBits0 & 2) != 0) { return tag_; } else { return TagDefaultValue; } } + set { + _hasBits0 |= 2; + tag_ = value; + } + } + /// Gets whether the "tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTag { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTag() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProgramTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProgramTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + if (Tag != other.Tag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasTag) hash ^= Tag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasTag) { + output.WriteRawTag(21); + output.WriteFixed32(Tag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasTag) { + output.WriteRawTag(21); + output.WriteFixed32(Tag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + 4; + } + if (HasTag) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProgramTag other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasTag) { + Tag = other.Tag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 21: { + Tag = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 21: { + Tag = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionTag : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegionTag()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionTag(RegionTag other) : this() { + _hasBits0 = other._hasBits0; + region_ = other.region_; + tag_ = other.tag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionTag Clone() { + return new RegionTag(this); + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 1; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 1) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 1; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~1; + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 2; + private readonly static uint TagDefaultValue = 0; + + private uint tag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tag { + get { if ((_hasBits0 & 2) != 0) { return tag_; } else { return TagDefaultValue; } } + set { + _hasBits0 |= 2; + tag_ = value; + } + } + /// Gets whether the "tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTag { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTag() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RegionTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Region != other.Region) return false; + if (Tag != other.Tag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRegion) hash ^= Region.GetHashCode(); + if (HasTag) hash ^= Tag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRegion) { + output.WriteRawTag(13); + output.WriteFixed32(Region); + } + if (HasTag) { + output.WriteRawTag(21); + output.WriteFixed32(Tag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRegion) { + output.WriteRawTag(13); + output.WriteFixed32(Region); + } + if (HasTag) { + output.WriteRawTag(21); + output.WriteFixed32(Tag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRegion) { + size += 1 + 4; + } + if (HasTag) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionTag other) { + if (other == null) { + return; + } + if (other.HasRegion) { + Region = other.Region; + } + if (other.HasTag) { + Tag = other.Tag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Region = input.ReadFixed32(); + break; + } + case 21: { + Tag = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Region = input.ReadFixed32(); + break; + } + case 21: { + Tag = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountFieldTags : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountFieldTags()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountFieldTags() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountFieldTags(AccountFieldTags other) : this() { + _hasBits0 = other._hasBits0; + accountLevelInfoTag_ = other.accountLevelInfoTag_; + privacyInfoTag_ = other.privacyInfoTag_; + parentalControlInfoTag_ = other.parentalControlInfoTag_; + gameLevelInfoTags_ = other.gameLevelInfoTags_.Clone(); + gameStatusTags_ = other.gameStatusTags_.Clone(); + gameAccountTags_ = other.gameAccountTags_.Clone(); + securityStatusTag_ = other.securityStatusTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountFieldTags Clone() { + return new AccountFieldTags(this); + } + + /// Field number for the "account_level_info_tag" field. + public const int AccountLevelInfoTagFieldNumber = 2; + private readonly static uint AccountLevelInfoTagDefaultValue = 0; + + private uint accountLevelInfoTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AccountLevelInfoTag { + get { if ((_hasBits0 & 1) != 0) { return accountLevelInfoTag_; } else { return AccountLevelInfoTagDefaultValue; } } + set { + _hasBits0 |= 1; + accountLevelInfoTag_ = value; + } + } + /// Gets whether the "account_level_info_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAccountLevelInfoTag { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "account_level_info_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAccountLevelInfoTag() { + _hasBits0 &= ~1; + } + + /// Field number for the "privacy_info_tag" field. + public const int PrivacyInfoTagFieldNumber = 3; + private readonly static uint PrivacyInfoTagDefaultValue = 0; + + private uint privacyInfoTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PrivacyInfoTag { + get { if ((_hasBits0 & 2) != 0) { return privacyInfoTag_; } else { return PrivacyInfoTagDefaultValue; } } + set { + _hasBits0 |= 2; + privacyInfoTag_ = value; + } + } + /// Gets whether the "privacy_info_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyInfoTag { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "privacy_info_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyInfoTag() { + _hasBits0 &= ~2; + } + + /// Field number for the "parental_control_info_tag" field. + public const int ParentalControlInfoTagFieldNumber = 4; + private readonly static uint ParentalControlInfoTagDefaultValue = 0; + + private uint parentalControlInfoTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ParentalControlInfoTag { + get { if ((_hasBits0 & 4) != 0) { return parentalControlInfoTag_; } else { return ParentalControlInfoTagDefaultValue; } } + set { + _hasBits0 |= 4; + parentalControlInfoTag_ = value; + } + } + /// Gets whether the "parental_control_info_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParentalControlInfoTag { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "parental_control_info_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParentalControlInfoTag() { + _hasBits0 &= ~4; + } + + /// Field number for the "game_level_info_tags" field. + public const int GameLevelInfoTagsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_gameLevelInfoTags_codec + = pb::FieldCodec.ForMessage(58, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ProgramTag.Parser); + private readonly pbc::RepeatedField gameLevelInfoTags_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameLevelInfoTags { + get { return gameLevelInfoTags_; } + } + + /// Field number for the "game_status_tags" field. + public const int GameStatusTagsFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_gameStatusTags_codec + = pb::FieldCodec.ForMessage(74, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ProgramTag.Parser); + private readonly pbc::RepeatedField gameStatusTags_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameStatusTags { + get { return gameStatusTags_; } + } + + /// Field number for the "game_account_tags" field. + public const int GameAccountTagsFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_gameAccountTags_codec + = pb::FieldCodec.ForMessage(90, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RegionTag.Parser); + private readonly pbc::RepeatedField gameAccountTags_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameAccountTags { + get { return gameAccountTags_; } + } + + /// Field number for the "security_status_tag" field. + public const int SecurityStatusTagFieldNumber = 12; + private readonly static uint SecurityStatusTagDefaultValue = 0; + + private uint securityStatusTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SecurityStatusTag { + get { if ((_hasBits0 & 8) != 0) { return securityStatusTag_; } else { return SecurityStatusTagDefaultValue; } } + set { + _hasBits0 |= 8; + securityStatusTag_ = value; + } + } + /// Gets whether the "security_status_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSecurityStatusTag { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "security_status_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSecurityStatusTag() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountFieldTags); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountFieldTags other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AccountLevelInfoTag != other.AccountLevelInfoTag) return false; + if (PrivacyInfoTag != other.PrivacyInfoTag) return false; + if (ParentalControlInfoTag != other.ParentalControlInfoTag) return false; + if(!gameLevelInfoTags_.Equals(other.gameLevelInfoTags_)) return false; + if(!gameStatusTags_.Equals(other.gameStatusTags_)) return false; + if(!gameAccountTags_.Equals(other.gameAccountTags_)) return false; + if (SecurityStatusTag != other.SecurityStatusTag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAccountLevelInfoTag) hash ^= AccountLevelInfoTag.GetHashCode(); + if (HasPrivacyInfoTag) hash ^= PrivacyInfoTag.GetHashCode(); + if (HasParentalControlInfoTag) hash ^= ParentalControlInfoTag.GetHashCode(); + hash ^= gameLevelInfoTags_.GetHashCode(); + hash ^= gameStatusTags_.GetHashCode(); + hash ^= gameAccountTags_.GetHashCode(); + if (HasSecurityStatusTag) hash ^= SecurityStatusTag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAccountLevelInfoTag) { + output.WriteRawTag(21); + output.WriteFixed32(AccountLevelInfoTag); + } + if (HasPrivacyInfoTag) { + output.WriteRawTag(29); + output.WriteFixed32(PrivacyInfoTag); + } + if (HasParentalControlInfoTag) { + output.WriteRawTag(37); + output.WriteFixed32(ParentalControlInfoTag); + } + gameLevelInfoTags_.WriteTo(output, _repeated_gameLevelInfoTags_codec); + gameStatusTags_.WriteTo(output, _repeated_gameStatusTags_codec); + gameAccountTags_.WriteTo(output, _repeated_gameAccountTags_codec); + if (HasSecurityStatusTag) { + output.WriteRawTag(101); + output.WriteFixed32(SecurityStatusTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAccountLevelInfoTag) { + output.WriteRawTag(21); + output.WriteFixed32(AccountLevelInfoTag); + } + if (HasPrivacyInfoTag) { + output.WriteRawTag(29); + output.WriteFixed32(PrivacyInfoTag); + } + if (HasParentalControlInfoTag) { + output.WriteRawTag(37); + output.WriteFixed32(ParentalControlInfoTag); + } + gameLevelInfoTags_.WriteTo(ref output, _repeated_gameLevelInfoTags_codec); + gameStatusTags_.WriteTo(ref output, _repeated_gameStatusTags_codec); + gameAccountTags_.WriteTo(ref output, _repeated_gameAccountTags_codec); + if (HasSecurityStatusTag) { + output.WriteRawTag(101); + output.WriteFixed32(SecurityStatusTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAccountLevelInfoTag) { + size += 1 + 4; + } + if (HasPrivacyInfoTag) { + size += 1 + 4; + } + if (HasParentalControlInfoTag) { + size += 1 + 4; + } + size += gameLevelInfoTags_.CalculateSize(_repeated_gameLevelInfoTags_codec); + size += gameStatusTags_.CalculateSize(_repeated_gameStatusTags_codec); + size += gameAccountTags_.CalculateSize(_repeated_gameAccountTags_codec); + if (HasSecurityStatusTag) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountFieldTags other) { + if (other == null) { + return; + } + if (other.HasAccountLevelInfoTag) { + AccountLevelInfoTag = other.AccountLevelInfoTag; + } + if (other.HasPrivacyInfoTag) { + PrivacyInfoTag = other.PrivacyInfoTag; + } + if (other.HasParentalControlInfoTag) { + ParentalControlInfoTag = other.ParentalControlInfoTag; + } + gameLevelInfoTags_.Add(other.gameLevelInfoTags_); + gameStatusTags_.Add(other.gameStatusTags_); + gameAccountTags_.Add(other.gameAccountTags_); + if (other.HasSecurityStatusTag) { + SecurityStatusTag = other.SecurityStatusTag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 21: { + AccountLevelInfoTag = input.ReadFixed32(); + break; + } + case 29: { + PrivacyInfoTag = input.ReadFixed32(); + break; + } + case 37: { + ParentalControlInfoTag = input.ReadFixed32(); + break; + } + case 58: { + gameLevelInfoTags_.AddEntriesFrom(input, _repeated_gameLevelInfoTags_codec); + break; + } + case 74: { + gameStatusTags_.AddEntriesFrom(input, _repeated_gameStatusTags_codec); + break; + } + case 90: { + gameAccountTags_.AddEntriesFrom(input, _repeated_gameAccountTags_codec); + break; + } + case 101: { + SecurityStatusTag = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 21: { + AccountLevelInfoTag = input.ReadFixed32(); + break; + } + case 29: { + PrivacyInfoTag = input.ReadFixed32(); + break; + } + case 37: { + ParentalControlInfoTag = input.ReadFixed32(); + break; + } + case 58: { + gameLevelInfoTags_.AddEntriesFrom(ref input, _repeated_gameLevelInfoTags_codec); + break; + } + case 74: { + gameStatusTags_.AddEntriesFrom(ref input, _repeated_gameStatusTags_codec); + break; + } + case 90: { + gameAccountTags_.AddEntriesFrom(ref input, _repeated_gameAccountTags_codec); + break; + } + case 101: { + SecurityStatusTag = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountFieldTags : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountFieldTags()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFieldTags() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFieldTags(GameAccountFieldTags other) : this() { + _hasBits0 = other._hasBits0; + gameLevelInfoTag_ = other.gameLevelInfoTag_; + gameTimeInfoTag_ = other.gameTimeInfoTag_; + gameStatusTag_ = other.gameStatusTag_; + rafInfoTag_ = other.rafInfoTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFieldTags Clone() { + return new GameAccountFieldTags(this); + } + + /// Field number for the "game_level_info_tag" field. + public const int GameLevelInfoTagFieldNumber = 2; + private readonly static uint GameLevelInfoTagDefaultValue = 0; + + private uint gameLevelInfoTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GameLevelInfoTag { + get { if ((_hasBits0 & 1) != 0) { return gameLevelInfoTag_; } else { return GameLevelInfoTagDefaultValue; } } + set { + _hasBits0 |= 1; + gameLevelInfoTag_ = value; + } + } + /// Gets whether the "game_level_info_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGameLevelInfoTag { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "game_level_info_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGameLevelInfoTag() { + _hasBits0 &= ~1; + } + + /// Field number for the "game_time_info_tag" field. + public const int GameTimeInfoTagFieldNumber = 3; + private readonly static uint GameTimeInfoTagDefaultValue = 0; + + private uint gameTimeInfoTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GameTimeInfoTag { + get { if ((_hasBits0 & 2) != 0) { return gameTimeInfoTag_; } else { return GameTimeInfoTagDefaultValue; } } + set { + _hasBits0 |= 2; + gameTimeInfoTag_ = value; + } + } + /// Gets whether the "game_time_info_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGameTimeInfoTag { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "game_time_info_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGameTimeInfoTag() { + _hasBits0 &= ~2; + } + + /// Field number for the "game_status_tag" field. + public const int GameStatusTagFieldNumber = 4; + private readonly static uint GameStatusTagDefaultValue = 0; + + private uint gameStatusTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GameStatusTag { + get { if ((_hasBits0 & 4) != 0) { return gameStatusTag_; } else { return GameStatusTagDefaultValue; } } + set { + _hasBits0 |= 4; + gameStatusTag_ = value; + } + } + /// Gets whether the "game_status_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGameStatusTag { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "game_status_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGameStatusTag() { + _hasBits0 &= ~4; + } + + /// Field number for the "raf_info_tag" field. + public const int RafInfoTagFieldNumber = 5; + private readonly static uint RafInfoTagDefaultValue = 0; + + private uint rafInfoTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RafInfoTag { + get { if ((_hasBits0 & 8) != 0) { return rafInfoTag_; } else { return RafInfoTagDefaultValue; } } + set { + _hasBits0 |= 8; + rafInfoTag_ = value; + } + } + /// Gets whether the "raf_info_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRafInfoTag { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "raf_info_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRafInfoTag() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountFieldTags); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountFieldTags other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GameLevelInfoTag != other.GameLevelInfoTag) return false; + if (GameTimeInfoTag != other.GameTimeInfoTag) return false; + if (GameStatusTag != other.GameStatusTag) return false; + if (RafInfoTag != other.RafInfoTag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasGameLevelInfoTag) hash ^= GameLevelInfoTag.GetHashCode(); + if (HasGameTimeInfoTag) hash ^= GameTimeInfoTag.GetHashCode(); + if (HasGameStatusTag) hash ^= GameStatusTag.GetHashCode(); + if (HasRafInfoTag) hash ^= RafInfoTag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasGameLevelInfoTag) { + output.WriteRawTag(21); + output.WriteFixed32(GameLevelInfoTag); + } + if (HasGameTimeInfoTag) { + output.WriteRawTag(29); + output.WriteFixed32(GameTimeInfoTag); + } + if (HasGameStatusTag) { + output.WriteRawTag(37); + output.WriteFixed32(GameStatusTag); + } + if (HasRafInfoTag) { + output.WriteRawTag(45); + output.WriteFixed32(RafInfoTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasGameLevelInfoTag) { + output.WriteRawTag(21); + output.WriteFixed32(GameLevelInfoTag); + } + if (HasGameTimeInfoTag) { + output.WriteRawTag(29); + output.WriteFixed32(GameTimeInfoTag); + } + if (HasGameStatusTag) { + output.WriteRawTag(37); + output.WriteFixed32(GameStatusTag); + } + if (HasRafInfoTag) { + output.WriteRawTag(45); + output.WriteFixed32(RafInfoTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasGameLevelInfoTag) { + size += 1 + 4; + } + if (HasGameTimeInfoTag) { + size += 1 + 4; + } + if (HasGameStatusTag) { + size += 1 + 4; + } + if (HasRafInfoTag) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountFieldTags other) { + if (other == null) { + return; + } + if (other.HasGameLevelInfoTag) { + GameLevelInfoTag = other.GameLevelInfoTag; + } + if (other.HasGameTimeInfoTag) { + GameTimeInfoTag = other.GameTimeInfoTag; + } + if (other.HasGameStatusTag) { + GameStatusTag = other.GameStatusTag; + } + if (other.HasRafInfoTag) { + RafInfoTag = other.RafInfoTag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 21: { + GameLevelInfoTag = input.ReadFixed32(); + break; + } + case 29: { + GameTimeInfoTag = input.ReadFixed32(); + break; + } + case 37: { + GameStatusTag = input.ReadFixed32(); + break; + } + case 45: { + RafInfoTag = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 21: { + GameLevelInfoTag = input.ReadFixed32(); + break; + } + case 29: { + GameTimeInfoTag = input.ReadFixed32(); + break; + } + case 37: { + GameStatusTag = input.ReadFixed32(); + break; + } + case 45: { + RafInfoTag = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountFieldOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountFieldOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountFieldOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountFieldOptions(AccountFieldOptions other) : this() { + _hasBits0 = other._hasBits0; + allFields_ = other.allFields_; + fieldAccountLevelInfo_ = other.fieldAccountLevelInfo_; + fieldPrivacyInfo_ = other.fieldPrivacyInfo_; + fieldParentalControlInfo_ = other.fieldParentalControlInfo_; + fieldGameLevelInfo_ = other.fieldGameLevelInfo_; + fieldGameStatus_ = other.fieldGameStatus_; + fieldGameAccounts_ = other.fieldGameAccounts_; + fieldSecurityStatus_ = other.fieldSecurityStatus_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountFieldOptions Clone() { + return new AccountFieldOptions(this); + } + + /// Field number for the "all_fields" field. + public const int AllFieldsFieldNumber = 1; + private readonly static bool AllFieldsDefaultValue = false; + + private bool allFields_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AllFields { + get { if ((_hasBits0 & 1) != 0) { return allFields_; } else { return AllFieldsDefaultValue; } } + set { + _hasBits0 |= 1; + allFields_ = value; + } + } + /// Gets whether the "all_fields" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAllFields { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "all_fields" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAllFields() { + _hasBits0 &= ~1; + } + + /// Field number for the "field_account_level_info" field. + public const int FieldAccountLevelInfoFieldNumber = 2; + private readonly static bool FieldAccountLevelInfoDefaultValue = false; + + private bool fieldAccountLevelInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldAccountLevelInfo { + get { if ((_hasBits0 & 2) != 0) { return fieldAccountLevelInfo_; } else { return FieldAccountLevelInfoDefaultValue; } } + set { + _hasBits0 |= 2; + fieldAccountLevelInfo_ = value; + } + } + /// Gets whether the "field_account_level_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldAccountLevelInfo { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "field_account_level_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldAccountLevelInfo() { + _hasBits0 &= ~2; + } + + /// Field number for the "field_privacy_info" field. + public const int FieldPrivacyInfoFieldNumber = 3; + private readonly static bool FieldPrivacyInfoDefaultValue = false; + + private bool fieldPrivacyInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldPrivacyInfo { + get { if ((_hasBits0 & 4) != 0) { return fieldPrivacyInfo_; } else { return FieldPrivacyInfoDefaultValue; } } + set { + _hasBits0 |= 4; + fieldPrivacyInfo_ = value; + } + } + /// Gets whether the "field_privacy_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldPrivacyInfo { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "field_privacy_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldPrivacyInfo() { + _hasBits0 &= ~4; + } + + /// Field number for the "field_parental_control_info" field. + public const int FieldParentalControlInfoFieldNumber = 4; + private readonly static bool FieldParentalControlInfoDefaultValue = false; + + private bool fieldParentalControlInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldParentalControlInfo { + get { if ((_hasBits0 & 8) != 0) { return fieldParentalControlInfo_; } else { return FieldParentalControlInfoDefaultValue; } } + set { + _hasBits0 |= 8; + fieldParentalControlInfo_ = value; + } + } + /// Gets whether the "field_parental_control_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldParentalControlInfo { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "field_parental_control_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldParentalControlInfo() { + _hasBits0 &= ~8; + } + + /// Field number for the "field_game_level_info" field. + public const int FieldGameLevelInfoFieldNumber = 6; + private readonly static bool FieldGameLevelInfoDefaultValue = false; + + private bool fieldGameLevelInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldGameLevelInfo { + get { if ((_hasBits0 & 16) != 0) { return fieldGameLevelInfo_; } else { return FieldGameLevelInfoDefaultValue; } } + set { + _hasBits0 |= 16; + fieldGameLevelInfo_ = value; + } + } + /// Gets whether the "field_game_level_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldGameLevelInfo { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "field_game_level_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldGameLevelInfo() { + _hasBits0 &= ~16; + } + + /// Field number for the "field_game_status" field. + public const int FieldGameStatusFieldNumber = 7; + private readonly static bool FieldGameStatusDefaultValue = false; + + private bool fieldGameStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldGameStatus { + get { if ((_hasBits0 & 32) != 0) { return fieldGameStatus_; } else { return FieldGameStatusDefaultValue; } } + set { + _hasBits0 |= 32; + fieldGameStatus_ = value; + } + } + /// Gets whether the "field_game_status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldGameStatus { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "field_game_status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldGameStatus() { + _hasBits0 &= ~32; + } + + /// Field number for the "field_game_accounts" field. + public const int FieldGameAccountsFieldNumber = 8; + private readonly static bool FieldGameAccountsDefaultValue = false; + + private bool fieldGameAccounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldGameAccounts { + get { if ((_hasBits0 & 64) != 0) { return fieldGameAccounts_; } else { return FieldGameAccountsDefaultValue; } } + set { + _hasBits0 |= 64; + fieldGameAccounts_ = value; + } + } + /// Gets whether the "field_game_accounts" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldGameAccounts { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "field_game_accounts" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldGameAccounts() { + _hasBits0 &= ~64; + } + + /// Field number for the "field_security_status" field. + public const int FieldSecurityStatusFieldNumber = 9; + private readonly static bool FieldSecurityStatusDefaultValue = false; + + private bool fieldSecurityStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldSecurityStatus { + get { if ((_hasBits0 & 128) != 0) { return fieldSecurityStatus_; } else { return FieldSecurityStatusDefaultValue; } } + set { + _hasBits0 |= 128; + fieldSecurityStatus_ = value; + } + } + /// Gets whether the "field_security_status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldSecurityStatus { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "field_security_status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldSecurityStatus() { + _hasBits0 &= ~128; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountFieldOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountFieldOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AllFields != other.AllFields) return false; + if (FieldAccountLevelInfo != other.FieldAccountLevelInfo) return false; + if (FieldPrivacyInfo != other.FieldPrivacyInfo) return false; + if (FieldParentalControlInfo != other.FieldParentalControlInfo) return false; + if (FieldGameLevelInfo != other.FieldGameLevelInfo) return false; + if (FieldGameStatus != other.FieldGameStatus) return false; + if (FieldGameAccounts != other.FieldGameAccounts) return false; + if (FieldSecurityStatus != other.FieldSecurityStatus) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAllFields) hash ^= AllFields.GetHashCode(); + if (HasFieldAccountLevelInfo) hash ^= FieldAccountLevelInfo.GetHashCode(); + if (HasFieldPrivacyInfo) hash ^= FieldPrivacyInfo.GetHashCode(); + if (HasFieldParentalControlInfo) hash ^= FieldParentalControlInfo.GetHashCode(); + if (HasFieldGameLevelInfo) hash ^= FieldGameLevelInfo.GetHashCode(); + if (HasFieldGameStatus) hash ^= FieldGameStatus.GetHashCode(); + if (HasFieldGameAccounts) hash ^= FieldGameAccounts.GetHashCode(); + if (HasFieldSecurityStatus) hash ^= FieldSecurityStatus.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAllFields) { + output.WriteRawTag(8); + output.WriteBool(AllFields); + } + if (HasFieldAccountLevelInfo) { + output.WriteRawTag(16); + output.WriteBool(FieldAccountLevelInfo); + } + if (HasFieldPrivacyInfo) { + output.WriteRawTag(24); + output.WriteBool(FieldPrivacyInfo); + } + if (HasFieldParentalControlInfo) { + output.WriteRawTag(32); + output.WriteBool(FieldParentalControlInfo); + } + if (HasFieldGameLevelInfo) { + output.WriteRawTag(48); + output.WriteBool(FieldGameLevelInfo); + } + if (HasFieldGameStatus) { + output.WriteRawTag(56); + output.WriteBool(FieldGameStatus); + } + if (HasFieldGameAccounts) { + output.WriteRawTag(64); + output.WriteBool(FieldGameAccounts); + } + if (HasFieldSecurityStatus) { + output.WriteRawTag(72); + output.WriteBool(FieldSecurityStatus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAllFields) { + output.WriteRawTag(8); + output.WriteBool(AllFields); + } + if (HasFieldAccountLevelInfo) { + output.WriteRawTag(16); + output.WriteBool(FieldAccountLevelInfo); + } + if (HasFieldPrivacyInfo) { + output.WriteRawTag(24); + output.WriteBool(FieldPrivacyInfo); + } + if (HasFieldParentalControlInfo) { + output.WriteRawTag(32); + output.WriteBool(FieldParentalControlInfo); + } + if (HasFieldGameLevelInfo) { + output.WriteRawTag(48); + output.WriteBool(FieldGameLevelInfo); + } + if (HasFieldGameStatus) { + output.WriteRawTag(56); + output.WriteBool(FieldGameStatus); + } + if (HasFieldGameAccounts) { + output.WriteRawTag(64); + output.WriteBool(FieldGameAccounts); + } + if (HasFieldSecurityStatus) { + output.WriteRawTag(72); + output.WriteBool(FieldSecurityStatus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAllFields) { + size += 1 + 1; + } + if (HasFieldAccountLevelInfo) { + size += 1 + 1; + } + if (HasFieldPrivacyInfo) { + size += 1 + 1; + } + if (HasFieldParentalControlInfo) { + size += 1 + 1; + } + if (HasFieldGameLevelInfo) { + size += 1 + 1; + } + if (HasFieldGameStatus) { + size += 1 + 1; + } + if (HasFieldGameAccounts) { + size += 1 + 1; + } + if (HasFieldSecurityStatus) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountFieldOptions other) { + if (other == null) { + return; + } + if (other.HasAllFields) { + AllFields = other.AllFields; + } + if (other.HasFieldAccountLevelInfo) { + FieldAccountLevelInfo = other.FieldAccountLevelInfo; + } + if (other.HasFieldPrivacyInfo) { + FieldPrivacyInfo = other.FieldPrivacyInfo; + } + if (other.HasFieldParentalControlInfo) { + FieldParentalControlInfo = other.FieldParentalControlInfo; + } + if (other.HasFieldGameLevelInfo) { + FieldGameLevelInfo = other.FieldGameLevelInfo; + } + if (other.HasFieldGameStatus) { + FieldGameStatus = other.FieldGameStatus; + } + if (other.HasFieldGameAccounts) { + FieldGameAccounts = other.FieldGameAccounts; + } + if (other.HasFieldSecurityStatus) { + FieldSecurityStatus = other.FieldSecurityStatus; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + AllFields = input.ReadBool(); + break; + } + case 16: { + FieldAccountLevelInfo = input.ReadBool(); + break; + } + case 24: { + FieldPrivacyInfo = input.ReadBool(); + break; + } + case 32: { + FieldParentalControlInfo = input.ReadBool(); + break; + } + case 48: { + FieldGameLevelInfo = input.ReadBool(); + break; + } + case 56: { + FieldGameStatus = input.ReadBool(); + break; + } + case 64: { + FieldGameAccounts = input.ReadBool(); + break; + } + case 72: { + FieldSecurityStatus = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + AllFields = input.ReadBool(); + break; + } + case 16: { + FieldAccountLevelInfo = input.ReadBool(); + break; + } + case 24: { + FieldPrivacyInfo = input.ReadBool(); + break; + } + case 32: { + FieldParentalControlInfo = input.ReadBool(); + break; + } + case 48: { + FieldGameLevelInfo = input.ReadBool(); + break; + } + case 56: { + FieldGameStatus = input.ReadBool(); + break; + } + case 64: { + FieldGameAccounts = input.ReadBool(); + break; + } + case 72: { + FieldSecurityStatus = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountFieldOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountFieldOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFieldOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFieldOptions(GameAccountFieldOptions other) : this() { + _hasBits0 = other._hasBits0; + allFields_ = other.allFields_; + fieldGameLevelInfo_ = other.fieldGameLevelInfo_; + fieldGameTimeInfo_ = other.fieldGameTimeInfo_; + fieldGameStatus_ = other.fieldGameStatus_; + fieldRafInfo_ = other.fieldRafInfo_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountFieldOptions Clone() { + return new GameAccountFieldOptions(this); + } + + /// Field number for the "all_fields" field. + public const int AllFieldsFieldNumber = 1; + private readonly static bool AllFieldsDefaultValue = false; + + private bool allFields_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AllFields { + get { if ((_hasBits0 & 1) != 0) { return allFields_; } else { return AllFieldsDefaultValue; } } + set { + _hasBits0 |= 1; + allFields_ = value; + } + } + /// Gets whether the "all_fields" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAllFields { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "all_fields" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAllFields() { + _hasBits0 &= ~1; + } + + /// Field number for the "field_game_level_info" field. + public const int FieldGameLevelInfoFieldNumber = 2; + private readonly static bool FieldGameLevelInfoDefaultValue = false; + + private bool fieldGameLevelInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldGameLevelInfo { + get { if ((_hasBits0 & 2) != 0) { return fieldGameLevelInfo_; } else { return FieldGameLevelInfoDefaultValue; } } + set { + _hasBits0 |= 2; + fieldGameLevelInfo_ = value; + } + } + /// Gets whether the "field_game_level_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldGameLevelInfo { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "field_game_level_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldGameLevelInfo() { + _hasBits0 &= ~2; + } + + /// Field number for the "field_game_time_info" field. + public const int FieldGameTimeInfoFieldNumber = 3; + private readonly static bool FieldGameTimeInfoDefaultValue = false; + + private bool fieldGameTimeInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldGameTimeInfo { + get { if ((_hasBits0 & 4) != 0) { return fieldGameTimeInfo_; } else { return FieldGameTimeInfoDefaultValue; } } + set { + _hasBits0 |= 4; + fieldGameTimeInfo_ = value; + } + } + /// Gets whether the "field_game_time_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldGameTimeInfo { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "field_game_time_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldGameTimeInfo() { + _hasBits0 &= ~4; + } + + /// Field number for the "field_game_status" field. + public const int FieldGameStatusFieldNumber = 4; + private readonly static bool FieldGameStatusDefaultValue = false; + + private bool fieldGameStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldGameStatus { + get { if ((_hasBits0 & 8) != 0) { return fieldGameStatus_; } else { return FieldGameStatusDefaultValue; } } + set { + _hasBits0 |= 8; + fieldGameStatus_ = value; + } + } + /// Gets whether the "field_game_status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldGameStatus { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "field_game_status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldGameStatus() { + _hasBits0 &= ~8; + } + + /// Field number for the "field_raf_info" field. + public const int FieldRafInfoFieldNumber = 5; + private readonly static bool FieldRafInfoDefaultValue = false; + + private bool fieldRafInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FieldRafInfo { + get { if ((_hasBits0 & 16) != 0) { return fieldRafInfo_; } else { return FieldRafInfoDefaultValue; } } + set { + _hasBits0 |= 16; + fieldRafInfo_ = value; + } + } + /// Gets whether the "field_raf_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFieldRafInfo { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "field_raf_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFieldRafInfo() { + _hasBits0 &= ~16; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountFieldOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountFieldOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AllFields != other.AllFields) return false; + if (FieldGameLevelInfo != other.FieldGameLevelInfo) return false; + if (FieldGameTimeInfo != other.FieldGameTimeInfo) return false; + if (FieldGameStatus != other.FieldGameStatus) return false; + if (FieldRafInfo != other.FieldRafInfo) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAllFields) hash ^= AllFields.GetHashCode(); + if (HasFieldGameLevelInfo) hash ^= FieldGameLevelInfo.GetHashCode(); + if (HasFieldGameTimeInfo) hash ^= FieldGameTimeInfo.GetHashCode(); + if (HasFieldGameStatus) hash ^= FieldGameStatus.GetHashCode(); + if (HasFieldRafInfo) hash ^= FieldRafInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAllFields) { + output.WriteRawTag(8); + output.WriteBool(AllFields); + } + if (HasFieldGameLevelInfo) { + output.WriteRawTag(16); + output.WriteBool(FieldGameLevelInfo); + } + if (HasFieldGameTimeInfo) { + output.WriteRawTag(24); + output.WriteBool(FieldGameTimeInfo); + } + if (HasFieldGameStatus) { + output.WriteRawTag(32); + output.WriteBool(FieldGameStatus); + } + if (HasFieldRafInfo) { + output.WriteRawTag(40); + output.WriteBool(FieldRafInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAllFields) { + output.WriteRawTag(8); + output.WriteBool(AllFields); + } + if (HasFieldGameLevelInfo) { + output.WriteRawTag(16); + output.WriteBool(FieldGameLevelInfo); + } + if (HasFieldGameTimeInfo) { + output.WriteRawTag(24); + output.WriteBool(FieldGameTimeInfo); + } + if (HasFieldGameStatus) { + output.WriteRawTag(32); + output.WriteBool(FieldGameStatus); + } + if (HasFieldRafInfo) { + output.WriteRawTag(40); + output.WriteBool(FieldRafInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAllFields) { + size += 1 + 1; + } + if (HasFieldGameLevelInfo) { + size += 1 + 1; + } + if (HasFieldGameTimeInfo) { + size += 1 + 1; + } + if (HasFieldGameStatus) { + size += 1 + 1; + } + if (HasFieldRafInfo) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountFieldOptions other) { + if (other == null) { + return; + } + if (other.HasAllFields) { + AllFields = other.AllFields; + } + if (other.HasFieldGameLevelInfo) { + FieldGameLevelInfo = other.FieldGameLevelInfo; + } + if (other.HasFieldGameTimeInfo) { + FieldGameTimeInfo = other.FieldGameTimeInfo; + } + if (other.HasFieldGameStatus) { + FieldGameStatus = other.FieldGameStatus; + } + if (other.HasFieldRafInfo) { + FieldRafInfo = other.FieldRafInfo; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + AllFields = input.ReadBool(); + break; + } + case 16: { + FieldGameLevelInfo = input.ReadBool(); + break; + } + case 24: { + FieldGameTimeInfo = input.ReadBool(); + break; + } + case 32: { + FieldGameStatus = input.ReadBool(); + break; + } + case 40: { + FieldRafInfo = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + AllFields = input.ReadBool(); + break; + } + case 16: { + FieldGameLevelInfo = input.ReadBool(); + break; + } + case 24: { + FieldGameTimeInfo = input.ReadBool(); + break; + } + case 32: { + FieldGameStatus = input.ReadBool(); + break; + } + case 40: { + FieldRafInfo = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriberReference : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriberReference()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberReference() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberReference(SubscriberReference other) : this() { + _hasBits0 = other._hasBits0; + objectId_ = other.objectId_; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + accountOptions_ = other.accountOptions_ != null ? other.accountOptions_.Clone() : null; + accountTags_ = other.accountTags_ != null ? other.accountTags_.Clone() : null; + gameAccountOptions_ = other.gameAccountOptions_ != null ? other.gameAccountOptions_.Clone() : null; + gameAccountTags_ = other.gameAccountTags_ != null ? other.gameAccountTags_.Clone() : null; + subscriberId_ = other.subscriberId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberReference Clone() { + return new SubscriberReference(this); + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 1; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "account_options" field. + public const int AccountOptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions accountOptions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions AccountOptions { + get { return accountOptions_; } + set { + accountOptions_ = value; + } + } + + /// Field number for the "account_tags" field. + public const int AccountTagsFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags accountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags AccountTags { + get { return accountTags_; } + set { + accountTags_ = value; + } + } + + /// Field number for the "game_account_options" field. + public const int GameAccountOptionsFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions gameAccountOptions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions GameAccountOptions { + get { return gameAccountOptions_; } + set { + gameAccountOptions_ = value; + } + } + + /// Field number for the "game_account_tags" field. + public const int GameAccountTagsFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags gameAccountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags GameAccountTags { + get { return gameAccountTags_; } + set { + gameAccountTags_ = value; + } + } + + /// Field number for the "subscriber_id" field. + public const int SubscriberIdFieldNumber = 7; + private readonly static ulong SubscriberIdDefaultValue = 0UL; + + private ulong subscriberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SubscriberId { + get { if ((_hasBits0 & 2) != 0) { return subscriberId_; } else { return SubscriberIdDefaultValue; } } + set { + _hasBits0 |= 2; + subscriberId_ = value; + } + } + /// Gets whether the "subscriber_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriberId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "subscriber_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriberId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriberReference); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriberReference other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ObjectId != other.ObjectId) return false; + if (!object.Equals(EntityId, other.EntityId)) return false; + if (!object.Equals(AccountOptions, other.AccountOptions)) return false; + if (!object.Equals(AccountTags, other.AccountTags)) return false; + if (!object.Equals(GameAccountOptions, other.GameAccountOptions)) return false; + if (!object.Equals(GameAccountTags, other.GameAccountTags)) return false; + if (SubscriberId != other.SubscriberId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (accountOptions_ != null) hash ^= AccountOptions.GetHashCode(); + if (accountTags_ != null) hash ^= AccountTags.GetHashCode(); + if (gameAccountOptions_ != null) hash ^= GameAccountOptions.GetHashCode(); + if (gameAccountTags_ != null) hash ^= GameAccountTags.GetHashCode(); + if (HasSubscriberId) hash ^= SubscriberId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasObjectId) { + output.WriteRawTag(8); + output.WriteUInt64(ObjectId); + } + if (entityId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EntityId); + } + if (accountOptions_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountOptions); + } + if (accountTags_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AccountTags); + } + if (gameAccountOptions_ != null) { + output.WriteRawTag(42); + output.WriteMessage(GameAccountOptions); + } + if (gameAccountTags_ != null) { + output.WriteRawTag(50); + output.WriteMessage(GameAccountTags); + } + if (HasSubscriberId) { + output.WriteRawTag(56); + output.WriteUInt64(SubscriberId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasObjectId) { + output.WriteRawTag(8); + output.WriteUInt64(ObjectId); + } + if (entityId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EntityId); + } + if (accountOptions_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountOptions); + } + if (accountTags_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AccountTags); + } + if (gameAccountOptions_ != null) { + output.WriteRawTag(42); + output.WriteMessage(GameAccountOptions); + } + if (gameAccountTags_ != null) { + output.WriteRawTag(50); + output.WriteMessage(GameAccountTags); + } + if (HasSubscriberId) { + output.WriteRawTag(56); + output.WriteUInt64(SubscriberId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (accountOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountOptions); + } + if (accountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountTags); + } + if (gameAccountOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountOptions); + } + if (gameAccountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountTags); + } + if (HasSubscriberId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SubscriberId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriberReference other) { + if (other == null) { + return; + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + if (other.accountOptions_ != null) { + if (accountOptions_ == null) { + AccountOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions(); + } + AccountOptions.MergeFrom(other.AccountOptions); + } + if (other.accountTags_ != null) { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + AccountTags.MergeFrom(other.AccountTags); + } + if (other.gameAccountOptions_ != null) { + if (gameAccountOptions_ == null) { + GameAccountOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions(); + } + GameAccountOptions.MergeFrom(other.GameAccountOptions); + } + if (other.gameAccountTags_ != null) { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + GameAccountTags.MergeFrom(other.GameAccountTags); + } + if (other.HasSubscriberId) { + SubscriberId = other.SubscriberId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ObjectId = input.ReadUInt64(); + break; + } + case 18: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 26: { + if (accountOptions_ == null) { + AccountOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions(); + } + input.ReadMessage(AccountOptions); + break; + } + case 34: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + case 42: { + if (gameAccountOptions_ == null) { + GameAccountOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions(); + } + input.ReadMessage(GameAccountOptions); + break; + } + case 50: { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(GameAccountTags); + break; + } + case 56: { + SubscriberId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ObjectId = input.ReadUInt64(); + break; + } + case 18: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 26: { + if (accountOptions_ == null) { + AccountOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldOptions(); + } + input.ReadMessage(AccountOptions); + break; + } + case 34: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + case 42: { + if (gameAccountOptions_ == null) { + GameAccountOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldOptions(); + } + input.ReadMessage(GameAccountOptions); + break; + } + case 50: { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(GameAccountTags); + break; + } + case 56: { + SubscriberId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OptIns : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OptIns()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OptIns() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OptIns(OptIns other) : this() { + ids_ = other.ids_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OptIns Clone() { + return new OptIns(this); + } + + /// Field number for the "ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as OptIns); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OptIns other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= ids_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + ids_.WriteTo(output, _repeated_ids_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += ids_.CalculateSize(_repeated_ids_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OptIns other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountLevelInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountLevelInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountLevelInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountLevelInfo(AccountLevelInfo other) : this() { + _hasBits0 = other._hasBits0; + licenses_ = other.licenses_.Clone(); + defaultCurrency_ = other.defaultCurrency_; + country_ = other.country_; + preferredRegion_ = other.preferredRegion_; + fullName_ = other.fullName_; + battleTag_ = other.battleTag_; + muted_ = other.muted_; + manualReview_ = other.manualReview_; + accountPaidAny_ = other.accountPaidAny_; + identityCheckStatus_ = other.identityCheckStatus_; + email_ = other.email_; + headlessAccount_ = other.headlessAccount_; + testAccount_ = other.testAccount_; + isSmsProtected_ = other.isSmsProtected_; + ratingsBoardMinimumAge_ = other.ratingsBoardMinimumAge_; + phoneNumber_ = other.phoneNumber_; + birthdate_ = other.birthdate_; + legalCountryFeatureRestrictionsApplied_ = other.legalCountryFeatureRestrictionsApplied_; + optIns_ = other.optIns_ != null ? other.optIns_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountLevelInfo Clone() { + return new AccountLevelInfo(this); + } + + /// Field number for the "licenses" field. + public const int LicensesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_licenses_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLicense.Parser); + private readonly pbc::RepeatedField licenses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Licenses { + get { return licenses_; } + } + + /// Field number for the "default_currency" field. + public const int DefaultCurrencyFieldNumber = 4; + private readonly static uint DefaultCurrencyDefaultValue = 0; + + private uint defaultCurrency_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DefaultCurrency { + get { if ((_hasBits0 & 1) != 0) { return defaultCurrency_; } else { return DefaultCurrencyDefaultValue; } } + set { + _hasBits0 |= 1; + defaultCurrency_ = value; + } + } + /// Gets whether the "default_currency" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDefaultCurrency { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "default_currency" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDefaultCurrency() { + _hasBits0 &= ~1; + } + + /// Field number for the "country" field. + public const int CountryFieldNumber = 5; + private readonly static string CountryDefaultValue = ""; + + private string country_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Country { + get { return country_ ?? CountryDefaultValue; } + set { + country_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "country" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCountry { + get { return country_ != null; } + } + /// Clears the value of the "country" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCountry() { + country_ = null; + } + + /// Field number for the "preferred_region" field. + public const int PreferredRegionFieldNumber = 6; + private readonly static uint PreferredRegionDefaultValue = 0; + + private uint preferredRegion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PreferredRegion { + get { if ((_hasBits0 & 2) != 0) { return preferredRegion_; } else { return PreferredRegionDefaultValue; } } + set { + _hasBits0 |= 2; + preferredRegion_ = value; + } + } + /// Gets whether the "preferred_region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPreferredRegion { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "preferred_region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPreferredRegion() { + _hasBits0 &= ~2; + } + + /// Field number for the "full_name" field. + public const int FullNameFieldNumber = 7; + private readonly static string FullNameDefaultValue = ""; + + private string fullName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FullName { + get { return fullName_ ?? FullNameDefaultValue; } + set { + fullName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "full_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFullName { + get { return fullName_ != null; } + } + /// Clears the value of the "full_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFullName() { + fullName_ = null; + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 8; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "muted" field. + public const int MutedFieldNumber = 9; + private readonly static bool MutedDefaultValue = false; + + private bool muted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Muted { + get { if ((_hasBits0 & 4) != 0) { return muted_; } else { return MutedDefaultValue; } } + set { + _hasBits0 |= 4; + muted_ = value; + } + } + /// Gets whether the "muted" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMuted { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "muted" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMuted() { + _hasBits0 &= ~4; + } + + /// Field number for the "manual_review" field. + public const int ManualReviewFieldNumber = 10; + private readonly static bool ManualReviewDefaultValue = false; + + private bool manualReview_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ManualReview { + get { if ((_hasBits0 & 8) != 0) { return manualReview_; } else { return ManualReviewDefaultValue; } } + set { + _hasBits0 |= 8; + manualReview_ = value; + } + } + /// Gets whether the "manual_review" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasManualReview { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "manual_review" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearManualReview() { + _hasBits0 &= ~8; + } + + /// Field number for the "account_paid_any" field. + public const int AccountPaidAnyFieldNumber = 11; + private readonly static bool AccountPaidAnyDefaultValue = false; + + private bool accountPaidAny_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AccountPaidAny { + get { if ((_hasBits0 & 16) != 0) { return accountPaidAny_; } else { return AccountPaidAnyDefaultValue; } } + set { + _hasBits0 |= 16; + accountPaidAny_ = value; + } + } + /// Gets whether the "account_paid_any" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAccountPaidAny { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "account_paid_any" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAccountPaidAny() { + _hasBits0 &= ~16; + } + + /// Field number for the "identity_check_status" field. + public const int IdentityCheckStatusFieldNumber = 12; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus IdentityCheckStatusDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus.IdentNoData; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus identityCheckStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus IdentityCheckStatus { + get { if ((_hasBits0 & 32) != 0) { return identityCheckStatus_; } else { return IdentityCheckStatusDefaultValue; } } + set { + _hasBits0 |= 32; + identityCheckStatus_ = value; + } + } + /// Gets whether the "identity_check_status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIdentityCheckStatus { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "identity_check_status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIdentityCheckStatus() { + _hasBits0 &= ~32; + } + + /// Field number for the "email" field. + public const int EmailFieldNumber = 13; + private readonly static string EmailDefaultValue = ""; + + private string email_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Email { + get { return email_ ?? EmailDefaultValue; } + set { + email_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "email" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEmail { + get { return email_ != null; } + } + /// Clears the value of the "email" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEmail() { + email_ = null; + } + + /// Field number for the "headless_account" field. + public const int HeadlessAccountFieldNumber = 14; + private readonly static bool HeadlessAccountDefaultValue = false; + + private bool headlessAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HeadlessAccount { + get { if ((_hasBits0 & 64) != 0) { return headlessAccount_; } else { return HeadlessAccountDefaultValue; } } + set { + _hasBits0 |= 64; + headlessAccount_ = value; + } + } + /// Gets whether the "headless_account" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHeadlessAccount { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "headless_account" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHeadlessAccount() { + _hasBits0 &= ~64; + } + + /// Field number for the "test_account" field. + public const int TestAccountFieldNumber = 15; + private readonly static bool TestAccountDefaultValue = false; + + private bool testAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool TestAccount { + get { if ((_hasBits0 & 128) != 0) { return testAccount_; } else { return TestAccountDefaultValue; } } + set { + _hasBits0 |= 128; + testAccount_ = value; + } + } + /// Gets whether the "test_account" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTestAccount { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "test_account" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTestAccount() { + _hasBits0 &= ~128; + } + + /// Field number for the "is_sms_protected" field. + public const int IsSmsProtectedFieldNumber = 17; + private readonly static bool IsSmsProtectedDefaultValue = false; + + private bool isSmsProtected_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSmsProtected { + get { if ((_hasBits0 & 256) != 0) { return isSmsProtected_; } else { return IsSmsProtectedDefaultValue; } } + set { + _hasBits0 |= 256; + isSmsProtected_ = value; + } + } + /// Gets whether the "is_sms_protected" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsSmsProtected { + get { return (_hasBits0 & 256) != 0; } + } + /// Clears the value of the "is_sms_protected" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsSmsProtected() { + _hasBits0 &= ~256; + } + + /// Field number for the "ratings_board_minimum_age" field. + public const int RatingsBoardMinimumAgeFieldNumber = 18; + private readonly static uint RatingsBoardMinimumAgeDefaultValue = 0; + + private uint ratingsBoardMinimumAge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RatingsBoardMinimumAge { + get { if ((_hasBits0 & 512) != 0) { return ratingsBoardMinimumAge_; } else { return RatingsBoardMinimumAgeDefaultValue; } } + set { + _hasBits0 |= 512; + ratingsBoardMinimumAge_ = value; + } + } + /// Gets whether the "ratings_board_minimum_age" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRatingsBoardMinimumAge { + get { return (_hasBits0 & 512) != 0; } + } + /// Clears the value of the "ratings_board_minimum_age" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRatingsBoardMinimumAge() { + _hasBits0 &= ~512; + } + + /// Field number for the "phone_number" field. + public const int PhoneNumberFieldNumber = 19; + private readonly static string PhoneNumberDefaultValue = ""; + + private string phoneNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PhoneNumber { + get { return phoneNumber_ ?? PhoneNumberDefaultValue; } + set { + phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "phone_number" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPhoneNumber { + get { return phoneNumber_ != null; } + } + /// Clears the value of the "phone_number" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPhoneNumber() { + phoneNumber_ = null; + } + + /// Field number for the "birthdate" field. + public const int BirthdateFieldNumber = 20; + private readonly static string BirthdateDefaultValue = ""; + + private string birthdate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Birthdate { + get { return birthdate_ ?? BirthdateDefaultValue; } + set { + birthdate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "birthdate" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBirthdate { + get { return birthdate_ != null; } + } + /// Clears the value of the "birthdate" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBirthdate() { + birthdate_ = null; + } + + /// Field number for the "legal_country_feature_restrictions_applied" field. + public const int LegalCountryFeatureRestrictionsAppliedFieldNumber = 21; + private readonly static bool LegalCountryFeatureRestrictionsAppliedDefaultValue = false; + + private bool legalCountryFeatureRestrictionsApplied_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool LegalCountryFeatureRestrictionsApplied { + get { if ((_hasBits0 & 1024) != 0) { return legalCountryFeatureRestrictionsApplied_; } else { return LegalCountryFeatureRestrictionsAppliedDefaultValue; } } + set { + _hasBits0 |= 1024; + legalCountryFeatureRestrictionsApplied_ = value; + } + } + /// Gets whether the "legal_country_feature_restrictions_applied" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLegalCountryFeatureRestrictionsApplied { + get { return (_hasBits0 & 1024) != 0; } + } + /// Clears the value of the "legal_country_feature_restrictions_applied" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLegalCountryFeatureRestrictionsApplied() { + _hasBits0 &= ~1024; + } + + /// Field number for the "opt_ins" field. + public const int OptInsFieldNumber = 22; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns optIns_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns OptIns { + get { return optIns_; } + set { + optIns_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountLevelInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountLevelInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!licenses_.Equals(other.licenses_)) return false; + if (DefaultCurrency != other.DefaultCurrency) return false; + if (Country != other.Country) return false; + if (PreferredRegion != other.PreferredRegion) return false; + if (FullName != other.FullName) return false; + if (BattleTag != other.BattleTag) return false; + if (Muted != other.Muted) return false; + if (ManualReview != other.ManualReview) return false; + if (AccountPaidAny != other.AccountPaidAny) return false; + if (IdentityCheckStatus != other.IdentityCheckStatus) return false; + if (Email != other.Email) return false; + if (HeadlessAccount != other.HeadlessAccount) return false; + if (TestAccount != other.TestAccount) return false; + if (IsSmsProtected != other.IsSmsProtected) return false; + if (RatingsBoardMinimumAge != other.RatingsBoardMinimumAge) return false; + if (PhoneNumber != other.PhoneNumber) return false; + if (Birthdate != other.Birthdate) return false; + if (LegalCountryFeatureRestrictionsApplied != other.LegalCountryFeatureRestrictionsApplied) return false; + if (!object.Equals(OptIns, other.OptIns)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= licenses_.GetHashCode(); + if (HasDefaultCurrency) hash ^= DefaultCurrency.GetHashCode(); + if (HasCountry) hash ^= Country.GetHashCode(); + if (HasPreferredRegion) hash ^= PreferredRegion.GetHashCode(); + if (HasFullName) hash ^= FullName.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (HasMuted) hash ^= Muted.GetHashCode(); + if (HasManualReview) hash ^= ManualReview.GetHashCode(); + if (HasAccountPaidAny) hash ^= AccountPaidAny.GetHashCode(); + if (HasIdentityCheckStatus) hash ^= IdentityCheckStatus.GetHashCode(); + if (HasEmail) hash ^= Email.GetHashCode(); + if (HasHeadlessAccount) hash ^= HeadlessAccount.GetHashCode(); + if (HasTestAccount) hash ^= TestAccount.GetHashCode(); + if (HasIsSmsProtected) hash ^= IsSmsProtected.GetHashCode(); + if (HasRatingsBoardMinimumAge) hash ^= RatingsBoardMinimumAge.GetHashCode(); + if (HasPhoneNumber) hash ^= PhoneNumber.GetHashCode(); + if (HasBirthdate) hash ^= Birthdate.GetHashCode(); + if (HasLegalCountryFeatureRestrictionsApplied) hash ^= LegalCountryFeatureRestrictionsApplied.GetHashCode(); + if (optIns_ != null) hash ^= OptIns.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + licenses_.WriteTo(output, _repeated_licenses_codec); + if (HasDefaultCurrency) { + output.WriteRawTag(37); + output.WriteFixed32(DefaultCurrency); + } + if (HasCountry) { + output.WriteRawTag(42); + output.WriteString(Country); + } + if (HasPreferredRegion) { + output.WriteRawTag(48); + output.WriteUInt32(PreferredRegion); + } + if (HasFullName) { + output.WriteRawTag(58); + output.WriteString(FullName); + } + if (HasBattleTag) { + output.WriteRawTag(66); + output.WriteString(BattleTag); + } + if (HasMuted) { + output.WriteRawTag(72); + output.WriteBool(Muted); + } + if (HasManualReview) { + output.WriteRawTag(80); + output.WriteBool(ManualReview); + } + if (HasAccountPaidAny) { + output.WriteRawTag(88); + output.WriteBool(AccountPaidAny); + } + if (HasIdentityCheckStatus) { + output.WriteRawTag(96); + output.WriteEnum((int) IdentityCheckStatus); + } + if (HasEmail) { + output.WriteRawTag(106); + output.WriteString(Email); + } + if (HasHeadlessAccount) { + output.WriteRawTag(112); + output.WriteBool(HeadlessAccount); + } + if (HasTestAccount) { + output.WriteRawTag(120); + output.WriteBool(TestAccount); + } + if (HasIsSmsProtected) { + output.WriteRawTag(136, 1); + output.WriteBool(IsSmsProtected); + } + if (HasRatingsBoardMinimumAge) { + output.WriteRawTag(144, 1); + output.WriteUInt32(RatingsBoardMinimumAge); + } + if (HasPhoneNumber) { + output.WriteRawTag(154, 1); + output.WriteString(PhoneNumber); + } + if (HasBirthdate) { + output.WriteRawTag(162, 1); + output.WriteString(Birthdate); + } + if (HasLegalCountryFeatureRestrictionsApplied) { + output.WriteRawTag(168, 1); + output.WriteBool(LegalCountryFeatureRestrictionsApplied); + } + if (optIns_ != null) { + output.WriteRawTag(178, 1); + output.WriteMessage(OptIns); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + licenses_.WriteTo(ref output, _repeated_licenses_codec); + if (HasDefaultCurrency) { + output.WriteRawTag(37); + output.WriteFixed32(DefaultCurrency); + } + if (HasCountry) { + output.WriteRawTag(42); + output.WriteString(Country); + } + if (HasPreferredRegion) { + output.WriteRawTag(48); + output.WriteUInt32(PreferredRegion); + } + if (HasFullName) { + output.WriteRawTag(58); + output.WriteString(FullName); + } + if (HasBattleTag) { + output.WriteRawTag(66); + output.WriteString(BattleTag); + } + if (HasMuted) { + output.WriteRawTag(72); + output.WriteBool(Muted); + } + if (HasManualReview) { + output.WriteRawTag(80); + output.WriteBool(ManualReview); + } + if (HasAccountPaidAny) { + output.WriteRawTag(88); + output.WriteBool(AccountPaidAny); + } + if (HasIdentityCheckStatus) { + output.WriteRawTag(96); + output.WriteEnum((int) IdentityCheckStatus); + } + if (HasEmail) { + output.WriteRawTag(106); + output.WriteString(Email); + } + if (HasHeadlessAccount) { + output.WriteRawTag(112); + output.WriteBool(HeadlessAccount); + } + if (HasTestAccount) { + output.WriteRawTag(120); + output.WriteBool(TestAccount); + } + if (HasIsSmsProtected) { + output.WriteRawTag(136, 1); + output.WriteBool(IsSmsProtected); + } + if (HasRatingsBoardMinimumAge) { + output.WriteRawTag(144, 1); + output.WriteUInt32(RatingsBoardMinimumAge); + } + if (HasPhoneNumber) { + output.WriteRawTag(154, 1); + output.WriteString(PhoneNumber); + } + if (HasBirthdate) { + output.WriteRawTag(162, 1); + output.WriteString(Birthdate); + } + if (HasLegalCountryFeatureRestrictionsApplied) { + output.WriteRawTag(168, 1); + output.WriteBool(LegalCountryFeatureRestrictionsApplied); + } + if (optIns_ != null) { + output.WriteRawTag(178, 1); + output.WriteMessage(OptIns); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += licenses_.CalculateSize(_repeated_licenses_codec); + if (HasDefaultCurrency) { + size += 1 + 4; + } + if (HasCountry) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Country); + } + if (HasPreferredRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PreferredRegion); + } + if (HasFullName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FullName); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (HasMuted) { + size += 1 + 1; + } + if (HasManualReview) { + size += 1 + 1; + } + if (HasAccountPaidAny) { + size += 1 + 1; + } + if (HasIdentityCheckStatus) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IdentityCheckStatus); + } + if (HasEmail) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); + } + if (HasHeadlessAccount) { + size += 1 + 1; + } + if (HasTestAccount) { + size += 1 + 1; + } + if (HasIsSmsProtected) { + size += 2 + 1; + } + if (HasRatingsBoardMinimumAge) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RatingsBoardMinimumAge); + } + if (HasPhoneNumber) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber); + } + if (HasBirthdate) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Birthdate); + } + if (HasLegalCountryFeatureRestrictionsApplied) { + size += 2 + 1; + } + if (optIns_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptIns); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountLevelInfo other) { + if (other == null) { + return; + } + licenses_.Add(other.licenses_); + if (other.HasDefaultCurrency) { + DefaultCurrency = other.DefaultCurrency; + } + if (other.HasCountry) { + Country = other.Country; + } + if (other.HasPreferredRegion) { + PreferredRegion = other.PreferredRegion; + } + if (other.HasFullName) { + FullName = other.FullName; + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + if (other.HasMuted) { + Muted = other.Muted; + } + if (other.HasManualReview) { + ManualReview = other.ManualReview; + } + if (other.HasAccountPaidAny) { + AccountPaidAny = other.AccountPaidAny; + } + if (other.HasIdentityCheckStatus) { + IdentityCheckStatus = other.IdentityCheckStatus; + } + if (other.HasEmail) { + Email = other.Email; + } + if (other.HasHeadlessAccount) { + HeadlessAccount = other.HeadlessAccount; + } + if (other.HasTestAccount) { + TestAccount = other.TestAccount; + } + if (other.HasIsSmsProtected) { + IsSmsProtected = other.IsSmsProtected; + } + if (other.HasRatingsBoardMinimumAge) { + RatingsBoardMinimumAge = other.RatingsBoardMinimumAge; + } + if (other.HasPhoneNumber) { + PhoneNumber = other.PhoneNumber; + } + if (other.HasBirthdate) { + Birthdate = other.Birthdate; + } + if (other.HasLegalCountryFeatureRestrictionsApplied) { + LegalCountryFeatureRestrictionsApplied = other.LegalCountryFeatureRestrictionsApplied; + } + if (other.optIns_ != null) { + if (optIns_ == null) { + OptIns = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns(); + } + OptIns.MergeFrom(other.OptIns); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + licenses_.AddEntriesFrom(input, _repeated_licenses_codec); + break; + } + case 37: { + DefaultCurrency = input.ReadFixed32(); + break; + } + case 42: { + Country = input.ReadString(); + break; + } + case 48: { + PreferredRegion = input.ReadUInt32(); + break; + } + case 58: { + FullName = input.ReadString(); + break; + } + case 66: { + BattleTag = input.ReadString(); + break; + } + case 72: { + Muted = input.ReadBool(); + break; + } + case 80: { + ManualReview = input.ReadBool(); + break; + } + case 88: { + AccountPaidAny = input.ReadBool(); + break; + } + case 96: { + IdentityCheckStatus = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus) input.ReadEnum(); + break; + } + case 106: { + Email = input.ReadString(); + break; + } + case 112: { + HeadlessAccount = input.ReadBool(); + break; + } + case 120: { + TestAccount = input.ReadBool(); + break; + } + case 136: { + IsSmsProtected = input.ReadBool(); + break; + } + case 144: { + RatingsBoardMinimumAge = input.ReadUInt32(); + break; + } + case 154: { + PhoneNumber = input.ReadString(); + break; + } + case 162: { + Birthdate = input.ReadString(); + break; + } + case 168: { + LegalCountryFeatureRestrictionsApplied = input.ReadBool(); + break; + } + case 178: { + if (optIns_ == null) { + OptIns = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns(); + } + input.ReadMessage(OptIns); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + licenses_.AddEntriesFrom(ref input, _repeated_licenses_codec); + break; + } + case 37: { + DefaultCurrency = input.ReadFixed32(); + break; + } + case 42: { + Country = input.ReadString(); + break; + } + case 48: { + PreferredRegion = input.ReadUInt32(); + break; + } + case 58: { + FullName = input.ReadString(); + break; + } + case 66: { + BattleTag = input.ReadString(); + break; + } + case 72: { + Muted = input.ReadBool(); + break; + } + case 80: { + ManualReview = input.ReadBool(); + break; + } + case 88: { + AccountPaidAny = input.ReadBool(); + break; + } + case 96: { + IdentityCheckStatus = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IdentityVerificationStatus) input.ReadEnum(); + break; + } + case 106: { + Email = input.ReadString(); + break; + } + case 112: { + HeadlessAccount = input.ReadBool(); + break; + } + case 120: { + TestAccount = input.ReadBool(); + break; + } + case 136: { + IsSmsProtected = input.ReadBool(); + break; + } + case 144: { + RatingsBoardMinimumAge = input.ReadUInt32(); + break; + } + case 154: { + PhoneNumber = input.ReadString(); + break; + } + case 162: { + Birthdate = input.ReadString(); + break; + } + case 168: { + LegalCountryFeatureRestrictionsApplied = input.ReadBool(); + break; + } + case 178: { + if (optIns_ == null) { + OptIns = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.OptIns(); + } + input.ReadMessage(OptIns); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PrivacyInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PrivacyInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PrivacyInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PrivacyInfo(PrivacyInfo other) : this() { + _hasBits0 = other._hasBits0; + isUsingRid_ = other.isUsingRid_; + isVisibleForViewFriends_ = other.isVisibleForViewFriends_; + isHiddenFromFriendFinder_ = other.isHiddenFromFriendFinder_; + gameInfoPrivacy_ = other.gameInfoPrivacy_; + onlyAllowFriendWhispers_ = other.onlyAllowFriendWhispers_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PrivacyInfo Clone() { + return new PrivacyInfo(this); + } + + /// Field number for the "is_using_rid" field. + public const int IsUsingRidFieldNumber = 3; + private readonly static bool IsUsingRidDefaultValue = false; + + private bool isUsingRid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUsingRid { + get { if ((_hasBits0 & 1) != 0) { return isUsingRid_; } else { return IsUsingRidDefaultValue; } } + set { + _hasBits0 |= 1; + isUsingRid_ = value; + } + } + /// Gets whether the "is_using_rid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsUsingRid { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "is_using_rid" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsUsingRid() { + _hasBits0 &= ~1; + } + + /// Field number for the "is_visible_for_view_friends" field. + public const int IsVisibleForViewFriendsFieldNumber = 4; + private readonly static bool IsVisibleForViewFriendsDefaultValue = false; + + private bool isVisibleForViewFriends_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsVisibleForViewFriends { + get { if ((_hasBits0 & 2) != 0) { return isVisibleForViewFriends_; } else { return IsVisibleForViewFriendsDefaultValue; } } + set { + _hasBits0 |= 2; + isVisibleForViewFriends_ = value; + } + } + /// Gets whether the "is_visible_for_view_friends" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsVisibleForViewFriends { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "is_visible_for_view_friends" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsVisibleForViewFriends() { + _hasBits0 &= ~2; + } + + /// Field number for the "is_hidden_from_friend_finder" field. + public const int IsHiddenFromFriendFinderFieldNumber = 5; + private readonly static bool IsHiddenFromFriendFinderDefaultValue = false; + + private bool isHiddenFromFriendFinder_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsHiddenFromFriendFinder { + get { if ((_hasBits0 & 4) != 0) { return isHiddenFromFriendFinder_; } else { return IsHiddenFromFriendFinderDefaultValue; } } + set { + _hasBits0 |= 4; + isHiddenFromFriendFinder_ = value; + } + } + /// Gets whether the "is_hidden_from_friend_finder" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsHiddenFromFriendFinder { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "is_hidden_from_friend_finder" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsHiddenFromFriendFinder() { + _hasBits0 &= ~4; + } + + /// Field number for the "game_info_privacy" field. + public const int GameInfoPrivacyFieldNumber = 6; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy GameInfoPrivacyDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy.PrivacyFriends; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy gameInfoPrivacy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy GameInfoPrivacy { + get { if ((_hasBits0 & 8) != 0) { return gameInfoPrivacy_; } else { return GameInfoPrivacyDefaultValue; } } + set { + _hasBits0 |= 8; + gameInfoPrivacy_ = value; + } + } + /// Gets whether the "game_info_privacy" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGameInfoPrivacy { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "game_info_privacy" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGameInfoPrivacy() { + _hasBits0 &= ~8; + } + + /// Field number for the "only_allow_friend_whispers" field. + public const int OnlyAllowFriendWhispersFieldNumber = 7; + private readonly static bool OnlyAllowFriendWhispersDefaultValue = false; + + private bool onlyAllowFriendWhispers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool OnlyAllowFriendWhispers { + get { if ((_hasBits0 & 16) != 0) { return onlyAllowFriendWhispers_; } else { return OnlyAllowFriendWhispersDefaultValue; } } + set { + _hasBits0 |= 16; + onlyAllowFriendWhispers_ = value; + } + } + /// Gets whether the "only_allow_friend_whispers" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOnlyAllowFriendWhispers { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "only_allow_friend_whispers" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOnlyAllowFriendWhispers() { + _hasBits0 &= ~16; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PrivacyInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PrivacyInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsUsingRid != other.IsUsingRid) return false; + if (IsVisibleForViewFriends != other.IsVisibleForViewFriends) return false; + if (IsHiddenFromFriendFinder != other.IsHiddenFromFriendFinder) return false; + if (GameInfoPrivacy != other.GameInfoPrivacy) return false; + if (OnlyAllowFriendWhispers != other.OnlyAllowFriendWhispers) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsUsingRid) hash ^= IsUsingRid.GetHashCode(); + if (HasIsVisibleForViewFriends) hash ^= IsVisibleForViewFriends.GetHashCode(); + if (HasIsHiddenFromFriendFinder) hash ^= IsHiddenFromFriendFinder.GetHashCode(); + if (HasGameInfoPrivacy) hash ^= GameInfoPrivacy.GetHashCode(); + if (HasOnlyAllowFriendWhispers) hash ^= OnlyAllowFriendWhispers.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsUsingRid) { + output.WriteRawTag(24); + output.WriteBool(IsUsingRid); + } + if (HasIsVisibleForViewFriends) { + output.WriteRawTag(32); + output.WriteBool(IsVisibleForViewFriends); + } + if (HasIsHiddenFromFriendFinder) { + output.WriteRawTag(40); + output.WriteBool(IsHiddenFromFriendFinder); + } + if (HasGameInfoPrivacy) { + output.WriteRawTag(48); + output.WriteEnum((int) GameInfoPrivacy); + } + if (HasOnlyAllowFriendWhispers) { + output.WriteRawTag(56); + output.WriteBool(OnlyAllowFriendWhispers); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsUsingRid) { + output.WriteRawTag(24); + output.WriteBool(IsUsingRid); + } + if (HasIsVisibleForViewFriends) { + output.WriteRawTag(32); + output.WriteBool(IsVisibleForViewFriends); + } + if (HasIsHiddenFromFriendFinder) { + output.WriteRawTag(40); + output.WriteBool(IsHiddenFromFriendFinder); + } + if (HasGameInfoPrivacy) { + output.WriteRawTag(48); + output.WriteEnum((int) GameInfoPrivacy); + } + if (HasOnlyAllowFriendWhispers) { + output.WriteRawTag(56); + output.WriteBool(OnlyAllowFriendWhispers); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsUsingRid) { + size += 1 + 1; + } + if (HasIsVisibleForViewFriends) { + size += 1 + 1; + } + if (HasIsHiddenFromFriendFinder) { + size += 1 + 1; + } + if (HasGameInfoPrivacy) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GameInfoPrivacy); + } + if (HasOnlyAllowFriendWhispers) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PrivacyInfo other) { + if (other == null) { + return; + } + if (other.HasIsUsingRid) { + IsUsingRid = other.IsUsingRid; + } + if (other.HasIsVisibleForViewFriends) { + IsVisibleForViewFriends = other.IsVisibleForViewFriends; + } + if (other.HasIsHiddenFromFriendFinder) { + IsHiddenFromFriendFinder = other.IsHiddenFromFriendFinder; + } + if (other.HasGameInfoPrivacy) { + GameInfoPrivacy = other.GameInfoPrivacy; + } + if (other.HasOnlyAllowFriendWhispers) { + OnlyAllowFriendWhispers = other.OnlyAllowFriendWhispers; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + IsUsingRid = input.ReadBool(); + break; + } + case 32: { + IsVisibleForViewFriends = input.ReadBool(); + break; + } + case 40: { + IsHiddenFromFriendFinder = input.ReadBool(); + break; + } + case 48: { + GameInfoPrivacy = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy) input.ReadEnum(); + break; + } + case 56: { + OnlyAllowFriendWhispers = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + IsUsingRid = input.ReadBool(); + break; + } + case 32: { + IsVisibleForViewFriends = input.ReadBool(); + break; + } + case 40: { + IsHiddenFromFriendFinder = input.ReadBool(); + break; + } + case 48: { + GameInfoPrivacy = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo.Types.GameInfoPrivacy) input.ReadEnum(); + break; + } + case 56: { + OnlyAllowFriendWhispers = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the PrivacyInfo message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum GameInfoPrivacy { + [pbr::OriginalName("PRIVACY_ME")] PrivacyMe = 0, + [pbr::OriginalName("PRIVACY_FRIENDS")] PrivacyFriends = 1, + [pbr::OriginalName("PRIVACY_EVERYONE")] PrivacyEveryone = 2, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ParentalControlInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParentalControlInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParentalControlInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParentalControlInfo(ParentalControlInfo other) : this() { + _hasBits0 = other._hasBits0; + timezone_ = other.timezone_; + minutesPerDay_ = other.minutesPerDay_; + minutesPerWeek_ = other.minutesPerWeek_; + canReceiveVoice_ = other.canReceiveVoice_; + canSendVoice_ = other.canSendVoice_; + playSchedule_ = other.playSchedule_.Clone(); + canJoinGroup_ = other.canJoinGroup_; + canUseProfile_ = other.canUseProfile_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParentalControlInfo Clone() { + return new ParentalControlInfo(this); + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 3; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + /// Field number for the "minutes_per_day" field. + public const int MinutesPerDayFieldNumber = 4; + private readonly static uint MinutesPerDayDefaultValue = 0; + + private uint minutesPerDay_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinutesPerDay { + get { if ((_hasBits0 & 1) != 0) { return minutesPerDay_; } else { return MinutesPerDayDefaultValue; } } + set { + _hasBits0 |= 1; + minutesPerDay_ = value; + } + } + /// Gets whether the "minutes_per_day" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinutesPerDay { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "minutes_per_day" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinutesPerDay() { + _hasBits0 &= ~1; + } + + /// Field number for the "minutes_per_week" field. + public const int MinutesPerWeekFieldNumber = 5; + private readonly static uint MinutesPerWeekDefaultValue = 0; + + private uint minutesPerWeek_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinutesPerWeek { + get { if ((_hasBits0 & 2) != 0) { return minutesPerWeek_; } else { return MinutesPerWeekDefaultValue; } } + set { + _hasBits0 |= 2; + minutesPerWeek_ = value; + } + } + /// Gets whether the "minutes_per_week" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinutesPerWeek { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "minutes_per_week" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinutesPerWeek() { + _hasBits0 &= ~2; + } + + /// Field number for the "can_receive_voice" field. + public const int CanReceiveVoiceFieldNumber = 6; + private readonly static bool CanReceiveVoiceDefaultValue = false; + + private bool canReceiveVoice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanReceiveVoice { + get { if ((_hasBits0 & 4) != 0) { return canReceiveVoice_; } else { return CanReceiveVoiceDefaultValue; } } + set { + _hasBits0 |= 4; + canReceiveVoice_ = value; + } + } + /// Gets whether the "can_receive_voice" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanReceiveVoice { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "can_receive_voice" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanReceiveVoice() { + _hasBits0 &= ~4; + } + + /// Field number for the "can_send_voice" field. + public const int CanSendVoiceFieldNumber = 7; + private readonly static bool CanSendVoiceDefaultValue = false; + + private bool canSendVoice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSendVoice { + get { if ((_hasBits0 & 8) != 0) { return canSendVoice_; } else { return CanSendVoiceDefaultValue; } } + set { + _hasBits0 |= 8; + canSendVoice_ = value; + } + } + /// Gets whether the "can_send_voice" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSendVoice { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "can_send_voice" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSendVoice() { + _hasBits0 &= ~8; + } + + /// Field number for the "play_schedule" field. + public const int PlayScheduleFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_playSchedule_codec + = pb::FieldCodec.ForBool(64); + private readonly pbc::RepeatedField playSchedule_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlaySchedule { + get { return playSchedule_; } + } + + /// Field number for the "can_join_group" field. + public const int CanJoinGroupFieldNumber = 9; + private readonly static bool CanJoinGroupDefaultValue = false; + + private bool canJoinGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanJoinGroup { + get { if ((_hasBits0 & 16) != 0) { return canJoinGroup_; } else { return CanJoinGroupDefaultValue; } } + set { + _hasBits0 |= 16; + canJoinGroup_ = value; + } + } + /// Gets whether the "can_join_group" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanJoinGroup { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "can_join_group" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanJoinGroup() { + _hasBits0 &= ~16; + } + + /// Field number for the "can_use_profile" field. + public const int CanUseProfileFieldNumber = 10; + private readonly static bool CanUseProfileDefaultValue = false; + + private bool canUseProfile_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanUseProfile { + get { if ((_hasBits0 & 32) != 0) { return canUseProfile_; } else { return CanUseProfileDefaultValue; } } + set { + _hasBits0 |= 32; + canUseProfile_ = value; + } + } + /// Gets whether the "can_use_profile" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanUseProfile { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "can_use_profile" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanUseProfile() { + _hasBits0 &= ~32; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ParentalControlInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ParentalControlInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Timezone != other.Timezone) return false; + if (MinutesPerDay != other.MinutesPerDay) return false; + if (MinutesPerWeek != other.MinutesPerWeek) return false; + if (CanReceiveVoice != other.CanReceiveVoice) return false; + if (CanSendVoice != other.CanSendVoice) return false; + if(!playSchedule_.Equals(other.playSchedule_)) return false; + if (CanJoinGroup != other.CanJoinGroup) return false; + if (CanUseProfile != other.CanUseProfile) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasTimezone) hash ^= Timezone.GetHashCode(); + if (HasMinutesPerDay) hash ^= MinutesPerDay.GetHashCode(); + if (HasMinutesPerWeek) hash ^= MinutesPerWeek.GetHashCode(); + if (HasCanReceiveVoice) hash ^= CanReceiveVoice.GetHashCode(); + if (HasCanSendVoice) hash ^= CanSendVoice.GetHashCode(); + hash ^= playSchedule_.GetHashCode(); + if (HasCanJoinGroup) hash ^= CanJoinGroup.GetHashCode(); + if (HasCanUseProfile) hash ^= CanUseProfile.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasTimezone) { + output.WriteRawTag(26); + output.WriteString(Timezone); + } + if (HasMinutesPerDay) { + output.WriteRawTag(32); + output.WriteUInt32(MinutesPerDay); + } + if (HasMinutesPerWeek) { + output.WriteRawTag(40); + output.WriteUInt32(MinutesPerWeek); + } + if (HasCanReceiveVoice) { + output.WriteRawTag(48); + output.WriteBool(CanReceiveVoice); + } + if (HasCanSendVoice) { + output.WriteRawTag(56); + output.WriteBool(CanSendVoice); + } + playSchedule_.WriteTo(output, _repeated_playSchedule_codec); + if (HasCanJoinGroup) { + output.WriteRawTag(72); + output.WriteBool(CanJoinGroup); + } + if (HasCanUseProfile) { + output.WriteRawTag(80); + output.WriteBool(CanUseProfile); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasTimezone) { + output.WriteRawTag(26); + output.WriteString(Timezone); + } + if (HasMinutesPerDay) { + output.WriteRawTag(32); + output.WriteUInt32(MinutesPerDay); + } + if (HasMinutesPerWeek) { + output.WriteRawTag(40); + output.WriteUInt32(MinutesPerWeek); + } + if (HasCanReceiveVoice) { + output.WriteRawTag(48); + output.WriteBool(CanReceiveVoice); + } + if (HasCanSendVoice) { + output.WriteRawTag(56); + output.WriteBool(CanSendVoice); + } + playSchedule_.WriteTo(ref output, _repeated_playSchedule_codec); + if (HasCanJoinGroup) { + output.WriteRawTag(72); + output.WriteBool(CanJoinGroup); + } + if (HasCanUseProfile) { + output.WriteRawTag(80); + output.WriteBool(CanUseProfile); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasTimezone) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + if (HasMinutesPerDay) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinutesPerDay); + } + if (HasMinutesPerWeek) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinutesPerWeek); + } + if (HasCanReceiveVoice) { + size += 1 + 1; + } + if (HasCanSendVoice) { + size += 1 + 1; + } + size += playSchedule_.CalculateSize(_repeated_playSchedule_codec); + if (HasCanJoinGroup) { + size += 1 + 1; + } + if (HasCanUseProfile) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ParentalControlInfo other) { + if (other == null) { + return; + } + if (other.HasTimezone) { + Timezone = other.Timezone; + } + if (other.HasMinutesPerDay) { + MinutesPerDay = other.MinutesPerDay; + } + if (other.HasMinutesPerWeek) { + MinutesPerWeek = other.MinutesPerWeek; + } + if (other.HasCanReceiveVoice) { + CanReceiveVoice = other.CanReceiveVoice; + } + if (other.HasCanSendVoice) { + CanSendVoice = other.CanSendVoice; + } + playSchedule_.Add(other.playSchedule_); + if (other.HasCanJoinGroup) { + CanJoinGroup = other.CanJoinGroup; + } + if (other.HasCanUseProfile) { + CanUseProfile = other.CanUseProfile; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + Timezone = input.ReadString(); + break; + } + case 32: { + MinutesPerDay = input.ReadUInt32(); + break; + } + case 40: { + MinutesPerWeek = input.ReadUInt32(); + break; + } + case 48: { + CanReceiveVoice = input.ReadBool(); + break; + } + case 56: { + CanSendVoice = input.ReadBool(); + break; + } + case 66: + case 64: { + playSchedule_.AddEntriesFrom(input, _repeated_playSchedule_codec); + break; + } + case 72: { + CanJoinGroup = input.ReadBool(); + break; + } + case 80: { + CanUseProfile = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + Timezone = input.ReadString(); + break; + } + case 32: { + MinutesPerDay = input.ReadUInt32(); + break; + } + case 40: { + MinutesPerWeek = input.ReadUInt32(); + break; + } + case 48: { + CanReceiveVoice = input.ReadBool(); + break; + } + case 56: { + CanSendVoice = input.ReadBool(); + break; + } + case 66: + case 64: { + playSchedule_.AddEntriesFrom(ref input, _repeated_playSchedule_codec); + break; + } + case 72: { + CanJoinGroup = input.ReadBool(); + break; + } + case 80: { + CanUseProfile = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayScheduleRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayScheduleRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayScheduleRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayScheduleRestriction(PlayScheduleRestriction other) : this() { + playSchedule_ = other.playSchedule_.Clone(); + timezone_ = other.timezone_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayScheduleRestriction Clone() { + return new PlayScheduleRestriction(this); + } + + /// Field number for the "play_schedule" field. + public const int PlayScheduleFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_playSchedule_codec + = pb::FieldCodec.ForBool(8); + private readonly pbc::RepeatedField playSchedule_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlaySchedule { + get { return playSchedule_; } + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 2; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayScheduleRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayScheduleRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!playSchedule_.Equals(other.playSchedule_)) return false; + if (Timezone != other.Timezone) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= playSchedule_.GetHashCode(); + if (HasTimezone) hash ^= Timezone.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + playSchedule_.WriteTo(output, _repeated_playSchedule_codec); + if (HasTimezone) { + output.WriteRawTag(18); + output.WriteString(Timezone); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + playSchedule_.WriteTo(ref output, _repeated_playSchedule_codec); + if (HasTimezone) { + output.WriteRawTag(18); + output.WriteString(Timezone); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += playSchedule_.CalculateSize(_repeated_playSchedule_codec); + if (HasTimezone) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayScheduleRestriction other) { + if (other == null) { + return; + } + playSchedule_.Add(other.playSchedule_); + if (other.HasTimezone) { + Timezone = other.Timezone; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + playSchedule_.AddEntriesFrom(input, _repeated_playSchedule_codec); + break; + } + case 18: { + Timezone = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + playSchedule_.AddEntriesFrom(ref input, _repeated_playSchedule_codec); + break; + } + case 18: { + Timezone = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameLevelInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameLevelInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameLevelInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameLevelInfo(GameLevelInfo other) : this() { + _hasBits0 = other._hasBits0; + isTrial_ = other.isTrial_; + isLifetime_ = other.isLifetime_; + isRestricted_ = other.isRestricted_; + isBeta_ = other.isBeta_; + name_ = other.name_; + program_ = other.program_; + licenses_ = other.licenses_.Clone(); + realmPermissions_ = other.realmPermissions_; + lastLogoutTimeMs_ = other.lastLogoutTimeMs_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameLevelInfo Clone() { + return new GameLevelInfo(this); + } + + /// Field number for the "is_trial" field. + public const int IsTrialFieldNumber = 4; + private readonly static bool IsTrialDefaultValue = false; + + private bool isTrial_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsTrial { + get { if ((_hasBits0 & 1) != 0) { return isTrial_; } else { return IsTrialDefaultValue; } } + set { + _hasBits0 |= 1; + isTrial_ = value; + } + } + /// Gets whether the "is_trial" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsTrial { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "is_trial" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsTrial() { + _hasBits0 &= ~1; + } + + /// Field number for the "is_lifetime" field. + public const int IsLifetimeFieldNumber = 5; + private readonly static bool IsLifetimeDefaultValue = false; + + private bool isLifetime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsLifetime { + get { if ((_hasBits0 & 2) != 0) { return isLifetime_; } else { return IsLifetimeDefaultValue; } } + set { + _hasBits0 |= 2; + isLifetime_ = value; + } + } + /// Gets whether the "is_lifetime" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsLifetime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "is_lifetime" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsLifetime() { + _hasBits0 &= ~2; + } + + /// Field number for the "is_restricted" field. + public const int IsRestrictedFieldNumber = 6; + private readonly static bool IsRestrictedDefaultValue = false; + + private bool isRestricted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsRestricted { + get { if ((_hasBits0 & 4) != 0) { return isRestricted_; } else { return IsRestrictedDefaultValue; } } + set { + _hasBits0 |= 4; + isRestricted_ = value; + } + } + /// Gets whether the "is_restricted" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsRestricted { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "is_restricted" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsRestricted() { + _hasBits0 &= ~4; + } + + /// Field number for the "is_beta" field. + public const int IsBetaFieldNumber = 7; + private readonly static bool IsBetaDefaultValue = false; + + private bool isBeta_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBeta { + get { if ((_hasBits0 & 8) != 0) { return isBeta_; } else { return IsBetaDefaultValue; } } + set { + _hasBits0 |= 8; + isBeta_ = value; + } + } + /// Gets whether the "is_beta" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsBeta { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "is_beta" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsBeta() { + _hasBits0 &= ~8; + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 8; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 9; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 16) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 16; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~16; + } + + /// Field number for the "licenses" field. + public const int LicensesFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_licenses_codec + = pb::FieldCodec.ForMessage(82, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLicense.Parser); + private readonly pbc::RepeatedField licenses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Licenses { + get { return licenses_; } + } + + /// Field number for the "realm_permissions" field. + public const int RealmPermissionsFieldNumber = 11; + private readonly static uint RealmPermissionsDefaultValue = 0; + + private uint realmPermissions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RealmPermissions { + get { if ((_hasBits0 & 32) != 0) { return realmPermissions_; } else { return RealmPermissionsDefaultValue; } } + set { + _hasBits0 |= 32; + realmPermissions_ = value; + } + } + /// Gets whether the "realm_permissions" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRealmPermissions { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "realm_permissions" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRealmPermissions() { + _hasBits0 &= ~32; + } + + /// Field number for the "last_logout_time_ms" field. + public const int LastLogoutTimeMsFieldNumber = 12; + private readonly static ulong LastLogoutTimeMsDefaultValue = 0UL; + + private ulong lastLogoutTimeMs_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LastLogoutTimeMs { + get { if ((_hasBits0 & 64) != 0) { return lastLogoutTimeMs_; } else { return LastLogoutTimeMsDefaultValue; } } + set { + _hasBits0 |= 64; + lastLogoutTimeMs_ = value; + } + } + /// Gets whether the "last_logout_time_ms" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLastLogoutTimeMs { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "last_logout_time_ms" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLastLogoutTimeMs() { + _hasBits0 &= ~64; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameLevelInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameLevelInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsTrial != other.IsTrial) return false; + if (IsLifetime != other.IsLifetime) return false; + if (IsRestricted != other.IsRestricted) return false; + if (IsBeta != other.IsBeta) return false; + if (Name != other.Name) return false; + if (Program != other.Program) return false; + if(!licenses_.Equals(other.licenses_)) return false; + if (RealmPermissions != other.RealmPermissions) return false; + if (LastLogoutTimeMs != other.LastLogoutTimeMs) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsTrial) hash ^= IsTrial.GetHashCode(); + if (HasIsLifetime) hash ^= IsLifetime.GetHashCode(); + if (HasIsRestricted) hash ^= IsRestricted.GetHashCode(); + if (HasIsBeta) hash ^= IsBeta.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + hash ^= licenses_.GetHashCode(); + if (HasRealmPermissions) hash ^= RealmPermissions.GetHashCode(); + if (HasLastLogoutTimeMs) hash ^= LastLogoutTimeMs.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsTrial) { + output.WriteRawTag(32); + output.WriteBool(IsTrial); + } + if (HasIsLifetime) { + output.WriteRawTag(40); + output.WriteBool(IsLifetime); + } + if (HasIsRestricted) { + output.WriteRawTag(48); + output.WriteBool(IsRestricted); + } + if (HasIsBeta) { + output.WriteRawTag(56); + output.WriteBool(IsBeta); + } + if (HasName) { + output.WriteRawTag(66); + output.WriteString(Name); + } + if (HasProgram) { + output.WriteRawTag(77); + output.WriteFixed32(Program); + } + licenses_.WriteTo(output, _repeated_licenses_codec); + if (HasRealmPermissions) { + output.WriteRawTag(88); + output.WriteUInt32(RealmPermissions); + } + if (HasLastLogoutTimeMs) { + output.WriteRawTag(96); + output.WriteUInt64(LastLogoutTimeMs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsTrial) { + output.WriteRawTag(32); + output.WriteBool(IsTrial); + } + if (HasIsLifetime) { + output.WriteRawTag(40); + output.WriteBool(IsLifetime); + } + if (HasIsRestricted) { + output.WriteRawTag(48); + output.WriteBool(IsRestricted); + } + if (HasIsBeta) { + output.WriteRawTag(56); + output.WriteBool(IsBeta); + } + if (HasName) { + output.WriteRawTag(66); + output.WriteString(Name); + } + if (HasProgram) { + output.WriteRawTag(77); + output.WriteFixed32(Program); + } + licenses_.WriteTo(ref output, _repeated_licenses_codec); + if (HasRealmPermissions) { + output.WriteRawTag(88); + output.WriteUInt32(RealmPermissions); + } + if (HasLastLogoutTimeMs) { + output.WriteRawTag(96); + output.WriteUInt64(LastLogoutTimeMs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsTrial) { + size += 1 + 1; + } + if (HasIsLifetime) { + size += 1 + 1; + } + if (HasIsRestricted) { + size += 1 + 1; + } + if (HasIsBeta) { + size += 1 + 1; + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasProgram) { + size += 1 + 4; + } + size += licenses_.CalculateSize(_repeated_licenses_codec); + if (HasRealmPermissions) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RealmPermissions); + } + if (HasLastLogoutTimeMs) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LastLogoutTimeMs); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameLevelInfo other) { + if (other == null) { + return; + } + if (other.HasIsTrial) { + IsTrial = other.IsTrial; + } + if (other.HasIsLifetime) { + IsLifetime = other.IsLifetime; + } + if (other.HasIsRestricted) { + IsRestricted = other.IsRestricted; + } + if (other.HasIsBeta) { + IsBeta = other.IsBeta; + } + if (other.HasName) { + Name = other.Name; + } + if (other.HasProgram) { + Program = other.Program; + } + licenses_.Add(other.licenses_); + if (other.HasRealmPermissions) { + RealmPermissions = other.RealmPermissions; + } + if (other.HasLastLogoutTimeMs) { + LastLogoutTimeMs = other.LastLogoutTimeMs; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 32: { + IsTrial = input.ReadBool(); + break; + } + case 40: { + IsLifetime = input.ReadBool(); + break; + } + case 48: { + IsRestricted = input.ReadBool(); + break; + } + case 56: { + IsBeta = input.ReadBool(); + break; + } + case 66: { + Name = input.ReadString(); + break; + } + case 77: { + Program = input.ReadFixed32(); + break; + } + case 82: { + licenses_.AddEntriesFrom(input, _repeated_licenses_codec); + break; + } + case 88: { + RealmPermissions = input.ReadUInt32(); + break; + } + case 96: { + LastLogoutTimeMs = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 32: { + IsTrial = input.ReadBool(); + break; + } + case 40: { + IsLifetime = input.ReadBool(); + break; + } + case 48: { + IsRestricted = input.ReadBool(); + break; + } + case 56: { + IsBeta = input.ReadBool(); + break; + } + case 66: { + Name = input.ReadString(); + break; + } + case 77: { + Program = input.ReadFixed32(); + break; + } + case 82: { + licenses_.AddEntriesFrom(ref input, _repeated_licenses_codec); + break; + } + case 88: { + RealmPermissions = input.ReadUInt32(); + break; + } + case 96: { + LastLogoutTimeMs = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameTimeInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameTimeInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameTimeInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameTimeInfo(GameTimeInfo other) : this() { + _hasBits0 = other._hasBits0; + isUnlimitedPlayTime_ = other.isUnlimitedPlayTime_; + playTimeExpires_ = other.playTimeExpires_; + isSubscription_ = other.isSubscription_; + isRecurringSubscription_ = other.isRecurringSubscription_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameTimeInfo Clone() { + return new GameTimeInfo(this); + } + + /// Field number for the "is_unlimited_play_time" field. + public const int IsUnlimitedPlayTimeFieldNumber = 3; + private readonly static bool IsUnlimitedPlayTimeDefaultValue = false; + + private bool isUnlimitedPlayTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUnlimitedPlayTime { + get { if ((_hasBits0 & 1) != 0) { return isUnlimitedPlayTime_; } else { return IsUnlimitedPlayTimeDefaultValue; } } + set { + _hasBits0 |= 1; + isUnlimitedPlayTime_ = value; + } + } + /// Gets whether the "is_unlimited_play_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsUnlimitedPlayTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "is_unlimited_play_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsUnlimitedPlayTime() { + _hasBits0 &= ~1; + } + + /// Field number for the "play_time_expires" field. + public const int PlayTimeExpiresFieldNumber = 5; + private readonly static ulong PlayTimeExpiresDefaultValue = 0UL; + + private ulong playTimeExpires_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayTimeExpires { + get { if ((_hasBits0 & 2) != 0) { return playTimeExpires_; } else { return PlayTimeExpiresDefaultValue; } } + set { + _hasBits0 |= 2; + playTimeExpires_ = value; + } + } + /// Gets whether the "play_time_expires" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPlayTimeExpires { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "play_time_expires" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPlayTimeExpires() { + _hasBits0 &= ~2; + } + + /// Field number for the "is_subscription" field. + public const int IsSubscriptionFieldNumber = 6; + private readonly static bool IsSubscriptionDefaultValue = false; + + private bool isSubscription_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSubscription { + get { if ((_hasBits0 & 4) != 0) { return isSubscription_; } else { return IsSubscriptionDefaultValue; } } + set { + _hasBits0 |= 4; + isSubscription_ = value; + } + } + /// Gets whether the "is_subscription" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsSubscription { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "is_subscription" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsSubscription() { + _hasBits0 &= ~4; + } + + /// Field number for the "is_recurring_subscription" field. + public const int IsRecurringSubscriptionFieldNumber = 7; + private readonly static bool IsRecurringSubscriptionDefaultValue = false; + + private bool isRecurringSubscription_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsRecurringSubscription { + get { if ((_hasBits0 & 8) != 0) { return isRecurringSubscription_; } else { return IsRecurringSubscriptionDefaultValue; } } + set { + _hasBits0 |= 8; + isRecurringSubscription_ = value; + } + } + /// Gets whether the "is_recurring_subscription" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsRecurringSubscription { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "is_recurring_subscription" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsRecurringSubscription() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameTimeInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameTimeInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsUnlimitedPlayTime != other.IsUnlimitedPlayTime) return false; + if (PlayTimeExpires != other.PlayTimeExpires) return false; + if (IsSubscription != other.IsSubscription) return false; + if (IsRecurringSubscription != other.IsRecurringSubscription) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsUnlimitedPlayTime) hash ^= IsUnlimitedPlayTime.GetHashCode(); + if (HasPlayTimeExpires) hash ^= PlayTimeExpires.GetHashCode(); + if (HasIsSubscription) hash ^= IsSubscription.GetHashCode(); + if (HasIsRecurringSubscription) hash ^= IsRecurringSubscription.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsUnlimitedPlayTime) { + output.WriteRawTag(24); + output.WriteBool(IsUnlimitedPlayTime); + } + if (HasPlayTimeExpires) { + output.WriteRawTag(40); + output.WriteUInt64(PlayTimeExpires); + } + if (HasIsSubscription) { + output.WriteRawTag(48); + output.WriteBool(IsSubscription); + } + if (HasIsRecurringSubscription) { + output.WriteRawTag(56); + output.WriteBool(IsRecurringSubscription); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsUnlimitedPlayTime) { + output.WriteRawTag(24); + output.WriteBool(IsUnlimitedPlayTime); + } + if (HasPlayTimeExpires) { + output.WriteRawTag(40); + output.WriteUInt64(PlayTimeExpires); + } + if (HasIsSubscription) { + output.WriteRawTag(48); + output.WriteBool(IsSubscription); + } + if (HasIsRecurringSubscription) { + output.WriteRawTag(56); + output.WriteBool(IsRecurringSubscription); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsUnlimitedPlayTime) { + size += 1 + 1; + } + if (HasPlayTimeExpires) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayTimeExpires); + } + if (HasIsSubscription) { + size += 1 + 1; + } + if (HasIsRecurringSubscription) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameTimeInfo other) { + if (other == null) { + return; + } + if (other.HasIsUnlimitedPlayTime) { + IsUnlimitedPlayTime = other.IsUnlimitedPlayTime; + } + if (other.HasPlayTimeExpires) { + PlayTimeExpires = other.PlayTimeExpires; + } + if (other.HasIsSubscription) { + IsSubscription = other.IsSubscription; + } + if (other.HasIsRecurringSubscription) { + IsRecurringSubscription = other.IsRecurringSubscription; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + IsUnlimitedPlayTime = input.ReadBool(); + break; + } + case 40: { + PlayTimeExpires = input.ReadUInt64(); + break; + } + case 48: { + IsSubscription = input.ReadBool(); + break; + } + case 56: { + IsRecurringSubscription = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + IsUnlimitedPlayTime = input.ReadBool(); + break; + } + case 40: { + PlayTimeExpires = input.ReadUInt64(); + break; + } + case 48: { + IsSubscription = input.ReadBool(); + break; + } + case 56: { + IsRecurringSubscription = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameTimeRemainingInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameTimeRemainingInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameTimeRemainingInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameTimeRemainingInfo(GameTimeRemainingInfo other) : this() { + _hasBits0 = other._hasBits0; + minutesRemaining_ = other.minutesRemaining_; + parentalDailyMinutesRemaining_ = other.parentalDailyMinutesRemaining_; + parentalWeeklyMinutesRemaining_ = other.parentalWeeklyMinutesRemaining_; + secondsRemainingUntilKick_ = other.secondsRemainingUntilKick_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameTimeRemainingInfo Clone() { + return new GameTimeRemainingInfo(this); + } + + /// Field number for the "minutes_remaining" field. + public const int MinutesRemainingFieldNumber = 1; + private readonly static uint MinutesRemainingDefaultValue = 0; + + private uint minutesRemaining_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinutesRemaining { + get { if ((_hasBits0 & 1) != 0) { return minutesRemaining_; } else { return MinutesRemainingDefaultValue; } } + set { + _hasBits0 |= 1; + minutesRemaining_ = value; + } + } + /// Gets whether the "minutes_remaining" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinutesRemaining { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "minutes_remaining" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinutesRemaining() { + _hasBits0 &= ~1; + } + + /// Field number for the "parental_daily_minutes_remaining" field. + public const int ParentalDailyMinutesRemainingFieldNumber = 2; + private readonly static uint ParentalDailyMinutesRemainingDefaultValue = 0; + + private uint parentalDailyMinutesRemaining_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ParentalDailyMinutesRemaining { + get { if ((_hasBits0 & 2) != 0) { return parentalDailyMinutesRemaining_; } else { return ParentalDailyMinutesRemainingDefaultValue; } } + set { + _hasBits0 |= 2; + parentalDailyMinutesRemaining_ = value; + } + } + /// Gets whether the "parental_daily_minutes_remaining" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParentalDailyMinutesRemaining { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "parental_daily_minutes_remaining" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParentalDailyMinutesRemaining() { + _hasBits0 &= ~2; + } + + /// Field number for the "parental_weekly_minutes_remaining" field. + public const int ParentalWeeklyMinutesRemainingFieldNumber = 3; + private readonly static uint ParentalWeeklyMinutesRemainingDefaultValue = 0; + + private uint parentalWeeklyMinutesRemaining_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ParentalWeeklyMinutesRemaining { + get { if ((_hasBits0 & 4) != 0) { return parentalWeeklyMinutesRemaining_; } else { return ParentalWeeklyMinutesRemainingDefaultValue; } } + set { + _hasBits0 |= 4; + parentalWeeklyMinutesRemaining_ = value; + } + } + /// Gets whether the "parental_weekly_minutes_remaining" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParentalWeeklyMinutesRemaining { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "parental_weekly_minutes_remaining" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParentalWeeklyMinutesRemaining() { + _hasBits0 &= ~4; + } + + /// Field number for the "seconds_remaining_until_kick" field. + public const int SecondsRemainingUntilKickFieldNumber = 4; + private readonly static uint SecondsRemainingUntilKickDefaultValue = 0; + + private uint secondsRemainingUntilKick_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SecondsRemainingUntilKick { + get { if ((_hasBits0 & 8) != 0) { return secondsRemainingUntilKick_; } else { return SecondsRemainingUntilKickDefaultValue; } } + set { + _hasBits0 |= 8; + secondsRemainingUntilKick_ = value; + } + } + /// Gets whether the "seconds_remaining_until_kick" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSecondsRemainingUntilKick { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "seconds_remaining_until_kick" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSecondsRemainingUntilKick() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameTimeRemainingInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameTimeRemainingInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MinutesRemaining != other.MinutesRemaining) return false; + if (ParentalDailyMinutesRemaining != other.ParentalDailyMinutesRemaining) return false; + if (ParentalWeeklyMinutesRemaining != other.ParentalWeeklyMinutesRemaining) return false; + if (SecondsRemainingUntilKick != other.SecondsRemainingUntilKick) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMinutesRemaining) hash ^= MinutesRemaining.GetHashCode(); + if (HasParentalDailyMinutesRemaining) hash ^= ParentalDailyMinutesRemaining.GetHashCode(); + if (HasParentalWeeklyMinutesRemaining) hash ^= ParentalWeeklyMinutesRemaining.GetHashCode(); + if (HasSecondsRemainingUntilKick) hash ^= SecondsRemainingUntilKick.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMinutesRemaining) { + output.WriteRawTag(8); + output.WriteUInt32(MinutesRemaining); + } + if (HasParentalDailyMinutesRemaining) { + output.WriteRawTag(16); + output.WriteUInt32(ParentalDailyMinutesRemaining); + } + if (HasParentalWeeklyMinutesRemaining) { + output.WriteRawTag(24); + output.WriteUInt32(ParentalWeeklyMinutesRemaining); + } + if (HasSecondsRemainingUntilKick) { + output.WriteRawTag(32); + output.WriteUInt32(SecondsRemainingUntilKick); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMinutesRemaining) { + output.WriteRawTag(8); + output.WriteUInt32(MinutesRemaining); + } + if (HasParentalDailyMinutesRemaining) { + output.WriteRawTag(16); + output.WriteUInt32(ParentalDailyMinutesRemaining); + } + if (HasParentalWeeklyMinutesRemaining) { + output.WriteRawTag(24); + output.WriteUInt32(ParentalWeeklyMinutesRemaining); + } + if (HasSecondsRemainingUntilKick) { + output.WriteRawTag(32); + output.WriteUInt32(SecondsRemainingUntilKick); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMinutesRemaining) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinutesRemaining); + } + if (HasParentalDailyMinutesRemaining) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParentalDailyMinutesRemaining); + } + if (HasParentalWeeklyMinutesRemaining) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParentalWeeklyMinutesRemaining); + } + if (HasSecondsRemainingUntilKick) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SecondsRemainingUntilKick); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameTimeRemainingInfo other) { + if (other == null) { + return; + } + if (other.HasMinutesRemaining) { + MinutesRemaining = other.MinutesRemaining; + } + if (other.HasParentalDailyMinutesRemaining) { + ParentalDailyMinutesRemaining = other.ParentalDailyMinutesRemaining; + } + if (other.HasParentalWeeklyMinutesRemaining) { + ParentalWeeklyMinutesRemaining = other.ParentalWeeklyMinutesRemaining; + } + if (other.HasSecondsRemainingUntilKick) { + SecondsRemainingUntilKick = other.SecondsRemainingUntilKick; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + MinutesRemaining = input.ReadUInt32(); + break; + } + case 16: { + ParentalDailyMinutesRemaining = input.ReadUInt32(); + break; + } + case 24: { + ParentalWeeklyMinutesRemaining = input.ReadUInt32(); + break; + } + case 32: { + SecondsRemainingUntilKick = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + MinutesRemaining = input.ReadUInt32(); + break; + } + case 16: { + ParentalDailyMinutesRemaining = input.ReadUInt32(); + break; + } + case 24: { + ParentalWeeklyMinutesRemaining = input.ReadUInt32(); + break; + } + case 32: { + SecondsRemainingUntilKick = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameStatus : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[20]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameStatus(GameStatus other) : this() { + _hasBits0 = other._hasBits0; + isSuspended_ = other.isSuspended_; + isBanned_ = other.isBanned_; + suspensionExpires_ = other.suspensionExpires_; + program_ = other.program_; + isLocked_ = other.isLocked_; + isBamUnlockable_ = other.isBamUnlockable_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameStatus Clone() { + return new GameStatus(this); + } + + /// Field number for the "is_suspended" field. + public const int IsSuspendedFieldNumber = 4; + private readonly static bool IsSuspendedDefaultValue = false; + + private bool isSuspended_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSuspended { + get { if ((_hasBits0 & 1) != 0) { return isSuspended_; } else { return IsSuspendedDefaultValue; } } + set { + _hasBits0 |= 1; + isSuspended_ = value; + } + } + /// Gets whether the "is_suspended" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsSuspended { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "is_suspended" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsSuspended() { + _hasBits0 &= ~1; + } + + /// Field number for the "is_banned" field. + public const int IsBannedFieldNumber = 5; + private readonly static bool IsBannedDefaultValue = false; + + private bool isBanned_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBanned { + get { if ((_hasBits0 & 2) != 0) { return isBanned_; } else { return IsBannedDefaultValue; } } + set { + _hasBits0 |= 2; + isBanned_ = value; + } + } + /// Gets whether the "is_banned" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsBanned { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "is_banned" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsBanned() { + _hasBits0 &= ~2; + } + + /// Field number for the "suspension_expires" field. + public const int SuspensionExpiresFieldNumber = 6; + private readonly static ulong SuspensionExpiresDefaultValue = 0UL; + + private ulong suspensionExpires_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SuspensionExpires { + get { if ((_hasBits0 & 4) != 0) { return suspensionExpires_; } else { return SuspensionExpiresDefaultValue; } } + set { + _hasBits0 |= 4; + suspensionExpires_ = value; + } + } + /// Gets whether the "suspension_expires" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSuspensionExpires { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "suspension_expires" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSuspensionExpires() { + _hasBits0 &= ~4; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 7; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 8) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 8; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~8; + } + + /// Field number for the "is_locked" field. + public const int IsLockedFieldNumber = 8; + private readonly static bool IsLockedDefaultValue = false; + + private bool isLocked_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsLocked { + get { if ((_hasBits0 & 16) != 0) { return isLocked_; } else { return IsLockedDefaultValue; } } + set { + _hasBits0 |= 16; + isLocked_ = value; + } + } + /// Gets whether the "is_locked" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsLocked { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "is_locked" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsLocked() { + _hasBits0 &= ~16; + } + + /// Field number for the "is_bam_unlockable" field. + public const int IsBamUnlockableFieldNumber = 9; + private readonly static bool IsBamUnlockableDefaultValue = false; + + private bool isBamUnlockable_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBamUnlockable { + get { if ((_hasBits0 & 32) != 0) { return isBamUnlockable_; } else { return IsBamUnlockableDefaultValue; } } + set { + _hasBits0 |= 32; + isBamUnlockable_ = value; + } + } + /// Gets whether the "is_bam_unlockable" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsBamUnlockable { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "is_bam_unlockable" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsBamUnlockable() { + _hasBits0 &= ~32; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsSuspended != other.IsSuspended) return false; + if (IsBanned != other.IsBanned) return false; + if (SuspensionExpires != other.SuspensionExpires) return false; + if (Program != other.Program) return false; + if (IsLocked != other.IsLocked) return false; + if (IsBamUnlockable != other.IsBamUnlockable) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsSuspended) hash ^= IsSuspended.GetHashCode(); + if (HasIsBanned) hash ^= IsBanned.GetHashCode(); + if (HasSuspensionExpires) hash ^= SuspensionExpires.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasIsLocked) hash ^= IsLocked.GetHashCode(); + if (HasIsBamUnlockable) hash ^= IsBamUnlockable.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsSuspended) { + output.WriteRawTag(32); + output.WriteBool(IsSuspended); + } + if (HasIsBanned) { + output.WriteRawTag(40); + output.WriteBool(IsBanned); + } + if (HasSuspensionExpires) { + output.WriteRawTag(48); + output.WriteUInt64(SuspensionExpires); + } + if (HasProgram) { + output.WriteRawTag(61); + output.WriteFixed32(Program); + } + if (HasIsLocked) { + output.WriteRawTag(64); + output.WriteBool(IsLocked); + } + if (HasIsBamUnlockable) { + output.WriteRawTag(72); + output.WriteBool(IsBamUnlockable); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsSuspended) { + output.WriteRawTag(32); + output.WriteBool(IsSuspended); + } + if (HasIsBanned) { + output.WriteRawTag(40); + output.WriteBool(IsBanned); + } + if (HasSuspensionExpires) { + output.WriteRawTag(48); + output.WriteUInt64(SuspensionExpires); + } + if (HasProgram) { + output.WriteRawTag(61); + output.WriteFixed32(Program); + } + if (HasIsLocked) { + output.WriteRawTag(64); + output.WriteBool(IsLocked); + } + if (HasIsBamUnlockable) { + output.WriteRawTag(72); + output.WriteBool(IsBamUnlockable); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsSuspended) { + size += 1 + 1; + } + if (HasIsBanned) { + size += 1 + 1; + } + if (HasSuspensionExpires) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SuspensionExpires); + } + if (HasProgram) { + size += 1 + 4; + } + if (HasIsLocked) { + size += 1 + 1; + } + if (HasIsBamUnlockable) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameStatus other) { + if (other == null) { + return; + } + if (other.HasIsSuspended) { + IsSuspended = other.IsSuspended; + } + if (other.HasIsBanned) { + IsBanned = other.IsBanned; + } + if (other.HasSuspensionExpires) { + SuspensionExpires = other.SuspensionExpires; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasIsLocked) { + IsLocked = other.IsLocked; + } + if (other.HasIsBamUnlockable) { + IsBamUnlockable = other.IsBamUnlockable; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 32: { + IsSuspended = input.ReadBool(); + break; + } + case 40: { + IsBanned = input.ReadBool(); + break; + } + case 48: { + SuspensionExpires = input.ReadUInt64(); + break; + } + case 61: { + Program = input.ReadFixed32(); + break; + } + case 64: { + IsLocked = input.ReadBool(); + break; + } + case 72: { + IsBamUnlockable = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 32: { + IsSuspended = input.ReadBool(); + break; + } + case 40: { + IsBanned = input.ReadBool(); + break; + } + case 48: { + SuspensionExpires = input.ReadUInt64(); + break; + } + case 61: { + Program = input.ReadFixed32(); + break; + } + case 64: { + IsLocked = input.ReadBool(); + break; + } + case 72: { + IsBamUnlockable = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RAFInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RAFInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[21]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RAFInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RAFInfo(RAFInfo other) : this() { + rafInfo_ = other.rafInfo_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RAFInfo Clone() { + return new RAFInfo(this); + } + + /// Field number for the "raf_info" field. + public const int RafInfoFieldNumber = 1; + private readonly static pb::ByteString RafInfoDefaultValue = pb::ByteString.Empty; + + private pb::ByteString rafInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString RafInfo { + get { return rafInfo_ ?? RafInfoDefaultValue; } + set { + rafInfo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "raf_info" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRafInfo { + get { return rafInfo_ != null; } + } + /// Clears the value of the "raf_info" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRafInfo() { + rafInfo_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RAFInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RAFInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RafInfo != other.RafInfo) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRafInfo) hash ^= RafInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRafInfo) { + output.WriteRawTag(10); + output.WriteBytes(RafInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRafInfo) { + output.WriteRawTag(10); + output.WriteBytes(RafInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRafInfo) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(RafInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RAFInfo other) { + if (other == null) { + return; + } + if (other.HasRafInfo) { + RafInfo = other.RafInfo; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + RafInfo = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + RafInfo = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameSessionInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameSessionInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[22]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionInfo(GameSessionInfo other) : this() { + _hasBits0 = other._hasBits0; + startTime_ = other.startTime_; + location_ = other.location_ != null ? other.location_.Clone() : null; + hasBenefactor_ = other.hasBenefactor_; + isUsingIgr_ = other.isUsingIgr_; + parentalControlsActive_ = other.parentalControlsActive_; + startTimeSec_ = other.startTimeSec_; + igrId_ = other.igrId_ != null ? other.igrId_.Clone() : null; + platformId_ = other.platformId_; + igrPaid_ = other.igrPaid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionInfo Clone() { + return new GameSessionInfo(this); + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 3; + private readonly static uint StartTimeDefaultValue = 0; + + private uint startTime_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StartTime { + get { if ((_hasBits0 & 1) != 0) { return startTime_; } else { return StartTimeDefaultValue; } } + set { + _hasBits0 |= 1; + startTime_ = value; + } + } + /// Gets whether the "start_time" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStartTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "start_time" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStartTime() { + _hasBits0 &= ~1; + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation location_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation Location { + get { return location_; } + set { + location_ = value; + } + } + + /// Field number for the "has_benefactor" field. + public const int HasBenefactorFieldNumber = 5; + private readonly static bool HasBenefactorDefaultValue = false; + + private bool hasBenefactor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBenefactor { + get { if ((_hasBits0 & 2) != 0) { return hasBenefactor_; } else { return HasBenefactorDefaultValue; } } + set { + _hasBits0 |= 2; + hasBenefactor_ = value; + } + } + /// Gets whether the "has_benefactor" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHasBenefactor { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "has_benefactor" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHasBenefactor() { + _hasBits0 &= ~2; + } + + /// Field number for the "is_using_igr" field. + public const int IsUsingIgrFieldNumber = 6; + private readonly static bool IsUsingIgrDefaultValue = false; + + private bool isUsingIgr_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUsingIgr { + get { if ((_hasBits0 & 4) != 0) { return isUsingIgr_; } else { return IsUsingIgrDefaultValue; } } + set { + _hasBits0 |= 4; + isUsingIgr_ = value; + } + } + /// Gets whether the "is_using_igr" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsUsingIgr { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "is_using_igr" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsUsingIgr() { + _hasBits0 &= ~4; + } + + /// Field number for the "parental_controls_active" field. + public const int ParentalControlsActiveFieldNumber = 7; + private readonly static bool ParentalControlsActiveDefaultValue = false; + + private bool parentalControlsActive_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ParentalControlsActive { + get { if ((_hasBits0 & 8) != 0) { return parentalControlsActive_; } else { return ParentalControlsActiveDefaultValue; } } + set { + _hasBits0 |= 8; + parentalControlsActive_ = value; + } + } + /// Gets whether the "parental_controls_active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParentalControlsActive { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "parental_controls_active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParentalControlsActive() { + _hasBits0 &= ~8; + } + + /// Field number for the "start_time_sec" field. + public const int StartTimeSecFieldNumber = 8; + private readonly static ulong StartTimeSecDefaultValue = 0UL; + + private ulong startTimeSec_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StartTimeSec { + get { if ((_hasBits0 & 16) != 0) { return startTimeSec_; } else { return StartTimeSecDefaultValue; } } + set { + _hasBits0 |= 16; + startTimeSec_ = value; + } + } + /// Gets whether the "start_time_sec" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStartTimeSec { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "start_time_sec" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStartTimeSec() { + _hasBits0 &= ~16; + } + + /// Field number for the "igr_id" field. + public const int IgrIdFieldNumber = 9; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId igrId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId IgrId { + get { return igrId_; } + set { + igrId_ = value; + } + } + + /// Field number for the "platform_id" field. + public const int PlatformIdFieldNumber = 10; + private readonly static uint PlatformIdDefaultValue = 0; + + private uint platformId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PlatformId { + get { if ((_hasBits0 & 32) != 0) { return platformId_; } else { return PlatformIdDefaultValue; } } + set { + _hasBits0 |= 32; + platformId_ = value; + } + } + /// Gets whether the "platform_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPlatformId { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "platform_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPlatformId() { + _hasBits0 &= ~32; + } + + /// Field number for the "igr_paid" field. + public const int IgrPaidFieldNumber = 11; + private readonly static bool IgrPaidDefaultValue = false; + + private bool igrPaid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IgrPaid { + get { if ((_hasBits0 & 64) != 0) { return igrPaid_; } else { return IgrPaidDefaultValue; } } + set { + _hasBits0 |= 64; + igrPaid_ = value; + } + } + /// Gets whether the "igr_paid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIgrPaid { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "igr_paid" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIgrPaid() { + _hasBits0 &= ~64; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameSessionInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameSessionInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StartTime != other.StartTime) return false; + if (!object.Equals(Location, other.Location)) return false; + if (HasBenefactor != other.HasBenefactor) return false; + if (IsUsingIgr != other.IsUsingIgr) return false; + if (ParentalControlsActive != other.ParentalControlsActive) return false; + if (StartTimeSec != other.StartTimeSec) return false; + if (!object.Equals(IgrId, other.IgrId)) return false; + if (PlatformId != other.PlatformId) return false; + if (IgrPaid != other.IgrPaid) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStartTime) hash ^= StartTime.GetHashCode(); + if (location_ != null) hash ^= Location.GetHashCode(); + if (HasHasBenefactor) hash ^= HasBenefactor.GetHashCode(); + if (HasIsUsingIgr) hash ^= IsUsingIgr.GetHashCode(); + if (HasParentalControlsActive) hash ^= ParentalControlsActive.GetHashCode(); + if (HasStartTimeSec) hash ^= StartTimeSec.GetHashCode(); + if (igrId_ != null) hash ^= IgrId.GetHashCode(); + if (HasPlatformId) hash ^= PlatformId.GetHashCode(); + if (HasIgrPaid) hash ^= IgrPaid.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStartTime) { + output.WriteRawTag(24); + output.WriteUInt32(StartTime); + } + if (location_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Location); + } + if (HasHasBenefactor) { + output.WriteRawTag(40); + output.WriteBool(HasBenefactor); + } + if (HasIsUsingIgr) { + output.WriteRawTag(48); + output.WriteBool(IsUsingIgr); + } + if (HasParentalControlsActive) { + output.WriteRawTag(56); + output.WriteBool(ParentalControlsActive); + } + if (HasStartTimeSec) { + output.WriteRawTag(64); + output.WriteUInt64(StartTimeSec); + } + if (igrId_ != null) { + output.WriteRawTag(74); + output.WriteMessage(IgrId); + } + if (HasPlatformId) { + output.WriteRawTag(85); + output.WriteFixed32(PlatformId); + } + if (HasIgrPaid) { + output.WriteRawTag(88); + output.WriteBool(IgrPaid); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStartTime) { + output.WriteRawTag(24); + output.WriteUInt32(StartTime); + } + if (location_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Location); + } + if (HasHasBenefactor) { + output.WriteRawTag(40); + output.WriteBool(HasBenefactor); + } + if (HasIsUsingIgr) { + output.WriteRawTag(48); + output.WriteBool(IsUsingIgr); + } + if (HasParentalControlsActive) { + output.WriteRawTag(56); + output.WriteBool(ParentalControlsActive); + } + if (HasStartTimeSec) { + output.WriteRawTag(64); + output.WriteUInt64(StartTimeSec); + } + if (igrId_ != null) { + output.WriteRawTag(74); + output.WriteMessage(IgrId); + } + if (HasPlatformId) { + output.WriteRawTag(85); + output.WriteFixed32(PlatformId); + } + if (HasIgrPaid) { + output.WriteRawTag(88); + output.WriteBool(IgrPaid); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStartTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StartTime); + } + if (location_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Location); + } + if (HasHasBenefactor) { + size += 1 + 1; + } + if (HasIsUsingIgr) { + size += 1 + 1; + } + if (HasParentalControlsActive) { + size += 1 + 1; + } + if (HasStartTimeSec) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StartTimeSec); + } + if (igrId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IgrId); + } + if (HasPlatformId) { + size += 1 + 4; + } + if (HasIgrPaid) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameSessionInfo other) { + if (other == null) { + return; + } + if (other.HasStartTime) { + StartTime = other.StartTime; + } + if (other.location_ != null) { + if (location_ == null) { + Location = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation(); + } + Location.MergeFrom(other.Location); + } + if (other.HasHasBenefactor) { + HasBenefactor = other.HasBenefactor; + } + if (other.HasIsUsingIgr) { + IsUsingIgr = other.IsUsingIgr; + } + if (other.HasParentalControlsActive) { + ParentalControlsActive = other.ParentalControlsActive; + } + if (other.HasStartTimeSec) { + StartTimeSec = other.StartTimeSec; + } + if (other.igrId_ != null) { + if (igrId_ == null) { + IgrId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId(); + } + IgrId.MergeFrom(other.IgrId); + } + if (other.HasPlatformId) { + PlatformId = other.PlatformId; + } + if (other.HasIgrPaid) { + IgrPaid = other.IgrPaid; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + StartTime = input.ReadUInt32(); + break; + } + case 34: { + if (location_ == null) { + Location = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation(); + } + input.ReadMessage(Location); + break; + } + case 40: { + HasBenefactor = input.ReadBool(); + break; + } + case 48: { + IsUsingIgr = input.ReadBool(); + break; + } + case 56: { + ParentalControlsActive = input.ReadBool(); + break; + } + case 64: { + StartTimeSec = input.ReadUInt64(); + break; + } + case 74: { + if (igrId_ == null) { + IgrId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId(); + } + input.ReadMessage(IgrId); + break; + } + case 85: { + PlatformId = input.ReadFixed32(); + break; + } + case 88: { + IgrPaid = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + StartTime = input.ReadUInt32(); + break; + } + case 34: { + if (location_ == null) { + Location = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameSessionLocation(); + } + input.ReadMessage(Location); + break; + } + case 40: { + HasBenefactor = input.ReadBool(); + break; + } + case 48: { + IsUsingIgr = input.ReadBool(); + break; + } + case 56: { + ParentalControlsActive = input.ReadBool(); + break; + } + case 64: { + StartTimeSec = input.ReadUInt64(); + break; + } + case 74: { + if (igrId_ == null) { + IgrId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.IgrId(); + } + input.ReadMessage(IgrId); + break; + } + case 85: { + PlatformId = input.ReadFixed32(); + break; + } + case 88: { + IgrPaid = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameSessionUpdateInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameSessionUpdateInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[23]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionUpdateInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionUpdateInfo(GameSessionUpdateInfo other) : this() { + cais_ = other.cais_ != null ? other.cais_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionUpdateInfo Clone() { + return new GameSessionUpdateInfo(this); + } + + /// Field number for the "cais" field. + public const int CaisFieldNumber = 8; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS cais_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS Cais { + get { return cais_; } + set { + cais_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameSessionUpdateInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameSessionUpdateInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Cais, other.Cais)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (cais_ != null) hash ^= Cais.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (cais_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Cais); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (cais_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Cais); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (cais_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cais); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameSessionUpdateInfo other) { + if (other == null) { + return; + } + if (other.cais_ != null) { + if (cais_ == null) { + Cais = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS(); + } + Cais.MergeFrom(other.Cais); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 66: { + if (cais_ == null) { + Cais = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS(); + } + input.ReadMessage(Cais); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 66: { + if (cais_ == null) { + Cais = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.CAIS(); + } + input.ReadMessage(Cais); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameSessionLocation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameSessionLocation()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[24]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionLocation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionLocation(GameSessionLocation other) : this() { + _hasBits0 = other._hasBits0; + ipAddress_ = other.ipAddress_; + country_ = other.country_; + city_ = other.city_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameSessionLocation Clone() { + return new GameSessionLocation(this); + } + + /// Field number for the "ip_address" field. + public const int IpAddressFieldNumber = 1; + private readonly static string IpAddressDefaultValue = ""; + + private string ipAddress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IpAddress { + get { return ipAddress_ ?? IpAddressDefaultValue; } + set { + ipAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "ip_address" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIpAddress { + get { return ipAddress_ != null; } + } + /// Clears the value of the "ip_address" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIpAddress() { + ipAddress_ = null; + } + + /// Field number for the "country" field. + public const int CountryFieldNumber = 2; + private readonly static uint CountryDefaultValue = 0; + + private uint country_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Country { + get { if ((_hasBits0 & 1) != 0) { return country_; } else { return CountryDefaultValue; } } + set { + _hasBits0 |= 1; + country_ = value; + } + } + /// Gets whether the "country" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCountry { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "country" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCountry() { + _hasBits0 &= ~1; + } + + /// Field number for the "city" field. + public const int CityFieldNumber = 3; + private readonly static string CityDefaultValue = ""; + + private string city_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string City { + get { return city_ ?? CityDefaultValue; } + set { + city_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "city" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCity { + get { return city_ != null; } + } + /// Clears the value of the "city" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCity() { + city_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameSessionLocation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameSessionLocation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IpAddress != other.IpAddress) return false; + if (Country != other.Country) return false; + if (City != other.City) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIpAddress) hash ^= IpAddress.GetHashCode(); + if (HasCountry) hash ^= Country.GetHashCode(); + if (HasCity) hash ^= City.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIpAddress) { + output.WriteRawTag(10); + output.WriteString(IpAddress); + } + if (HasCountry) { + output.WriteRawTag(16); + output.WriteUInt32(Country); + } + if (HasCity) { + output.WriteRawTag(26); + output.WriteString(City); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIpAddress) { + output.WriteRawTag(10); + output.WriteString(IpAddress); + } + if (HasCountry) { + output.WriteRawTag(16); + output.WriteUInt32(Country); + } + if (HasCity) { + output.WriteRawTag(26); + output.WriteString(City); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIpAddress) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IpAddress); + } + if (HasCountry) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Country); + } + if (HasCity) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(City); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameSessionLocation other) { + if (other == null) { + return; + } + if (other.HasIpAddress) { + IpAddress = other.IpAddress; + } + if (other.HasCountry) { + Country = other.Country; + } + if (other.HasCity) { + City = other.City; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IpAddress = input.ReadString(); + break; + } + case 16: { + Country = input.ReadUInt32(); + break; + } + case 26: { + City = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IpAddress = input.ReadString(); + break; + } + case 16: { + Country = input.ReadUInt32(); + break; + } + case 26: { + City = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CAIS : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CAIS()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[25]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CAIS() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CAIS(CAIS other) : this() { + _hasBits0 = other._hasBits0; + playedMinutes_ = other.playedMinutes_; + restedMinutes_ = other.restedMinutes_; + lastHeardTime_ = other.lastHeardTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CAIS Clone() { + return new CAIS(this); + } + + /// Field number for the "played_minutes" field. + public const int PlayedMinutesFieldNumber = 1; + private readonly static uint PlayedMinutesDefaultValue = 0; + + private uint playedMinutes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PlayedMinutes { + get { if ((_hasBits0 & 1) != 0) { return playedMinutes_; } else { return PlayedMinutesDefaultValue; } } + set { + _hasBits0 |= 1; + playedMinutes_ = value; + } + } + /// Gets whether the "played_minutes" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPlayedMinutes { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "played_minutes" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPlayedMinutes() { + _hasBits0 &= ~1; + } + + /// Field number for the "rested_minutes" field. + public const int RestedMinutesFieldNumber = 2; + private readonly static uint RestedMinutesDefaultValue = 0; + + private uint restedMinutes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RestedMinutes { + get { if ((_hasBits0 & 2) != 0) { return restedMinutes_; } else { return RestedMinutesDefaultValue; } } + set { + _hasBits0 |= 2; + restedMinutes_ = value; + } + } + /// Gets whether the "rested_minutes" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRestedMinutes { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "rested_minutes" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRestedMinutes() { + _hasBits0 &= ~2; + } + + /// Field number for the "last_heard_time" field. + public const int LastHeardTimeFieldNumber = 3; + private readonly static ulong LastHeardTimeDefaultValue = 0UL; + + private ulong lastHeardTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LastHeardTime { + get { if ((_hasBits0 & 4) != 0) { return lastHeardTime_; } else { return LastHeardTimeDefaultValue; } } + set { + _hasBits0 |= 4; + lastHeardTime_ = value; + } + } + /// Gets whether the "last_heard_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLastHeardTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "last_heard_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLastHeardTime() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CAIS); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CAIS other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlayedMinutes != other.PlayedMinutes) return false; + if (RestedMinutes != other.RestedMinutes) return false; + if (LastHeardTime != other.LastHeardTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPlayedMinutes) hash ^= PlayedMinutes.GetHashCode(); + if (HasRestedMinutes) hash ^= RestedMinutes.GetHashCode(); + if (HasLastHeardTime) hash ^= LastHeardTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPlayedMinutes) { + output.WriteRawTag(8); + output.WriteUInt32(PlayedMinutes); + } + if (HasRestedMinutes) { + output.WriteRawTag(16); + output.WriteUInt32(RestedMinutes); + } + if (HasLastHeardTime) { + output.WriteRawTag(24); + output.WriteUInt64(LastHeardTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPlayedMinutes) { + output.WriteRawTag(8); + output.WriteUInt32(PlayedMinutes); + } + if (HasRestedMinutes) { + output.WriteRawTag(16); + output.WriteUInt32(RestedMinutes); + } + if (HasLastHeardTime) { + output.WriteRawTag(24); + output.WriteUInt64(LastHeardTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPlayedMinutes) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlayedMinutes); + } + if (HasRestedMinutes) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RestedMinutes); + } + if (HasLastHeardTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LastHeardTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CAIS other) { + if (other == null) { + return; + } + if (other.HasPlayedMinutes) { + PlayedMinutes = other.PlayedMinutes; + } + if (other.HasRestedMinutes) { + RestedMinutes = other.RestedMinutes; + } + if (other.HasLastHeardTime) { + LastHeardTime = other.LastHeardTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PlayedMinutes = input.ReadUInt32(); + break; + } + case 16: { + RestedMinutes = input.ReadUInt32(); + break; + } + case 24: { + LastHeardTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlayedMinutes = input.ReadUInt32(); + break; + } + case 16: { + RestedMinutes = input.ReadUInt32(); + break; + } + case 24: { + LastHeardTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountList()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[26]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountList(GameAccountList other) : this() { + _hasBits0 = other._hasBits0; + region_ = other.region_; + handle_ = other.handle_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountList Clone() { + return new GameAccountList(this); + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 3; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 1) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 1; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~1; + } + + /// Field number for the "handle" field. + public const int HandleFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_handle_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle.Parser); + private readonly pbc::RepeatedField handle_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Handle { + get { return handle_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Region != other.Region) return false; + if(!handle_.Equals(other.handle_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRegion) hash ^= Region.GetHashCode(); + hash ^= handle_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRegion) { + output.WriteRawTag(24); + output.WriteUInt32(Region); + } + handle_.WriteTo(output, _repeated_handle_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRegion) { + output.WriteRawTag(24); + output.WriteUInt32(Region); + } + handle_.WriteTo(ref output, _repeated_handle_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region); + } + size += handle_.CalculateSize(_repeated_handle_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountList other) { + if (other == null) { + return; + } + if (other.HasRegion) { + Region = other.Region; + } + handle_.Add(other.handle_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + Region = input.ReadUInt32(); + break; + } + case 34: { + handle_.AddEntriesFrom(input, _repeated_handle_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + Region = input.ReadUInt32(); + break; + } + case 34: { + handle_.AddEntriesFrom(ref input, _repeated_handle_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SecurityStatus : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SecurityStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[27]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SecurityStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SecurityStatus(SecurityStatus other) : this() { + _hasBits0 = other._hasBits0; + smsProtectEnabled_ = other.smsProtectEnabled_; + emailVerified_ = other.emailVerified_; + authenticatorEnabled_ = other.authenticatorEnabled_; + sqaEnabled_ = other.sqaEnabled_; + authenticatorRequired_ = other.authenticatorRequired_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SecurityStatus Clone() { + return new SecurityStatus(this); + } + + /// Field number for the "sms_protect_enabled" field. + public const int SmsProtectEnabledFieldNumber = 1; + private readonly static bool SmsProtectEnabledDefaultValue = false; + + private bool smsProtectEnabled_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SmsProtectEnabled { + get { if ((_hasBits0 & 1) != 0) { return smsProtectEnabled_; } else { return SmsProtectEnabledDefaultValue; } } + set { + _hasBits0 |= 1; + smsProtectEnabled_ = value; + } + } + /// Gets whether the "sms_protect_enabled" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSmsProtectEnabled { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "sms_protect_enabled" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSmsProtectEnabled() { + _hasBits0 &= ~1; + } + + /// Field number for the "email_verified" field. + public const int EmailVerifiedFieldNumber = 2; + private readonly static bool EmailVerifiedDefaultValue = false; + + private bool emailVerified_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EmailVerified { + get { if ((_hasBits0 & 2) != 0) { return emailVerified_; } else { return EmailVerifiedDefaultValue; } } + set { + _hasBits0 |= 2; + emailVerified_ = value; + } + } + /// Gets whether the "email_verified" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEmailVerified { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "email_verified" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEmailVerified() { + _hasBits0 &= ~2; + } + + /// Field number for the "authenticator_enabled" field. + public const int AuthenticatorEnabledFieldNumber = 3; + private readonly static bool AuthenticatorEnabledDefaultValue = false; + + private bool authenticatorEnabled_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AuthenticatorEnabled { + get { if ((_hasBits0 & 4) != 0) { return authenticatorEnabled_; } else { return AuthenticatorEnabledDefaultValue; } } + set { + _hasBits0 |= 4; + authenticatorEnabled_ = value; + } + } + /// Gets whether the "authenticator_enabled" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAuthenticatorEnabled { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "authenticator_enabled" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAuthenticatorEnabled() { + _hasBits0 &= ~4; + } + + /// Field number for the "sqa_enabled" field. + public const int SqaEnabledFieldNumber = 4; + private readonly static bool SqaEnabledDefaultValue = false; + + private bool sqaEnabled_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SqaEnabled { + get { if ((_hasBits0 & 8) != 0) { return sqaEnabled_; } else { return SqaEnabledDefaultValue; } } + set { + _hasBits0 |= 8; + sqaEnabled_ = value; + } + } + /// Gets whether the "sqa_enabled" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSqaEnabled { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "sqa_enabled" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSqaEnabled() { + _hasBits0 &= ~8; + } + + /// Field number for the "authenticator_required" field. + public const int AuthenticatorRequiredFieldNumber = 5; + private readonly static bool AuthenticatorRequiredDefaultValue = false; + + private bool authenticatorRequired_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AuthenticatorRequired { + get { if ((_hasBits0 & 16) != 0) { return authenticatorRequired_; } else { return AuthenticatorRequiredDefaultValue; } } + set { + _hasBits0 |= 16; + authenticatorRequired_ = value; + } + } + /// Gets whether the "authenticator_required" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAuthenticatorRequired { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "authenticator_required" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAuthenticatorRequired() { + _hasBits0 &= ~16; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SecurityStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SecurityStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SmsProtectEnabled != other.SmsProtectEnabled) return false; + if (EmailVerified != other.EmailVerified) return false; + if (AuthenticatorEnabled != other.AuthenticatorEnabled) return false; + if (SqaEnabled != other.SqaEnabled) return false; + if (AuthenticatorRequired != other.AuthenticatorRequired) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSmsProtectEnabled) hash ^= SmsProtectEnabled.GetHashCode(); + if (HasEmailVerified) hash ^= EmailVerified.GetHashCode(); + if (HasAuthenticatorEnabled) hash ^= AuthenticatorEnabled.GetHashCode(); + if (HasSqaEnabled) hash ^= SqaEnabled.GetHashCode(); + if (HasAuthenticatorRequired) hash ^= AuthenticatorRequired.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSmsProtectEnabled) { + output.WriteRawTag(8); + output.WriteBool(SmsProtectEnabled); + } + if (HasEmailVerified) { + output.WriteRawTag(16); + output.WriteBool(EmailVerified); + } + if (HasAuthenticatorEnabled) { + output.WriteRawTag(24); + output.WriteBool(AuthenticatorEnabled); + } + if (HasSqaEnabled) { + output.WriteRawTag(32); + output.WriteBool(SqaEnabled); + } + if (HasAuthenticatorRequired) { + output.WriteRawTag(40); + output.WriteBool(AuthenticatorRequired); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSmsProtectEnabled) { + output.WriteRawTag(8); + output.WriteBool(SmsProtectEnabled); + } + if (HasEmailVerified) { + output.WriteRawTag(16); + output.WriteBool(EmailVerified); + } + if (HasAuthenticatorEnabled) { + output.WriteRawTag(24); + output.WriteBool(AuthenticatorEnabled); + } + if (HasSqaEnabled) { + output.WriteRawTag(32); + output.WriteBool(SqaEnabled); + } + if (HasAuthenticatorRequired) { + output.WriteRawTag(40); + output.WriteBool(AuthenticatorRequired); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSmsProtectEnabled) { + size += 1 + 1; + } + if (HasEmailVerified) { + size += 1 + 1; + } + if (HasAuthenticatorEnabled) { + size += 1 + 1; + } + if (HasSqaEnabled) { + size += 1 + 1; + } + if (HasAuthenticatorRequired) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SecurityStatus other) { + if (other == null) { + return; + } + if (other.HasSmsProtectEnabled) { + SmsProtectEnabled = other.SmsProtectEnabled; + } + if (other.HasEmailVerified) { + EmailVerified = other.EmailVerified; + } + if (other.HasAuthenticatorEnabled) { + AuthenticatorEnabled = other.AuthenticatorEnabled; + } + if (other.HasSqaEnabled) { + SqaEnabled = other.SqaEnabled; + } + if (other.HasAuthenticatorRequired) { + AuthenticatorRequired = other.AuthenticatorRequired; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SmsProtectEnabled = input.ReadBool(); + break; + } + case 16: { + EmailVerified = input.ReadBool(); + break; + } + case 24: { + AuthenticatorEnabled = input.ReadBool(); + break; + } + case 32: { + SqaEnabled = input.ReadBool(); + break; + } + case 40: { + AuthenticatorRequired = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SmsProtectEnabled = input.ReadBool(); + break; + } + case 16: { + EmailVerified = input.ReadBool(); + break; + } + case 24: { + AuthenticatorEnabled = input.ReadBool(); + break; + } + case 32: { + SqaEnabled = input.ReadBool(); + break; + } + case 40: { + AuthenticatorRequired = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[28]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountState(AccountState other) : this() { + accountLevelInfo_ = other.accountLevelInfo_ != null ? other.accountLevelInfo_.Clone() : null; + privacyInfo_ = other.privacyInfo_ != null ? other.privacyInfo_.Clone() : null; + parentalControlInfo_ = other.parentalControlInfo_ != null ? other.parentalControlInfo_.Clone() : null; + gameLevelInfo_ = other.gameLevelInfo_.Clone(); + gameStatus_ = other.gameStatus_.Clone(); + gameAccounts_ = other.gameAccounts_.Clone(); + securityStatus_ = other.securityStatus_ != null ? other.securityStatus_.Clone() : null; + governmentCurfew_ = other.governmentCurfew_ != null ? other.governmentCurfew_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountState Clone() { + return new AccountState(this); + } + + /// Field number for the "account_level_info" field. + public const int AccountLevelInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo accountLevelInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo AccountLevelInfo { + get { return accountLevelInfo_; } + set { + accountLevelInfo_ = value; + } + } + + /// Field number for the "privacy_info" field. + public const int PrivacyInfoFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo privacyInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo PrivacyInfo { + get { return privacyInfo_; } + set { + privacyInfo_ = value; + } + } + + /// Field number for the "parental_control_info" field. + public const int ParentalControlInfoFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo parentalControlInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo ParentalControlInfo { + get { return parentalControlInfo_; } + set { + parentalControlInfo_ = value; + } + } + + /// Field number for the "game_level_info" field. + public const int GameLevelInfoFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_gameLevelInfo_codec + = pb::FieldCodec.ForMessage(42, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo.Parser); + private readonly pbc::RepeatedField gameLevelInfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameLevelInfo { + get { return gameLevelInfo_; } + } + + /// Field number for the "game_status" field. + public const int GameStatusFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_gameStatus_codec + = pb::FieldCodec.ForMessage(50, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus.Parser); + private readonly pbc::RepeatedField gameStatus_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameStatus { + get { return gameStatus_; } + } + + /// Field number for the "game_accounts" field. + public const int GameAccountsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_gameAccounts_codec + = pb::FieldCodec.ForMessage(58, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountList.Parser); + private readonly pbc::RepeatedField gameAccounts_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameAccounts { + get { return gameAccounts_; } + } + + /// Field number for the "security_status" field. + public const int SecurityStatusFieldNumber = 8; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus securityStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus SecurityStatus { + get { return securityStatus_; } + set { + securityStatus_ = value; + } + } + + /// Field number for the "government_curfew" field. + public const int GovernmentCurfewFieldNumber = 9; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction governmentCurfew_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction GovernmentCurfew { + get { return governmentCurfew_; } + set { + governmentCurfew_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountLevelInfo, other.AccountLevelInfo)) return false; + if (!object.Equals(PrivacyInfo, other.PrivacyInfo)) return false; + if (!object.Equals(ParentalControlInfo, other.ParentalControlInfo)) return false; + if(!gameLevelInfo_.Equals(other.gameLevelInfo_)) return false; + if(!gameStatus_.Equals(other.gameStatus_)) return false; + if(!gameAccounts_.Equals(other.gameAccounts_)) return false; + if (!object.Equals(SecurityStatus, other.SecurityStatus)) return false; + if (!object.Equals(GovernmentCurfew, other.GovernmentCurfew)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountLevelInfo_ != null) hash ^= AccountLevelInfo.GetHashCode(); + if (privacyInfo_ != null) hash ^= PrivacyInfo.GetHashCode(); + if (parentalControlInfo_ != null) hash ^= ParentalControlInfo.GetHashCode(); + hash ^= gameLevelInfo_.GetHashCode(); + hash ^= gameStatus_.GetHashCode(); + hash ^= gameAccounts_.GetHashCode(); + if (securityStatus_ != null) hash ^= SecurityStatus.GetHashCode(); + if (governmentCurfew_ != null) hash ^= GovernmentCurfew.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountLevelInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountLevelInfo); + } + if (privacyInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PrivacyInfo); + } + if (parentalControlInfo_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ParentalControlInfo); + } + gameLevelInfo_.WriteTo(output, _repeated_gameLevelInfo_codec); + gameStatus_.WriteTo(output, _repeated_gameStatus_codec); + gameAccounts_.WriteTo(output, _repeated_gameAccounts_codec); + if (securityStatus_ != null) { + output.WriteRawTag(66); + output.WriteMessage(SecurityStatus); + } + if (governmentCurfew_ != null) { + output.WriteRawTag(74); + output.WriteMessage(GovernmentCurfew); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountLevelInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountLevelInfo); + } + if (privacyInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PrivacyInfo); + } + if (parentalControlInfo_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ParentalControlInfo); + } + gameLevelInfo_.WriteTo(ref output, _repeated_gameLevelInfo_codec); + gameStatus_.WriteTo(ref output, _repeated_gameStatus_codec); + gameAccounts_.WriteTo(ref output, _repeated_gameAccounts_codec); + if (securityStatus_ != null) { + output.WriteRawTag(66); + output.WriteMessage(SecurityStatus); + } + if (governmentCurfew_ != null) { + output.WriteRawTag(74); + output.WriteMessage(GovernmentCurfew); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountLevelInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountLevelInfo); + } + if (privacyInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PrivacyInfo); + } + if (parentalControlInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ParentalControlInfo); + } + size += gameLevelInfo_.CalculateSize(_repeated_gameLevelInfo_codec); + size += gameStatus_.CalculateSize(_repeated_gameStatus_codec); + size += gameAccounts_.CalculateSize(_repeated_gameAccounts_codec); + if (securityStatus_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SecurityStatus); + } + if (governmentCurfew_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GovernmentCurfew); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountState other) { + if (other == null) { + return; + } + if (other.accountLevelInfo_ != null) { + if (accountLevelInfo_ == null) { + AccountLevelInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo(); + } + AccountLevelInfo.MergeFrom(other.AccountLevelInfo); + } + if (other.privacyInfo_ != null) { + if (privacyInfo_ == null) { + PrivacyInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo(); + } + PrivacyInfo.MergeFrom(other.PrivacyInfo); + } + if (other.parentalControlInfo_ != null) { + if (parentalControlInfo_ == null) { + ParentalControlInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo(); + } + ParentalControlInfo.MergeFrom(other.ParentalControlInfo); + } + gameLevelInfo_.Add(other.gameLevelInfo_); + gameStatus_.Add(other.gameStatus_); + gameAccounts_.Add(other.gameAccounts_); + if (other.securityStatus_ != null) { + if (securityStatus_ == null) { + SecurityStatus = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus(); + } + SecurityStatus.MergeFrom(other.SecurityStatus); + } + if (other.governmentCurfew_ != null) { + if (governmentCurfew_ == null) { + GovernmentCurfew = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction(); + } + GovernmentCurfew.MergeFrom(other.GovernmentCurfew); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountLevelInfo_ == null) { + AccountLevelInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo(); + } + input.ReadMessage(AccountLevelInfo); + break; + } + case 18: { + if (privacyInfo_ == null) { + PrivacyInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo(); + } + input.ReadMessage(PrivacyInfo); + break; + } + case 26: { + if (parentalControlInfo_ == null) { + ParentalControlInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo(); + } + input.ReadMessage(ParentalControlInfo); + break; + } + case 42: { + gameLevelInfo_.AddEntriesFrom(input, _repeated_gameLevelInfo_codec); + break; + } + case 50: { + gameStatus_.AddEntriesFrom(input, _repeated_gameStatus_codec); + break; + } + case 58: { + gameAccounts_.AddEntriesFrom(input, _repeated_gameAccounts_codec); + break; + } + case 66: { + if (securityStatus_ == null) { + SecurityStatus = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus(); + } + input.ReadMessage(SecurityStatus); + break; + } + case 74: { + if (governmentCurfew_ == null) { + GovernmentCurfew = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction(); + } + input.ReadMessage(GovernmentCurfew); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountLevelInfo_ == null) { + AccountLevelInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountLevelInfo(); + } + input.ReadMessage(AccountLevelInfo); + break; + } + case 18: { + if (privacyInfo_ == null) { + PrivacyInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PrivacyInfo(); + } + input.ReadMessage(PrivacyInfo); + break; + } + case 26: { + if (parentalControlInfo_ == null) { + ParentalControlInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.ParentalControlInfo(); + } + input.ReadMessage(ParentalControlInfo); + break; + } + case 42: { + gameLevelInfo_.AddEntriesFrom(ref input, _repeated_gameLevelInfo_codec); + break; + } + case 50: { + gameStatus_.AddEntriesFrom(ref input, _repeated_gameStatus_codec); + break; + } + case 58: { + gameAccounts_.AddEntriesFrom(ref input, _repeated_gameAccounts_codec); + break; + } + case 66: { + if (securityStatus_ == null) { + SecurityStatus = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.SecurityStatus(); + } + input.ReadMessage(SecurityStatus); + break; + } + case 74: { + if (governmentCurfew_ == null) { + GovernmentCurfew = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.PlayScheduleRestriction(); + } + input.ReadMessage(GovernmentCurfew); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountStateTagged : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountStateTagged()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[29]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountStateTagged() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountStateTagged(AccountStateTagged other) : this() { + accountState_ = other.accountState_ != null ? other.accountState_.Clone() : null; + accountTags_ = other.accountTags_ != null ? other.accountTags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountStateTagged Clone() { + return new AccountStateTagged(this); + } + + /// Field number for the "account_state" field. + public const int AccountStateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState accountState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState AccountState { + get { return accountState_; } + set { + accountState_ = value; + } + } + + /// Field number for the "account_tags" field. + public const int AccountTagsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags accountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags AccountTags { + get { return accountTags_; } + set { + accountTags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountStateTagged); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountStateTagged other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountState, other.AccountState)) return false; + if (!object.Equals(AccountTags, other.AccountTags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountState_ != null) hash ^= AccountState.GetHashCode(); + if (accountTags_ != null) hash ^= AccountTags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountState); + } + if (accountTags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AccountTags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountState); + } + if (accountTags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AccountTags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountState_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountState); + } + if (accountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountTags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountStateTagged other) { + if (other == null) { + return; + } + if (other.accountState_ != null) { + if (accountState_ == null) { + AccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + AccountState.MergeFrom(other.AccountState); + } + if (other.accountTags_ != null) { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + AccountTags.MergeFrom(other.AccountTags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountState_ == null) { + AccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + input.ReadMessage(AccountState); + break; + } + case 18: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountState_ == null) { + AccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountState(); + } + input.ReadMessage(AccountState); + break; + } + case 18: { + if (accountTags_ == null) { + AccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountFieldTags(); + } + input.ReadMessage(AccountTags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[30]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountState(GameAccountState other) : this() { + gameLevelInfo_ = other.gameLevelInfo_ != null ? other.gameLevelInfo_.Clone() : null; + gameTimeInfo_ = other.gameTimeInfo_ != null ? other.gameTimeInfo_.Clone() : null; + gameStatus_ = other.gameStatus_ != null ? other.gameStatus_.Clone() : null; + rafInfo_ = other.rafInfo_ != null ? other.rafInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountState Clone() { + return new GameAccountState(this); + } + + /// Field number for the "game_level_info" field. + public const int GameLevelInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo gameLevelInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo GameLevelInfo { + get { return gameLevelInfo_; } + set { + gameLevelInfo_ = value; + } + } + + /// Field number for the "game_time_info" field. + public const int GameTimeInfoFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo gameTimeInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo GameTimeInfo { + get { return gameTimeInfo_; } + set { + gameTimeInfo_ = value; + } + } + + /// Field number for the "game_status" field. + public const int GameStatusFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus gameStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus GameStatus { + get { return gameStatus_; } + set { + gameStatus_ = value; + } + } + + /// Field number for the "raf_info" field. + public const int RafInfoFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo rafInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo RafInfo { + get { return rafInfo_; } + set { + rafInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameLevelInfo, other.GameLevelInfo)) return false; + if (!object.Equals(GameTimeInfo, other.GameTimeInfo)) return false; + if (!object.Equals(GameStatus, other.GameStatus)) return false; + if (!object.Equals(RafInfo, other.RafInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameLevelInfo_ != null) hash ^= GameLevelInfo.GetHashCode(); + if (gameTimeInfo_ != null) hash ^= GameTimeInfo.GetHashCode(); + if (gameStatus_ != null) hash ^= GameStatus.GetHashCode(); + if (rafInfo_ != null) hash ^= RafInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameLevelInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameLevelInfo); + } + if (gameTimeInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameTimeInfo); + } + if (gameStatus_ != null) { + output.WriteRawTag(26); + output.WriteMessage(GameStatus); + } + if (rafInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(RafInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameLevelInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameLevelInfo); + } + if (gameTimeInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameTimeInfo); + } + if (gameStatus_ != null) { + output.WriteRawTag(26); + output.WriteMessage(GameStatus); + } + if (rafInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(RafInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameLevelInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameLevelInfo); + } + if (gameTimeInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameTimeInfo); + } + if (gameStatus_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameStatus); + } + if (rafInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RafInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountState other) { + if (other == null) { + return; + } + if (other.gameLevelInfo_ != null) { + if (gameLevelInfo_ == null) { + GameLevelInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo(); + } + GameLevelInfo.MergeFrom(other.GameLevelInfo); + } + if (other.gameTimeInfo_ != null) { + if (gameTimeInfo_ == null) { + GameTimeInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo(); + } + GameTimeInfo.MergeFrom(other.GameTimeInfo); + } + if (other.gameStatus_ != null) { + if (gameStatus_ == null) { + GameStatus = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus(); + } + GameStatus.MergeFrom(other.GameStatus); + } + if (other.rafInfo_ != null) { + if (rafInfo_ == null) { + RafInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo(); + } + RafInfo.MergeFrom(other.RafInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameLevelInfo_ == null) { + GameLevelInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo(); + } + input.ReadMessage(GameLevelInfo); + break; + } + case 18: { + if (gameTimeInfo_ == null) { + GameTimeInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo(); + } + input.ReadMessage(GameTimeInfo); + break; + } + case 26: { + if (gameStatus_ == null) { + GameStatus = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus(); + } + input.ReadMessage(GameStatus); + break; + } + case 34: { + if (rafInfo_ == null) { + RafInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo(); + } + input.ReadMessage(RafInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameLevelInfo_ == null) { + GameLevelInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameLevelInfo(); + } + input.ReadMessage(GameLevelInfo); + break; + } + case 18: { + if (gameTimeInfo_ == null) { + GameTimeInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameTimeInfo(); + } + input.ReadMessage(GameTimeInfo); + break; + } + case 26: { + if (gameStatus_ == null) { + GameStatus = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameStatus(); + } + input.ReadMessage(GameStatus); + break; + } + case 34: { + if (rafInfo_ == null) { + RafInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RAFInfo(); + } + input.ReadMessage(RafInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountStateTagged : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountStateTagged()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[31]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountStateTagged() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountStateTagged(GameAccountStateTagged other) : this() { + gameAccountState_ = other.gameAccountState_ != null ? other.gameAccountState_.Clone() : null; + gameAccountTags_ = other.gameAccountTags_ != null ? other.gameAccountTags_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountStateTagged Clone() { + return new GameAccountStateTagged(this); + } + + /// Field number for the "game_account_state" field. + public const int GameAccountStateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState gameAccountState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState GameAccountState { + get { return gameAccountState_; } + set { + gameAccountState_ = value; + } + } + + /// Field number for the "game_account_tags" field. + public const int GameAccountTagsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags gameAccountTags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags GameAccountTags { + get { return gameAccountTags_; } + set { + gameAccountTags_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountStateTagged); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountStateTagged other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccountState, other.GameAccountState)) return false; + if (!object.Equals(GameAccountTags, other.GameAccountTags)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccountState_ != null) hash ^= GameAccountState.GetHashCode(); + if (gameAccountTags_ != null) hash ^= GameAccountTags.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountState); + } + if (gameAccountTags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountTags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccountState_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountState); + } + if (gameAccountTags_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountTags); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccountState_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountState); + } + if (gameAccountTags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountTags); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountStateTagged other) { + if (other == null) { + return; + } + if (other.gameAccountState_ != null) { + if (gameAccountState_ == null) { + GameAccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + GameAccountState.MergeFrom(other.GameAccountState); + } + if (other.gameAccountTags_ != null) { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + GameAccountTags.MergeFrom(other.GameAccountTags); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccountState_ == null) { + GameAccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + input.ReadMessage(GameAccountState); + break; + } + case 18: { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(GameAccountTags); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccountState_ == null) { + GameAccountState = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountState(); + } + input.ReadMessage(GameAccountState); + break; + } + case 18: { + if (gameAccountTags_ == null) { + GameAccountTags = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountFieldTags(); + } + input.ReadMessage(GameAccountTags); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AuthorizedData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuthorizedData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[32]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuthorizedData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuthorizedData(AuthorizedData other) : this() { + data_ = other.data_; + license_ = other.license_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuthorizedData Clone() { + return new AuthorizedData(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private readonly static string DataDefaultValue = ""; + + private string data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Data { + get { return data_ ?? DataDefaultValue; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "data" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasData { + get { return data_ != null; } + } + /// Clears the value of the "data" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + data_ = null; + } + + /// Field number for the "license" field. + public const int LicenseFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_license_codec + = pb::FieldCodec.ForUInt32(16); + private readonly pbc::RepeatedField license_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField License { + get { return license_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AuthorizedData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AuthorizedData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Data != other.Data) return false; + if(!license_.Equals(other.license_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasData) hash ^= Data.GetHashCode(); + hash ^= license_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasData) { + output.WriteRawTag(10); + output.WriteString(Data); + } + license_.WriteTo(output, _repeated_license_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasData) { + output.WriteRawTag(10); + output.WriteString(Data); + } + license_.WriteTo(ref output, _repeated_license_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); + } + size += license_.CalculateSize(_repeated_license_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AuthorizedData other) { + if (other == null) { + return; + } + if (other.HasData) { + Data = other.Data; + } + license_.Add(other.license_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Data = input.ReadString(); + break; + } + case 18: + case 16: { + license_.AddEntriesFrom(input, _repeated_license_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Data = input.ReadString(); + break; + } + case 18: + case 16: { + license_.AddEntriesFrom(ref input, _repeated_license_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IgrId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IgrId()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[33]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgrId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgrId(IgrId other) : this() { + switch (other.TypeCase) { + case TypeOneofCase.GameAccount: + GameAccount = other.GameAccount.Clone(); + break; + case TypeOneofCase.ExternalId: + ExternalId = other.ExternalId; + break; + case TypeOneofCase.Uuid: + Uuid = other.Uuid; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgrId Clone() { + return new IgrId(this); + } + + /// Field number for the "game_account" field. + public const int GameAccountFieldNumber = 1; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle GameAccount { + get { return typeCase_ == TypeOneofCase.GameAccount ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.GameAccount; + } + } + + /// Field number for the "external_id" field. + public const int ExternalIdFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ExternalId { + get { return HasExternalId ? (uint) type_ : 0; } + set { + type_ = value; + typeCase_ = TypeOneofCase.ExternalId; + } + } + /// Gets whether the "external_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExternalId { + get { return typeCase_ == TypeOneofCase.ExternalId; } + } + /// Clears the value of the oneof if it's currently set to "external_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExternalId() { + if (HasExternalId) { + ClearType(); + } + } + + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return HasUuid ? (string) type_ : ""; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + typeCase_ = TypeOneofCase.Uuid; + } + } + /// Gets whether the "uuid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUuid { + get { return typeCase_ == TypeOneofCase.Uuid; } + } + /// Clears the value of the oneof if it's currently set to "uuid" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUuid() { + if (HasUuid) { + ClearType(); + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + GameAccount = 1, + ExternalId = 2, + Uuid = 3, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IgrId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IgrId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccount, other.GameAccount)) return false; + if (ExternalId != other.ExternalId) return false; + if (Uuid != other.Uuid) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (typeCase_ == TypeOneofCase.GameAccount) hash ^= GameAccount.GetHashCode(); + if (HasExternalId) hash ^= ExternalId.GetHashCode(); + if (HasUuid) hash ^= Uuid.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (typeCase_ == TypeOneofCase.GameAccount) { + output.WriteRawTag(10); + output.WriteMessage(GameAccount); + } + if (HasExternalId) { + output.WriteRawTag(21); + output.WriteFixed32(ExternalId); + } + if (HasUuid) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (typeCase_ == TypeOneofCase.GameAccount) { + output.WriteRawTag(10); + output.WriteMessage(GameAccount); + } + if (HasExternalId) { + output.WriteRawTag(21); + output.WriteFixed32(ExternalId); + } + if (HasUuid) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (typeCase_ == TypeOneofCase.GameAccount) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccount); + } + if (HasExternalId) { + size += 1 + 4; + } + if (HasUuid) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IgrId other) { + if (other == null) { + return; + } + switch (other.TypeCase) { + case TypeOneofCase.GameAccount: + if (GameAccount == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + GameAccount.MergeFrom(other.GameAccount); + break; + case TypeOneofCase.ExternalId: + ExternalId = other.ExternalId; + break; + case TypeOneofCase.Uuid: + Uuid = other.Uuid; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + if (typeCase_ == TypeOneofCase.GameAccount) { + subBuilder.MergeFrom(GameAccount); + } + input.ReadMessage(subBuilder); + GameAccount = subBuilder; + break; + } + case 21: { + ExternalId = input.ReadFixed32(); + break; + } + case 26: { + Uuid = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + if (typeCase_ == TypeOneofCase.GameAccount) { + subBuilder.MergeFrom(GameAccount); + } + input.ReadMessage(subBuilder); + GameAccount = subBuilder; + break; + } + case 21: { + ExternalId = input.ReadFixed32(); + break; + } + case 26: { + Uuid = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IgrAddress : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IgrAddress()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[34]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgrAddress() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgrAddress(IgrAddress other) : this() { + _hasBits0 = other._hasBits0; + clientAddress_ = other.clientAddress_; + region_ = other.region_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgrAddress Clone() { + return new IgrAddress(this); + } + + /// Field number for the "client_address" field. + public const int ClientAddressFieldNumber = 1; + private readonly static string ClientAddressDefaultValue = ""; + + private string clientAddress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientAddress { + get { return clientAddress_ ?? ClientAddressDefaultValue; } + set { + clientAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_address" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientAddress { + get { return clientAddress_ != null; } + } + /// Clears the value of the "client_address" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientAddress() { + clientAddress_ = null; + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 2; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 1) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 1; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IgrAddress); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IgrAddress other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClientAddress != other.ClientAddress) return false; + if (Region != other.Region) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClientAddress) hash ^= ClientAddress.GetHashCode(); + if (HasRegion) hash ^= Region.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClientAddress) { + output.WriteRawTag(10); + output.WriteString(ClientAddress); + } + if (HasRegion) { + output.WriteRawTag(16); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClientAddress) { + output.WriteRawTag(10); + output.WriteString(ClientAddress); + } + if (HasRegion) { + output.WriteRawTag(16); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClientAddress) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientAddress); + } + if (HasRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IgrAddress other) { + if (other == null) { + return; + } + if (other.HasClientAddress) { + ClientAddress = other.ClientAddress; + } + if (other.HasRegion) { + Region = other.Region; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ClientAddress = input.ReadString(); + break; + } + case 16: { + Region = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ClientAddress = input.ReadString(); + break; + } + case 16: { + Region = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountPrivacySetting : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountPrivacySetting()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[35]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountPrivacySetting() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountPrivacySetting(AccountPrivacySetting other) : this() { + _hasBits0 = other._hasBits0; + isUsingRid_ = other.isUsingRid_; + isVisibleForViewFriends_ = other.isVisibleForViewFriends_; + isHiddenFromFriendFinder_ = other.isHiddenFromFriendFinder_; + onlyAllowFriendWhispers_ = other.onlyAllowFriendWhispers_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountPrivacySetting Clone() { + return new AccountPrivacySetting(this); + } + + /// Field number for the "is_using_rid" field. + public const int IsUsingRidFieldNumber = 1; + private readonly static bool IsUsingRidDefaultValue = false; + + private bool isUsingRid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUsingRid { + get { if ((_hasBits0 & 1) != 0) { return isUsingRid_; } else { return IsUsingRidDefaultValue; } } + set { + _hasBits0 |= 1; + isUsingRid_ = value; + } + } + /// Gets whether the "is_using_rid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsUsingRid { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "is_using_rid" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsUsingRid() { + _hasBits0 &= ~1; + } + + /// Field number for the "is_visible_for_view_friends" field. + public const int IsVisibleForViewFriendsFieldNumber = 2; + private readonly static bool IsVisibleForViewFriendsDefaultValue = false; + + private bool isVisibleForViewFriends_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsVisibleForViewFriends { + get { if ((_hasBits0 & 2) != 0) { return isVisibleForViewFriends_; } else { return IsVisibleForViewFriendsDefaultValue; } } + set { + _hasBits0 |= 2; + isVisibleForViewFriends_ = value; + } + } + /// Gets whether the "is_visible_for_view_friends" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsVisibleForViewFriends { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "is_visible_for_view_friends" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsVisibleForViewFriends() { + _hasBits0 &= ~2; + } + + /// Field number for the "is_hidden_from_friend_finder" field. + public const int IsHiddenFromFriendFinderFieldNumber = 3; + private readonly static bool IsHiddenFromFriendFinderDefaultValue = false; + + private bool isHiddenFromFriendFinder_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsHiddenFromFriendFinder { + get { if ((_hasBits0 & 4) != 0) { return isHiddenFromFriendFinder_; } else { return IsHiddenFromFriendFinderDefaultValue; } } + set { + _hasBits0 |= 4; + isHiddenFromFriendFinder_ = value; + } + } + /// Gets whether the "is_hidden_from_friend_finder" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsHiddenFromFriendFinder { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "is_hidden_from_friend_finder" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsHiddenFromFriendFinder() { + _hasBits0 &= ~4; + } + + /// Field number for the "only_allow_friend_whispers" field. + public const int OnlyAllowFriendWhispersFieldNumber = 4; + private readonly static bool OnlyAllowFriendWhispersDefaultValue = false; + + private bool onlyAllowFriendWhispers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool OnlyAllowFriendWhispers { + get { if ((_hasBits0 & 8) != 0) { return onlyAllowFriendWhispers_; } else { return OnlyAllowFriendWhispersDefaultValue; } } + set { + _hasBits0 |= 8; + onlyAllowFriendWhispers_ = value; + } + } + /// Gets whether the "only_allow_friend_whispers" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOnlyAllowFriendWhispers { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "only_allow_friend_whispers" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOnlyAllowFriendWhispers() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountPrivacySetting); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountPrivacySetting other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsUsingRid != other.IsUsingRid) return false; + if (IsVisibleForViewFriends != other.IsVisibleForViewFriends) return false; + if (IsHiddenFromFriendFinder != other.IsHiddenFromFriendFinder) return false; + if (OnlyAllowFriendWhispers != other.OnlyAllowFriendWhispers) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsUsingRid) hash ^= IsUsingRid.GetHashCode(); + if (HasIsVisibleForViewFriends) hash ^= IsVisibleForViewFriends.GetHashCode(); + if (HasIsHiddenFromFriendFinder) hash ^= IsHiddenFromFriendFinder.GetHashCode(); + if (HasOnlyAllowFriendWhispers) hash ^= OnlyAllowFriendWhispers.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsUsingRid) { + output.WriteRawTag(8); + output.WriteBool(IsUsingRid); + } + if (HasIsVisibleForViewFriends) { + output.WriteRawTag(16); + output.WriteBool(IsVisibleForViewFriends); + } + if (HasIsHiddenFromFriendFinder) { + output.WriteRawTag(24); + output.WriteBool(IsHiddenFromFriendFinder); + } + if (HasOnlyAllowFriendWhispers) { + output.WriteRawTag(32); + output.WriteBool(OnlyAllowFriendWhispers); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsUsingRid) { + output.WriteRawTag(8); + output.WriteBool(IsUsingRid); + } + if (HasIsVisibleForViewFriends) { + output.WriteRawTag(16); + output.WriteBool(IsVisibleForViewFriends); + } + if (HasIsHiddenFromFriendFinder) { + output.WriteRawTag(24); + output.WriteBool(IsHiddenFromFriendFinder); + } + if (HasOnlyAllowFriendWhispers) { + output.WriteRawTag(32); + output.WriteBool(OnlyAllowFriendWhispers); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsUsingRid) { + size += 1 + 1; + } + if (HasIsVisibleForViewFriends) { + size += 1 + 1; + } + if (HasIsHiddenFromFriendFinder) { + size += 1 + 1; + } + if (HasOnlyAllowFriendWhispers) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountPrivacySetting other) { + if (other == null) { + return; + } + if (other.HasIsUsingRid) { + IsUsingRid = other.IsUsingRid; + } + if (other.HasIsVisibleForViewFriends) { + IsVisibleForViewFriends = other.IsVisibleForViewFriends; + } + if (other.HasIsHiddenFromFriendFinder) { + IsHiddenFromFriendFinder = other.IsHiddenFromFriendFinder; + } + if (other.HasOnlyAllowFriendWhispers) { + OnlyAllowFriendWhispers = other.OnlyAllowFriendWhispers; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IsUsingRid = input.ReadBool(); + break; + } + case 16: { + IsVisibleForViewFriends = input.ReadBool(); + break; + } + case 24: { + IsHiddenFromFriendFinder = input.ReadBool(); + break; + } + case 32: { + OnlyAllowFriendWhispers = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IsUsingRid = input.ReadBool(); + break; + } + case 16: { + IsVisibleForViewFriends = input.ReadBool(); + break; + } + case 24: { + IsHiddenFromFriendFinder = input.ReadBool(); + break; + } + case 32: { + OnlyAllowFriendWhispers = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[36]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountInfo(AccountInfo other) : this() { + _hasBits0 = other._hasBits0; + battleTag_ = other.battleTag_; + email_ = other.email_; + phoneNumber_ = other.phoneNumber_; + fullName_ = other.fullName_; + birthdate_ = other.birthdate_; + country_ = other.country_; + defaultCurrency_ = other.defaultCurrency_; + preferredRegion_ = other.preferredRegion_; + ratingsBoardMinimumAge_ = other.ratingsBoardMinimumAge_; + hasParentalControl_ = other.hasParentalControl_; + isEmailVerified_ = other.isEmailVerified_; + isSmsProtected_ = other.isSmsProtected_; + isHeadlessAccount_ = other.isHeadlessAccount_; + isEmployee_ = other.isEmployee_; + isTestAccount_ = other.isTestAccount_; + privacySetting_ = other.privacySetting_ != null ? other.privacySetting_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountInfo Clone() { + return new AccountInfo(this); + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 1; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "email" field. + public const int EmailFieldNumber = 2; + private readonly static string EmailDefaultValue = ""; + + private string email_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Email { + get { return email_ ?? EmailDefaultValue; } + set { + email_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "email" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEmail { + get { return email_ != null; } + } + /// Clears the value of the "email" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEmail() { + email_ = null; + } + + /// Field number for the "phone_number" field. + public const int PhoneNumberFieldNumber = 3; + private readonly static string PhoneNumberDefaultValue = ""; + + private string phoneNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PhoneNumber { + get { return phoneNumber_ ?? PhoneNumberDefaultValue; } + set { + phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "phone_number" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPhoneNumber { + get { return phoneNumber_ != null; } + } + /// Clears the value of the "phone_number" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPhoneNumber() { + phoneNumber_ = null; + } + + /// Field number for the "full_name" field. + public const int FullNameFieldNumber = 4; + private readonly static string FullNameDefaultValue = ""; + + private string fullName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FullName { + get { return fullName_ ?? FullNameDefaultValue; } + set { + fullName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "full_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFullName { + get { return fullName_ != null; } + } + /// Clears the value of the "full_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFullName() { + fullName_ = null; + } + + /// Field number for the "birthdate" field. + public const int BirthdateFieldNumber = 5; + private readonly static string BirthdateDefaultValue = ""; + + private string birthdate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Birthdate { + get { return birthdate_ ?? BirthdateDefaultValue; } + set { + birthdate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "birthdate" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBirthdate { + get { return birthdate_ != null; } + } + /// Clears the value of the "birthdate" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBirthdate() { + birthdate_ = null; + } + + /// Field number for the "country" field. + public const int CountryFieldNumber = 6; + private readonly static string CountryDefaultValue = ""; + + private string country_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Country { + get { return country_ ?? CountryDefaultValue; } + set { + country_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "country" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCountry { + get { return country_ != null; } + } + /// Clears the value of the "country" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCountry() { + country_ = null; + } + + /// Field number for the "default_currency" field. + public const int DefaultCurrencyFieldNumber = 7; + private readonly static string DefaultCurrencyDefaultValue = ""; + + private string defaultCurrency_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DefaultCurrency { + get { return defaultCurrency_ ?? DefaultCurrencyDefaultValue; } + set { + defaultCurrency_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "default_currency" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDefaultCurrency { + get { return defaultCurrency_ != null; } + } + /// Clears the value of the "default_currency" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDefaultCurrency() { + defaultCurrency_ = null; + } + + /// Field number for the "preferred_region" field. + public const int PreferredRegionFieldNumber = 8; + private readonly static uint PreferredRegionDefaultValue = 0; + + private uint preferredRegion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PreferredRegion { + get { if ((_hasBits0 & 1) != 0) { return preferredRegion_; } else { return PreferredRegionDefaultValue; } } + set { + _hasBits0 |= 1; + preferredRegion_ = value; + } + } + /// Gets whether the "preferred_region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPreferredRegion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "preferred_region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPreferredRegion() { + _hasBits0 &= ~1; + } + + /// Field number for the "ratings_board_minimum_age" field. + public const int RatingsBoardMinimumAgeFieldNumber = 9; + private readonly static uint RatingsBoardMinimumAgeDefaultValue = 0; + + private uint ratingsBoardMinimumAge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RatingsBoardMinimumAge { + get { if ((_hasBits0 & 2) != 0) { return ratingsBoardMinimumAge_; } else { return RatingsBoardMinimumAgeDefaultValue; } } + set { + _hasBits0 |= 2; + ratingsBoardMinimumAge_ = value; + } + } + /// Gets whether the "ratings_board_minimum_age" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRatingsBoardMinimumAge { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "ratings_board_minimum_age" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRatingsBoardMinimumAge() { + _hasBits0 &= ~2; + } + + /// Field number for the "has_parental_control" field. + public const int HasParentalControlFieldNumber = 10; + private readonly static bool HasParentalControlDefaultValue = false; + + private bool hasParentalControl_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParentalControl { + get { if ((_hasBits0 & 4) != 0) { return hasParentalControl_; } else { return HasParentalControlDefaultValue; } } + set { + _hasBits0 |= 4; + hasParentalControl_ = value; + } + } + /// Gets whether the "has_parental_control" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHasParentalControl { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "has_parental_control" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHasParentalControl() { + _hasBits0 &= ~4; + } + + /// Field number for the "is_email_verified" field. + public const int IsEmailVerifiedFieldNumber = 11; + private readonly static bool IsEmailVerifiedDefaultValue = false; + + private bool isEmailVerified_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsEmailVerified { + get { if ((_hasBits0 & 8) != 0) { return isEmailVerified_; } else { return IsEmailVerifiedDefaultValue; } } + set { + _hasBits0 |= 8; + isEmailVerified_ = value; + } + } + /// Gets whether the "is_email_verified" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsEmailVerified { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "is_email_verified" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsEmailVerified() { + _hasBits0 &= ~8; + } + + /// Field number for the "is_sms_protected" field. + public const int IsSmsProtectedFieldNumber = 12; + private readonly static bool IsSmsProtectedDefaultValue = false; + + private bool isSmsProtected_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSmsProtected { + get { if ((_hasBits0 & 16) != 0) { return isSmsProtected_; } else { return IsSmsProtectedDefaultValue; } } + set { + _hasBits0 |= 16; + isSmsProtected_ = value; + } + } + /// Gets whether the "is_sms_protected" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsSmsProtected { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "is_sms_protected" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsSmsProtected() { + _hasBits0 &= ~16; + } + + /// Field number for the "is_headless_account" field. + public const int IsHeadlessAccountFieldNumber = 13; + private readonly static bool IsHeadlessAccountDefaultValue = false; + + private bool isHeadlessAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsHeadlessAccount { + get { if ((_hasBits0 & 32) != 0) { return isHeadlessAccount_; } else { return IsHeadlessAccountDefaultValue; } } + set { + _hasBits0 |= 32; + isHeadlessAccount_ = value; + } + } + /// Gets whether the "is_headless_account" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsHeadlessAccount { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "is_headless_account" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsHeadlessAccount() { + _hasBits0 &= ~32; + } + + /// Field number for the "is_employee" field. + public const int IsEmployeeFieldNumber = 14; + private readonly static bool IsEmployeeDefaultValue = false; + + private bool isEmployee_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsEmployee { + get { if ((_hasBits0 & 64) != 0) { return isEmployee_; } else { return IsEmployeeDefaultValue; } } + set { + _hasBits0 |= 64; + isEmployee_ = value; + } + } + /// Gets whether the "is_employee" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsEmployee { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "is_employee" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsEmployee() { + _hasBits0 &= ~64; + } + + /// Field number for the "is_test_account" field. + public const int IsTestAccountFieldNumber = 15; + private readonly static bool IsTestAccountDefaultValue = false; + + private bool isTestAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsTestAccount { + get { if ((_hasBits0 & 128) != 0) { return isTestAccount_; } else { return IsTestAccountDefaultValue; } } + set { + _hasBits0 |= 128; + isTestAccount_ = value; + } + } + /// Gets whether the "is_test_account" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsTestAccount { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "is_test_account" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsTestAccount() { + _hasBits0 &= ~128; + } + + /// Field number for the "privacy_setting" field. + public const int PrivacySettingFieldNumber = 16; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting privacySetting_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting PrivacySetting { + get { return privacySetting_; } + set { + privacySetting_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BattleTag != other.BattleTag) return false; + if (Email != other.Email) return false; + if (PhoneNumber != other.PhoneNumber) return false; + if (FullName != other.FullName) return false; + if (Birthdate != other.Birthdate) return false; + if (Country != other.Country) return false; + if (DefaultCurrency != other.DefaultCurrency) return false; + if (PreferredRegion != other.PreferredRegion) return false; + if (RatingsBoardMinimumAge != other.RatingsBoardMinimumAge) return false; + if (HasParentalControl != other.HasParentalControl) return false; + if (IsEmailVerified != other.IsEmailVerified) return false; + if (IsSmsProtected != other.IsSmsProtected) return false; + if (IsHeadlessAccount != other.IsHeadlessAccount) return false; + if (IsEmployee != other.IsEmployee) return false; + if (IsTestAccount != other.IsTestAccount) return false; + if (!object.Equals(PrivacySetting, other.PrivacySetting)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (HasEmail) hash ^= Email.GetHashCode(); + if (HasPhoneNumber) hash ^= PhoneNumber.GetHashCode(); + if (HasFullName) hash ^= FullName.GetHashCode(); + if (HasBirthdate) hash ^= Birthdate.GetHashCode(); + if (HasCountry) hash ^= Country.GetHashCode(); + if (HasDefaultCurrency) hash ^= DefaultCurrency.GetHashCode(); + if (HasPreferredRegion) hash ^= PreferredRegion.GetHashCode(); + if (HasRatingsBoardMinimumAge) hash ^= RatingsBoardMinimumAge.GetHashCode(); + if (HasHasParentalControl) hash ^= HasParentalControl.GetHashCode(); + if (HasIsEmailVerified) hash ^= IsEmailVerified.GetHashCode(); + if (HasIsSmsProtected) hash ^= IsSmsProtected.GetHashCode(); + if (HasIsHeadlessAccount) hash ^= IsHeadlessAccount.GetHashCode(); + if (HasIsEmployee) hash ^= IsEmployee.GetHashCode(); + if (HasIsTestAccount) hash ^= IsTestAccount.GetHashCode(); + if (privacySetting_ != null) hash ^= PrivacySetting.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasBattleTag) { + output.WriteRawTag(10); + output.WriteString(BattleTag); + } + if (HasEmail) { + output.WriteRawTag(18); + output.WriteString(Email); + } + if (HasPhoneNumber) { + output.WriteRawTag(26); + output.WriteString(PhoneNumber); + } + if (HasFullName) { + output.WriteRawTag(34); + output.WriteString(FullName); + } + if (HasBirthdate) { + output.WriteRawTag(42); + output.WriteString(Birthdate); + } + if (HasCountry) { + output.WriteRawTag(50); + output.WriteString(Country); + } + if (HasDefaultCurrency) { + output.WriteRawTag(58); + output.WriteString(DefaultCurrency); + } + if (HasPreferredRegion) { + output.WriteRawTag(64); + output.WriteUInt32(PreferredRegion); + } + if (HasRatingsBoardMinimumAge) { + output.WriteRawTag(72); + output.WriteUInt32(RatingsBoardMinimumAge); + } + if (HasHasParentalControl) { + output.WriteRawTag(80); + output.WriteBool(HasParentalControl); + } + if (HasIsEmailVerified) { + output.WriteRawTag(88); + output.WriteBool(IsEmailVerified); + } + if (HasIsSmsProtected) { + output.WriteRawTag(96); + output.WriteBool(IsSmsProtected); + } + if (HasIsHeadlessAccount) { + output.WriteRawTag(104); + output.WriteBool(IsHeadlessAccount); + } + if (HasIsEmployee) { + output.WriteRawTag(112); + output.WriteBool(IsEmployee); + } + if (HasIsTestAccount) { + output.WriteRawTag(120); + output.WriteBool(IsTestAccount); + } + if (privacySetting_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(PrivacySetting); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasBattleTag) { + output.WriteRawTag(10); + output.WriteString(BattleTag); + } + if (HasEmail) { + output.WriteRawTag(18); + output.WriteString(Email); + } + if (HasPhoneNumber) { + output.WriteRawTag(26); + output.WriteString(PhoneNumber); + } + if (HasFullName) { + output.WriteRawTag(34); + output.WriteString(FullName); + } + if (HasBirthdate) { + output.WriteRawTag(42); + output.WriteString(Birthdate); + } + if (HasCountry) { + output.WriteRawTag(50); + output.WriteString(Country); + } + if (HasDefaultCurrency) { + output.WriteRawTag(58); + output.WriteString(DefaultCurrency); + } + if (HasPreferredRegion) { + output.WriteRawTag(64); + output.WriteUInt32(PreferredRegion); + } + if (HasRatingsBoardMinimumAge) { + output.WriteRawTag(72); + output.WriteUInt32(RatingsBoardMinimumAge); + } + if (HasHasParentalControl) { + output.WriteRawTag(80); + output.WriteBool(HasParentalControl); + } + if (HasIsEmailVerified) { + output.WriteRawTag(88); + output.WriteBool(IsEmailVerified); + } + if (HasIsSmsProtected) { + output.WriteRawTag(96); + output.WriteBool(IsSmsProtected); + } + if (HasIsHeadlessAccount) { + output.WriteRawTag(104); + output.WriteBool(IsHeadlessAccount); + } + if (HasIsEmployee) { + output.WriteRawTag(112); + output.WriteBool(IsEmployee); + } + if (HasIsTestAccount) { + output.WriteRawTag(120); + output.WriteBool(IsTestAccount); + } + if (privacySetting_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(PrivacySetting); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (HasEmail) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); + } + if (HasPhoneNumber) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber); + } + if (HasFullName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FullName); + } + if (HasBirthdate) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Birthdate); + } + if (HasCountry) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Country); + } + if (HasDefaultCurrency) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultCurrency); + } + if (HasPreferredRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PreferredRegion); + } + if (HasRatingsBoardMinimumAge) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RatingsBoardMinimumAge); + } + if (HasHasParentalControl) { + size += 1 + 1; + } + if (HasIsEmailVerified) { + size += 1 + 1; + } + if (HasIsSmsProtected) { + size += 1 + 1; + } + if (HasIsHeadlessAccount) { + size += 1 + 1; + } + if (HasIsEmployee) { + size += 1 + 1; + } + if (HasIsTestAccount) { + size += 1 + 1; + } + if (privacySetting_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PrivacySetting); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountInfo other) { + if (other == null) { + return; + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + if (other.HasEmail) { + Email = other.Email; + } + if (other.HasPhoneNumber) { + PhoneNumber = other.PhoneNumber; + } + if (other.HasFullName) { + FullName = other.FullName; + } + if (other.HasBirthdate) { + Birthdate = other.Birthdate; + } + if (other.HasCountry) { + Country = other.Country; + } + if (other.HasDefaultCurrency) { + DefaultCurrency = other.DefaultCurrency; + } + if (other.HasPreferredRegion) { + PreferredRegion = other.PreferredRegion; + } + if (other.HasRatingsBoardMinimumAge) { + RatingsBoardMinimumAge = other.RatingsBoardMinimumAge; + } + if (other.HasHasParentalControl) { + HasParentalControl = other.HasParentalControl; + } + if (other.HasIsEmailVerified) { + IsEmailVerified = other.IsEmailVerified; + } + if (other.HasIsSmsProtected) { + IsSmsProtected = other.IsSmsProtected; + } + if (other.HasIsHeadlessAccount) { + IsHeadlessAccount = other.IsHeadlessAccount; + } + if (other.HasIsEmployee) { + IsEmployee = other.IsEmployee; + } + if (other.HasIsTestAccount) { + IsTestAccount = other.IsTestAccount; + } + if (other.privacySetting_ != null) { + if (privacySetting_ == null) { + PrivacySetting = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting(); + } + PrivacySetting.MergeFrom(other.PrivacySetting); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + BattleTag = input.ReadString(); + break; + } + case 18: { + Email = input.ReadString(); + break; + } + case 26: { + PhoneNumber = input.ReadString(); + break; + } + case 34: { + FullName = input.ReadString(); + break; + } + case 42: { + Birthdate = input.ReadString(); + break; + } + case 50: { + Country = input.ReadString(); + break; + } + case 58: { + DefaultCurrency = input.ReadString(); + break; + } + case 64: { + PreferredRegion = input.ReadUInt32(); + break; + } + case 72: { + RatingsBoardMinimumAge = input.ReadUInt32(); + break; + } + case 80: { + HasParentalControl = input.ReadBool(); + break; + } + case 88: { + IsEmailVerified = input.ReadBool(); + break; + } + case 96: { + IsSmsProtected = input.ReadBool(); + break; + } + case 104: { + IsHeadlessAccount = input.ReadBool(); + break; + } + case 112: { + IsEmployee = input.ReadBool(); + break; + } + case 120: { + IsTestAccount = input.ReadBool(); + break; + } + case 130: { + if (privacySetting_ == null) { + PrivacySetting = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting(); + } + input.ReadMessage(PrivacySetting); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + BattleTag = input.ReadString(); + break; + } + case 18: { + Email = input.ReadString(); + break; + } + case 26: { + PhoneNumber = input.ReadString(); + break; + } + case 34: { + FullName = input.ReadString(); + break; + } + case 42: { + Birthdate = input.ReadString(); + break; + } + case 50: { + Country = input.ReadString(); + break; + } + case 58: { + DefaultCurrency = input.ReadString(); + break; + } + case 64: { + PreferredRegion = input.ReadUInt32(); + break; + } + case 72: { + RatingsBoardMinimumAge = input.ReadUInt32(); + break; + } + case 80: { + HasParentalControl = input.ReadBool(); + break; + } + case 88: { + IsEmailVerified = input.ReadBool(); + break; + } + case 96: { + IsSmsProtected = input.ReadBool(); + break; + } + case 104: { + IsHeadlessAccount = input.ReadBool(); + break; + } + case 112: { + IsEmployee = input.ReadBool(); + break; + } + case 120: { + IsTestAccount = input.ReadBool(); + break; + } + case 130: { + if (privacySetting_ == null) { + PrivacySetting = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountPrivacySetting(); + } + input.ReadMessage(PrivacySetting); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RestrictionStatus : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RestrictionStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[37]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RestrictionStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RestrictionStatus(RestrictionStatus other) : this() { + _hasBits0 = other._hasBits0; + active_ = other.active_; + expirationUs_ = other.expirationUs_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RestrictionStatus Clone() { + return new RestrictionStatus(this); + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 1; + private readonly static bool ActiveDefaultValue = false; + + private bool active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { if ((_hasBits0 & 1) != 0) { return active_; } else { return ActiveDefaultValue; } } + set { + _hasBits0 |= 1; + active_ = value; + } + } + /// Gets whether the "active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasActive { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearActive() { + _hasBits0 &= ~1; + } + + /// Field number for the "expiration_us" field. + public const int ExpirationUsFieldNumber = 2; + private readonly static ulong ExpirationUsDefaultValue = 0UL; + + private ulong expirationUs_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationUs { + get { if ((_hasBits0 & 2) != 0) { return expirationUs_; } else { return ExpirationUsDefaultValue; } } + set { + _hasBits0 |= 2; + expirationUs_ = value; + } + } + /// Gets whether the "expiration_us" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationUs { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "expiration_us" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationUs() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RestrictionStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RestrictionStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Active != other.Active) return false; + if (ExpirationUs != other.ExpirationUs) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasActive) hash ^= Active.GetHashCode(); + if (HasExpirationUs) hash ^= ExpirationUs.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasActive) { + output.WriteRawTag(8); + output.WriteBool(Active); + } + if (HasExpirationUs) { + output.WriteRawTag(16); + output.WriteUInt64(ExpirationUs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasActive) { + output.WriteRawTag(8); + output.WriteBool(Active); + } + if (HasExpirationUs) { + output.WriteRawTag(16); + output.WriteUInt64(ExpirationUs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasActive) { + size += 1 + 1; + } + if (HasExpirationUs) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationUs); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RestrictionStatus other) { + if (other == null) { + return; + } + if (other.HasActive) { + Active = other.Active; + } + if (other.HasExpirationUs) { + ExpirationUs = other.ExpirationUs; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Active = input.ReadBool(); + break; + } + case 16: { + ExpirationUs = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Active = input.ReadBool(); + break; + } + case 16: { + ExpirationUs = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountPlatformRestrictionInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountPlatformRestrictionInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor.MessageTypes[38]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountPlatformRestrictionInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountPlatformRestrictionInfo(AccountPlatformRestrictionInfo other) : this() { + squelched_ = other.squelched_ != null ? other.squelched_.Clone() : null; + legalCountryFeatureRestrictionsApplied_ = other.legalCountryFeatureRestrictionsApplied_ != null ? other.legalCountryFeatureRestrictionsApplied_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountPlatformRestrictionInfo Clone() { + return new AccountPlatformRestrictionInfo(this); + } + + /// Field number for the "squelched" field. + public const int SquelchedFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus squelched_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus Squelched { + get { return squelched_; } + set { + squelched_ = value; + } + } + + /// Field number for the "legal_country_feature_restrictions_applied" field. + public const int LegalCountryFeatureRestrictionsAppliedFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus legalCountryFeatureRestrictionsApplied_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus LegalCountryFeatureRestrictionsApplied { + get { return legalCountryFeatureRestrictionsApplied_; } + set { + legalCountryFeatureRestrictionsApplied_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountPlatformRestrictionInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountPlatformRestrictionInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Squelched, other.Squelched)) return false; + if (!object.Equals(LegalCountryFeatureRestrictionsApplied, other.LegalCountryFeatureRestrictionsApplied)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (squelched_ != null) hash ^= Squelched.GetHashCode(); + if (legalCountryFeatureRestrictionsApplied_ != null) hash ^= LegalCountryFeatureRestrictionsApplied.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (squelched_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Squelched); + } + if (legalCountryFeatureRestrictionsApplied_ != null) { + output.WriteRawTag(26); + output.WriteMessage(LegalCountryFeatureRestrictionsApplied); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (squelched_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Squelched); + } + if (legalCountryFeatureRestrictionsApplied_ != null) { + output.WriteRawTag(26); + output.WriteMessage(LegalCountryFeatureRestrictionsApplied); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (squelched_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Squelched); + } + if (legalCountryFeatureRestrictionsApplied_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LegalCountryFeatureRestrictionsApplied); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountPlatformRestrictionInfo other) { + if (other == null) { + return; + } + if (other.squelched_ != null) { + if (squelched_ == null) { + Squelched = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus(); + } + Squelched.MergeFrom(other.Squelched); + } + if (other.legalCountryFeatureRestrictionsApplied_ != null) { + if (legalCountryFeatureRestrictionsApplied_ == null) { + LegalCountryFeatureRestrictionsApplied = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus(); + } + LegalCountryFeatureRestrictionsApplied.MergeFrom(other.LegalCountryFeatureRestrictionsApplied); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + if (squelched_ == null) { + Squelched = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus(); + } + input.ReadMessage(Squelched); + break; + } + case 26: { + if (legalCountryFeatureRestrictionsApplied_ == null) { + LegalCountryFeatureRestrictionsApplied = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus(); + } + input.ReadMessage(LegalCountryFeatureRestrictionsApplied); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + if (squelched_ == null) { + Squelched = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus(); + } + input.ReadMessage(Squelched); + break; + } + case 26: { + if (legalCountryFeatureRestrictionsApplied_ == null) { + LegalCountryFeatureRestrictionsApplied = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.RestrictionStatus(); + } + input.ReadMessage(LegalCountryFeatureRestrictionsApplied); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AttributeTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AttributeTypes.cs new file mode 100644 index 0000000000..3b3cd77548 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AttributeTypes.cs @@ -0,0 +1,1168 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/attribute_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/attribute_types.proto + public static partial class AttributeTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/attribute_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AttributeTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CidiZ3MvbG93L3BiL2NsaWVudC9hdHRyaWJ1dGVfdHlwZXMucHJvdG8SDGJn", + "cy5wcm90b2NvbBokYmdzL2xvdy9wYi9jbGllbnQvZW50aXR5X3R5cGVzLnBy", + "b3RvIuEBCgdWYXJpYW50EhIKCmJvb2xfdmFsdWUYAiABKAgSEQoJaW50X3Zh", + "bHVlGAMgASgDEhMKC2Zsb2F0X3ZhbHVlGAQgASgBEhQKDHN0cmluZ192YWx1", + "ZRgFIAEoCRISCgpibG9iX3ZhbHVlGAYgASgMEhUKDW1lc3NhZ2VfdmFsdWUY", + "ByABKAwSFAoMZm91cmNjX3ZhbHVlGAggASgJEhIKCnVpbnRfdmFsdWUYCSAB", + "KAQSLwoPZW50aXR5X2lkX3ZhbHVlGAogASgLMhYuYmdzLnByb3RvY29sLkVu", + "dGl0eUlkIj8KCUF0dHJpYnV0ZRIMCgRuYW1lGAEgAigJEiQKBXZhbHVlGAIg", + "AigLMhUuYmdzLnByb3RvY29sLlZhcmlhbnQiygEKD0F0dHJpYnV0ZUZpbHRl", + "chIzCgJvcBgBIAIoDjInLmJncy5wcm90b2NvbC5BdHRyaWJ1dGVGaWx0ZXIu", + "T3BlcmF0aW9uEioKCWF0dHJpYnV0ZRgCIAMoCzIXLmJncy5wcm90b2NvbC5B", + "dHRyaWJ1dGUiVgoJT3BlcmF0aW9uEg4KCk1BVENIX05PTkUQABINCglNQVRD", + "SF9BTlkQARINCglNQVRDSF9BTEwQAhIbChdNQVRDSF9BTExfTU9TVF9TUEVD", + "SUZJQxADQiAKDGJncy5wcm90b2NvbEIOQXR0cmlidXRlUHJvdG9IAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant.Parser, new[]{ "BoolValue", "IntValue", "FloatValue", "StringValue", "BlobValue", "MessageValue", "FourccValue", "UintValue", "EntityIdValue" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser, new[]{ "Name", "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Parser, new[]{ "Op", "Attribute" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation) }, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Variant : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Variant()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Variant() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Variant(Variant other) : this() { + _hasBits0 = other._hasBits0; + boolValue_ = other.boolValue_; + intValue_ = other.intValue_; + floatValue_ = other.floatValue_; + stringValue_ = other.stringValue_; + blobValue_ = other.blobValue_; + messageValue_ = other.messageValue_; + fourccValue_ = other.fourccValue_; + uintValue_ = other.uintValue_; + entityIdValue_ = other.entityIdValue_ != null ? other.entityIdValue_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Variant Clone() { + return new Variant(this); + } + + /// Field number for the "bool_value" field. + public const int BoolValueFieldNumber = 2; + private readonly static bool BoolValueDefaultValue = false; + + private bool boolValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolValue { + get { if ((_hasBits0 & 1) != 0) { return boolValue_; } else { return BoolValueDefaultValue; } } + set { + _hasBits0 |= 1; + boolValue_ = value; + } + } + /// Gets whether the "bool_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolValue { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "bool_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolValue() { + _hasBits0 &= ~1; + } + + /// Field number for the "int_value" field. + public const int IntValueFieldNumber = 3; + private readonly static long IntValueDefaultValue = 0L; + + private long intValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long IntValue { + get { if ((_hasBits0 & 2) != 0) { return intValue_; } else { return IntValueDefaultValue; } } + set { + _hasBits0 |= 2; + intValue_ = value; + } + } + /// Gets whether the "int_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIntValue { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "int_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIntValue() { + _hasBits0 &= ~2; + } + + /// Field number for the "float_value" field. + public const int FloatValueFieldNumber = 4; + private readonly static double FloatValueDefaultValue = 0D; + + private double floatValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double FloatValue { + get { if ((_hasBits0 & 4) != 0) { return floatValue_; } else { return FloatValueDefaultValue; } } + set { + _hasBits0 |= 4; + floatValue_ = value; + } + } + /// Gets whether the "float_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFloatValue { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "float_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFloatValue() { + _hasBits0 &= ~4; + } + + /// Field number for the "string_value" field. + public const int StringValueFieldNumber = 5; + private readonly static string StringValueDefaultValue = ""; + + private string stringValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StringValue { + get { return stringValue_ ?? StringValueDefaultValue; } + set { + stringValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "string_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStringValue { + get { return stringValue_ != null; } + } + /// Clears the value of the "string_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStringValue() { + stringValue_ = null; + } + + /// Field number for the "blob_value" field. + public const int BlobValueFieldNumber = 6; + private readonly static pb::ByteString BlobValueDefaultValue = pb::ByteString.Empty; + + private pb::ByteString blobValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString BlobValue { + get { return blobValue_ ?? BlobValueDefaultValue; } + set { + blobValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "blob_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBlobValue { + get { return blobValue_ != null; } + } + /// Clears the value of the "blob_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBlobValue() { + blobValue_ = null; + } + + /// Field number for the "message_value" field. + public const int MessageValueFieldNumber = 7; + private readonly static pb::ByteString MessageValueDefaultValue = pb::ByteString.Empty; + + private pb::ByteString messageValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString MessageValue { + get { return messageValue_ ?? MessageValueDefaultValue; } + set { + messageValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "message_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMessageValue { + get { return messageValue_ != null; } + } + /// Clears the value of the "message_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMessageValue() { + messageValue_ = null; + } + + /// Field number for the "fourcc_value" field. + public const int FourccValueFieldNumber = 8; + private readonly static string FourccValueDefaultValue = ""; + + private string fourccValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FourccValue { + get { return fourccValue_ ?? FourccValueDefaultValue; } + set { + fourccValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "fourcc_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFourccValue { + get { return fourccValue_ != null; } + } + /// Clears the value of the "fourcc_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFourccValue() { + fourccValue_ = null; + } + + /// Field number for the "uint_value" field. + public const int UintValueFieldNumber = 9; + private readonly static ulong UintValueDefaultValue = 0UL; + + private ulong uintValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong UintValue { + get { if ((_hasBits0 & 8) != 0) { return uintValue_; } else { return UintValueDefaultValue; } } + set { + _hasBits0 |= 8; + uintValue_ = value; + } + } + /// Gets whether the "uint_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUintValue { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "uint_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUintValue() { + _hasBits0 &= ~8; + } + + /// Field number for the "entity_id_value" field. + public const int EntityIdValueFieldNumber = 10; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityIdValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityIdValue { + get { return entityIdValue_; } + set { + entityIdValue_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Variant); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Variant other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BoolValue != other.BoolValue) return false; + if (IntValue != other.IntValue) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FloatValue, other.FloatValue)) return false; + if (StringValue != other.StringValue) return false; + if (BlobValue != other.BlobValue) return false; + if (MessageValue != other.MessageValue) return false; + if (FourccValue != other.FourccValue) return false; + if (UintValue != other.UintValue) return false; + if (!object.Equals(EntityIdValue, other.EntityIdValue)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasBoolValue) hash ^= BoolValue.GetHashCode(); + if (HasIntValue) hash ^= IntValue.GetHashCode(); + if (HasFloatValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FloatValue); + if (HasStringValue) hash ^= StringValue.GetHashCode(); + if (HasBlobValue) hash ^= BlobValue.GetHashCode(); + if (HasMessageValue) hash ^= MessageValue.GetHashCode(); + if (HasFourccValue) hash ^= FourccValue.GetHashCode(); + if (HasUintValue) hash ^= UintValue.GetHashCode(); + if (entityIdValue_ != null) hash ^= EntityIdValue.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasBoolValue) { + output.WriteRawTag(16); + output.WriteBool(BoolValue); + } + if (HasIntValue) { + output.WriteRawTag(24); + output.WriteInt64(IntValue); + } + if (HasFloatValue) { + output.WriteRawTag(33); + output.WriteDouble(FloatValue); + } + if (HasStringValue) { + output.WriteRawTag(42); + output.WriteString(StringValue); + } + if (HasBlobValue) { + output.WriteRawTag(50); + output.WriteBytes(BlobValue); + } + if (HasMessageValue) { + output.WriteRawTag(58); + output.WriteBytes(MessageValue); + } + if (HasFourccValue) { + output.WriteRawTag(66); + output.WriteString(FourccValue); + } + if (HasUintValue) { + output.WriteRawTag(72); + output.WriteUInt64(UintValue); + } + if (entityIdValue_ != null) { + output.WriteRawTag(82); + output.WriteMessage(EntityIdValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasBoolValue) { + output.WriteRawTag(16); + output.WriteBool(BoolValue); + } + if (HasIntValue) { + output.WriteRawTag(24); + output.WriteInt64(IntValue); + } + if (HasFloatValue) { + output.WriteRawTag(33); + output.WriteDouble(FloatValue); + } + if (HasStringValue) { + output.WriteRawTag(42); + output.WriteString(StringValue); + } + if (HasBlobValue) { + output.WriteRawTag(50); + output.WriteBytes(BlobValue); + } + if (HasMessageValue) { + output.WriteRawTag(58); + output.WriteBytes(MessageValue); + } + if (HasFourccValue) { + output.WriteRawTag(66); + output.WriteString(FourccValue); + } + if (HasUintValue) { + output.WriteRawTag(72); + output.WriteUInt64(UintValue); + } + if (entityIdValue_ != null) { + output.WriteRawTag(82); + output.WriteMessage(EntityIdValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasBoolValue) { + size += 1 + 1; + } + if (HasIntValue) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntValue); + } + if (HasFloatValue) { + size += 1 + 8; + } + if (HasStringValue) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue); + } + if (HasBlobValue) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(BlobValue); + } + if (HasMessageValue) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(MessageValue); + } + if (HasFourccValue) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FourccValue); + } + if (HasUintValue) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UintValue); + } + if (entityIdValue_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityIdValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Variant other) { + if (other == null) { + return; + } + if (other.HasBoolValue) { + BoolValue = other.BoolValue; + } + if (other.HasIntValue) { + IntValue = other.IntValue; + } + if (other.HasFloatValue) { + FloatValue = other.FloatValue; + } + if (other.HasStringValue) { + StringValue = other.StringValue; + } + if (other.HasBlobValue) { + BlobValue = other.BlobValue; + } + if (other.HasMessageValue) { + MessageValue = other.MessageValue; + } + if (other.HasFourccValue) { + FourccValue = other.FourccValue; + } + if (other.HasUintValue) { + UintValue = other.UintValue; + } + if (other.entityIdValue_ != null) { + if (entityIdValue_ == null) { + EntityIdValue = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityIdValue.MergeFrom(other.EntityIdValue); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 16: { + BoolValue = input.ReadBool(); + break; + } + case 24: { + IntValue = input.ReadInt64(); + break; + } + case 33: { + FloatValue = input.ReadDouble(); + break; + } + case 42: { + StringValue = input.ReadString(); + break; + } + case 50: { + BlobValue = input.ReadBytes(); + break; + } + case 58: { + MessageValue = input.ReadBytes(); + break; + } + case 66: { + FourccValue = input.ReadString(); + break; + } + case 72: { + UintValue = input.ReadUInt64(); + break; + } + case 82: { + if (entityIdValue_ == null) { + EntityIdValue = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityIdValue); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 16: { + BoolValue = input.ReadBool(); + break; + } + case 24: { + IntValue = input.ReadInt64(); + break; + } + case 33: { + FloatValue = input.ReadDouble(); + break; + } + case 42: { + StringValue = input.ReadString(); + break; + } + case 50: { + BlobValue = input.ReadBytes(); + break; + } + case 58: { + MessageValue = input.ReadBytes(); + break; + } + case 66: { + FourccValue = input.ReadString(); + break; + } + case 72: { + UintValue = input.ReadUInt64(); + break; + } + case 82: { + if (entityIdValue_ == null) { + EntityIdValue = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityIdValue); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Attribute : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Attribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute(Attribute other) : this() { + name_ = other.name_; + value_ = other.value_ != null ? other.value_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute Clone() { + return new Attribute(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant Value { + get { return value_; } + set { + value_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Attribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Attribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(Value, other.Value)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasName) hash ^= Name.GetHashCode(); + if (value_ != null) hash ^= Value.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (value_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (value_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (value_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Attribute other) { + if (other == null) { + return; + } + if (other.HasName) { + Name = other.Name; + } + if (other.value_ != null) { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant(); + } + Value.MergeFrom(other.Value); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant(); + } + input.ReadMessage(Value); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant(); + } + input.ReadMessage(Value); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AttributeFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AttributeFilter()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeFilter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeFilter(AttributeFilter other) : this() { + _hasBits0 = other._hasBits0; + op_ = other.op_; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeFilter Clone() { + return new AttributeFilter(this); + } + + /// Field number for the "op" field. + public const int OpFieldNumber = 1; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation OpDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation.MatchNone; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation op_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation Op { + get { if ((_hasBits0 & 1) != 0) { return op_; } else { return OpDefaultValue; } } + set { + _hasBits0 |= 1; + op_ = value; + } + } + /// Gets whether the "op" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOp { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "op" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOp() { + _hasBits0 &= ~1; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AttributeFilter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AttributeFilter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Op != other.Op) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasOp) hash ^= Op.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasOp) { + output.WriteRawTag(8); + output.WriteEnum((int) Op); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasOp) { + output.WriteRawTag(8); + output.WriteEnum((int) Op); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasOp) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Op); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AttributeFilter other) { + if (other == null) { + return; + } + if (other.HasOp) { + Op = other.Op; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Op = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation) input.ReadEnum(); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Op = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter.Types.Operation) input.ReadEnum(); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AttributeFilter message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum Operation { + [pbr::OriginalName("MATCH_NONE")] MatchNone = 0, + [pbr::OriginalName("MATCH_ANY")] MatchAny = 1, + [pbr::OriginalName("MATCH_ALL")] MatchAll = 2, + [pbr::OriginalName("MATCH_ALL_MOST_SPECIFIC")] MatchAllMostSpecific = 3, + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AuthenticationService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AuthenticationService.cs new file mode 100644 index 0000000000..630d79f985 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/AuthenticationService.cs @@ -0,0 +1,3547 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/authentication_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/authentication_service.proto + public static partial class AuthenticationServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/authentication_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AuthenticationServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci5iZ3MvbG93L3BiL2NsaWVudC9hdXRoZW50aWNhdGlvbl9zZXJ2aWNlLnBy", + "b3RvEh5iZ3MucHJvdG9jb2wuYXV0aGVudGljYXRpb24udjEaJGJncy9sb3cv", + "cGIvY2xpZW50L2VudGl0eV90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGll", + "bnQvcnBjX3R5cGVzLnByb3RvIssCCgxMb2dvblJlcXVlc3QSDwoHcHJvZ3Jh", + "bRgBIAEoCRIQCghwbGF0Zm9ybRgCIAEoCRIOCgZsb2NhbGUYAyABKAkSFQoF", + "ZW1haWwYBCABKAlCBoL5KwIIARIPCgd2ZXJzaW9uGAUgASgJEhsKE2FwcGxp", + "Y2F0aW9uX3ZlcnNpb24YBiABKAUSFwoPcHVibGljX2NvbXB1dGVyGAcgASgI", + "Ei4KH2FsbG93X2xvZ29uX3F1ZXVlX25vdGlmaWNhdGlvbnMYCiABKAg6BWZh", + "bHNlEh4KFmNhY2hlZF93ZWJfY3JlZGVudGlhbHMYDCABKAwSEgoKdXNlcl9h", + "Z2VudBgOIAEoCRIRCglkZXZpY2VfaWQYDyABKAkSHAoMcGhvbmVfbnVtYmVy", + "GBAgASgJQgaC+SsCCAESFQoNYXV0aF9wbGF0Zm9ybRgRIAEoCSK9AgoLTG9n", + "b25SZXN1bHQSEgoKZXJyb3JfY29kZRgBIAIoDRIqCgphY2NvdW50X2lkGAIg", + "ASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEi8KD2dhbWVfYWNjb3VudF9p", + "ZBgDIAMoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIVCgVlbWFpbBgEIAEo", + "CUIGgvkrAggBEhgKEGF2YWlsYWJsZV9yZWdpb24YBSADKA0SGAoQY29ubmVj", + "dGVkX3JlZ2lvbhgGIAEoDRIaCgpiYXR0bGVfdGFnGAcgASgJQgaC+SsCCAES", + "FQoNZ2VvaXBfY291bnRyeRgIIAEoCRITCgtzZXNzaW9uX2tleRgJIAEoDBIX", + "Cg9yZXN0cmljdGVkX21vZGUYCiABKAgSEQoJY2xpZW50X2lkGAsgASgJIigK", + "EkxvZ29uVXBkYXRlUmVxdWVzdBISCgplcnJvcl9jb2RlGAEgAigNImEKF0xv", + "Z29uUXVldWVVcGRhdGVSZXF1ZXN0EhAKCHBvc2l0aW9uGAEgAigNEhYKDmVz", + "dGltYXRlZF90aW1lGAIgAigEEhwKFGV0YV9kZXZpYXRpb25faW5fc2VjGAMg", + "AigEIj0KGFNlcnZlclN0YXRlQ2hhbmdlUmVxdWVzdBINCgVzdGF0ZRgBIAIo", + "DRISCgpldmVudF90aW1lGAIgAigEIlQKC1ZlcnNpb25JbmZvEg4KBm51bWJl", + "chgBIAEoDRINCgVwYXRjaBgCIAEoCRITCgtpc19vcHRpb25hbBgDIAEoCBIR", + "CglraWNrX3RpbWUYBCABKAQiXAoXVmVyc2lvbkluZm9Ob3RpZmljYXRpb24S", + "QQoMdmVyc2lvbl9pbmZvGAEgASgLMisuYmdzLnByb3RvY29sLmF1dGhlbnRp", + "Y2F0aW9uLnYxLlZlcnNpb25JbmZvIjAKHUdlbmVyYXRlV2ViQ3JlZGVudGlh", + "bHNSZXF1ZXN0Eg8KB3Byb2dyYW0YASABKAciOQoeR2VuZXJhdGVXZWJDcmVk", + "ZW50aWFsc1Jlc3BvbnNlEhcKD3dlYl9jcmVkZW50aWFscxgBIAEoDCI2ChtW", + "ZXJpZnlXZWJDcmVkZW50aWFsc1JlcXVlc3QSFwoPd2ViX2NyZWRlbnRpYWxz", + "GAEgASgMMsoFChZBdXRoZW50aWNhdGlvbkxpc3RlbmVyEnIKE09uU2VydmVy", + "U3RhdGVDaGFuZ2USOC5iZ3MucHJvdG9jb2wuYXV0aGVudGljYXRpb24udjEu", + "U2VydmVyU3RhdGVDaGFuZ2VSZXF1ZXN0GhkuYmdzLnByb3RvY29sLk5PX1JF", + "U1BPTlNFIgaC+SsCCAQSYQoPT25Mb2dvbkNvbXBsZXRlEisuYmdzLnByb3Rv", + "Y29sLmF1dGhlbnRpY2F0aW9uLnYxLkxvZ29uUmVzdWx0GhkuYmdzLnByb3Rv", + "Y29sLk5PX1JFU1BPTlNFIgaC+SsCCAUSZgoNT25Mb2dvblVwZGF0ZRIyLmJn", + "cy5wcm90b2NvbC5hdXRoZW50aWNhdGlvbi52MS5Mb2dvblVwZGF0ZVJlcXVl", + "c3QaGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIChJyChRPblZl", + "cnNpb25JbmZvVXBkYXRlZBI3LmJncy5wcm90b2NvbC5hdXRoZW50aWNhdGlv", + "bi52MS5WZXJzaW9uSW5mb05vdGlmaWNhdGlvbhoZLmJncy5wcm90b2NvbC5O", + "T19SRVNQT05TRSIGgvkrAggLEnAKEk9uTG9nb25RdWV1ZVVwZGF0ZRI3LmJn", + "cy5wcm90b2NvbC5hdXRoZW50aWNhdGlvbi52MS5Mb2dvblF1ZXVlVXBkYXRl", + "UmVxdWVzdBoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkrAggMEkoK", + "D09uTG9nb25RdWV1ZUVuZBIULmJncy5wcm90b2NvbC5Ob0RhdGEaGS5iZ3Mu", + "cHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIDRo/gvkrNQoxYm5ldC5wcm90", + "b2NvbC5hdXRoZW50aWNhdGlvbi5BdXRoZW50aWNhdGlvbkNsaWVudDgBivkr", + "AggBMsIDChVBdXRoZW50aWNhdGlvblNlcnZpY2USUwoFTG9nb24SLC5iZ3Mu", + "cHJvdG9jb2wuYXV0aGVudGljYXRpb24udjEuTG9nb25SZXF1ZXN0GhQuYmdz", + "LnByb3RvY29sLk5vRGF0YSIGgvkrAggBEnEKFFZlcmlmeVdlYkNyZWRlbnRp", + "YWxzEjsuYmdzLnByb3RvY29sLmF1dGhlbnRpY2F0aW9uLnYxLlZlcmlmeVdl", + "YkNyZWRlbnRpYWxzUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiBoL5", + "KwIIBxKfAQoWR2VuZXJhdGVXZWJDcmVkZW50aWFscxI9LmJncy5wcm90b2Nv", + "bC5hdXRoZW50aWNhdGlvbi52MS5HZW5lcmF0ZVdlYkNyZWRlbnRpYWxzUmVx", + "dWVzdBo+LmJncy5wcm90b2NvbC5hdXRoZW50aWNhdGlvbi52MS5HZW5lcmF0", + "ZVdlYkNyZWRlbnRpYWxzUmVzcG9uc2UiBoL5KwIICBo/gvkrNQoxYm5ldC5w", + "cm90b2NvbC5hdXRoZW50aWNhdGlvbi5BdXRoZW50aWNhdGlvblNlcnZlcjgB", + "ivkrAhABQgVIAYABAA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonRequest.Parser, new[]{ "Program", "Platform", "Locale", "Email", "Version", "ApplicationVersion", "PublicComputer", "AllowLogonQueueNotifications", "CachedWebCredentials", "UserAgent", "DeviceId", "PhoneNumber", "AuthPlatform" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonResult), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonResult.Parser, new[]{ "ErrorCode", "AccountId", "GameAccountId", "Email", "AvailableRegion", "ConnectedRegion", "BattleTag", "GeoipCountry", "SessionKey", "RestrictedMode", "ClientId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonUpdateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonUpdateRequest.Parser, new[]{ "ErrorCode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonQueueUpdateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.LogonQueueUpdateRequest.Parser, new[]{ "Position", "EstimatedTime", "EtaDeviationInSec" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.ServerStateChangeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.ServerStateChangeRequest.Parser, new[]{ "State", "EventTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo.Parser, new[]{ "Number", "Patch", "IsOptional", "KickTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfoNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfoNotification.Parser, new[]{ "VersionInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.GenerateWebCredentialsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.GenerateWebCredentialsRequest.Parser, new[]{ "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.GenerateWebCredentialsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.GenerateWebCredentialsResponse.Parser, new[]{ "WebCredentials" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VerifyWebCredentialsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VerifyWebCredentialsRequest.Parser, new[]{ "WebCredentials" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LogonRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogonRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonRequest(LogonRequest other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + platform_ = other.platform_; + locale_ = other.locale_; + email_ = other.email_; + version_ = other.version_; + applicationVersion_ = other.applicationVersion_; + publicComputer_ = other.publicComputer_; + allowLogonQueueNotifications_ = other.allowLogonQueueNotifications_; + cachedWebCredentials_ = other.cachedWebCredentials_; + userAgent_ = other.userAgent_; + deviceId_ = other.deviceId_; + phoneNumber_ = other.phoneNumber_; + authPlatform_ = other.authPlatform_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonRequest Clone() { + return new LogonRequest(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static string ProgramDefaultValue = ""; + + private string program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Program { + get { return program_ ?? ProgramDefaultValue; } + set { + program_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return program_ != null; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + program_ = null; + } + + /// Field number for the "platform" field. + public const int PlatformFieldNumber = 2; + private readonly static string PlatformDefaultValue = ""; + + private string platform_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Platform { + get { return platform_ ?? PlatformDefaultValue; } + set { + platform_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "platform" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPlatform { + get { return platform_ != null; } + } + /// Clears the value of the "platform" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPlatform() { + platform_ = null; + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 3; + private readonly static string LocaleDefaultValue = ""; + + private string locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Locale { + get { return locale_ ?? LocaleDefaultValue; } + set { + locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return locale_ != null; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + locale_ = null; + } + + /// Field number for the "email" field. + public const int EmailFieldNumber = 4; + private readonly static string EmailDefaultValue = ""; + + private string email_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Email { + get { return email_ ?? EmailDefaultValue; } + set { + email_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "email" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEmail { + get { return email_ != null; } + } + /// Clears the value of the "email" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEmail() { + email_ = null; + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 5; + private readonly static string VersionDefaultValue = ""; + + private string version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Version { + get { return version_ ?? VersionDefaultValue; } + set { + version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return version_ != null; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + version_ = null; + } + + /// Field number for the "application_version" field. + public const int ApplicationVersionFieldNumber = 6; + private readonly static int ApplicationVersionDefaultValue = 0; + + private int applicationVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ApplicationVersion { + get { if ((_hasBits0 & 1) != 0) { return applicationVersion_; } else { return ApplicationVersionDefaultValue; } } + set { + _hasBits0 |= 1; + applicationVersion_ = value; + } + } + /// Gets whether the "application_version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasApplicationVersion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "application_version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearApplicationVersion() { + _hasBits0 &= ~1; + } + + /// Field number for the "public_computer" field. + public const int PublicComputerFieldNumber = 7; + private readonly static bool PublicComputerDefaultValue = false; + + private bool publicComputer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PublicComputer { + get { if ((_hasBits0 & 2) != 0) { return publicComputer_; } else { return PublicComputerDefaultValue; } } + set { + _hasBits0 |= 2; + publicComputer_ = value; + } + } + /// Gets whether the "public_computer" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPublicComputer { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "public_computer" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPublicComputer() { + _hasBits0 &= ~2; + } + + /// Field number for the "allow_logon_queue_notifications" field. + public const int AllowLogonQueueNotificationsFieldNumber = 10; + private readonly static bool AllowLogonQueueNotificationsDefaultValue = false; + + private bool allowLogonQueueNotifications_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AllowLogonQueueNotifications { + get { if ((_hasBits0 & 4) != 0) { return allowLogonQueueNotifications_; } else { return AllowLogonQueueNotificationsDefaultValue; } } + set { + _hasBits0 |= 4; + allowLogonQueueNotifications_ = value; + } + } + /// Gets whether the "allow_logon_queue_notifications" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAllowLogonQueueNotifications { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "allow_logon_queue_notifications" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAllowLogonQueueNotifications() { + _hasBits0 &= ~4; + } + + /// Field number for the "cached_web_credentials" field. + public const int CachedWebCredentialsFieldNumber = 12; + private readonly static pb::ByteString CachedWebCredentialsDefaultValue = pb::ByteString.Empty; + + private pb::ByteString cachedWebCredentials_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString CachedWebCredentials { + get { return cachedWebCredentials_ ?? CachedWebCredentialsDefaultValue; } + set { + cachedWebCredentials_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "cached_web_credentials" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCachedWebCredentials { + get { return cachedWebCredentials_ != null; } + } + /// Clears the value of the "cached_web_credentials" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCachedWebCredentials() { + cachedWebCredentials_ = null; + } + + /// Field number for the "user_agent" field. + public const int UserAgentFieldNumber = 14; + private readonly static string UserAgentDefaultValue = ""; + + private string userAgent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserAgent { + get { return userAgent_ ?? UserAgentDefaultValue; } + set { + userAgent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "user_agent" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUserAgent { + get { return userAgent_ != null; } + } + /// Clears the value of the "user_agent" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUserAgent() { + userAgent_ = null; + } + + /// Field number for the "device_id" field. + public const int DeviceIdFieldNumber = 15; + private readonly static string DeviceIdDefaultValue = ""; + + private string deviceId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeviceId { + get { return deviceId_ ?? DeviceIdDefaultValue; } + set { + deviceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "device_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDeviceId { + get { return deviceId_ != null; } + } + /// Clears the value of the "device_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDeviceId() { + deviceId_ = null; + } + + /// Field number for the "phone_number" field. + public const int PhoneNumberFieldNumber = 16; + private readonly static string PhoneNumberDefaultValue = ""; + + private string phoneNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PhoneNumber { + get { return phoneNumber_ ?? PhoneNumberDefaultValue; } + set { + phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "phone_number" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPhoneNumber { + get { return phoneNumber_ != null; } + } + /// Clears the value of the "phone_number" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPhoneNumber() { + phoneNumber_ = null; + } + + /// Field number for the "auth_platform" field. + public const int AuthPlatformFieldNumber = 17; + private readonly static string AuthPlatformDefaultValue = ""; + + private string authPlatform_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AuthPlatform { + get { return authPlatform_ ?? AuthPlatformDefaultValue; } + set { + authPlatform_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "auth_platform" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAuthPlatform { + get { return authPlatform_ != null; } + } + /// Clears the value of the "auth_platform" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAuthPlatform() { + authPlatform_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LogonRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LogonRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + if (Platform != other.Platform) return false; + if (Locale != other.Locale) return false; + if (Email != other.Email) return false; + if (Version != other.Version) return false; + if (ApplicationVersion != other.ApplicationVersion) return false; + if (PublicComputer != other.PublicComputer) return false; + if (AllowLogonQueueNotifications != other.AllowLogonQueueNotifications) return false; + if (CachedWebCredentials != other.CachedWebCredentials) return false; + if (UserAgent != other.UserAgent) return false; + if (DeviceId != other.DeviceId) return false; + if (PhoneNumber != other.PhoneNumber) return false; + if (AuthPlatform != other.AuthPlatform) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasPlatform) hash ^= Platform.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + if (HasEmail) hash ^= Email.GetHashCode(); + if (HasVersion) hash ^= Version.GetHashCode(); + if (HasApplicationVersion) hash ^= ApplicationVersion.GetHashCode(); + if (HasPublicComputer) hash ^= PublicComputer.GetHashCode(); + if (HasAllowLogonQueueNotifications) hash ^= AllowLogonQueueNotifications.GetHashCode(); + if (HasCachedWebCredentials) hash ^= CachedWebCredentials.GetHashCode(); + if (HasUserAgent) hash ^= UserAgent.GetHashCode(); + if (HasDeviceId) hash ^= DeviceId.GetHashCode(); + if (HasPhoneNumber) hash ^= PhoneNumber.GetHashCode(); + if (HasAuthPlatform) hash ^= AuthPlatform.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(10); + output.WriteString(Program); + } + if (HasPlatform) { + output.WriteRawTag(18); + output.WriteString(Platform); + } + if (HasLocale) { + output.WriteRawTag(26); + output.WriteString(Locale); + } + if (HasEmail) { + output.WriteRawTag(34); + output.WriteString(Email); + } + if (HasVersion) { + output.WriteRawTag(42); + output.WriteString(Version); + } + if (HasApplicationVersion) { + output.WriteRawTag(48); + output.WriteInt32(ApplicationVersion); + } + if (HasPublicComputer) { + output.WriteRawTag(56); + output.WriteBool(PublicComputer); + } + if (HasAllowLogonQueueNotifications) { + output.WriteRawTag(80); + output.WriteBool(AllowLogonQueueNotifications); + } + if (HasCachedWebCredentials) { + output.WriteRawTag(98); + output.WriteBytes(CachedWebCredentials); + } + if (HasUserAgent) { + output.WriteRawTag(114); + output.WriteString(UserAgent); + } + if (HasDeviceId) { + output.WriteRawTag(122); + output.WriteString(DeviceId); + } + if (HasPhoneNumber) { + output.WriteRawTag(130, 1); + output.WriteString(PhoneNumber); + } + if (HasAuthPlatform) { + output.WriteRawTag(138, 1); + output.WriteString(AuthPlatform); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(10); + output.WriteString(Program); + } + if (HasPlatform) { + output.WriteRawTag(18); + output.WriteString(Platform); + } + if (HasLocale) { + output.WriteRawTag(26); + output.WriteString(Locale); + } + if (HasEmail) { + output.WriteRawTag(34); + output.WriteString(Email); + } + if (HasVersion) { + output.WriteRawTag(42); + output.WriteString(Version); + } + if (HasApplicationVersion) { + output.WriteRawTag(48); + output.WriteInt32(ApplicationVersion); + } + if (HasPublicComputer) { + output.WriteRawTag(56); + output.WriteBool(PublicComputer); + } + if (HasAllowLogonQueueNotifications) { + output.WriteRawTag(80); + output.WriteBool(AllowLogonQueueNotifications); + } + if (HasCachedWebCredentials) { + output.WriteRawTag(98); + output.WriteBytes(CachedWebCredentials); + } + if (HasUserAgent) { + output.WriteRawTag(114); + output.WriteString(UserAgent); + } + if (HasDeviceId) { + output.WriteRawTag(122); + output.WriteString(DeviceId); + } + if (HasPhoneNumber) { + output.WriteRawTag(130, 1); + output.WriteString(PhoneNumber); + } + if (HasAuthPlatform) { + output.WriteRawTag(138, 1); + output.WriteString(AuthPlatform); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Program); + } + if (HasPlatform) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Platform); + } + if (HasLocale) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Locale); + } + if (HasEmail) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); + } + if (HasVersion) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); + } + if (HasApplicationVersion) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ApplicationVersion); + } + if (HasPublicComputer) { + size += 1 + 1; + } + if (HasAllowLogonQueueNotifications) { + size += 1 + 1; + } + if (HasCachedWebCredentials) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(CachedWebCredentials); + } + if (HasUserAgent) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserAgent); + } + if (HasDeviceId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceId); + } + if (HasPhoneNumber) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber); + } + if (HasAuthPlatform) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AuthPlatform); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LogonRequest other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasPlatform) { + Platform = other.Platform; + } + if (other.HasLocale) { + Locale = other.Locale; + } + if (other.HasEmail) { + Email = other.Email; + } + if (other.HasVersion) { + Version = other.Version; + } + if (other.HasApplicationVersion) { + ApplicationVersion = other.ApplicationVersion; + } + if (other.HasPublicComputer) { + PublicComputer = other.PublicComputer; + } + if (other.HasAllowLogonQueueNotifications) { + AllowLogonQueueNotifications = other.AllowLogonQueueNotifications; + } + if (other.HasCachedWebCredentials) { + CachedWebCredentials = other.CachedWebCredentials; + } + if (other.HasUserAgent) { + UserAgent = other.UserAgent; + } + if (other.HasDeviceId) { + DeviceId = other.DeviceId; + } + if (other.HasPhoneNumber) { + PhoneNumber = other.PhoneNumber; + } + if (other.HasAuthPlatform) { + AuthPlatform = other.AuthPlatform; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Program = input.ReadString(); + break; + } + case 18: { + Platform = input.ReadString(); + break; + } + case 26: { + Locale = input.ReadString(); + break; + } + case 34: { + Email = input.ReadString(); + break; + } + case 42: { + Version = input.ReadString(); + break; + } + case 48: { + ApplicationVersion = input.ReadInt32(); + break; + } + case 56: { + PublicComputer = input.ReadBool(); + break; + } + case 80: { + AllowLogonQueueNotifications = input.ReadBool(); + break; + } + case 98: { + CachedWebCredentials = input.ReadBytes(); + break; + } + case 114: { + UserAgent = input.ReadString(); + break; + } + case 122: { + DeviceId = input.ReadString(); + break; + } + case 130: { + PhoneNumber = input.ReadString(); + break; + } + case 138: { + AuthPlatform = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Program = input.ReadString(); + break; + } + case 18: { + Platform = input.ReadString(); + break; + } + case 26: { + Locale = input.ReadString(); + break; + } + case 34: { + Email = input.ReadString(); + break; + } + case 42: { + Version = input.ReadString(); + break; + } + case 48: { + ApplicationVersion = input.ReadInt32(); + break; + } + case 56: { + PublicComputer = input.ReadBool(); + break; + } + case 80: { + AllowLogonQueueNotifications = input.ReadBool(); + break; + } + case 98: { + CachedWebCredentials = input.ReadBytes(); + break; + } + case 114: { + UserAgent = input.ReadString(); + break; + } + case 122: { + DeviceId = input.ReadString(); + break; + } + case 130: { + PhoneNumber = input.ReadString(); + break; + } + case 138: { + AuthPlatform = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LogonResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogonResult()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonResult(LogonResult other) : this() { + _hasBits0 = other._hasBits0; + errorCode_ = other.errorCode_; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + gameAccountId_ = other.gameAccountId_.Clone(); + email_ = other.email_; + availableRegion_ = other.availableRegion_.Clone(); + connectedRegion_ = other.connectedRegion_; + battleTag_ = other.battleTag_; + geoipCountry_ = other.geoipCountry_; + sessionKey_ = other.sessionKey_; + restrictedMode_ = other.restrictedMode_; + clientId_ = other.clientId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonResult Clone() { + return new LogonResult(this); + } + + /// Field number for the "error_code" field. + public const int ErrorCodeFieldNumber = 1; + private readonly static uint ErrorCodeDefaultValue = 0; + + private uint errorCode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ErrorCode { + get { if ((_hasBits0 & 1) != 0) { return errorCode_; } else { return ErrorCodeDefaultValue; } } + set { + _hasBits0 |= 1; + errorCode_ = value; + } + } + /// Gets whether the "error_code" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasErrorCode { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "error_code" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearErrorCode() { + _hasBits0 &= ~1; + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_gameAccountId_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId.Parser); + private readonly pbc::RepeatedField gameAccountId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GameAccountId { + get { return gameAccountId_; } + } + + /// Field number for the "email" field. + public const int EmailFieldNumber = 4; + private readonly static string EmailDefaultValue = ""; + + private string email_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Email { + get { return email_ ?? EmailDefaultValue; } + set { + email_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "email" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEmail { + get { return email_ != null; } + } + /// Clears the value of the "email" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEmail() { + email_ = null; + } + + /// Field number for the "available_region" field. + public const int AvailableRegionFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_availableRegion_codec + = pb::FieldCodec.ForUInt32(40); + private readonly pbc::RepeatedField availableRegion_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AvailableRegion { + get { return availableRegion_; } + } + + /// Field number for the "connected_region" field. + public const int ConnectedRegionFieldNumber = 6; + private readonly static uint ConnectedRegionDefaultValue = 0; + + private uint connectedRegion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ConnectedRegion { + get { if ((_hasBits0 & 2) != 0) { return connectedRegion_; } else { return ConnectedRegionDefaultValue; } } + set { + _hasBits0 |= 2; + connectedRegion_ = value; + } + } + /// Gets whether the "connected_region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasConnectedRegion { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "connected_region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearConnectedRegion() { + _hasBits0 &= ~2; + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 7; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "geoip_country" field. + public const int GeoipCountryFieldNumber = 8; + private readonly static string GeoipCountryDefaultValue = ""; + + private string geoipCountry_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GeoipCountry { + get { return geoipCountry_ ?? GeoipCountryDefaultValue; } + set { + geoipCountry_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "geoip_country" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGeoipCountry { + get { return geoipCountry_ != null; } + } + /// Clears the value of the "geoip_country" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGeoipCountry() { + geoipCountry_ = null; + } + + /// Field number for the "session_key" field. + public const int SessionKeyFieldNumber = 9; + private readonly static pb::ByteString SessionKeyDefaultValue = pb::ByteString.Empty; + + private pb::ByteString sessionKey_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString SessionKey { + get { return sessionKey_ ?? SessionKeyDefaultValue; } + set { + sessionKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "session_key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSessionKey { + get { return sessionKey_ != null; } + } + /// Clears the value of the "session_key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSessionKey() { + sessionKey_ = null; + } + + /// Field number for the "restricted_mode" field. + public const int RestrictedModeFieldNumber = 10; + private readonly static bool RestrictedModeDefaultValue = false; + + private bool restrictedMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RestrictedMode { + get { if ((_hasBits0 & 4) != 0) { return restrictedMode_; } else { return RestrictedModeDefaultValue; } } + set { + _hasBits0 |= 4; + restrictedMode_ = value; + } + } + /// Gets whether the "restricted_mode" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRestrictedMode { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "restricted_mode" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRestrictedMode() { + _hasBits0 &= ~4; + } + + /// Field number for the "client_id" field. + public const int ClientIdFieldNumber = 11; + private readonly static string ClientIdDefaultValue = ""; + + private string clientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientId { + get { return clientId_ ?? ClientIdDefaultValue; } + set { + clientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientId { + get { return clientId_ != null; } + } + /// Clears the value of the "client_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientId() { + clientId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LogonResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LogonResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ErrorCode != other.ErrorCode) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + if(!gameAccountId_.Equals(other.gameAccountId_)) return false; + if (Email != other.Email) return false; + if(!availableRegion_.Equals(other.availableRegion_)) return false; + if (ConnectedRegion != other.ConnectedRegion) return false; + if (BattleTag != other.BattleTag) return false; + if (GeoipCountry != other.GeoipCountry) return false; + if (SessionKey != other.SessionKey) return false; + if (RestrictedMode != other.RestrictedMode) return false; + if (ClientId != other.ClientId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasErrorCode) hash ^= ErrorCode.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + hash ^= gameAccountId_.GetHashCode(); + if (HasEmail) hash ^= Email.GetHashCode(); + hash ^= availableRegion_.GetHashCode(); + if (HasConnectedRegion) hash ^= ConnectedRegion.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (HasGeoipCountry) hash ^= GeoipCountry.GetHashCode(); + if (HasSessionKey) hash ^= SessionKey.GetHashCode(); + if (HasRestrictedMode) hash ^= RestrictedMode.GetHashCode(); + if (HasClientId) hash ^= ClientId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (accountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AccountId); + } + gameAccountId_.WriteTo(output, _repeated_gameAccountId_codec); + if (HasEmail) { + output.WriteRawTag(34); + output.WriteString(Email); + } + availableRegion_.WriteTo(output, _repeated_availableRegion_codec); + if (HasConnectedRegion) { + output.WriteRawTag(48); + output.WriteUInt32(ConnectedRegion); + } + if (HasBattleTag) { + output.WriteRawTag(58); + output.WriteString(BattleTag); + } + if (HasGeoipCountry) { + output.WriteRawTag(66); + output.WriteString(GeoipCountry); + } + if (HasSessionKey) { + output.WriteRawTag(74); + output.WriteBytes(SessionKey); + } + if (HasRestrictedMode) { + output.WriteRawTag(80); + output.WriteBool(RestrictedMode); + } + if (HasClientId) { + output.WriteRawTag(90); + output.WriteString(ClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (accountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AccountId); + } + gameAccountId_.WriteTo(ref output, _repeated_gameAccountId_codec); + if (HasEmail) { + output.WriteRawTag(34); + output.WriteString(Email); + } + availableRegion_.WriteTo(ref output, _repeated_availableRegion_codec); + if (HasConnectedRegion) { + output.WriteRawTag(48); + output.WriteUInt32(ConnectedRegion); + } + if (HasBattleTag) { + output.WriteRawTag(58); + output.WriteString(BattleTag); + } + if (HasGeoipCountry) { + output.WriteRawTag(66); + output.WriteString(GeoipCountry); + } + if (HasSessionKey) { + output.WriteRawTag(74); + output.WriteBytes(SessionKey); + } + if (HasRestrictedMode) { + output.WriteRawTag(80); + output.WriteBool(RestrictedMode); + } + if (HasClientId) { + output.WriteRawTag(90); + output.WriteString(ClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasErrorCode) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ErrorCode); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + size += gameAccountId_.CalculateSize(_repeated_gameAccountId_codec); + if (HasEmail) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); + } + size += availableRegion_.CalculateSize(_repeated_availableRegion_codec); + if (HasConnectedRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ConnectedRegion); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (HasGeoipCountry) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GeoipCountry); + } + if (HasSessionKey) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(SessionKey); + } + if (HasRestrictedMode) { + size += 1 + 1; + } + if (HasClientId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LogonResult other) { + if (other == null) { + return; + } + if (other.HasErrorCode) { + ErrorCode = other.ErrorCode; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + gameAccountId_.Add(other.gameAccountId_); + if (other.HasEmail) { + Email = other.Email; + } + availableRegion_.Add(other.availableRegion_); + if (other.HasConnectedRegion) { + ConnectedRegion = other.ConnectedRegion; + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + if (other.HasGeoipCountry) { + GeoipCountry = other.GeoipCountry; + } + if (other.HasSessionKey) { + SessionKey = other.SessionKey; + } + if (other.HasRestrictedMode) { + RestrictedMode = other.RestrictedMode; + } + if (other.HasClientId) { + ClientId = other.ClientId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + case 18: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 26: { + gameAccountId_.AddEntriesFrom(input, _repeated_gameAccountId_codec); + break; + } + case 34: { + Email = input.ReadString(); + break; + } + case 42: + case 40: { + availableRegion_.AddEntriesFrom(input, _repeated_availableRegion_codec); + break; + } + case 48: { + ConnectedRegion = input.ReadUInt32(); + break; + } + case 58: { + BattleTag = input.ReadString(); + break; + } + case 66: { + GeoipCountry = input.ReadString(); + break; + } + case 74: { + SessionKey = input.ReadBytes(); + break; + } + case 80: { + RestrictedMode = input.ReadBool(); + break; + } + case 90: { + ClientId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + case 18: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 26: { + gameAccountId_.AddEntriesFrom(ref input, _repeated_gameAccountId_codec); + break; + } + case 34: { + Email = input.ReadString(); + break; + } + case 42: + case 40: { + availableRegion_.AddEntriesFrom(ref input, _repeated_availableRegion_codec); + break; + } + case 48: { + ConnectedRegion = input.ReadUInt32(); + break; + } + case 58: { + BattleTag = input.ReadString(); + break; + } + case 66: { + GeoipCountry = input.ReadString(); + break; + } + case 74: { + SessionKey = input.ReadBytes(); + break; + } + case 80: { + RestrictedMode = input.ReadBool(); + break; + } + case 90: { + ClientId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LogonUpdateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogonUpdateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonUpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonUpdateRequest(LogonUpdateRequest other) : this() { + _hasBits0 = other._hasBits0; + errorCode_ = other.errorCode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonUpdateRequest Clone() { + return new LogonUpdateRequest(this); + } + + /// Field number for the "error_code" field. + public const int ErrorCodeFieldNumber = 1; + private readonly static uint ErrorCodeDefaultValue = 0; + + private uint errorCode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ErrorCode { + get { if ((_hasBits0 & 1) != 0) { return errorCode_; } else { return ErrorCodeDefaultValue; } } + set { + _hasBits0 |= 1; + errorCode_ = value; + } + } + /// Gets whether the "error_code" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasErrorCode { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "error_code" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearErrorCode() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LogonUpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LogonUpdateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ErrorCode != other.ErrorCode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasErrorCode) hash ^= ErrorCode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasErrorCode) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ErrorCode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LogonUpdateRequest other) { + if (other == null) { + return; + } + if (other.HasErrorCode) { + ErrorCode = other.ErrorCode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LogonQueueUpdateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogonQueueUpdateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonQueueUpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonQueueUpdateRequest(LogonQueueUpdateRequest other) : this() { + _hasBits0 = other._hasBits0; + position_ = other.position_; + estimatedTime_ = other.estimatedTime_; + etaDeviationInSec_ = other.etaDeviationInSec_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LogonQueueUpdateRequest Clone() { + return new LogonQueueUpdateRequest(this); + } + + /// Field number for the "position" field. + public const int PositionFieldNumber = 1; + private readonly static uint PositionDefaultValue = 0; + + private uint position_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Position { + get { if ((_hasBits0 & 1) != 0) { return position_; } else { return PositionDefaultValue; } } + set { + _hasBits0 |= 1; + position_ = value; + } + } + /// Gets whether the "position" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPosition { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "position" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPosition() { + _hasBits0 &= ~1; + } + + /// Field number for the "estimated_time" field. + public const int EstimatedTimeFieldNumber = 2; + private readonly static ulong EstimatedTimeDefaultValue = 0UL; + + private ulong estimatedTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EstimatedTime { + get { if ((_hasBits0 & 2) != 0) { return estimatedTime_; } else { return EstimatedTimeDefaultValue; } } + set { + _hasBits0 |= 2; + estimatedTime_ = value; + } + } + /// Gets whether the "estimated_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEstimatedTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "estimated_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEstimatedTime() { + _hasBits0 &= ~2; + } + + /// Field number for the "eta_deviation_in_sec" field. + public const int EtaDeviationInSecFieldNumber = 3; + private readonly static ulong EtaDeviationInSecDefaultValue = 0UL; + + private ulong etaDeviationInSec_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EtaDeviationInSec { + get { if ((_hasBits0 & 4) != 0) { return etaDeviationInSec_; } else { return EtaDeviationInSecDefaultValue; } } + set { + _hasBits0 |= 4; + etaDeviationInSec_ = value; + } + } + /// Gets whether the "eta_deviation_in_sec" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEtaDeviationInSec { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "eta_deviation_in_sec" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEtaDeviationInSec() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LogonQueueUpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LogonQueueUpdateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Position != other.Position) return false; + if (EstimatedTime != other.EstimatedTime) return false; + if (EtaDeviationInSec != other.EtaDeviationInSec) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPosition) hash ^= Position.GetHashCode(); + if (HasEstimatedTime) hash ^= EstimatedTime.GetHashCode(); + if (HasEtaDeviationInSec) hash ^= EtaDeviationInSec.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPosition) { + output.WriteRawTag(8); + output.WriteUInt32(Position); + } + if (HasEstimatedTime) { + output.WriteRawTag(16); + output.WriteUInt64(EstimatedTime); + } + if (HasEtaDeviationInSec) { + output.WriteRawTag(24); + output.WriteUInt64(EtaDeviationInSec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPosition) { + output.WriteRawTag(8); + output.WriteUInt32(Position); + } + if (HasEstimatedTime) { + output.WriteRawTag(16); + output.WriteUInt64(EstimatedTime); + } + if (HasEtaDeviationInSec) { + output.WriteRawTag(24); + output.WriteUInt64(EtaDeviationInSec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPosition) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Position); + } + if (HasEstimatedTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EstimatedTime); + } + if (HasEtaDeviationInSec) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EtaDeviationInSec); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LogonQueueUpdateRequest other) { + if (other == null) { + return; + } + if (other.HasPosition) { + Position = other.Position; + } + if (other.HasEstimatedTime) { + EstimatedTime = other.EstimatedTime; + } + if (other.HasEtaDeviationInSec) { + EtaDeviationInSec = other.EtaDeviationInSec; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Position = input.ReadUInt32(); + break; + } + case 16: { + EstimatedTime = input.ReadUInt64(); + break; + } + case 24: { + EtaDeviationInSec = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Position = input.ReadUInt32(); + break; + } + case 16: { + EstimatedTime = input.ReadUInt64(); + break; + } + case 24: { + EtaDeviationInSec = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ServerStateChangeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerStateChangeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerStateChangeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerStateChangeRequest(ServerStateChangeRequest other) : this() { + _hasBits0 = other._hasBits0; + state_ = other.state_; + eventTime_ = other.eventTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerStateChangeRequest Clone() { + return new ServerStateChangeRequest(this); + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 1; + private readonly static uint StateDefaultValue = 0; + + private uint state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint State { + get { if ((_hasBits0 & 1) != 0) { return state_; } else { return StateDefaultValue; } } + set { + _hasBits0 |= 1; + state_ = value; + } + } + /// Gets whether the "state" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasState { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "state" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearState() { + _hasBits0 &= ~1; + } + + /// Field number for the "event_time" field. + public const int EventTimeFieldNumber = 2; + private readonly static ulong EventTimeDefaultValue = 0UL; + + private ulong eventTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EventTime { + get { if ((_hasBits0 & 2) != 0) { return eventTime_; } else { return EventTimeDefaultValue; } } + set { + _hasBits0 |= 2; + eventTime_ = value; + } + } + /// Gets whether the "event_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEventTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "event_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEventTime() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ServerStateChangeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ServerStateChangeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (State != other.State) return false; + if (EventTime != other.EventTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasState) hash ^= State.GetHashCode(); + if (HasEventTime) hash ^= EventTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasState) { + output.WriteRawTag(8); + output.WriteUInt32(State); + } + if (HasEventTime) { + output.WriteRawTag(16); + output.WriteUInt64(EventTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasState) { + output.WriteRawTag(8); + output.WriteUInt32(State); + } + if (HasEventTime) { + output.WriteRawTag(16); + output.WriteUInt64(EventTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasState) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(State); + } + if (HasEventTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EventTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ServerStateChangeRequest other) { + if (other == null) { + return; + } + if (other.HasState) { + State = other.State; + } + if (other.HasEventTime) { + EventTime = other.EventTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + State = input.ReadUInt32(); + break; + } + case 16: { + EventTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + State = input.ReadUInt32(); + break; + } + case 16: { + EventTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VersionInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VersionInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VersionInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VersionInfo(VersionInfo other) : this() { + _hasBits0 = other._hasBits0; + number_ = other.number_; + patch_ = other.patch_; + isOptional_ = other.isOptional_; + kickTime_ = other.kickTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VersionInfo Clone() { + return new VersionInfo(this); + } + + /// Field number for the "number" field. + public const int NumberFieldNumber = 1; + private readonly static uint NumberDefaultValue = 0; + + private uint number_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Number { + get { if ((_hasBits0 & 1) != 0) { return number_; } else { return NumberDefaultValue; } } + set { + _hasBits0 |= 1; + number_ = value; + } + } + /// Gets whether the "number" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNumber { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "number" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNumber() { + _hasBits0 &= ~1; + } + + /// Field number for the "patch" field. + public const int PatchFieldNumber = 2; + private readonly static string PatchDefaultValue = ""; + + private string patch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Patch { + get { return patch_ ?? PatchDefaultValue; } + set { + patch_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "patch" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPatch { + get { return patch_ != null; } + } + /// Clears the value of the "patch" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPatch() { + patch_ = null; + } + + /// Field number for the "is_optional" field. + public const int IsOptionalFieldNumber = 3; + private readonly static bool IsOptionalDefaultValue = false; + + private bool isOptional_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsOptional { + get { if ((_hasBits0 & 2) != 0) { return isOptional_; } else { return IsOptionalDefaultValue; } } + set { + _hasBits0 |= 2; + isOptional_ = value; + } + } + /// Gets whether the "is_optional" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsOptional { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "is_optional" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsOptional() { + _hasBits0 &= ~2; + } + + /// Field number for the "kick_time" field. + public const int KickTimeFieldNumber = 4; + private readonly static ulong KickTimeDefaultValue = 0UL; + + private ulong kickTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong KickTime { + get { if ((_hasBits0 & 4) != 0) { return kickTime_; } else { return KickTimeDefaultValue; } } + set { + _hasBits0 |= 4; + kickTime_ = value; + } + } + /// Gets whether the "kick_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasKickTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "kick_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearKickTime() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VersionInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VersionInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Number != other.Number) return false; + if (Patch != other.Patch) return false; + if (IsOptional != other.IsOptional) return false; + if (KickTime != other.KickTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNumber) hash ^= Number.GetHashCode(); + if (HasPatch) hash ^= Patch.GetHashCode(); + if (HasIsOptional) hash ^= IsOptional.GetHashCode(); + if (HasKickTime) hash ^= KickTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNumber) { + output.WriteRawTag(8); + output.WriteUInt32(Number); + } + if (HasPatch) { + output.WriteRawTag(18); + output.WriteString(Patch); + } + if (HasIsOptional) { + output.WriteRawTag(24); + output.WriteBool(IsOptional); + } + if (HasKickTime) { + output.WriteRawTag(32); + output.WriteUInt64(KickTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNumber) { + output.WriteRawTag(8); + output.WriteUInt32(Number); + } + if (HasPatch) { + output.WriteRawTag(18); + output.WriteString(Patch); + } + if (HasIsOptional) { + output.WriteRawTag(24); + output.WriteBool(IsOptional); + } + if (HasKickTime) { + output.WriteRawTag(32); + output.WriteUInt64(KickTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNumber) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Number); + } + if (HasPatch) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Patch); + } + if (HasIsOptional) { + size += 1 + 1; + } + if (HasKickTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(KickTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VersionInfo other) { + if (other == null) { + return; + } + if (other.HasNumber) { + Number = other.Number; + } + if (other.HasPatch) { + Patch = other.Patch; + } + if (other.HasIsOptional) { + IsOptional = other.IsOptional; + } + if (other.HasKickTime) { + KickTime = other.KickTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Number = input.ReadUInt32(); + break; + } + case 18: { + Patch = input.ReadString(); + break; + } + case 24: { + IsOptional = input.ReadBool(); + break; + } + case 32: { + KickTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Number = input.ReadUInt32(); + break; + } + case 18: { + Patch = input.ReadString(); + break; + } + case 24: { + IsOptional = input.ReadBool(); + break; + } + case 32: { + KickTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VersionInfoNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VersionInfoNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VersionInfoNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VersionInfoNotification(VersionInfoNotification other) : this() { + versionInfo_ = other.versionInfo_ != null ? other.versionInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VersionInfoNotification Clone() { + return new VersionInfoNotification(this); + } + + /// Field number for the "version_info" field. + public const int VersionInfoFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo versionInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo VersionInfo { + get { return versionInfo_; } + set { + versionInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VersionInfoNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VersionInfoNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(VersionInfo, other.VersionInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (versionInfo_ != null) hash ^= VersionInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (versionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(VersionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (versionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(VersionInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (versionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(VersionInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VersionInfoNotification other) { + if (other == null) { + return; + } + if (other.versionInfo_ != null) { + if (versionInfo_ == null) { + VersionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo(); + } + VersionInfo.MergeFrom(other.VersionInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (versionInfo_ == null) { + VersionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo(); + } + input.ReadMessage(VersionInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (versionInfo_ == null) { + VersionInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.VersionInfo(); + } + input.ReadMessage(VersionInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GenerateWebCredentialsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenerateWebCredentialsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerateWebCredentialsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerateWebCredentialsRequest(GenerateWebCredentialsRequest other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerateWebCredentialsRequest Clone() { + return new GenerateWebCredentialsRequest(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GenerateWebCredentialsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GenerateWebCredentialsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GenerateWebCredentialsRequest other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GenerateWebCredentialsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenerateWebCredentialsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerateWebCredentialsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerateWebCredentialsResponse(GenerateWebCredentialsResponse other) : this() { + webCredentials_ = other.webCredentials_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerateWebCredentialsResponse Clone() { + return new GenerateWebCredentialsResponse(this); + } + + /// Field number for the "web_credentials" field. + public const int WebCredentialsFieldNumber = 1; + private readonly static pb::ByteString WebCredentialsDefaultValue = pb::ByteString.Empty; + + private pb::ByteString webCredentials_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString WebCredentials { + get { return webCredentials_ ?? WebCredentialsDefaultValue; } + set { + webCredentials_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "web_credentials" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWebCredentials { + get { return webCredentials_ != null; } + } + /// Clears the value of the "web_credentials" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWebCredentials() { + webCredentials_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GenerateWebCredentialsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GenerateWebCredentialsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (WebCredentials != other.WebCredentials) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasWebCredentials) hash ^= WebCredentials.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasWebCredentials) { + output.WriteRawTag(10); + output.WriteBytes(WebCredentials); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasWebCredentials) { + output.WriteRawTag(10); + output.WriteBytes(WebCredentials); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasWebCredentials) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(WebCredentials); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GenerateWebCredentialsResponse other) { + if (other == null) { + return; + } + if (other.HasWebCredentials) { + WebCredentials = other.WebCredentials; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + WebCredentials = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WebCredentials = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VerifyWebCredentialsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VerifyWebCredentialsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Authentication.V1.AuthenticationServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VerifyWebCredentialsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VerifyWebCredentialsRequest(VerifyWebCredentialsRequest other) : this() { + webCredentials_ = other.webCredentials_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VerifyWebCredentialsRequest Clone() { + return new VerifyWebCredentialsRequest(this); + } + + /// Field number for the "web_credentials" field. + public const int WebCredentialsFieldNumber = 1; + private readonly static pb::ByteString WebCredentialsDefaultValue = pb::ByteString.Empty; + + private pb::ByteString webCredentials_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString WebCredentials { + get { return webCredentials_ ?? WebCredentialsDefaultValue; } + set { + webCredentials_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "web_credentials" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWebCredentials { + get { return webCredentials_ != null; } + } + /// Clears the value of the "web_credentials" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWebCredentials() { + webCredentials_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VerifyWebCredentialsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VerifyWebCredentialsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (WebCredentials != other.WebCredentials) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasWebCredentials) hash ^= WebCredentials.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasWebCredentials) { + output.WriteRawTag(10); + output.WriteBytes(WebCredentials); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasWebCredentials) { + output.WriteRawTag(10); + output.WriteBytes(WebCredentials); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasWebCredentials) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(WebCredentials); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VerifyWebCredentialsRequest other) { + if (other == null) { + return; + } + if (other.HasWebCredentials) { + WebCredentials = other.WebCredentials; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + WebCredentials = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WebCredentials = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ChallengeService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ChallengeService.cs new file mode 100644 index 0000000000..6a9f528a93 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ChallengeService.cs @@ -0,0 +1,619 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/challenge_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/challenge_service.proto + public static partial class ChallengeServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/challenge_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ChallengeServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiliZ3MvbG93L3BiL2NsaWVudC9jaGFsbGVuZ2Vfc2VydmljZS5wcm90bxIZ", + "YmdzLnByb3RvY29sLmNoYWxsZW5nZS52MRohYmdzL2xvdy9wYi9jbGllbnQv", + "cnBjX3R5cGVzLnByb3RvIlgKGENoYWxsZW5nZUV4dGVybmFsUmVxdWVzdBIV", + "Cg1yZXF1ZXN0X3Rva2VuGAEgASgJEhQKDHBheWxvYWRfdHlwZRgCIAEoCRIP", + "CgdwYXlsb2FkGAMgASgMIkYKF0NoYWxsZW5nZUV4dGVybmFsUmVzdWx0EhUK", + "DXJlcXVlc3RfdG9rZW4YASABKAkSFAoGcGFzc2VkGAIgASgIOgR0cnVlMq0C", + "ChFDaGFsbGVuZ2VMaXN0ZW5lchJtChNPbkV4dGVybmFsQ2hhbGxlbmdlEjMu", + "YmdzLnByb3RvY29sLmNoYWxsZW5nZS52MS5DaGFsbGVuZ2VFeHRlcm5hbFJl", + "cXVlc3QaGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIAxJyChlP", + "bkV4dGVybmFsQ2hhbGxlbmdlUmVzdWx0EjIuYmdzLnByb3RvY29sLmNoYWxs", + "ZW5nZS52MS5DaGFsbGVuZ2VFeHRlcm5hbFJlc3VsdBoZLmJncy5wcm90b2Nv", + "bC5OT19SRVNQT05TRSIGgvkrAggEGjWC+SsrCidibmV0LnByb3RvY29sLmNo", + "YWxsZW5nZS5DaGFsbGVuZ2VOb3RpZnk4AYr5KwIIAUIFSAGAAQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1.ChallengeExternalRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1.ChallengeExternalRequest.Parser, new[]{ "RequestToken", "PayloadType", "Payload" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1.ChallengeExternalResult), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1.ChallengeExternalResult.Parser, new[]{ "RequestToken", "Passed" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChallengeExternalRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengeExternalRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1.ChallengeServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChallengeExternalRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChallengeExternalRequest(ChallengeExternalRequest other) : this() { + requestToken_ = other.requestToken_; + payloadType_ = other.payloadType_; + payload_ = other.payload_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChallengeExternalRequest Clone() { + return new ChallengeExternalRequest(this); + } + + /// Field number for the "request_token" field. + public const int RequestTokenFieldNumber = 1; + private readonly static string RequestTokenDefaultValue = ""; + + private string requestToken_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RequestToken { + get { return requestToken_ ?? RequestTokenDefaultValue; } + set { + requestToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "request_token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequestToken { + get { return requestToken_ != null; } + } + /// Clears the value of the "request_token" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequestToken() { + requestToken_ = null; + } + + /// Field number for the "payload_type" field. + public const int PayloadTypeFieldNumber = 2; + private readonly static string PayloadTypeDefaultValue = ""; + + private string payloadType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PayloadType { + get { return payloadType_ ?? PayloadTypeDefaultValue; } + set { + payloadType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "payload_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPayloadType { + get { return payloadType_ != null; } + } + /// Clears the value of the "payload_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPayloadType() { + payloadType_ = null; + } + + /// Field number for the "payload" field. + public const int PayloadFieldNumber = 3; + private readonly static pb::ByteString PayloadDefaultValue = pb::ByteString.Empty; + + private pb::ByteString payload_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Payload { + get { return payload_ ?? PayloadDefaultValue; } + set { + payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "payload" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPayload { + get { return payload_ != null; } + } + /// Clears the value of the "payload" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPayload() { + payload_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChallengeExternalRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChallengeExternalRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RequestToken != other.RequestToken) return false; + if (PayloadType != other.PayloadType) return false; + if (Payload != other.Payload) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequestToken) hash ^= RequestToken.GetHashCode(); + if (HasPayloadType) hash ^= PayloadType.GetHashCode(); + if (HasPayload) hash ^= Payload.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequestToken) { + output.WriteRawTag(10); + output.WriteString(RequestToken); + } + if (HasPayloadType) { + output.WriteRawTag(18); + output.WriteString(PayloadType); + } + if (HasPayload) { + output.WriteRawTag(26); + output.WriteBytes(Payload); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequestToken) { + output.WriteRawTag(10); + output.WriteString(RequestToken); + } + if (HasPayloadType) { + output.WriteRawTag(18); + output.WriteString(PayloadType); + } + if (HasPayload) { + output.WriteRawTag(26); + output.WriteBytes(Payload); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequestToken) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestToken); + } + if (HasPayloadType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PayloadType); + } + if (HasPayload) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChallengeExternalRequest other) { + if (other == null) { + return; + } + if (other.HasRequestToken) { + RequestToken = other.RequestToken; + } + if (other.HasPayloadType) { + PayloadType = other.PayloadType; + } + if (other.HasPayload) { + Payload = other.Payload; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + RequestToken = input.ReadString(); + break; + } + case 18: { + PayloadType = input.ReadString(); + break; + } + case 26: { + Payload = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + RequestToken = input.ReadString(); + break; + } + case 18: { + PayloadType = input.ReadString(); + break; + } + case 26: { + Payload = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChallengeExternalResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengeExternalResult()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Challenge.V1.ChallengeServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChallengeExternalResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChallengeExternalResult(ChallengeExternalResult other) : this() { + _hasBits0 = other._hasBits0; + requestToken_ = other.requestToken_; + passed_ = other.passed_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChallengeExternalResult Clone() { + return new ChallengeExternalResult(this); + } + + /// Field number for the "request_token" field. + public const int RequestTokenFieldNumber = 1; + private readonly static string RequestTokenDefaultValue = ""; + + private string requestToken_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RequestToken { + get { return requestToken_ ?? RequestTokenDefaultValue; } + set { + requestToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "request_token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequestToken { + get { return requestToken_ != null; } + } + /// Clears the value of the "request_token" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequestToken() { + requestToken_ = null; + } + + /// Field number for the "passed" field. + public const int PassedFieldNumber = 2; + private readonly static bool PassedDefaultValue = true; + + private bool passed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Passed { + get { if ((_hasBits0 & 1) != 0) { return passed_; } else { return PassedDefaultValue; } } + set { + _hasBits0 |= 1; + passed_ = value; + } + } + /// Gets whether the "passed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPassed { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "passed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPassed() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChallengeExternalResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChallengeExternalResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RequestToken != other.RequestToken) return false; + if (Passed != other.Passed) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequestToken) hash ^= RequestToken.GetHashCode(); + if (HasPassed) hash ^= Passed.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequestToken) { + output.WriteRawTag(10); + output.WriteString(RequestToken); + } + if (HasPassed) { + output.WriteRawTag(16); + output.WriteBool(Passed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequestToken) { + output.WriteRawTag(10); + output.WriteString(RequestToken); + } + if (HasPassed) { + output.WriteRawTag(16); + output.WriteBool(Passed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequestToken) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestToken); + } + if (HasPassed) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChallengeExternalResult other) { + if (other == null) { + return; + } + if (other.HasRequestToken) { + RequestToken = other.RequestToken; + } + if (other.HasPassed) { + Passed = other.Passed; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + RequestToken = input.ReadString(); + break; + } + case 16: { + Passed = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + RequestToken = input.ReadString(); + break; + } + case 16: { + Passed = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ChannelTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ChannelTypes.cs new file mode 100644 index 0000000000..d3ad8cd288 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ChannelTypes.cs @@ -0,0 +1,3132 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/channel_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/channel_types.proto + public static partial class ChannelTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/channel_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ChannelTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiViZ3MvbG93L3BiL2NsaWVudC9jaGFubmVsX3R5cGVzLnByb3RvEhdiZ3Mu", + "cHJvdG9jb2wuY2hhbm5lbC52MRowYmdzL2xvdy9wYi9jbGllbnQvYXBpL2Ns", + "aWVudC92MS9jaGFubmVsX2lkLnByb3RvGidiZ3MvbG93L3BiL2NsaWVudC9h", + "dHRyaWJ1dGVfdHlwZXMucHJvdG8aJGJncy9sb3cvcGIvY2xpZW50L2VudGl0", + "eV90eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGllbnQvYWNjb3VudF90eXBl", + "cy5wcm90bxooYmdzL2xvdy9wYi9jbGllbnQvaW52aXRhdGlvbl90eXBlcy5w", + "cm90bxohYmdzL2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnByb3RvIjwKB01l", + "c3NhZ2USKgoJYXR0cmlidXRlGAEgAygLMhcuYmdzLnByb3RvY29sLkF0dHJp", + "YnV0ZSoFCGQQkE4i2wEKE0xpc3RDaGFubmVsc09wdGlvbnMSFgoLc3RhcnRf", + "aW5kZXgYASABKA06ATASFwoLbWF4X3Jlc3VsdHMYAiABKA06AjE2EgwKBG5h", + "bWUYAyABKAkSDwoHcHJvZ3JhbRgEIAEoBxIOCgZsb2NhbGUYBSABKAcSFQoN", + "Y2FwYWNpdHlfZnVsbBgGIAEoDRI3ChBhdHRyaWJ1dGVfZmlsdGVyGAcgAigL", + "Mh0uYmdzLnByb3RvY29sLkF0dHJpYnV0ZUZpbHRlchIUCgxjaGFubmVsX3R5", + "cGUYCCABKAkijwEKEkNoYW5uZWxEZXNjcmlwdGlvbhIqCgpjaGFubmVsX2lk", + "GAEgAigLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEhcKD2N1cnJlbnRfbWVt", + "YmVycxgCIAEoDRI0CgVzdGF0ZRgDIAEoCzIlLmJncy5wcm90b2NvbC5jaGFu", + "bmVsLnYxLkNoYW5uZWxTdGF0ZSKAAQoLQ2hhbm5lbEluZm8SQAoLZGVzY3Jp", + "cHRpb24YASACKAsyKy5iZ3MucHJvdG9jb2wuY2hhbm5lbC52MS5DaGFubmVs", + "RGVzY3JpcHRpb24SLwoGbWVtYmVyGAIgAygLMh8uYmdzLnByb3RvY29sLmNo", + "YW5uZWwudjEuTWVtYmVyIv8DCgxDaGFubmVsU3RhdGUSEwoLbWF4X21lbWJl", + "cnMYASABKA0SEwoLbWluX21lbWJlcnMYAiABKA0SKgoJYXR0cmlidXRlGAMg", + "AygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0ZRIsCgppbnZpdGF0aW9uGAQg", + "AygLMhguYmdzLnByb3RvY29sLkludml0YXRpb24SDgoGcmVhc29uGAYgASgN", + "El0KDXByaXZhY3lfbGV2ZWwYByABKA4yMi5iZ3MucHJvdG9jb2wuY2hhbm5l", + "bC52MS5DaGFubmVsU3RhdGUuUHJpdmFjeUxldmVsOhJQUklWQUNZX0xFVkVM", + "X09QRU4SDAoEbmFtZRgIIAEoCRIdCgxjaGFubmVsX3R5cGUYCiABKAk6B2Rl", + "ZmF1bHQSDwoHcHJvZ3JhbRgLIAEoBxIjChVzdWJzY3JpYmVfdG9fcHJlc2Vu", + "Y2UYDSABKAg6BHRydWUikQEKDFByaXZhY3lMZXZlbBIWChJQUklWQUNZX0xF", + "VkVMX09QRU4QARIsCihQUklWQUNZX0xFVkVMX09QRU5fSU5WSVRBVElPTl9B", + "TkRfRlJJRU5EEAISIQodUFJJVkFDWV9MRVZFTF9PUEVOX0lOVklUQVRJT04Q", + "AxIYChRQUklWQUNZX0xFVkVMX0NMT1NFRBAEKgUIZBCQTiIvChFNZW1iZXJB", + "Y2NvdW50SW5mbxIaCgpiYXR0bGVfdGFnGAMgASgJQgaC+SsCCAEinAEKC01l", + "bWJlclN0YXRlEioKCWF0dHJpYnV0ZRgBIAMoCzIXLmJncy5wcm90b2NvbC5B", + "dHRyaWJ1dGUSEAoEcm9sZRgCIAMoDUICEAESFQoKcHJpdmlsZWdlcxgDIAEo", + "BDoBMBI4CgRpbmZvGAQgASgLMiouYmdzLnByb3RvY29sLmNoYW5uZWwudjEu", + "TWVtYmVyQWNjb3VudEluZm8iZwoGTWVtYmVyEigKCGlkZW50aXR5GAEgAigL", + "MhYuYmdzLnByb3RvY29sLklkZW50aXR5EjMKBXN0YXRlGAIgAigLMiQuYmdz", + "LnByb3RvY29sLmNoYW5uZWwudjEuTWVtYmVyU3RhdGUiuwEKDFN1YnNjcmli", + "ZXJJZBI3CgdhY2NvdW50GAEgASgLMiIuYmdzLnByb3RvY29sLmFjY291bnQu", + "djEuQWNjb3VudElkQgIYARJACgxnYW1lX2FjY291bnQYAiABKAsyKi5iZ3Mu", + "cHJvdG9jb2wuYWNjb3VudC52MS5HYW1lQWNjb3VudEhhbmRsZRIoCgdwcm9j", + "ZXNzGAMgASgLMhcuYmdzLnByb3RvY29sLlByb2Nlc3NJZDoGgvkrAhABQgJI", + "AVAA")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelIdReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.Message), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.Message.Parser, new[]{ "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ListChannelsOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ListChannelsOptions.Parser, new[]{ "StartIndex", "MaxResults", "Name", "Program", "Locale", "CapacityFull", "AttributeFilter", "ChannelType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription.Parser, new[]{ "ChannelId", "CurrentMembers", "State" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelInfo.Parser, new[]{ "Description", "Member" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Parser, new[]{ "MaxMembers", "MinMembers", "Attribute", "Invitation", "Reason", "PrivacyLevel", "Name", "ChannelType", "Program", "SubscribeToPresence" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo.Parser, new[]{ "BattleTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState.Parser, new[]{ "Attribute", "Role", "Privileges", "Info" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.Member), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.Member.Parser, new[]{ "Identity", "State" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.SubscriberId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.SubscriberId.Parser, new[]{ "Account", "GameAccount", "Process" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Message : pb::IExtendableMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Message()); + private pb::UnknownFieldSet _unknownFields; + private pb::ExtensionSet _extensions; + private pb::ExtensionSet _Extensions { get { return _extensions; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Message() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Message(Message other) : this() { + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + _extensions = pb::ExtensionSet.Clone(other._extensions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Message Clone() { + return new Message(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Message); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Message other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (!Equals(_extensions, other._extensions)) { + return false; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (_extensions != null) { + hash ^= _extensions.GetHashCode(); + } + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_extensions != null) { + _extensions.WriteTo(output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_extensions != null) { + _extensions.WriteTo(ref output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_extensions != null) { + size += _extensions.CalculateSize(); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Message other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + } + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + } + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + public TValue GetExtension(pb::Extension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetOrInitializeExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); + } + public void SetExtension(pb::Extension extension, TValue value) { + pb::ExtensionSet.Set(ref _extensions, extension, value); + } + public bool HasExtension(pb::Extension extension) { + return pb::ExtensionSet.Has(ref _extensions, extension); + } + public void ClearExtension(pb::Extension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + public void ClearExtension(pb::RepeatedExtension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListChannelsOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListChannelsOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListChannelsOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListChannelsOptions(ListChannelsOptions other) : this() { + _hasBits0 = other._hasBits0; + startIndex_ = other.startIndex_; + maxResults_ = other.maxResults_; + name_ = other.name_; + program_ = other.program_; + locale_ = other.locale_; + capacityFull_ = other.capacityFull_; + attributeFilter_ = other.attributeFilter_ != null ? other.attributeFilter_.Clone() : null; + channelType_ = other.channelType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListChannelsOptions Clone() { + return new ListChannelsOptions(this); + } + + /// Field number for the "start_index" field. + public const int StartIndexFieldNumber = 1; + private readonly static uint StartIndexDefaultValue = 0; + + private uint startIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StartIndex { + get { if ((_hasBits0 & 1) != 0) { return startIndex_; } else { return StartIndexDefaultValue; } } + set { + _hasBits0 |= 1; + startIndex_ = value; + } + } + /// Gets whether the "start_index" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStartIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "start_index" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStartIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "max_results" field. + public const int MaxResultsFieldNumber = 2; + private readonly static uint MaxResultsDefaultValue = 16; + + private uint maxResults_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxResults { + get { if ((_hasBits0 & 2) != 0) { return maxResults_; } else { return MaxResultsDefaultValue; } } + set { + _hasBits0 |= 2; + maxResults_ = value; + } + } + /// Gets whether the "max_results" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxResults { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "max_results" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxResults() { + _hasBits0 &= ~2; + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 4; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 4) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 4; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~4; + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 5; + private readonly static uint LocaleDefaultValue = 0; + + private uint locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Locale { + get { if ((_hasBits0 & 8) != 0) { return locale_; } else { return LocaleDefaultValue; } } + set { + _hasBits0 |= 8; + locale_ = value; + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + _hasBits0 &= ~8; + } + + /// Field number for the "capacity_full" field. + public const int CapacityFullFieldNumber = 6; + private readonly static uint CapacityFullDefaultValue = 0; + + private uint capacityFull_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CapacityFull { + get { if ((_hasBits0 & 16) != 0) { return capacityFull_; } else { return CapacityFullDefaultValue; } } + set { + _hasBits0 |= 16; + capacityFull_ = value; + } + } + /// Gets whether the "capacity_full" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCapacityFull { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "capacity_full" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCapacityFull() { + _hasBits0 &= ~16; + } + + /// Field number for the "attribute_filter" field. + public const int AttributeFilterFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter attributeFilter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter AttributeFilter { + get { return attributeFilter_; } + set { + attributeFilter_ = value; + } + } + + /// Field number for the "channel_type" field. + public const int ChannelTypeFieldNumber = 8; + private readonly static string ChannelTypeDefaultValue = ""; + + private string channelType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChannelType { + get { return channelType_ ?? ChannelTypeDefaultValue; } + set { + channelType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "channel_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasChannelType { + get { return channelType_ != null; } + } + /// Clears the value of the "channel_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearChannelType() { + channelType_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListChannelsOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListChannelsOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StartIndex != other.StartIndex) return false; + if (MaxResults != other.MaxResults) return false; + if (Name != other.Name) return false; + if (Program != other.Program) return false; + if (Locale != other.Locale) return false; + if (CapacityFull != other.CapacityFull) return false; + if (!object.Equals(AttributeFilter, other.AttributeFilter)) return false; + if (ChannelType != other.ChannelType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStartIndex) hash ^= StartIndex.GetHashCode(); + if (HasMaxResults) hash ^= MaxResults.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + if (HasCapacityFull) hash ^= CapacityFull.GetHashCode(); + if (attributeFilter_ != null) hash ^= AttributeFilter.GetHashCode(); + if (HasChannelType) hash ^= ChannelType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStartIndex) { + output.WriteRawTag(8); + output.WriteUInt32(StartIndex); + } + if (HasMaxResults) { + output.WriteRawTag(16); + output.WriteUInt32(MaxResults); + } + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasProgram) { + output.WriteRawTag(37); + output.WriteFixed32(Program); + } + if (HasLocale) { + output.WriteRawTag(45); + output.WriteFixed32(Locale); + } + if (HasCapacityFull) { + output.WriteRawTag(48); + output.WriteUInt32(CapacityFull); + } + if (attributeFilter_ != null) { + output.WriteRawTag(58); + output.WriteMessage(AttributeFilter); + } + if (HasChannelType) { + output.WriteRawTag(66); + output.WriteString(ChannelType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStartIndex) { + output.WriteRawTag(8); + output.WriteUInt32(StartIndex); + } + if (HasMaxResults) { + output.WriteRawTag(16); + output.WriteUInt32(MaxResults); + } + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasProgram) { + output.WriteRawTag(37); + output.WriteFixed32(Program); + } + if (HasLocale) { + output.WriteRawTag(45); + output.WriteFixed32(Locale); + } + if (HasCapacityFull) { + output.WriteRawTag(48); + output.WriteUInt32(CapacityFull); + } + if (attributeFilter_ != null) { + output.WriteRawTag(58); + output.WriteMessage(AttributeFilter); + } + if (HasChannelType) { + output.WriteRawTag(66); + output.WriteString(ChannelType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStartIndex) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StartIndex); + } + if (HasMaxResults) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxResults); + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasProgram) { + size += 1 + 4; + } + if (HasLocale) { + size += 1 + 4; + } + if (HasCapacityFull) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CapacityFull); + } + if (attributeFilter_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttributeFilter); + } + if (HasChannelType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChannelType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListChannelsOptions other) { + if (other == null) { + return; + } + if (other.HasStartIndex) { + StartIndex = other.StartIndex; + } + if (other.HasMaxResults) { + MaxResults = other.MaxResults; + } + if (other.HasName) { + Name = other.Name; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasLocale) { + Locale = other.Locale; + } + if (other.HasCapacityFull) { + CapacityFull = other.CapacityFull; + } + if (other.attributeFilter_ != null) { + if (attributeFilter_ == null) { + AttributeFilter = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter(); + } + AttributeFilter.MergeFrom(other.AttributeFilter); + } + if (other.HasChannelType) { + ChannelType = other.ChannelType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StartIndex = input.ReadUInt32(); + break; + } + case 16: { + MaxResults = input.ReadUInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 37: { + Program = input.ReadFixed32(); + break; + } + case 45: { + Locale = input.ReadFixed32(); + break; + } + case 48: { + CapacityFull = input.ReadUInt32(); + break; + } + case 58: { + if (attributeFilter_ == null) { + AttributeFilter = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter(); + } + input.ReadMessage(AttributeFilter); + break; + } + case 66: { + ChannelType = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StartIndex = input.ReadUInt32(); + break; + } + case 16: { + MaxResults = input.ReadUInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 37: { + Program = input.ReadFixed32(); + break; + } + case 45: { + Locale = input.ReadFixed32(); + break; + } + case 48: { + CapacityFull = input.ReadUInt32(); + break; + } + case 58: { + if (attributeFilter_ == null) { + AttributeFilter = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeFilter(); + } + input.ReadMessage(AttributeFilter); + break; + } + case 66: { + ChannelType = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChannelDescription : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChannelDescription()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelDescription() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelDescription(ChannelDescription other) : this() { + _hasBits0 = other._hasBits0; + channelId_ = other.channelId_ != null ? other.channelId_.Clone() : null; + currentMembers_ = other.currentMembers_; + state_ = other.state_ != null ? other.state_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelDescription Clone() { + return new ChannelDescription(this); + } + + /// Field number for the "channel_id" field. + public const int ChannelIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId channelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId ChannelId { + get { return channelId_; } + set { + channelId_ = value; + } + } + + /// Field number for the "current_members" field. + public const int CurrentMembersFieldNumber = 2; + private readonly static uint CurrentMembersDefaultValue = 0; + + private uint currentMembers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CurrentMembers { + get { if ((_hasBits0 & 1) != 0) { return currentMembers_; } else { return CurrentMembersDefaultValue; } } + set { + _hasBits0 |= 1; + currentMembers_ = value; + } + } + /// Gets whether the "current_members" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentMembers { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "current_members" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentMembers() { + _hasBits0 &= ~1; + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState State { + get { return state_; } + set { + state_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChannelDescription); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChannelDescription other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ChannelId, other.ChannelId)) return false; + if (CurrentMembers != other.CurrentMembers) return false; + if (!object.Equals(State, other.State)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (channelId_ != null) hash ^= ChannelId.GetHashCode(); + if (HasCurrentMembers) hash ^= CurrentMembers.GetHashCode(); + if (state_ != null) hash ^= State.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (channelId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ChannelId); + } + if (HasCurrentMembers) { + output.WriteRawTag(16); + output.WriteUInt32(CurrentMembers); + } + if (state_ != null) { + output.WriteRawTag(26); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (channelId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ChannelId); + } + if (HasCurrentMembers) { + output.WriteRawTag(16); + output.WriteUInt32(CurrentMembers); + } + if (state_ != null) { + output.WriteRawTag(26); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (channelId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChannelId); + } + if (HasCurrentMembers) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrentMembers); + } + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChannelDescription other) { + if (other == null) { + return; + } + if (other.channelId_ != null) { + if (channelId_ == null) { + ChannelId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + ChannelId.MergeFrom(other.ChannelId); + } + if (other.HasCurrentMembers) { + CurrentMembers = other.CurrentMembers; + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState(); + } + State.MergeFrom(other.State); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (channelId_ == null) { + ChannelId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(ChannelId); + break; + } + case 16: { + CurrentMembers = input.ReadUInt32(); + break; + } + case 26: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState(); + } + input.ReadMessage(State); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (channelId_ == null) { + ChannelId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(ChannelId); + break; + } + case 16: { + CurrentMembers = input.ReadUInt32(); + break; + } + case 26: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState(); + } + input.ReadMessage(State); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChannelInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChannelInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelInfo(ChannelInfo other) : this() { + description_ = other.description_ != null ? other.description_.Clone() : null; + member_ = other.member_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelInfo Clone() { + return new ChannelInfo(this); + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription Description { + get { return description_; } + set { + description_ = value; + } + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_member_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.Member.Parser); + private readonly pbc::RepeatedField member_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Member { + get { return member_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChannelInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChannelInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Description, other.Description)) return false; + if(!member_.Equals(other.member_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (description_ != null) hash ^= Description.GetHashCode(); + hash ^= member_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (description_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Description); + } + member_.WriteTo(output, _repeated_member_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (description_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Description); + } + member_.WriteTo(ref output, _repeated_member_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (description_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Description); + } + size += member_.CalculateSize(_repeated_member_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChannelInfo other) { + if (other == null) { + return; + } + if (other.description_ != null) { + if (description_ == null) { + Description = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription(); + } + Description.MergeFrom(other.Description); + } + member_.Add(other.member_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (description_ == null) { + Description = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription(); + } + input.ReadMessage(Description); + break; + } + case 18: { + member_.AddEntriesFrom(input, _repeated_member_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (description_ == null) { + Description = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelDescription(); + } + input.ReadMessage(Description); + break; + } + case 18: { + member_.AddEntriesFrom(ref input, _repeated_member_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChannelState : pb::IExtendableMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChannelState()); + private pb::UnknownFieldSet _unknownFields; + private pb::ExtensionSet _extensions; + private pb::ExtensionSet _Extensions { get { return _extensions; } } + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelState(ChannelState other) : this() { + _hasBits0 = other._hasBits0; + maxMembers_ = other.maxMembers_; + minMembers_ = other.minMembers_; + attribute_ = other.attribute_.Clone(); + invitation_ = other.invitation_.Clone(); + reason_ = other.reason_; + privacyLevel_ = other.privacyLevel_; + name_ = other.name_; + channelType_ = other.channelType_; + program_ = other.program_; + subscribeToPresence_ = other.subscribeToPresence_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + _extensions = pb::ExtensionSet.Clone(other._extensions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelState Clone() { + return new ChannelState(this); + } + + /// Field number for the "max_members" field. + public const int MaxMembersFieldNumber = 1; + private readonly static uint MaxMembersDefaultValue = 0; + + private uint maxMembers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxMembers { + get { if ((_hasBits0 & 1) != 0) { return maxMembers_; } else { return MaxMembersDefaultValue; } } + set { + _hasBits0 |= 1; + maxMembers_ = value; + } + } + /// Gets whether the "max_members" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxMembers { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "max_members" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxMembers() { + _hasBits0 &= ~1; + } + + /// Field number for the "min_members" field. + public const int MinMembersFieldNumber = 2; + private readonly static uint MinMembersDefaultValue = 0; + + private uint minMembers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinMembers { + get { if ((_hasBits0 & 2) != 0) { return minMembers_; } else { return MinMembersDefaultValue; } } + set { + _hasBits0 |= 2; + minMembers_ = value; + } + } + /// Gets whether the "min_members" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinMembers { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "min_members" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinMembers() { + _hasBits0 &= ~2; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_invitation_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Invitation.Parser); + private readonly pbc::RepeatedField invitation_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Invitation { + get { return invitation_; } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 6; + private readonly static uint ReasonDefaultValue = 0; + + private uint reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Reason { + get { if ((_hasBits0 & 4) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 4; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~4; + } + + /// Field number for the "privacy_level" field. + public const int PrivacyLevelFieldNumber = 7; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel PrivacyLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel.Open; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel privacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel PrivacyLevel { + get { if ((_hasBits0 & 8) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 8; + privacyLevel_ = value; + } + } + /// Gets whether the "privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyLevel { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyLevel() { + _hasBits0 &= ~8; + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 8; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "channel_type" field. + public const int ChannelTypeFieldNumber = 10; + private readonly static string ChannelTypeDefaultValue = global::System.Text.Encoding.UTF8.GetString(global::System.Convert.FromBase64String("ZGVmYXVsdA=="), 0, 7); + + private string channelType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChannelType { + get { return channelType_ ?? ChannelTypeDefaultValue; } + set { + channelType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "channel_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasChannelType { + get { return channelType_ != null; } + } + /// Clears the value of the "channel_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearChannelType() { + channelType_ = null; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 11; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 16) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 16; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~16; + } + + /// Field number for the "subscribe_to_presence" field. + public const int SubscribeToPresenceFieldNumber = 13; + private readonly static bool SubscribeToPresenceDefaultValue = true; + + private bool subscribeToPresence_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SubscribeToPresence { + get { if ((_hasBits0 & 32) != 0) { return subscribeToPresence_; } else { return SubscribeToPresenceDefaultValue; } } + set { + _hasBits0 |= 32; + subscribeToPresence_ = value; + } + } + /// Gets whether the "subscribe_to_presence" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscribeToPresence { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "subscribe_to_presence" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscribeToPresence() { + _hasBits0 &= ~32; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChannelState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChannelState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MaxMembers != other.MaxMembers) return false; + if (MinMembers != other.MinMembers) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if(!invitation_.Equals(other.invitation_)) return false; + if (Reason != other.Reason) return false; + if (PrivacyLevel != other.PrivacyLevel) return false; + if (Name != other.Name) return false; + if (ChannelType != other.ChannelType) return false; + if (Program != other.Program) return false; + if (SubscribeToPresence != other.SubscribeToPresence) return false; + if (!Equals(_extensions, other._extensions)) { + return false; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMaxMembers) hash ^= MaxMembers.GetHashCode(); + if (HasMinMembers) hash ^= MinMembers.GetHashCode(); + hash ^= attribute_.GetHashCode(); + hash ^= invitation_.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasChannelType) hash ^= ChannelType.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasSubscribeToPresence) hash ^= SubscribeToPresence.GetHashCode(); + if (_extensions != null) { + hash ^= _extensions.GetHashCode(); + } + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMaxMembers) { + output.WriteRawTag(8); + output.WriteUInt32(MaxMembers); + } + if (HasMinMembers) { + output.WriteRawTag(16); + output.WriteUInt32(MinMembers); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + invitation_.WriteTo(output, _repeated_invitation_codec); + if (HasReason) { + output.WriteRawTag(48); + output.WriteUInt32(Reason); + } + if (HasPrivacyLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) PrivacyLevel); + } + if (HasName) { + output.WriteRawTag(66); + output.WriteString(Name); + } + if (HasChannelType) { + output.WriteRawTag(82); + output.WriteString(ChannelType); + } + if (HasProgram) { + output.WriteRawTag(93); + output.WriteFixed32(Program); + } + if (HasSubscribeToPresence) { + output.WriteRawTag(104); + output.WriteBool(SubscribeToPresence); + } + if (_extensions != null) { + _extensions.WriteTo(output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMaxMembers) { + output.WriteRawTag(8); + output.WriteUInt32(MaxMembers); + } + if (HasMinMembers) { + output.WriteRawTag(16); + output.WriteUInt32(MinMembers); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + invitation_.WriteTo(ref output, _repeated_invitation_codec); + if (HasReason) { + output.WriteRawTag(48); + output.WriteUInt32(Reason); + } + if (HasPrivacyLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) PrivacyLevel); + } + if (HasName) { + output.WriteRawTag(66); + output.WriteString(Name); + } + if (HasChannelType) { + output.WriteRawTag(82); + output.WriteString(ChannelType); + } + if (HasProgram) { + output.WriteRawTag(93); + output.WriteFixed32(Program); + } + if (HasSubscribeToPresence) { + output.WriteRawTag(104); + output.WriteBool(SubscribeToPresence); + } + if (_extensions != null) { + _extensions.WriteTo(ref output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMaxMembers) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxMembers); + } + if (HasMinMembers) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinMembers); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + size += invitation_.CalculateSize(_repeated_invitation_codec); + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Reason); + } + if (HasPrivacyLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel); + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasChannelType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChannelType); + } + if (HasProgram) { + size += 1 + 4; + } + if (HasSubscribeToPresence) { + size += 1 + 1; + } + if (_extensions != null) { + size += _extensions.CalculateSize(); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChannelState other) { + if (other == null) { + return; + } + if (other.HasMaxMembers) { + MaxMembers = other.MaxMembers; + } + if (other.HasMinMembers) { + MinMembers = other.MinMembers; + } + attribute_.Add(other.attribute_); + invitation_.Add(other.invitation_); + if (other.HasReason) { + Reason = other.Reason; + } + if (other.HasPrivacyLevel) { + PrivacyLevel = other.PrivacyLevel; + } + if (other.HasName) { + Name = other.Name; + } + if (other.HasChannelType) { + ChannelType = other.ChannelType; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasSubscribeToPresence) { + SubscribeToPresence = other.SubscribeToPresence; + } + pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + } + break; + case 8: { + MaxMembers = input.ReadUInt32(); + break; + } + case 16: { + MinMembers = input.ReadUInt32(); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 34: { + invitation_.AddEntriesFrom(input, _repeated_invitation_codec); + break; + } + case 48: { + Reason = input.ReadUInt32(); + break; + } + case 56: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel) input.ReadEnum(); + break; + } + case 66: { + Name = input.ReadString(); + break; + } + case 82: { + ChannelType = input.ReadString(); + break; + } + case 93: { + Program = input.ReadFixed32(); + break; + } + case 104: { + SubscribeToPresence = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + } + break; + case 8: { + MaxMembers = input.ReadUInt32(); + break; + } + case 16: { + MinMembers = input.ReadUInt32(); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 34: { + invitation_.AddEntriesFrom(ref input, _repeated_invitation_codec); + break; + } + case 48: { + Reason = input.ReadUInt32(); + break; + } + case 56: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelState.Types.PrivacyLevel) input.ReadEnum(); + break; + } + case 66: { + Name = input.ReadString(); + break; + } + case 82: { + ChannelType = input.ReadString(); + break; + } + case 93: { + Program = input.ReadFixed32(); + break; + } + case 104: { + SubscribeToPresence = input.ReadBool(); + break; + } + } + } + } + #endif + + public TValue GetExtension(pb::Extension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetOrInitializeExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); + } + public void SetExtension(pb::Extension extension, TValue value) { + pb::ExtensionSet.Set(ref _extensions, extension, value); + } + public bool HasExtension(pb::Extension extension) { + return pb::ExtensionSet.Has(ref _extensions, extension); + } + public void ClearExtension(pb::Extension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + public void ClearExtension(pb::RepeatedExtension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + + #region Nested types + /// Container for nested types declared in the ChannelState message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum PrivacyLevel { + [pbr::OriginalName("PRIVACY_LEVEL_OPEN")] Open = 1, + [pbr::OriginalName("PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND")] OpenInvitationAndFriend = 2, + [pbr::OriginalName("PRIVACY_LEVEL_OPEN_INVITATION")] OpenInvitation = 3, + [pbr::OriginalName("PRIVACY_LEVEL_CLOSED")] Closed = 4, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberAccountInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberAccountInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAccountInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAccountInfo(MemberAccountInfo other) : this() { + battleTag_ = other.battleTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAccountInfo Clone() { + return new MemberAccountInfo(this); + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 3; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberAccountInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberAccountInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BattleTag != other.BattleTag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasBattleTag) { + output.WriteRawTag(26); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasBattleTag) { + output.WriteRawTag(26); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberAccountInfo other) { + if (other == null) { + return; + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + BattleTag = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + BattleTag = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberState()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberState(MemberState other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + role_ = other.role_.Clone(); + privileges_ = other.privileges_; + info_ = other.info_ != null ? other.info_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberState Clone() { + return new MemberState(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "privileges" field. + public const int PrivilegesFieldNumber = 3; + private readonly static ulong PrivilegesDefaultValue = 0UL; + + private ulong privileges_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Privileges { + get { if ((_hasBits0 & 1) != 0) { return privileges_; } else { return PrivilegesDefaultValue; } } + set { + _hasBits0 |= 1; + privileges_ = value; + } + } + /// Gets whether the "privileges" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivileges { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privileges" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivileges() { + _hasBits0 &= ~1; + } + + /// Field number for the "info" field. + public const int InfoFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if(!role_.Equals(other.role_)) return false; + if (Privileges != other.Privileges) return false; + if (!object.Equals(Info, other.Info)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + hash ^= role_.GetHashCode(); + if (HasPrivileges) hash ^= Privileges.GetHashCode(); + if (info_ != null) hash ^= Info.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + role_.WriteTo(output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(24); + output.WriteUInt64(Privileges); + } + if (info_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Info); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + role_.WriteTo(ref output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(24); + output.WriteUInt64(Privileges); + } + if (info_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Info); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + size += role_.CalculateSize(_repeated_role_codec); + if (HasPrivileges) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Privileges); + } + if (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberState other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + role_.Add(other.role_); + if (other.HasPrivileges) { + Privileges = other.Privileges; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo(); + } + Info.MergeFrom(other.Info); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 18: + case 16: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 24: { + Privileges = input.ReadUInt64(); + break; + } + case 34: { + if (info_ == null) { + Info = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo(); + } + input.ReadMessage(Info); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 18: + case 16: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 24: { + Privileges = input.ReadUInt64(); + break; + } + case 34: { + if (info_ == null) { + Info = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberAccountInfo(); + } + input.ReadMessage(Info); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Member : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Member()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Member() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Member(Member other) : this() { + identity_ = other.identity_ != null ? other.identity_.Clone() : null; + state_ = other.state_ != null ? other.state_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Member Clone() { + return new Member(this); + } + + /// Field number for the "identity" field. + public const int IdentityFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity identity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity Identity { + get { return identity_; } + set { + identity_ = value; + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState State { + get { return state_; } + set { + state_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Member); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Member other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Identity, other.Identity)) return false; + if (!object.Equals(State, other.State)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (identity_ != null) hash ^= Identity.GetHashCode(); + if (state_ != null) hash ^= State.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (identity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Identity); + } + if (state_ != null) { + output.WriteRawTag(18); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (identity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Identity); + } + if (state_ != null) { + output.WriteRawTag(18); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (identity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Identity); + } + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Member other) { + if (other == null) { + return; + } + if (other.identity_ != null) { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + Identity.MergeFrom(other.Identity); + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState(); + } + State.MergeFrom(other.State); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(Identity); + break; + } + case 18: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState(); + } + input.ReadMessage(State); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(Identity); + break; + } + case 18: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.MemberState(); + } + input.ReadMessage(State); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriberId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriberId()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberId(SubscriberId other) : this() { + account_ = other.account_ != null ? other.account_.Clone() : null; + gameAccount_ = other.gameAccount_ != null ? other.gameAccount_.Clone() : null; + process_ = other.process_ != null ? other.process_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberId Clone() { + return new SubscriberId(this); + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId account_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId Account { + get { return account_; } + set { + account_ = value; + } + } + + /// Field number for the "game_account" field. + public const int GameAccountFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle gameAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle GameAccount { + get { return gameAccount_; } + set { + gameAccount_ = value; + } + } + + /// Field number for the "process" field. + public const int ProcessFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId process_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId Process { + get { return process_; } + set { + process_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriberId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriberId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Account, other.Account)) return false; + if (!object.Equals(GameAccount, other.GameAccount)) return false; + if (!object.Equals(Process, other.Process)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (account_ != null) hash ^= Account.GetHashCode(); + if (gameAccount_ != null) hash ^= GameAccount.GetHashCode(); + if (process_ != null) hash ^= Process.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (gameAccount_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccount); + } + if (process_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Process); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (gameAccount_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccount); + } + if (process_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Process); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (account_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Account); + } + if (gameAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccount); + } + if (process_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Process); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriberId other) { + if (other == null) { + return; + } + if (other.account_ != null) { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + Account.MergeFrom(other.Account); + } + if (other.gameAccount_ != null) { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + GameAccount.MergeFrom(other.GameAccount); + } + if (other.process_ != null) { + if (process_ == null) { + Process = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + Process.MergeFrom(other.Process); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + case 18: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + case 26: { + if (process_ == null) { + Process = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Process); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + case 18: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + case 26: { + if (process_ == null) { + Process = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Process); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubBan.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubBan.cs new file mode 100644 index 0000000000..0187b2f35b --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubBan.cs @@ -0,0 +1,758 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_ban.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_ban.proto + public static partial class ClubBanReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_ban.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubBanReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBiZ3MvbG93L3BiL2NsaWVudC9jbHViX2Jhbi5wcm90bxIUYmdzLnByb3Rv", + "Y29sLmNsdWIudjEaN2Jncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNp", + "b25zL2ZpZWxkX29wdGlvbnMucHJvdG8aI2Jncy9sb3cvcGIvY2xpZW50L2Ns", + "dWJfbWVtYmVyLnByb3RvGjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50", + "L3YyL2F0dHJpYnV0ZV90eXBlcy5wcm90byKBAQoNQWRkQmFuT3B0aW9ucxIx", + "Cgl0YXJnZXRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i", + "ZXJJZBItCglhdHRyaWJ1dGUYAiADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0", + "cmlidXRlEg4KBnJlYXNvbhgDIAEoCSLhAQoHQ2x1YkJhbhIqCgJpZBgBIAEo", + "CzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhoKCmJhdHRsZV90", + "YWcYAiABKAlCBoL5KwIIARI4CgdjcmVhdG9yGAMgASgLMicuYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuTWVtYmVyRGVzY3JpcHRpb24SLQoJYXR0cmlidXRlGAQg", + "AygLMhouYmdzLnByb3RvY29sLnYyLkF0dHJpYnV0ZRIOCgZyZWFzb24YBSAB", + "KAkSFQoNY3JlYXRpb25fdGltZRgGIAEoBEICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions.Parser, new[]{ "TargetId", "Attribute", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan.Parser, new[]{ "Id", "BattleTag", "Creator", "Attribute", "Reason", "CreationTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddBanOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddBanOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBanOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBanOptions(AddBanOptions other) : this() { + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + attribute_ = other.attribute_.Clone(); + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBanOptions Clone() { + return new AddBanOptions(this); + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 3; + private readonly static string ReasonDefaultValue = ""; + + private string reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Reason { + get { return reason_ ?? ReasonDefaultValue; } + set { + reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return reason_ != null; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + reason_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AddBanOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AddBanOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TargetId, other.TargetId)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasReason) { + output.WriteRawTag(26); + output.WriteString(Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasReason) { + output.WriteRawTag(26); + output.WriteString(Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AddBanOptions other) { + if (other == null) { + return; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + attribute_.Add(other.attribute_); + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 26: { + Reason = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 26: { + Reason = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubBan : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubBan()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubBan() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubBan(ClubBan other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_ != null ? other.id_.Clone() : null; + battleTag_ = other.battleTag_; + creator_ = other.creator_ != null ? other.creator_.Clone() : null; + attribute_ = other.attribute_.Clone(); + reason_ = other.reason_; + creationTime_ = other.creationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubBan Clone() { + return new ClubBan(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 2; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "creator" field. + public const int CreatorFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription creator_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Creator { + get { return creator_; } + set { + creator_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 5; + private readonly static string ReasonDefaultValue = ""; + + private string reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Reason { + get { return reason_ ?? ReasonDefaultValue; } + set { + reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return reason_ != null; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + reason_ = null; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 6; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 1) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 1; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubBan); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubBan other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (BattleTag != other.BattleTag) return false; + if (!object.Equals(Creator, other.Creator)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Reason != other.Reason) return false; + if (CreationTime != other.CreationTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (creator_ != null) hash ^= Creator.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + if (creator_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Creator); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasReason) { + output.WriteRawTag(42); + output.WriteString(Reason); + } + if (HasCreationTime) { + output.WriteRawTag(48); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + if (creator_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Creator); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasReason) { + output.WriteRawTag(42); + output.WriteString(Reason); + } + if (HasCreationTime) { + output.WriteRawTag(48); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (creator_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Creator); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubBan other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + Id.MergeFrom(other.Id); + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + if (other.creator_ != null) { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Creator.MergeFrom(other.Creator); + } + attribute_.Add(other.attribute_); + if (other.HasReason) { + Reason = other.Reason; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + case 26: { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Creator); + break; + } + case 34: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 42: { + Reason = input.ReadString(); + break; + } + case 48: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + case 26: { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Creator); + break; + } + case 34: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 42: { + Reason = input.ReadString(); + break; + } + case 48: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubCore.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubCore.cs new file mode 100644 index 0000000000..5fa39d6a09 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubCore.cs @@ -0,0 +1,6338 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_core.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_core.proto + public static partial class ClubCoreReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_core.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubCoreReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFiZ3MvbG93L3BiL2NsaWVudC9jbHViX2NvcmUucHJvdG8SFGJncy5wcm90", + "b2NvbC5jbHViLnYxGiFiZ3MvbG93L3BiL2NsaWVudC9jbHViX3R5cGUucHJv", + "dG8aIWJncy9sb3cvcGIvY2xpZW50L2NsdWJfZW51bS5wcm90bxohYmdzL2xv", + "dy9wYi9jbGllbnQvY2x1Yl9yb2xlLnByb3RvGiNiZ3MvbG93L3BiL2NsaWVu", + "dC9jbHViX21lbWJlci5wcm90bxojYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9z", + "dHJlYW0ucHJvdG8aIGJncy9sb3cvcGIvY2xpZW50L2NsdWJfdGFnLnByb3Rv", + "GjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL2F0dHJpYnV0ZV90", + "eXBlcy5wcm90bxooYmdzL2xvdy9wYi9jbGllbnQvZXZlbnRfdmlld190eXBl", + "cy5wcm90byIWCghBdmF0YXJJZBIKCgJpZBgBIAEoDSImChNTZXRCcm9hZGNh", + "c3RPcHRpb25zEg8KB2NvbnRlbnQYASABKAkibQoJQnJvYWRjYXN0Eg8KB2Nv", + "bnRlbnQYASABKAkSOAoHY3JlYXRvchgCIAEoCzInLmJncy5wcm90b2NvbC5j", + "bHViLnYxLk1lbWJlckRlc2NyaXB0aW9uEhUKDWNyZWF0aW9uX3RpbWUYAyAB", + "KAQi1gQKEUNsdWJDcmVhdGVPcHRpb25zEjIKBHR5cGUYASABKAsyJC5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5VbmlxdWVDbHViVHlwZRItCglhdHRyaWJ1dGUY", + "AiADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlEgwKBG5hbWUYAyAB", + "KAkSEwoLZGVzY3JpcHRpb24YBCABKAkSLgoGYXZhdGFyGAUgASgLMh4uYmdz", + "LnByb3RvY29sLmNsdWIudjEuQXZhdGFySWQSOQoNcHJpdmFjeV9sZXZlbBgG", + "IAEoDjIiLmJncy5wcm90b2NvbC5jbHViLnYxLlByaXZhY3lMZXZlbBISCgpz", + "aG9ydF9uYW1lGAcgASgJEj8KEHZpc2liaWxpdHlfbGV2ZWwYCCABKA4yJS5i", + "Z3MucHJvdG9jb2wuY2x1Yi52MS5WaXNpYmlsaXR5TGV2ZWwSOQoGbWVtYmVy", + "GAogASgLMikuYmdzLnByb3RvY29sLmNsdWIudjEuQ3JlYXRlTWVtYmVyT3B0", + "aW9ucxI5CgZzdHJlYW0YCyABKAsyKS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5D", + "cmVhdGVTdHJlYW1PcHRpb25zEi0KA3RhZxgMIAEoCzIgLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLlRhZ09wdGlvbnMSNAoQc2VhcmNoX2F0dHJpYnV0ZRgNIAMo", + "CzIaLmJncy5wcm90b2NvbC52Mi5BdHRyaWJ1dGUSDgoGbG9jYWxlGA4gASgJ", + "EhAKCHRpbWV6b25lGA8gASgJIvAFCgRDbHViEgoKAmlkGAEgASgEEjIKBHR5", + "cGUYAiABKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5VbmlxdWVDbHViVHlw", + "ZRItCglhdHRyaWJ1dGUYAyADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmli", + "dXRlEgwKBG5hbWUYBCABKAkSEwoLZGVzY3JpcHRpb24YBSABKAkSMgoJYnJv", + "YWRjYXN0GAYgASgLMh8uYmdzLnByb3RvY29sLmNsdWIudjEuQnJvYWRjYXN0", + "Ei4KBmF2YXRhchgHIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLkF2YXRh", + "cklkEjkKDXByaXZhY3lfbGV2ZWwYCCABKA4yIi5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5Qcml2YWN5TGV2ZWwSPwoQdmlzaWJpbGl0eV9sZXZlbBgJIAEoDjIl", + "LmJncy5wcm90b2NvbC5jbHViLnYxLlZpc2liaWxpdHlMZXZlbBIUCgxtZW1i", + "ZXJfY291bnQYCiABKA0SFQoNY3JlYXRpb25fdGltZRgLIAEoBBI9Cg9zdHJl", + "YW1fcG9zaXRpb24YDCABKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdHJl", + "YW1Qb3NpdGlvbhIzCghyb2xlX3NldBgNIAEoCzIhLmJncy5wcm90b2NvbC5j", + "bHViLnYxLkNsdWJSb2xlU2V0EjcKBmxlYWRlchgOIAMoCzInLmJncy5wcm90", + "b2NvbC5jbHViLnYxLk1lbWJlckRlc2NyaXB0aW9uEhIKCnNob3J0X25hbWUY", + "DyABKAkSNAoQc2VhcmNoX2F0dHJpYnV0ZRgQIAMoCzIaLmJncy5wcm90b2Nv", + "bC52Mi5BdHRyaWJ1dGUSMAoDdGFnGBEgAygLMiMuYmdzLnByb3RvY29sLmNs", + "dWIudjEuVGFnSWRlbnRpZmllchIOCgZsb2NhbGUYEiABKAkSEAoIdGltZXpv", + "bmUYEyABKAki2gMKD0NsdWJEZXNjcmlwdGlvbhIKCgJpZBgBIAEoBBIyCgR0", + "eXBlGAIgASgLMiQuYmdzLnByb3RvY29sLmNsdWIudjEuVW5pcXVlQ2x1YlR5", + "cGUSDAoEbmFtZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIuCgZhdmF0", + "YXIYBSABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5BdmF0YXJJZBI5Cg1w", + "cml2YWN5X2xldmVsGAYgASgOMiIuYmdzLnByb3RvY29sLmNsdWIudjEuUHJp", + "dmFjeUxldmVsEj8KEHZpc2liaWxpdHlfbGV2ZWwYByABKA4yJS5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5WaXNpYmlsaXR5TGV2ZWwSFAoMbWVtYmVyX2NvdW50", + "GAggASgNEjcKBmxlYWRlchgJIAMoCzInLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlckRlc2NyaXB0aW9uEhUKDWNyZWF0aW9uX3RpbWUYCiABKAQSEAoI", + "dGltZXpvbmUYCyABKAkSDgoGbG9jYWxlGAwgASgJEjAKA3RhZxgNIAMoCzIj", + "LmJncy5wcm90b2NvbC5jbHViLnYxLlRhZ0lkZW50aWZpZXIiRQoIQ2x1YlZp", + "ZXcSDwoHY2x1Yl9pZBgBIAEoBBIoCgZtYXJrZXIYAiABKAsyGC5iZ3MucHJv", + "dG9jb2wuVmlld01hcmtlciKwBAoQQ2x1YlN0YXRlT3B0aW9ucxItCglhdHRy", + "aWJ1dGUYASADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlEgwKBG5h", + "bWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSPAoJYnJvYWRjYXN0GAQg", + "ASgLMikuYmdzLnByb3RvY29sLmNsdWIudjEuU2V0QnJvYWRjYXN0T3B0aW9u", + "cxIuCgZhdmF0YXIYBSABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5BdmF0", + "YXJJZBI5Cg1wcml2YWN5X2xldmVsGAYgASgOMiIuYmdzLnByb3RvY29sLmNs", + "dWIudjEuUHJpdmFjeUxldmVsEj0KD3N0cmVhbV9wb3NpdGlvbhgHIAEoCzIk", + "LmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbVBvc2l0aW9uEhIKCnNob3J0", + "X25hbWUYCCABKAkSPwoQdmlzaWJpbGl0eV9sZXZlbBgJIAEoDjIlLmJncy5w", + "cm90b2NvbC5jbHViLnYxLlZpc2liaWxpdHlMZXZlbBIOCgZsb2NhbGUYCiAB", + "KAkSEAoIdGltZXpvbmUYCyABKAkSNQoLdGFnX29wdGlvbnMYDCABKAsyIC5i", + "Z3MucHJvdG9jb2wuY2x1Yi52MS5UYWdPcHRpb25zEjQKEHNlYXJjaF9hdHRy", + "aWJ1dGUYDSADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlIsoEChND", + "bHViU3RhdGVBc3NpZ25tZW50Eg8KB2NsdWJfaWQYASABKAQSLQoJYXR0cmli", + "dXRlGAIgAygLMhouYmdzLnByb3RvY29sLnYyLkF0dHJpYnV0ZRIMCgRuYW1l", + "GAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEjIKCWJyb2FkY2FzdBgFIAEo", + "CzIfLmJncy5wcm90b2NvbC5jbHViLnYxLkJyb2FkY2FzdBIuCgZhdmF0YXIY", + "BiABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5BdmF0YXJJZBI5Cg1wcml2", + "YWN5X2xldmVsGAcgASgOMiIuYmdzLnByb3RvY29sLmNsdWIudjEuUHJpdmFj", + "eUxldmVsEj0KD3N0cmVhbV9wb3NpdGlvbhgIIAEoCzIkLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLlN0cmVhbVBvc2l0aW9uEhIKCnNob3J0X25hbWUYCSABKAkS", + "PwoQdmlzaWJpbGl0eV9sZXZlbBgKIAEoDjIlLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLlZpc2liaWxpdHlMZXZlbBIOCgZsb2NhbGUYCyABKAkSEAoIdGltZXpv", + "bmUYDCABKAkSMAoDdGFnGA0gAygLMiMuYmdzLnByb3RvY29sLmNsdWIudjEu", + "VGFnSWRlbnRpZmllchI0ChBzZWFyY2hfYXR0cmlidXRlGA4gAygLMhouYmdz", + "LnByb3RvY29sLnYyLkF0dHJpYnV0ZRITCgt0YWdfY2xlYXJlZBgPIAEoCCJj", + "Cg5TdHJlYW1TZXR0aW5ncxIRCglzdHJlYW1faWQYASABKAQSPgoGZmlsdGVy", + "GAIgASgOMi4uYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTm90aWZpY2F0", + "aW9uRmlsdGVyIsEBCgxDbHViU2V0dGluZ3MSNAoGc3RyZWFtGAEgAygLMiQu", + "YmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtU2V0dGluZ3MSJgoec3RyZWFt", + "X25vdGlmaWNhdGlvbl9maWx0ZXJfYWxsGAIgASgIEi0KCWF0dHJpYnV0ZRgD", + "IAMoCzIaLmJncy5wcm90b2NvbC52Mi5BdHRyaWJ1dGUSJAoccHVzaF9ub3Rp", + "ZmljYXRpb25fZmlsdGVyX2FsbBgEIAEoCCKWAQoTQ2x1YlNldHRpbmdzT3B0", + "aW9ucxI4CgZzdHJlYW0YASADKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5T", + "dHJlYW1TZXR0aW5nc0ICGAESNAoIc2V0dGluZ3MYAiABKAsyIi5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5DbHViU2V0dGluZ3MSDwoHdmVyc2lvbhgDIAEoDSKI", + "AQoWQ2x1YlNldHRpbmdzQXNzaWdubWVudBI4CgZzdHJlYW0YASADKAsyJC5i", + "Z3MucHJvdG9jb2wuY2x1Yi52MS5TdHJlYW1TZXR0aW5nc0ICGAESNAoIc2V0", + "dGluZ3MYAiABKAsyIi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViU2V0dGlu", + "Z3NCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubEnumReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventViewTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId.Parser, new[]{ "Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions.Parser, new[]{ "Content" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast.Parser, new[]{ "Content", "Creator", "CreationTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions.Parser, new[]{ "Type", "Attribute", "Name", "Description", "Avatar", "PrivacyLevel", "ShortName", "VisibilityLevel", "Member", "Stream", "Tag", "SearchAttribute", "Locale", "Timezone" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club.Parser, new[]{ "Id", "Type", "Attribute", "Name", "Description", "Broadcast", "Avatar", "PrivacyLevel", "VisibilityLevel", "MemberCount", "CreationTime", "StreamPosition", "RoleSet", "Leader", "ShortName", "SearchAttribute", "Tag", "Locale", "Timezone" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription.Parser, new[]{ "Id", "Type", "Name", "Description", "Avatar", "PrivacyLevel", "VisibilityLevel", "MemberCount", "Leader", "CreationTime", "Timezone", "Locale", "Tag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView.Parser, new[]{ "ClubId", "Marker" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions.Parser, new[]{ "Attribute", "Name", "Description", "Broadcast", "Avatar", "PrivacyLevel", "StreamPosition", "ShortName", "VisibilityLevel", "Locale", "Timezone", "TagOptions", "SearchAttribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment.Parser, new[]{ "ClubId", "Attribute", "Name", "Description", "Broadcast", "Avatar", "PrivacyLevel", "StreamPosition", "ShortName", "VisibilityLevel", "Locale", "Timezone", "Tag", "SearchAttribute", "TagCleared" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamSettings), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamSettings.Parser, new[]{ "StreamId", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings.Parser, new[]{ "Stream", "StreamNotificationFilterAll", "Attribute", "PushNotificationFilterAll" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions.Parser, new[]{ "Stream", "Settings", "Version" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment.Parser, new[]{ "Stream", "Settings" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AvatarId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AvatarId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AvatarId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AvatarId(AvatarId other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AvatarId Clone() { + return new AvatarId(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AvatarId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AvatarId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AvatarId other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SetBroadcastOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetBroadcastOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetBroadcastOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetBroadcastOptions(SetBroadcastOptions other) : this() { + content_ = other.content_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetBroadcastOptions Clone() { + return new SetBroadcastOptions(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private readonly static string ContentDefaultValue = ""; + + private string content_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_ ?? ContentDefaultValue; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "content" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContent { + get { return content_ != null; } + } + /// Clears the value of the "content" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + content_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SetBroadcastOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SetBroadcastOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContent) hash ^= Content.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContent) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContent) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContent) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SetBroadcastOptions other) { + if (other == null) { + return; + } + if (other.HasContent) { + Content = other.Content; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Broadcast : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Broadcast()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Broadcast() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Broadcast(Broadcast other) : this() { + _hasBits0 = other._hasBits0; + content_ = other.content_; + creator_ = other.creator_ != null ? other.creator_.Clone() : null; + creationTime_ = other.creationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Broadcast Clone() { + return new Broadcast(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private readonly static string ContentDefaultValue = ""; + + private string content_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_ ?? ContentDefaultValue; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "content" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContent { + get { return content_ != null; } + } + /// Clears the value of the "content" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + content_ = null; + } + + /// Field number for the "creator" field. + public const int CreatorFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription creator_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Creator { + get { return creator_; } + set { + creator_ = value; + } + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 3; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 1) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 1; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Broadcast); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Broadcast other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (!object.Equals(Creator, other.Creator)) return false; + if (CreationTime != other.CreationTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContent) hash ^= Content.GetHashCode(); + if (creator_ != null) hash ^= Creator.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContent) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (creator_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Creator); + } + if (HasCreationTime) { + output.WriteRawTag(24); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContent) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (creator_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Creator); + } + if (HasCreationTime) { + output.WriteRawTag(24); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContent) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (creator_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Creator); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Broadcast other) { + if (other == null) { + return; + } + if (other.HasContent) { + Content = other.Content; + } + if (other.creator_ != null) { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Creator.MergeFrom(other.Creator); + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Creator); + break; + } + case 24: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Creator); + break; + } + case 24: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubCreateOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubCreateOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubCreateOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubCreateOptions(ClubCreateOptions other) : this() { + _hasBits0 = other._hasBits0; + type_ = other.type_ != null ? other.type_.Clone() : null; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + description_ = other.description_; + avatar_ = other.avatar_ != null ? other.avatar_.Clone() : null; + privacyLevel_ = other.privacyLevel_; + shortName_ = other.shortName_; + visibilityLevel_ = other.visibilityLevel_; + member_ = other.member_ != null ? other.member_.Clone() : null; + stream_ = other.stream_ != null ? other.stream_.Clone() : null; + tag_ = other.tag_ != null ? other.tag_.Clone() : null; + searchAttribute_ = other.searchAttribute_.Clone(); + locale_ = other.locale_; + timezone_ = other.timezone_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubCreateOptions Clone() { + return new ClubCreateOptions(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 4; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + /// Field number for the "avatar" field. + public const int AvatarFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId avatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId Avatar { + get { return avatar_; } + set { + avatar_ = value; + } + } + + /// Field number for the "privacy_level" field. + public const int PrivacyLevelFieldNumber = 6; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel.Closed; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel privacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevel { + get { if ((_hasBits0 & 1) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 1; + privacyLevel_ = value; + } + } + /// Gets whether the "privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyLevel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyLevel() { + _hasBits0 &= ~1; + } + + /// Field number for the "short_name" field. + public const int ShortNameFieldNumber = 7; + private readonly static string ShortNameDefaultValue = ""; + + private string shortName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ShortName { + get { return shortName_ ?? ShortNameDefaultValue; } + set { + shortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "short_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShortName { + get { return shortName_ != null; } + } + /// Clears the value of the "short_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShortName() { + shortName_ = null; + } + + /// Field number for the "visibility_level" field. + public const int VisibilityLevelFieldNumber = 8; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel.Private; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel visibilityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevel { + get { if ((_hasBits0 & 2) != 0) { return visibilityLevel_; } else { return VisibilityLevelDefaultValue; } } + set { + _hasBits0 |= 2; + visibilityLevel_ = value; + } + } + /// Gets whether the "visibility_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVisibilityLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "visibility_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVisibilityLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 10; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions member_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions Member { + get { return member_; } + set { + member_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 11; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 12; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions tag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions Tag { + get { return tag_; } + set { + tag_ = value; + } + } + + /// Field number for the "search_attribute" field. + public const int SearchAttributeFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_searchAttribute_codec + = pb::FieldCodec.ForMessage(106, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField searchAttribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SearchAttribute { + get { return searchAttribute_; } + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 14; + private readonly static string LocaleDefaultValue = ""; + + private string locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Locale { + get { return locale_ ?? LocaleDefaultValue; } + set { + locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return locale_ != null; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + locale_ = null; + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 15; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubCreateOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubCreateOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Type, other.Type)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + if (!object.Equals(Avatar, other.Avatar)) return false; + if (PrivacyLevel != other.PrivacyLevel) return false; + if (ShortName != other.ShortName) return false; + if (VisibilityLevel != other.VisibilityLevel) return false; + if (!object.Equals(Member, other.Member)) return false; + if (!object.Equals(Stream, other.Stream)) return false; + if (!object.Equals(Tag, other.Tag)) return false; + if(!searchAttribute_.Equals(other.searchAttribute_)) return false; + if (Locale != other.Locale) return false; + if (Timezone != other.Timezone) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (type_ != null) hash ^= Type.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (avatar_ != null) hash ^= Avatar.GetHashCode(); + if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode(); + if (HasShortName) hash ^= ShortName.GetHashCode(); + if (HasVisibilityLevel) hash ^= VisibilityLevel.GetHashCode(); + if (member_ != null) hash ^= Member.GetHashCode(); + if (stream_ != null) hash ^= Stream.GetHashCode(); + if (tag_ != null) hash ^= Tag.GetHashCode(); + hash ^= searchAttribute_.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + if (HasTimezone) hash ^= Timezone.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (type_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Type); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (avatar_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PrivacyLevel); + } + if (HasShortName) { + output.WriteRawTag(58); + output.WriteString(ShortName); + } + if (HasVisibilityLevel) { + output.WriteRawTag(64); + output.WriteEnum((int) VisibilityLevel); + } + if (member_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Member); + } + if (stream_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Stream); + } + if (tag_ != null) { + output.WriteRawTag(98); + output.WriteMessage(Tag); + } + searchAttribute_.WriteTo(output, _repeated_searchAttribute_codec); + if (HasLocale) { + output.WriteRawTag(114); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(122); + output.WriteString(Timezone); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (type_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Type); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (avatar_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PrivacyLevel); + } + if (HasShortName) { + output.WriteRawTag(58); + output.WriteString(ShortName); + } + if (HasVisibilityLevel) { + output.WriteRawTag(64); + output.WriteEnum((int) VisibilityLevel); + } + if (member_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Member); + } + if (stream_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Stream); + } + if (tag_ != null) { + output.WriteRawTag(98); + output.WriteMessage(Tag); + } + searchAttribute_.WriteTo(ref output, _repeated_searchAttribute_codec); + if (HasLocale) { + output.WriteRawTag(114); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(122); + output.WriteString(Timezone); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (type_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (avatar_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar); + } + if (HasPrivacyLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel); + } + if (HasShortName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName); + } + if (HasVisibilityLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VisibilityLevel); + } + if (member_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Member); + } + if (stream_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Stream); + } + if (tag_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tag); + } + size += searchAttribute_.CalculateSize(_repeated_searchAttribute_codec); + if (HasLocale) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Locale); + } + if (HasTimezone) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubCreateOptions other) { + if (other == null) { + return; + } + if (other.type_ != null) { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + Type.MergeFrom(other.Type); + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasDescription) { + Description = other.Description; + } + if (other.avatar_ != null) { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + Avatar.MergeFrom(other.Avatar); + } + if (other.HasPrivacyLevel) { + PrivacyLevel = other.PrivacyLevel; + } + if (other.HasShortName) { + ShortName = other.ShortName; + } + if (other.HasVisibilityLevel) { + VisibilityLevel = other.VisibilityLevel; + } + if (other.member_ != null) { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + Member.MergeFrom(other.Member); + } + if (other.stream_ != null) { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions(); + } + Stream.MergeFrom(other.Stream); + } + if (other.tag_ != null) { + if (tag_ == null) { + Tag = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions(); + } + Tag.MergeFrom(other.Tag); + } + searchAttribute_.Add(other.searchAttribute_); + if (other.HasLocale) { + Locale = other.Locale; + } + if (other.HasTimezone) { + Timezone = other.Timezone; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 42: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 48: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 58: { + ShortName = input.ReadString(); + break; + } + case 64: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 82: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + input.ReadMessage(Member); + break; + } + case 90: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions(); + } + input.ReadMessage(Stream); + break; + } + case 98: { + if (tag_ == null) { + Tag = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions(); + } + input.ReadMessage(Tag); + break; + } + case 106: { + searchAttribute_.AddEntriesFrom(input, _repeated_searchAttribute_codec); + break; + } + case 114: { + Locale = input.ReadString(); + break; + } + case 122: { + Timezone = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 42: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 48: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 58: { + ShortName = input.ReadString(); + break; + } + case 64: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 82: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + input.ReadMessage(Member); + break; + } + case 90: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions(); + } + input.ReadMessage(Stream); + break; + } + case 98: { + if (tag_ == null) { + Tag = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions(); + } + input.ReadMessage(Tag); + break; + } + case 106: { + searchAttribute_.AddEntriesFrom(ref input, _repeated_searchAttribute_codec); + break; + } + case 114: { + Locale = input.ReadString(); + break; + } + case 122: { + Timezone = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Club : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Club()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Club() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Club(Club other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + type_ = other.type_ != null ? other.type_.Clone() : null; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + description_ = other.description_; + broadcast_ = other.broadcast_ != null ? other.broadcast_.Clone() : null; + avatar_ = other.avatar_ != null ? other.avatar_.Clone() : null; + privacyLevel_ = other.privacyLevel_; + visibilityLevel_ = other.visibilityLevel_; + memberCount_ = other.memberCount_; + creationTime_ = other.creationTime_; + streamPosition_ = other.streamPosition_ != null ? other.streamPosition_.Clone() : null; + roleSet_ = other.roleSet_ != null ? other.roleSet_.Clone() : null; + leader_ = other.leader_.Clone(); + shortName_ = other.shortName_; + searchAttribute_ = other.searchAttribute_.Clone(); + tag_ = other.tag_.Clone(); + locale_ = other.locale_; + timezone_ = other.timezone_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Club Clone() { + return new Club(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 4; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 5; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + /// Field number for the "broadcast" field. + public const int BroadcastFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast broadcast_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast Broadcast { + get { return broadcast_; } + set { + broadcast_ = value; + } + } + + /// Field number for the "avatar" field. + public const int AvatarFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId avatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId Avatar { + get { return avatar_; } + set { + avatar_ = value; + } + } + + /// Field number for the "privacy_level" field. + public const int PrivacyLevelFieldNumber = 8; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel.Closed; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel privacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevel { + get { if ((_hasBits0 & 2) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 2; + privacyLevel_ = value; + } + } + /// Gets whether the "privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "visibility_level" field. + public const int VisibilityLevelFieldNumber = 9; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel.Private; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel visibilityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevel { + get { if ((_hasBits0 & 4) != 0) { return visibilityLevel_; } else { return VisibilityLevelDefaultValue; } } + set { + _hasBits0 |= 4; + visibilityLevel_ = value; + } + } + /// Gets whether the "visibility_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVisibilityLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "visibility_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVisibilityLevel() { + _hasBits0 &= ~4; + } + + /// Field number for the "member_count" field. + public const int MemberCountFieldNumber = 10; + private readonly static uint MemberCountDefaultValue = 0; + + private uint memberCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MemberCount { + get { if ((_hasBits0 & 8) != 0) { return memberCount_; } else { return MemberCountDefaultValue; } } + set { + _hasBits0 |= 8; + memberCount_ = value; + } + } + /// Gets whether the "member_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMemberCount { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "member_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMemberCount() { + _hasBits0 &= ~8; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 11; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 16) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 16; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~16; + } + + /// Field number for the "stream_position" field. + public const int StreamPositionFieldNumber = 12; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition streamPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition StreamPosition { + get { return streamPosition_; } + set { + streamPosition_ = value; + } + } + + /// Field number for the "role_set" field. + public const int RoleSetFieldNumber = 13; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet roleSet_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet RoleSet { + get { return roleSet_; } + set { + roleSet_ = value; + } + } + + /// Field number for the "leader" field. + public const int LeaderFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_leader_codec + = pb::FieldCodec.ForMessage(114, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription.Parser); + private readonly pbc::RepeatedField leader_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Leader { + get { return leader_; } + } + + /// Field number for the "short_name" field. + public const int ShortNameFieldNumber = 15; + private readonly static string ShortNameDefaultValue = ""; + + private string shortName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ShortName { + get { return shortName_ ?? ShortNameDefaultValue; } + set { + shortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "short_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShortName { + get { return shortName_ != null; } + } + /// Clears the value of the "short_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShortName() { + shortName_ = null; + } + + /// Field number for the "search_attribute" field. + public const int SearchAttributeFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_searchAttribute_codec + = pb::FieldCodec.ForMessage(130, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField searchAttribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SearchAttribute { + get { return searchAttribute_; } + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 17; + private static readonly pb::FieldCodec _repeated_tag_codec + = pb::FieldCodec.ForMessage(138, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier.Parser); + private readonly pbc::RepeatedField tag_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tag { + get { return tag_; } + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 18; + private readonly static string LocaleDefaultValue = ""; + + private string locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Locale { + get { return locale_ ?? LocaleDefaultValue; } + set { + locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return locale_ != null; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + locale_ = null; + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 19; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Club); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Club other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(Type, other.Type)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + if (!object.Equals(Broadcast, other.Broadcast)) return false; + if (!object.Equals(Avatar, other.Avatar)) return false; + if (PrivacyLevel != other.PrivacyLevel) return false; + if (VisibilityLevel != other.VisibilityLevel) return false; + if (MemberCount != other.MemberCount) return false; + if (CreationTime != other.CreationTime) return false; + if (!object.Equals(StreamPosition, other.StreamPosition)) return false; + if (!object.Equals(RoleSet, other.RoleSet)) return false; + if(!leader_.Equals(other.leader_)) return false; + if (ShortName != other.ShortName) return false; + if(!searchAttribute_.Equals(other.searchAttribute_)) return false; + if(!tag_.Equals(other.tag_)) return false; + if (Locale != other.Locale) return false; + if (Timezone != other.Timezone) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (type_ != null) hash ^= Type.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (broadcast_ != null) hash ^= Broadcast.GetHashCode(); + if (avatar_ != null) hash ^= Avatar.GetHashCode(); + if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode(); + if (HasVisibilityLevel) hash ^= VisibilityLevel.GetHashCode(); + if (HasMemberCount) hash ^= MemberCount.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (streamPosition_ != null) hash ^= StreamPosition.GetHashCode(); + if (roleSet_ != null) hash ^= RoleSet.GetHashCode(); + hash ^= leader_.GetHashCode(); + if (HasShortName) hash ^= ShortName.GetHashCode(); + hash ^= searchAttribute_.GetHashCode(); + hash ^= tag_.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + if (HasTimezone) hash ^= Timezone.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(42); + output.WriteString(Description); + } + if (broadcast_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Broadcast); + } + if (avatar_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(64); + output.WriteEnum((int) PrivacyLevel); + } + if (HasVisibilityLevel) { + output.WriteRawTag(72); + output.WriteEnum((int) VisibilityLevel); + } + if (HasMemberCount) { + output.WriteRawTag(80); + output.WriteUInt32(MemberCount); + } + if (HasCreationTime) { + output.WriteRawTag(88); + output.WriteUInt64(CreationTime); + } + if (streamPosition_ != null) { + output.WriteRawTag(98); + output.WriteMessage(StreamPosition); + } + if (roleSet_ != null) { + output.WriteRawTag(106); + output.WriteMessage(RoleSet); + } + leader_.WriteTo(output, _repeated_leader_codec); + if (HasShortName) { + output.WriteRawTag(122); + output.WriteString(ShortName); + } + searchAttribute_.WriteTo(output, _repeated_searchAttribute_codec); + tag_.WriteTo(output, _repeated_tag_codec); + if (HasLocale) { + output.WriteRawTag(146, 1); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(154, 1); + output.WriteString(Timezone); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(42); + output.WriteString(Description); + } + if (broadcast_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Broadcast); + } + if (avatar_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(64); + output.WriteEnum((int) PrivacyLevel); + } + if (HasVisibilityLevel) { + output.WriteRawTag(72); + output.WriteEnum((int) VisibilityLevel); + } + if (HasMemberCount) { + output.WriteRawTag(80); + output.WriteUInt32(MemberCount); + } + if (HasCreationTime) { + output.WriteRawTag(88); + output.WriteUInt64(CreationTime); + } + if (streamPosition_ != null) { + output.WriteRawTag(98); + output.WriteMessage(StreamPosition); + } + if (roleSet_ != null) { + output.WriteRawTag(106); + output.WriteMessage(RoleSet); + } + leader_.WriteTo(ref output, _repeated_leader_codec); + if (HasShortName) { + output.WriteRawTag(122); + output.WriteString(ShortName); + } + searchAttribute_.WriteTo(ref output, _repeated_searchAttribute_codec); + tag_.WriteTo(ref output, _repeated_tag_codec); + if (HasLocale) { + output.WriteRawTag(146, 1); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(154, 1); + output.WriteString(Timezone); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (type_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (broadcast_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Broadcast); + } + if (avatar_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar); + } + if (HasPrivacyLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel); + } + if (HasVisibilityLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VisibilityLevel); + } + if (HasMemberCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MemberCount); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (streamPosition_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StreamPosition); + } + if (roleSet_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoleSet); + } + size += leader_.CalculateSize(_repeated_leader_codec); + if (HasShortName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName); + } + size += searchAttribute_.CalculateSize(_repeated_searchAttribute_codec); + size += tag_.CalculateSize(_repeated_tag_codec); + if (HasLocale) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Locale); + } + if (HasTimezone) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Club other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.type_ != null) { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + Type.MergeFrom(other.Type); + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasDescription) { + Description = other.Description; + } + if (other.broadcast_ != null) { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast(); + } + Broadcast.MergeFrom(other.Broadcast); + } + if (other.avatar_ != null) { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + Avatar.MergeFrom(other.Avatar); + } + if (other.HasPrivacyLevel) { + PrivacyLevel = other.PrivacyLevel; + } + if (other.HasVisibilityLevel) { + VisibilityLevel = other.VisibilityLevel; + } + if (other.HasMemberCount) { + MemberCount = other.MemberCount; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.streamPosition_ != null) { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + StreamPosition.MergeFrom(other.StreamPosition); + } + if (other.roleSet_ != null) { + if (roleSet_ == null) { + RoleSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet(); + } + RoleSet.MergeFrom(other.RoleSet); + } + leader_.Add(other.leader_); + if (other.HasShortName) { + ShortName = other.ShortName; + } + searchAttribute_.Add(other.searchAttribute_); + tag_.Add(other.tag_); + if (other.HasLocale) { + Locale = other.Locale; + } + if (other.HasTimezone) { + Timezone = other.Timezone; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt64(); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Description = input.ReadString(); + break; + } + case 50: { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast(); + } + input.ReadMessage(Broadcast); + break; + } + case 58: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 64: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 72: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 80: { + MemberCount = input.ReadUInt32(); + break; + } + case 88: { + CreationTime = input.ReadUInt64(); + break; + } + case 98: { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + input.ReadMessage(StreamPosition); + break; + } + case 106: { + if (roleSet_ == null) { + RoleSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet(); + } + input.ReadMessage(RoleSet); + break; + } + case 114: { + leader_.AddEntriesFrom(input, _repeated_leader_codec); + break; + } + case 122: { + ShortName = input.ReadString(); + break; + } + case 130: { + searchAttribute_.AddEntriesFrom(input, _repeated_searchAttribute_codec); + break; + } + case 138: { + tag_.AddEntriesFrom(input, _repeated_tag_codec); + break; + } + case 146: { + Locale = input.ReadString(); + break; + } + case 154: { + Timezone = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt64(); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Description = input.ReadString(); + break; + } + case 50: { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast(); + } + input.ReadMessage(Broadcast); + break; + } + case 58: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 64: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 72: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 80: { + MemberCount = input.ReadUInt32(); + break; + } + case 88: { + CreationTime = input.ReadUInt64(); + break; + } + case 98: { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + input.ReadMessage(StreamPosition); + break; + } + case 106: { + if (roleSet_ == null) { + RoleSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet(); + } + input.ReadMessage(RoleSet); + break; + } + case 114: { + leader_.AddEntriesFrom(ref input, _repeated_leader_codec); + break; + } + case 122: { + ShortName = input.ReadString(); + break; + } + case 130: { + searchAttribute_.AddEntriesFrom(ref input, _repeated_searchAttribute_codec); + break; + } + case 138: { + tag_.AddEntriesFrom(ref input, _repeated_tag_codec); + break; + } + case 146: { + Locale = input.ReadString(); + break; + } + case 154: { + Timezone = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubDescription : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubDescription()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubDescription() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubDescription(ClubDescription other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + type_ = other.type_ != null ? other.type_.Clone() : null; + name_ = other.name_; + description_ = other.description_; + avatar_ = other.avatar_ != null ? other.avatar_.Clone() : null; + privacyLevel_ = other.privacyLevel_; + visibilityLevel_ = other.visibilityLevel_; + memberCount_ = other.memberCount_; + leader_ = other.leader_.Clone(); + creationTime_ = other.creationTime_; + timezone_ = other.timezone_; + locale_ = other.locale_; + tag_ = other.tag_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubDescription Clone() { + return new ClubDescription(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 4; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + /// Field number for the "avatar" field. + public const int AvatarFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId avatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId Avatar { + get { return avatar_; } + set { + avatar_ = value; + } + } + + /// Field number for the "privacy_level" field. + public const int PrivacyLevelFieldNumber = 6; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel.Closed; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel privacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevel { + get { if ((_hasBits0 & 2) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 2; + privacyLevel_ = value; + } + } + /// Gets whether the "privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "visibility_level" field. + public const int VisibilityLevelFieldNumber = 7; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel.Private; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel visibilityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevel { + get { if ((_hasBits0 & 4) != 0) { return visibilityLevel_; } else { return VisibilityLevelDefaultValue; } } + set { + _hasBits0 |= 4; + visibilityLevel_ = value; + } + } + /// Gets whether the "visibility_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVisibilityLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "visibility_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVisibilityLevel() { + _hasBits0 &= ~4; + } + + /// Field number for the "member_count" field. + public const int MemberCountFieldNumber = 8; + private readonly static uint MemberCountDefaultValue = 0; + + private uint memberCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MemberCount { + get { if ((_hasBits0 & 8) != 0) { return memberCount_; } else { return MemberCountDefaultValue; } } + set { + _hasBits0 |= 8; + memberCount_ = value; + } + } + /// Gets whether the "member_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMemberCount { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "member_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMemberCount() { + _hasBits0 &= ~8; + } + + /// Field number for the "leader" field. + public const int LeaderFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_leader_codec + = pb::FieldCodec.ForMessage(74, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription.Parser); + private readonly pbc::RepeatedField leader_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Leader { + get { return leader_; } + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 10; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 16) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 16; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~16; + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 11; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 12; + private readonly static string LocaleDefaultValue = ""; + + private string locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Locale { + get { return locale_ ?? LocaleDefaultValue; } + set { + locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return locale_ != null; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + locale_ = null; + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_tag_codec + = pb::FieldCodec.ForMessage(106, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier.Parser); + private readonly pbc::RepeatedField tag_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tag { + get { return tag_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubDescription); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubDescription other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(Type, other.Type)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + if (!object.Equals(Avatar, other.Avatar)) return false; + if (PrivacyLevel != other.PrivacyLevel) return false; + if (VisibilityLevel != other.VisibilityLevel) return false; + if (MemberCount != other.MemberCount) return false; + if(!leader_.Equals(other.leader_)) return false; + if (CreationTime != other.CreationTime) return false; + if (Timezone != other.Timezone) return false; + if (Locale != other.Locale) return false; + if(!tag_.Equals(other.tag_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (type_ != null) hash ^= Type.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (avatar_ != null) hash ^= Avatar.GetHashCode(); + if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode(); + if (HasVisibilityLevel) hash ^= VisibilityLevel.GetHashCode(); + if (HasMemberCount) hash ^= MemberCount.GetHashCode(); + hash ^= leader_.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasTimezone) hash ^= Timezone.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + hash ^= tag_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (avatar_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PrivacyLevel); + } + if (HasVisibilityLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) VisibilityLevel); + } + if (HasMemberCount) { + output.WriteRawTag(64); + output.WriteUInt32(MemberCount); + } + leader_.WriteTo(output, _repeated_leader_codec); + if (HasCreationTime) { + output.WriteRawTag(80); + output.WriteUInt64(CreationTime); + } + if (HasTimezone) { + output.WriteRawTag(90); + output.WriteString(Timezone); + } + if (HasLocale) { + output.WriteRawTag(98); + output.WriteString(Locale); + } + tag_.WriteTo(output, _repeated_tag_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (avatar_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PrivacyLevel); + } + if (HasVisibilityLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) VisibilityLevel); + } + if (HasMemberCount) { + output.WriteRawTag(64); + output.WriteUInt32(MemberCount); + } + leader_.WriteTo(ref output, _repeated_leader_codec); + if (HasCreationTime) { + output.WriteRawTag(80); + output.WriteUInt64(CreationTime); + } + if (HasTimezone) { + output.WriteRawTag(90); + output.WriteString(Timezone); + } + if (HasLocale) { + output.WriteRawTag(98); + output.WriteString(Locale); + } + tag_.WriteTo(ref output, _repeated_tag_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (type_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type); + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (avatar_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar); + } + if (HasPrivacyLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel); + } + if (HasVisibilityLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VisibilityLevel); + } + if (HasMemberCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MemberCount); + } + size += leader_.CalculateSize(_repeated_leader_codec); + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasTimezone) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + if (HasLocale) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Locale); + } + size += tag_.CalculateSize(_repeated_tag_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubDescription other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.type_ != null) { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + Type.MergeFrom(other.Type); + } + if (other.HasName) { + Name = other.Name; + } + if (other.HasDescription) { + Description = other.Description; + } + if (other.avatar_ != null) { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + Avatar.MergeFrom(other.Avatar); + } + if (other.HasPrivacyLevel) { + PrivacyLevel = other.PrivacyLevel; + } + if (other.HasVisibilityLevel) { + VisibilityLevel = other.VisibilityLevel; + } + if (other.HasMemberCount) { + MemberCount = other.MemberCount; + } + leader_.Add(other.leader_); + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasTimezone) { + Timezone = other.Timezone; + } + if (other.HasLocale) { + Locale = other.Locale; + } + tag_.Add(other.tag_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt64(); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 42: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 48: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 56: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 64: { + MemberCount = input.ReadUInt32(); + break; + } + case 74: { + leader_.AddEntriesFrom(input, _repeated_leader_codec); + break; + } + case 80: { + CreationTime = input.ReadUInt64(); + break; + } + case 90: { + Timezone = input.ReadString(); + break; + } + case 98: { + Locale = input.ReadString(); + break; + } + case 106: { + tag_.AddEntriesFrom(input, _repeated_tag_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt64(); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 42: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 48: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 56: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 64: { + MemberCount = input.ReadUInt32(); + break; + } + case 74: { + leader_.AddEntriesFrom(ref input, _repeated_leader_codec); + break; + } + case 80: { + CreationTime = input.ReadUInt64(); + break; + } + case 90: { + Timezone = input.ReadString(); + break; + } + case 98: { + Locale = input.ReadString(); + break; + } + case 106: { + tag_.AddEntriesFrom(ref input, _repeated_tag_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubView : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubView()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubView() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubView(ClubView other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + marker_ = other.marker_ != null ? other.marker_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubView Clone() { + return new ClubView(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "marker" field. + public const int MarkerFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker marker_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker Marker { + get { return marker_; } + set { + marker_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubView); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubView other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (!object.Equals(Marker, other.Marker)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (marker_ != null) hash ^= Marker.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (marker_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Marker); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (marker_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Marker); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (marker_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Marker); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubView other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.marker_ != null) { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + Marker.MergeFrom(other.Marker); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 18: { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(Marker); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 18: { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(Marker); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubStateOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubStateOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStateOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStateOptions(ClubStateOptions other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + description_ = other.description_; + broadcast_ = other.broadcast_ != null ? other.broadcast_.Clone() : null; + avatar_ = other.avatar_ != null ? other.avatar_.Clone() : null; + privacyLevel_ = other.privacyLevel_; + streamPosition_ = other.streamPosition_ != null ? other.streamPosition_.Clone() : null; + shortName_ = other.shortName_; + visibilityLevel_ = other.visibilityLevel_; + locale_ = other.locale_; + timezone_ = other.timezone_; + tagOptions_ = other.tagOptions_ != null ? other.tagOptions_.Clone() : null; + searchAttribute_ = other.searchAttribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStateOptions Clone() { + return new ClubStateOptions(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 3; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + /// Field number for the "broadcast" field. + public const int BroadcastFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions broadcast_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions Broadcast { + get { return broadcast_; } + set { + broadcast_ = value; + } + } + + /// Field number for the "avatar" field. + public const int AvatarFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId avatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId Avatar { + get { return avatar_; } + set { + avatar_ = value; + } + } + + /// Field number for the "privacy_level" field. + public const int PrivacyLevelFieldNumber = 6; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel.Closed; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel privacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevel { + get { if ((_hasBits0 & 1) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 1; + privacyLevel_ = value; + } + } + /// Gets whether the "privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyLevel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyLevel() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_position" field. + public const int StreamPositionFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition streamPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition StreamPosition { + get { return streamPosition_; } + set { + streamPosition_ = value; + } + } + + /// Field number for the "short_name" field. + public const int ShortNameFieldNumber = 8; + private readonly static string ShortNameDefaultValue = ""; + + private string shortName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ShortName { + get { return shortName_ ?? ShortNameDefaultValue; } + set { + shortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "short_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShortName { + get { return shortName_ != null; } + } + /// Clears the value of the "short_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShortName() { + shortName_ = null; + } + + /// Field number for the "visibility_level" field. + public const int VisibilityLevelFieldNumber = 9; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel.Private; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel visibilityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevel { + get { if ((_hasBits0 & 2) != 0) { return visibilityLevel_; } else { return VisibilityLevelDefaultValue; } } + set { + _hasBits0 |= 2; + visibilityLevel_ = value; + } + } + /// Gets whether the "visibility_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVisibilityLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "visibility_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVisibilityLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 10; + private readonly static string LocaleDefaultValue = ""; + + private string locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Locale { + get { return locale_ ?? LocaleDefaultValue; } + set { + locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return locale_ != null; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + locale_ = null; + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 11; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + /// Field number for the "tag_options" field. + public const int TagOptionsFieldNumber = 12; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions tagOptions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions TagOptions { + get { return tagOptions_; } + set { + tagOptions_ = value; + } + } + + /// Field number for the "search_attribute" field. + public const int SearchAttributeFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_searchAttribute_codec + = pb::FieldCodec.ForMessage(106, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField searchAttribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SearchAttribute { + get { return searchAttribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubStateOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubStateOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + if (!object.Equals(Broadcast, other.Broadcast)) return false; + if (!object.Equals(Avatar, other.Avatar)) return false; + if (PrivacyLevel != other.PrivacyLevel) return false; + if (!object.Equals(StreamPosition, other.StreamPosition)) return false; + if (ShortName != other.ShortName) return false; + if (VisibilityLevel != other.VisibilityLevel) return false; + if (Locale != other.Locale) return false; + if (Timezone != other.Timezone) return false; + if (!object.Equals(TagOptions, other.TagOptions)) return false; + if(!searchAttribute_.Equals(other.searchAttribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (broadcast_ != null) hash ^= Broadcast.GetHashCode(); + if (avatar_ != null) hash ^= Avatar.GetHashCode(); + if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode(); + if (streamPosition_ != null) hash ^= StreamPosition.GetHashCode(); + if (HasShortName) hash ^= ShortName.GetHashCode(); + if (HasVisibilityLevel) hash ^= VisibilityLevel.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + if (HasTimezone) hash ^= Timezone.GetHashCode(); + if (tagOptions_ != null) hash ^= TagOptions.GetHashCode(); + hash ^= searchAttribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (broadcast_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Broadcast); + } + if (avatar_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PrivacyLevel); + } + if (streamPosition_ != null) { + output.WriteRawTag(58); + output.WriteMessage(StreamPosition); + } + if (HasShortName) { + output.WriteRawTag(66); + output.WriteString(ShortName); + } + if (HasVisibilityLevel) { + output.WriteRawTag(72); + output.WriteEnum((int) VisibilityLevel); + } + if (HasLocale) { + output.WriteRawTag(82); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(90); + output.WriteString(Timezone); + } + if (tagOptions_ != null) { + output.WriteRawTag(98); + output.WriteMessage(TagOptions); + } + searchAttribute_.WriteTo(output, _repeated_searchAttribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (broadcast_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Broadcast); + } + if (avatar_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PrivacyLevel); + } + if (streamPosition_ != null) { + output.WriteRawTag(58); + output.WriteMessage(StreamPosition); + } + if (HasShortName) { + output.WriteRawTag(66); + output.WriteString(ShortName); + } + if (HasVisibilityLevel) { + output.WriteRawTag(72); + output.WriteEnum((int) VisibilityLevel); + } + if (HasLocale) { + output.WriteRawTag(82); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(90); + output.WriteString(Timezone); + } + if (tagOptions_ != null) { + output.WriteRawTag(98); + output.WriteMessage(TagOptions); + } + searchAttribute_.WriteTo(ref output, _repeated_searchAttribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (broadcast_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Broadcast); + } + if (avatar_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar); + } + if (HasPrivacyLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel); + } + if (streamPosition_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StreamPosition); + } + if (HasShortName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName); + } + if (HasVisibilityLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VisibilityLevel); + } + if (HasLocale) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Locale); + } + if (HasTimezone) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + if (tagOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TagOptions); + } + size += searchAttribute_.CalculateSize(_repeated_searchAttribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubStateOptions other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasDescription) { + Description = other.Description; + } + if (other.broadcast_ != null) { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions(); + } + Broadcast.MergeFrom(other.Broadcast); + } + if (other.avatar_ != null) { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + Avatar.MergeFrom(other.Avatar); + } + if (other.HasPrivacyLevel) { + PrivacyLevel = other.PrivacyLevel; + } + if (other.streamPosition_ != null) { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + StreamPosition.MergeFrom(other.StreamPosition); + } + if (other.HasShortName) { + ShortName = other.ShortName; + } + if (other.HasVisibilityLevel) { + VisibilityLevel = other.VisibilityLevel; + } + if (other.HasLocale) { + Locale = other.Locale; + } + if (other.HasTimezone) { + Timezone = other.Timezone; + } + if (other.tagOptions_ != null) { + if (tagOptions_ == null) { + TagOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions(); + } + TagOptions.MergeFrom(other.TagOptions); + } + searchAttribute_.Add(other.searchAttribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + case 34: { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions(); + } + input.ReadMessage(Broadcast); + break; + } + case 42: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 48: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 58: { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + input.ReadMessage(StreamPosition); + break; + } + case 66: { + ShortName = input.ReadString(); + break; + } + case 72: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 82: { + Locale = input.ReadString(); + break; + } + case 90: { + Timezone = input.ReadString(); + break; + } + case 98: { + if (tagOptions_ == null) { + TagOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions(); + } + input.ReadMessage(TagOptions); + break; + } + case 106: { + searchAttribute_.AddEntriesFrom(input, _repeated_searchAttribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + case 34: { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetBroadcastOptions(); + } + input.ReadMessage(Broadcast); + break; + } + case 42: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 48: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 58: { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + input.ReadMessage(StreamPosition); + break; + } + case 66: { + ShortName = input.ReadString(); + break; + } + case 72: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 82: { + Locale = input.ReadString(); + break; + } + case 90: { + Timezone = input.ReadString(); + break; + } + case 98: { + if (tagOptions_ == null) { + TagOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions(); + } + input.ReadMessage(TagOptions); + break; + } + case 106: { + searchAttribute_.AddEntriesFrom(ref input, _repeated_searchAttribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubStateAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubStateAssignment()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStateAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStateAssignment(ClubStateAssignment other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + description_ = other.description_; + broadcast_ = other.broadcast_ != null ? other.broadcast_.Clone() : null; + avatar_ = other.avatar_ != null ? other.avatar_.Clone() : null; + privacyLevel_ = other.privacyLevel_; + streamPosition_ = other.streamPosition_ != null ? other.streamPosition_.Clone() : null; + shortName_ = other.shortName_; + visibilityLevel_ = other.visibilityLevel_; + locale_ = other.locale_; + timezone_ = other.timezone_; + tag_ = other.tag_.Clone(); + searchAttribute_ = other.searchAttribute_.Clone(); + tagCleared_ = other.tagCleared_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStateAssignment Clone() { + return new ClubStateAssignment(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 4; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + /// Field number for the "broadcast" field. + public const int BroadcastFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast broadcast_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast Broadcast { + get { return broadcast_; } + set { + broadcast_ = value; + } + } + + /// Field number for the "avatar" field. + public const int AvatarFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId avatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId Avatar { + get { return avatar_; } + set { + avatar_ = value; + } + } + + /// Field number for the "privacy_level" field. + public const int PrivacyLevelFieldNumber = 7; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel.Closed; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel privacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevel { + get { if ((_hasBits0 & 2) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 2; + privacyLevel_ = value; + } + } + /// Gets whether the "privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivacyLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivacyLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "stream_position" field. + public const int StreamPositionFieldNumber = 8; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition streamPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition StreamPosition { + get { return streamPosition_; } + set { + streamPosition_ = value; + } + } + + /// Field number for the "short_name" field. + public const int ShortNameFieldNumber = 9; + private readonly static string ShortNameDefaultValue = ""; + + private string shortName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ShortName { + get { return shortName_ ?? ShortNameDefaultValue; } + set { + shortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "short_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShortName { + get { return shortName_ != null; } + } + /// Clears the value of the "short_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShortName() { + shortName_ = null; + } + + /// Field number for the "visibility_level" field. + public const int VisibilityLevelFieldNumber = 10; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel.Private; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel visibilityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevel { + get { if ((_hasBits0 & 4) != 0) { return visibilityLevel_; } else { return VisibilityLevelDefaultValue; } } + set { + _hasBits0 |= 4; + visibilityLevel_ = value; + } + } + /// Gets whether the "visibility_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVisibilityLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "visibility_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVisibilityLevel() { + _hasBits0 &= ~4; + } + + /// Field number for the "locale" field. + public const int LocaleFieldNumber = 11; + private readonly static string LocaleDefaultValue = ""; + + private string locale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Locale { + get { return locale_ ?? LocaleDefaultValue; } + set { + locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "locale" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocale { + get { return locale_ != null; } + } + /// Clears the value of the "locale" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocale() { + locale_ = null; + } + + /// Field number for the "timezone" field. + public const int TimezoneFieldNumber = 12; + private readonly static string TimezoneDefaultValue = ""; + + private string timezone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timezone { + get { return timezone_ ?? TimezoneDefaultValue; } + set { + timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "timezone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimezone { + get { return timezone_ != null; } + } + /// Clears the value of the "timezone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimezone() { + timezone_ = null; + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_tag_codec + = pb::FieldCodec.ForMessage(106, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier.Parser); + private readonly pbc::RepeatedField tag_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tag { + get { return tag_; } + } + + /// Field number for the "search_attribute" field. + public const int SearchAttributeFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_searchAttribute_codec + = pb::FieldCodec.ForMessage(114, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField searchAttribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SearchAttribute { + get { return searchAttribute_; } + } + + /// Field number for the "tag_cleared" field. + public const int TagClearedFieldNumber = 15; + private readonly static bool TagClearedDefaultValue = false; + + private bool tagCleared_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool TagCleared { + get { if ((_hasBits0 & 8) != 0) { return tagCleared_; } else { return TagClearedDefaultValue; } } + set { + _hasBits0 |= 8; + tagCleared_ = value; + } + } + /// Gets whether the "tag_cleared" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTagCleared { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "tag_cleared" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTagCleared() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubStateAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubStateAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + if (!object.Equals(Broadcast, other.Broadcast)) return false; + if (!object.Equals(Avatar, other.Avatar)) return false; + if (PrivacyLevel != other.PrivacyLevel) return false; + if (!object.Equals(StreamPosition, other.StreamPosition)) return false; + if (ShortName != other.ShortName) return false; + if (VisibilityLevel != other.VisibilityLevel) return false; + if (Locale != other.Locale) return false; + if (Timezone != other.Timezone) return false; + if(!tag_.Equals(other.tag_)) return false; + if(!searchAttribute_.Equals(other.searchAttribute_)) return false; + if (TagCleared != other.TagCleared) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (broadcast_ != null) hash ^= Broadcast.GetHashCode(); + if (avatar_ != null) hash ^= Avatar.GetHashCode(); + if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode(); + if (streamPosition_ != null) hash ^= StreamPosition.GetHashCode(); + if (HasShortName) hash ^= ShortName.GetHashCode(); + if (HasVisibilityLevel) hash ^= VisibilityLevel.GetHashCode(); + if (HasLocale) hash ^= Locale.GetHashCode(); + if (HasTimezone) hash ^= Timezone.GetHashCode(); + hash ^= tag_.GetHashCode(); + hash ^= searchAttribute_.GetHashCode(); + if (HasTagCleared) hash ^= TagCleared.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (broadcast_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Broadcast); + } + if (avatar_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) PrivacyLevel); + } + if (streamPosition_ != null) { + output.WriteRawTag(66); + output.WriteMessage(StreamPosition); + } + if (HasShortName) { + output.WriteRawTag(74); + output.WriteString(ShortName); + } + if (HasVisibilityLevel) { + output.WriteRawTag(80); + output.WriteEnum((int) VisibilityLevel); + } + if (HasLocale) { + output.WriteRawTag(90); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(98); + output.WriteString(Timezone); + } + tag_.WriteTo(output, _repeated_tag_codec); + searchAttribute_.WriteTo(output, _repeated_searchAttribute_codec); + if (HasTagCleared) { + output.WriteRawTag(120); + output.WriteBool(TagCleared); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (broadcast_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Broadcast); + } + if (avatar_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Avatar); + } + if (HasPrivacyLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) PrivacyLevel); + } + if (streamPosition_ != null) { + output.WriteRawTag(66); + output.WriteMessage(StreamPosition); + } + if (HasShortName) { + output.WriteRawTag(74); + output.WriteString(ShortName); + } + if (HasVisibilityLevel) { + output.WriteRawTag(80); + output.WriteEnum((int) VisibilityLevel); + } + if (HasLocale) { + output.WriteRawTag(90); + output.WriteString(Locale); + } + if (HasTimezone) { + output.WriteRawTag(98); + output.WriteString(Timezone); + } + tag_.WriteTo(ref output, _repeated_tag_codec); + searchAttribute_.WriteTo(ref output, _repeated_searchAttribute_codec); + if (HasTagCleared) { + output.WriteRawTag(120); + output.WriteBool(TagCleared); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (broadcast_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Broadcast); + } + if (avatar_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar); + } + if (HasPrivacyLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel); + } + if (streamPosition_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StreamPosition); + } + if (HasShortName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName); + } + if (HasVisibilityLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VisibilityLevel); + } + if (HasLocale) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Locale); + } + if (HasTimezone) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone); + } + size += tag_.CalculateSize(_repeated_tag_codec); + size += searchAttribute_.CalculateSize(_repeated_searchAttribute_codec); + if (HasTagCleared) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubStateAssignment other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasDescription) { + Description = other.Description; + } + if (other.broadcast_ != null) { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast(); + } + Broadcast.MergeFrom(other.Broadcast); + } + if (other.avatar_ != null) { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + Avatar.MergeFrom(other.Avatar); + } + if (other.HasPrivacyLevel) { + PrivacyLevel = other.PrivacyLevel; + } + if (other.streamPosition_ != null) { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + StreamPosition.MergeFrom(other.StreamPosition); + } + if (other.HasShortName) { + ShortName = other.ShortName; + } + if (other.HasVisibilityLevel) { + VisibilityLevel = other.VisibilityLevel; + } + if (other.HasLocale) { + Locale = other.Locale; + } + if (other.HasTimezone) { + Timezone = other.Timezone; + } + tag_.Add(other.tag_); + searchAttribute_.Add(other.searchAttribute_); + if (other.HasTagCleared) { + TagCleared = other.TagCleared; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 42: { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast(); + } + input.ReadMessage(Broadcast); + break; + } + case 50: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 56: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 66: { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + input.ReadMessage(StreamPosition); + break; + } + case 74: { + ShortName = input.ReadString(); + break; + } + case 80: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 90: { + Locale = input.ReadString(); + break; + } + case 98: { + Timezone = input.ReadString(); + break; + } + case 106: { + tag_.AddEntriesFrom(input, _repeated_tag_codec); + break; + } + case 114: { + searchAttribute_.AddEntriesFrom(input, _repeated_searchAttribute_codec); + break; + } + case 120: { + TagCleared = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 42: { + if (broadcast_ == null) { + Broadcast = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Broadcast(); + } + input.ReadMessage(Broadcast); + break; + } + case 50: { + if (avatar_ == null) { + Avatar = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AvatarId(); + } + input.ReadMessage(Avatar); + break; + } + case 56: { + PrivacyLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum(); + break; + } + case 66: { + if (streamPosition_ == null) { + StreamPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition(); + } + input.ReadMessage(StreamPosition); + break; + } + case 74: { + ShortName = input.ReadString(); + break; + } + case 80: { + VisibilityLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum(); + break; + } + case 90: { + Locale = input.ReadString(); + break; + } + case 98: { + Timezone = input.ReadString(); + break; + } + case 106: { + tag_.AddEntriesFrom(ref input, _repeated_tag_codec); + break; + } + case 114: { + searchAttribute_.AddEntriesFrom(ref input, _repeated_searchAttribute_codec); + break; + } + case 120: { + TagCleared = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamSettings : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamSettings()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamSettings() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamSettings(StreamSettings other) : this() { + _hasBits0 = other._hasBits0; + streamId_ = other.streamId_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamSettings Clone() { + return new StreamSettings(this); + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 1; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 1) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 1; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~1; + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter FilterDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter filter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter Filter { + get { if ((_hasBits0 & 2) != 0) { return filter_; } else { return FilterDefaultValue; } } + set { + _hasBits0 |= 2; + filter_ = value; + } + } + /// Gets whether the "filter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFilter { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "filter" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFilter() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamSettings); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamSettings other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StreamId != other.StreamId) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasFilter) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasFilter) { + output.WriteRawTag(16); + output.WriteEnum((int) Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasFilter) { + output.WriteRawTag(16); + output.WriteEnum((int) Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasFilter) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamSettings other) { + if (other == null) { + return; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasFilter) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + Filter = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + Filter = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSettings : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSettings()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettings() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettings(ClubSettings other) : this() { + _hasBits0 = other._hasBits0; + stream_ = other.stream_.Clone(); + streamNotificationFilterAll_ = other.streamNotificationFilterAll_; + attribute_ = other.attribute_.Clone(); + pushNotificationFilterAll_ = other.pushNotificationFilterAll_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettings Clone() { + return new ClubSettings(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_stream_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamSettings.Parser); + private readonly pbc::RepeatedField stream_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Stream { + get { return stream_; } + } + + /// Field number for the "stream_notification_filter_all" field. + public const int StreamNotificationFilterAllFieldNumber = 2; + private readonly static bool StreamNotificationFilterAllDefaultValue = false; + + private bool streamNotificationFilterAll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool StreamNotificationFilterAll { + get { if ((_hasBits0 & 1) != 0) { return streamNotificationFilterAll_; } else { return StreamNotificationFilterAllDefaultValue; } } + set { + _hasBits0 |= 1; + streamNotificationFilterAll_ = value; + } + } + /// Gets whether the "stream_notification_filter_all" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamNotificationFilterAll { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_notification_filter_all" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamNotificationFilterAll() { + _hasBits0 &= ~1; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "push_notification_filter_all" field. + public const int PushNotificationFilterAllFieldNumber = 4; + private readonly static bool PushNotificationFilterAllDefaultValue = false; + + private bool pushNotificationFilterAll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PushNotificationFilterAll { + get { if ((_hasBits0 & 2) != 0) { return pushNotificationFilterAll_; } else { return PushNotificationFilterAllDefaultValue; } } + set { + _hasBits0 |= 2; + pushNotificationFilterAll_ = value; + } + } + /// Gets whether the "push_notification_filter_all" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPushNotificationFilterAll { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "push_notification_filter_all" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPushNotificationFilterAll() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSettings); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSettings other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!stream_.Equals(other.stream_)) return false; + if (StreamNotificationFilterAll != other.StreamNotificationFilterAll) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (PushNotificationFilterAll != other.PushNotificationFilterAll) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= stream_.GetHashCode(); + if (HasStreamNotificationFilterAll) hash ^= StreamNotificationFilterAll.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasPushNotificationFilterAll) hash ^= PushNotificationFilterAll.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + stream_.WriteTo(output, _repeated_stream_codec); + if (HasStreamNotificationFilterAll) { + output.WriteRawTag(16); + output.WriteBool(StreamNotificationFilterAll); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasPushNotificationFilterAll) { + output.WriteRawTag(32); + output.WriteBool(PushNotificationFilterAll); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + stream_.WriteTo(ref output, _repeated_stream_codec); + if (HasStreamNotificationFilterAll) { + output.WriteRawTag(16); + output.WriteBool(StreamNotificationFilterAll); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasPushNotificationFilterAll) { + output.WriteRawTag(32); + output.WriteBool(PushNotificationFilterAll); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += stream_.CalculateSize(_repeated_stream_codec); + if (HasStreamNotificationFilterAll) { + size += 1 + 1; + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasPushNotificationFilterAll) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSettings other) { + if (other == null) { + return; + } + stream_.Add(other.stream_); + if (other.HasStreamNotificationFilterAll) { + StreamNotificationFilterAll = other.StreamNotificationFilterAll; + } + attribute_.Add(other.attribute_); + if (other.HasPushNotificationFilterAll) { + PushNotificationFilterAll = other.PushNotificationFilterAll; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + stream_.AddEntriesFrom(input, _repeated_stream_codec); + break; + } + case 16: { + StreamNotificationFilterAll = input.ReadBool(); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 32: { + PushNotificationFilterAll = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + stream_.AddEntriesFrom(ref input, _repeated_stream_codec); + break; + } + case 16: { + StreamNotificationFilterAll = input.ReadBool(); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 32: { + PushNotificationFilterAll = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSettingsOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSettingsOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettingsOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettingsOptions(ClubSettingsOptions other) : this() { + _hasBits0 = other._hasBits0; + stream_ = other.stream_.Clone(); + settings_ = other.settings_ != null ? other.settings_.Clone() : null; + version_ = other.version_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettingsOptions Clone() { + return new ClubSettingsOptions(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_stream_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamSettings.Parser); + private readonly pbc::RepeatedField stream_ = new pbc::RepeatedField(); + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Stream { + get { return stream_; } + } + + /// Field number for the "settings" field. + public const int SettingsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings settings_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings Settings { + get { return settings_; } + set { + settings_ = value; + } + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 3; + private readonly static uint VersionDefaultValue = 0; + + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { if ((_hasBits0 & 1) != 0) { return version_; } else { return VersionDefaultValue; } } + set { + _hasBits0 |= 1; + version_ = value; + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSettingsOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSettingsOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!stream_.Equals(other.stream_)) return false; + if (!object.Equals(Settings, other.Settings)) return false; + if (Version != other.Version) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= stream_.GetHashCode(); + if (settings_ != null) hash ^= Settings.GetHashCode(); + if (HasVersion) hash ^= Version.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + stream_.WriteTo(output, _repeated_stream_codec); + if (settings_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Settings); + } + if (HasVersion) { + output.WriteRawTag(24); + output.WriteUInt32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + stream_.WriteTo(ref output, _repeated_stream_codec); + if (settings_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Settings); + } + if (HasVersion) { + output.WriteRawTag(24); + output.WriteUInt32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += stream_.CalculateSize(_repeated_stream_codec); + if (settings_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); + } + if (HasVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSettingsOptions other) { + if (other == null) { + return; + } + stream_.Add(other.stream_); + if (other.settings_ != null) { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + Settings.MergeFrom(other.Settings); + } + if (other.HasVersion) { + Version = other.Version; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + stream_.AddEntriesFrom(input, _repeated_stream_codec); + break; + } + case 18: { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + input.ReadMessage(Settings); + break; + } + case 24: { + Version = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + stream_.AddEntriesFrom(ref input, _repeated_stream_codec); + break; + } + case 18: { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + input.ReadMessage(Settings); + break; + } + case 24: { + Version = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSettingsAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSettingsAssignment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettingsAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettingsAssignment(ClubSettingsAssignment other) : this() { + stream_ = other.stream_.Clone(); + settings_ = other.settings_ != null ? other.settings_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSettingsAssignment Clone() { + return new ClubSettingsAssignment(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_stream_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamSettings.Parser); + private readonly pbc::RepeatedField stream_ = new pbc::RepeatedField(); + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Stream { + get { return stream_; } + } + + /// Field number for the "settings" field. + public const int SettingsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings settings_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings Settings { + get { return settings_; } + set { + settings_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSettingsAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSettingsAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!stream_.Equals(other.stream_)) return false; + if (!object.Equals(Settings, other.Settings)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= stream_.GetHashCode(); + if (settings_ != null) hash ^= Settings.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + stream_.WriteTo(output, _repeated_stream_codec); + if (settings_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Settings); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + stream_.WriteTo(ref output, _repeated_stream_codec); + if (settings_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Settings); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += stream_.CalculateSize(_repeated_stream_codec); + if (settings_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSettingsAssignment other) { + if (other == null) { + return; + } + stream_.Add(other.stream_); + if (other.settings_ != null) { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + Settings.MergeFrom(other.Settings); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + stream_.AddEntriesFrom(input, _repeated_stream_codec); + break; + } + case 18: { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + input.ReadMessage(Settings); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + stream_.AddEntriesFrom(ref input, _repeated_stream_codec); + break; + } + case 18: { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + input.ReadMessage(Settings); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubEnum.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubEnum.cs new file mode 100644 index 0000000000..bf10a7ad6b --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubEnum.cs @@ -0,0 +1,124 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_enum.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_enum.proto + public static partial class ClubEnumReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_enum.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubEnumReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFiZ3MvbG93L3BiL2NsaWVudC9jbHViX2VudW0ucHJvdG8SFGJncy5wcm90", + "b2NvbC5jbHViLnYxKoIBCgxQcml2YWN5TGV2ZWwSGAoUUFJJVkFDWV9MRVZF", + "TF9DTE9TRUQQABIhCh1QUklWQUNZX0xFVkVMX09QRU5fSU5WSVRBVElPThAB", + "Eh0KGVBSSVZBQ1lfTEVWRUxfT1BFTl9USUNLRVQQAhIWChJQUklWQUNZX0xF", + "VkVMX09QRU4QAypMCg9WaXNpYmlsaXR5TGV2ZWwSHAoYVklTSUJJTElUWV9M", + "RVZFTF9QUklWQVRFEAASGwoXVklTSUJJTElUWV9MRVZFTF9QVUJMSUMQASqy", + "AgoRQ2x1YlJlbW92ZWRSZWFzb24SHAoYQ0xVQl9SRU1PVkVEX1JFQVNPTl9O", + "T05FEAASIwofQ0xVQl9SRU1PVkVEX1JFQVNPTl9NRU1CRVJfTEVGVBABEiUK", + "IUNMVUJfUkVNT1ZFRF9SRUFTT05fTUVNQkVSX0tJQ0tFRBACEiUKIUNMVUJf", + "UkVNT1ZFRF9SRUFTT05fTUVNQkVSX0JBTk5FRBADEjEKLUNMVUJfUkVNT1ZF", + "RF9SRUFTT05fTUVNQkVSX1JFTU9WRURfQllfU0VSVklDRRAEEisKJ0NMVUJf", + "UkVNT1ZFRF9SRUFTT05fREVTVFJPWUVEX0JZX01FTUJFUhAFEiwKKENMVUJf", + "UkVNT1ZFRF9SRUFTT05fREVTVFJPWUVEX0JZX1NFUlZJQ0UQBipkChBTdHJl", + "YW1Wb2ljZUxldmVsEhgKFFZPSUNFX0xFVkVMX0RJU0FCTEVEEAASHAoYVk9J", + "Q0VfTEVWRUxfUFVTSF9UT19UQUxLEAESGAoUVk9JQ0VfTEVWRUxfT1BFTl9N", + "SUMQAipzChRWb2ljZU1pY3JvcGhvbmVTdGF0ZRIbChdNSUNST1BIT05FX1NU", + "QVRFX05PUk1BTBAAEh4KGk1JQ1JPUEhPTkVfU1RBVEVfU0VMRl9NVVRFEAES", + "HgoaTUlDUk9QSE9ORV9TVEFURV9TRUxGX0RFQUYQAipbCg1QcmVzZW5jZUxl", + "dmVsEhcKE1BSRVNFTkNFX0xFVkVMX05PTkUQABIYChRQUkVTRU5DRV9MRVZF", + "TF9CQVNJQxABEhcKE1BSRVNFTkNFX0xFVkVMX1JJQ0gQAipECgxXaGlzcGVy", + "TGV2ZWwSFgoSV0hJU1BFUl9MRVZFTF9PUEVOEAASHAoYV0hJU1BFUl9MRVZF", + "TF9SRVNUUklDVEVEEAEqiwEKGFN0cmVhbU5vdGlmaWNhdGlvbkZpbHRlchIj", + "Ch9TVFJFQU1fTk9USUZJQ0FUSU9OX0ZJTFRFUl9OT05FEAASJgoiU1RSRUFN", + "X05PVElGSUNBVElPTl9GSUxURVJfTUVOVElPThABEiIKHlNUUkVBTV9OT1RJ", + "RklDQVRJT05fRklMVEVSX0FMTBACKncKDkpvaW5DbHViU291cmNlEhkKFUpP", + "SU5fQ0xVQl9TT1VSQ0VfTk9ORRAAEiAKHEpPSU5fQ0xVQl9TT1VSQ0VfQ0xV", + "Ql9GSU5ERVIQARIoCiRKT0lOX0NMVUJfU09VUkNFX0NMVUJfUkVDT01NRU5E", + "QVRJT04QAkICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PrivacyLevel), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VisibilityLevel), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamNotificationFilter), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.JoinClubSource), }, null, null)); + } + #endregion + + } + #region Enums + public enum PrivacyLevel { + [pbr::OriginalName("PRIVACY_LEVEL_CLOSED")] Closed = 0, + [pbr::OriginalName("PRIVACY_LEVEL_OPEN_INVITATION")] OpenInvitation = 1, + [pbr::OriginalName("PRIVACY_LEVEL_OPEN_TICKET")] OpenTicket = 2, + [pbr::OriginalName("PRIVACY_LEVEL_OPEN")] Open = 3, + } + + public enum VisibilityLevel { + [pbr::OriginalName("VISIBILITY_LEVEL_PRIVATE")] Private = 0, + [pbr::OriginalName("VISIBILITY_LEVEL_PUBLIC")] Public = 1, + } + + public enum ClubRemovedReason { + [pbr::OriginalName("CLUB_REMOVED_REASON_NONE")] None = 0, + [pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_LEFT")] MemberLeft = 1, + [pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_KICKED")] MemberKicked = 2, + [pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_BANNED")] MemberBanned = 3, + [pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_REMOVED_BY_SERVICE")] MemberRemovedByService = 4, + [pbr::OriginalName("CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER")] DestroyedByMember = 5, + [pbr::OriginalName("CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE")] DestroyedByService = 6, + } + + public enum StreamVoiceLevel { + [pbr::OriginalName("VOICE_LEVEL_DISABLED")] VoiceLevelDisabled = 0, + [pbr::OriginalName("VOICE_LEVEL_PUSH_TO_TALK")] VoiceLevelPushToTalk = 1, + [pbr::OriginalName("VOICE_LEVEL_OPEN_MIC")] VoiceLevelOpenMic = 2, + } + + public enum VoiceMicrophoneState { + [pbr::OriginalName("MICROPHONE_STATE_NORMAL")] MicrophoneStateNormal = 0, + [pbr::OriginalName("MICROPHONE_STATE_SELF_MUTE")] MicrophoneStateSelfMute = 1, + [pbr::OriginalName("MICROPHONE_STATE_SELF_DEAF")] MicrophoneStateSelfDeaf = 2, + } + + public enum PresenceLevel { + [pbr::OriginalName("PRESENCE_LEVEL_NONE")] None = 0, + [pbr::OriginalName("PRESENCE_LEVEL_BASIC")] Basic = 1, + [pbr::OriginalName("PRESENCE_LEVEL_RICH")] Rich = 2, + } + + public enum WhisperLevel { + [pbr::OriginalName("WHISPER_LEVEL_OPEN")] Open = 0, + [pbr::OriginalName("WHISPER_LEVEL_RESTRICTED")] Restricted = 1, + } + + public enum StreamNotificationFilter { + [pbr::OriginalName("STREAM_NOTIFICATION_FILTER_NONE")] None = 0, + [pbr::OriginalName("STREAM_NOTIFICATION_FILTER_MENTION")] Mention = 1, + [pbr::OriginalName("STREAM_NOTIFICATION_FILTER_ALL")] All = 2, + } + + public enum JoinClubSource { + [pbr::OriginalName("JOIN_CLUB_SOURCE_NONE")] None = 0, + [pbr::OriginalName("JOIN_CLUB_SOURCE_CLUB_FINDER")] ClubFinder = 1, + [pbr::OriginalName("JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION")] ClubRecommendation = 2, + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubInvitation.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubInvitation.cs new file mode 100644 index 0000000000..891ff52045 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubInvitation.cs @@ -0,0 +1,3001 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_invitation.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_invitation.proto + public static partial class ClubInvitationReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_invitation.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubInvitationReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CidiZ3MvbG93L3BiL2NsaWVudC9jbHViX2ludml0YXRpb24ucHJvdG8SFGJn", + "cy5wcm90b2NvbC5jbHViLnYxGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxf", + "ZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGiFiZ3MvbG93L3BiL2Ns", + "aWVudC9jbHViX2NvcmUucHJvdG8aI2Jncy9sb3cvcGIvY2xpZW50L2NsdWJf", + "bWVtYmVyLnByb3RvGjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3Yy", + "L2F0dHJpYnV0ZV90eXBlcy5wcm90byIzCghDbHViU2xvdBIMCgRyb2xlGAEg", + "ASgNEhkKEWRlZmF1bHRfc3RyZWFtX2lkGAIgASgEIqcBChVTZW5kSW52aXRh", + "dGlvbk9wdGlvbnMSMQoJdGFyZ2V0X2lkGAEgASgLMh4uYmdzLnByb3RvY29s", + "LmNsdWIudjEuTWVtYmVySWQSLAoEc2xvdBgCIAEoCzIeLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLkNsdWJTbG90Ei0KCWF0dHJpYnV0ZRgDIAMoCzIaLmJncy5w", + "cm90b2NvbC52Mi5BdHRyaWJ1dGUijgMKDkNsdWJJbnZpdGF0aW9uEgoKAmlk", + "GAEgASgGEjgKB2ludml0ZXIYAiABKAsyJy5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5NZW1iZXJEZXNjcmlwdGlvbhI4CgdpbnZpdGVlGAMgASgLMicuYmdzLnBy", + "b3RvY29sLmNsdWIudjEuTWVtYmVyRGVzY3JpcHRpb24SMwoEY2x1YhgEIAEo", + "CzIlLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJEZXNjcmlwdGlvbhIsCgRz", + "bG90GAUgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlNsb3QSLQoJ", + "YXR0cmlidXRlGAYgAygLMhouYmdzLnByb3RvY29sLnYyLkF0dHJpYnV0ZRIV", + "Cg1jcmVhdGlvbl90aW1lGAcgASgEEhcKD2V4cGlyYXRpb25fdGltZRgIIAEo", + "BBI6CglzdWdnZXN0ZXIYCSABKAsyJy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5N", + "ZW1iZXJEZXNjcmlwdGlvbiLXAQoVU2VuZFN1Z2dlc3Rpb25PcHRpb25zEjEK", + "CXRhcmdldF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJl", + "cklkEiwKBHNsb3QYAiABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHVi", + "U2xvdBItCglhdHRyaWJ1dGUYAyADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0", + "cmlidXRlEi4KEGpvaW5fY2x1Yl9zb3VyY2UYBCABKA1CFIL5KxAqDkpvaW5D", + "bHViU291cmNlIrICCg5DbHViU3VnZ2VzdGlvbhIKCgJpZBgBIAEoBhIPCgdj", + "bHViX2lkGAIgASgEEjoKCXN1Z2dlc3RlchgDIAEoCzInLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLk1lbWJlckRlc2NyaXB0aW9uEjoKCXN1Z2dlc3RlZRgEIAEo", + "CzInLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlckRlc2NyaXB0aW9uEiwK", + "BHNsb3QYBSABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViU2xvdBIt", + "CglhdHRyaWJ1dGUYBiADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRl", + "EhUKDWNyZWF0aW9uX3RpbWUYByABKAQSFwoPZXhwaXJhdGlvbl90aW1lGAgg", + "ASgEItkBChNDcmVhdGVUaWNrZXRPcHRpb25zEiwKBHNsb3QYASABKAsyHi5i", + "Z3MucHJvdG9jb2wuY2x1Yi52MS5DbHViU2xvdBItCglhdHRyaWJ1dGUYAiAD", + "KAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlEhwKFGFsbG93ZWRfcmVk", + "ZWVtX2NvdW50GAMgASgNEhcKD2V4cGlyYXRpb25fdGltZRgEIAEoBBIuChBq", + "b2luX2NsdWJfc291cmNlGAUgASgNQhSC+SsQKg5Kb2luQ2x1YlNvdXJjZSLQ", + "AgoKQ2x1YlRpY2tldBIKCgJpZBgBIAEoCRI4CgdjcmVhdG9yGAIgASgLMicu", + "YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVyRGVzY3JpcHRpb24SMwoEY2x1", + "YhgDIAEoCzIlLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJEZXNjcmlwdGlv", + "bhIsCgRzbG90GAQgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlNs", + "b3QSLQoJYXR0cmlidXRlGAUgAygLMhouYmdzLnByb3RvY29sLnYyLkF0dHJp", + "YnV0ZRIcChRjdXJyZW50X3JlZGVlbV9jb3VudBgGIAEoDRIcChRhbGxvd2Vk", + "X3JlZGVlbV9jb3VudBgHIAEoDRIVCg1jcmVhdGlvbl90aW1lGAggASgEEhcK", + "D2V4cGlyYXRpb25fdGltZRgJIAEoBEICSAFQAA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot.Parser, new[]{ "Role", "DefaultStreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions.Parser, new[]{ "TargetId", "Slot", "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation.Parser, new[]{ "Id", "Inviter", "Invitee", "Club", "Slot", "Attribute", "CreationTime", "ExpirationTime", "Suggester" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions.Parser, new[]{ "TargetId", "Slot", "Attribute", "JoinClubSource" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion.Parser, new[]{ "Id", "ClubId", "Suggester", "Suggestee", "Slot", "Attribute", "CreationTime", "ExpirationTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions.Parser, new[]{ "Slot", "Attribute", "AllowedRedeemCount", "ExpirationTime", "JoinClubSource" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket.Parser, new[]{ "Id", "Creator", "Club", "Slot", "Attribute", "CurrentRedeemCount", "AllowedRedeemCount", "CreationTime", "ExpirationTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSlot : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSlot()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSlot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSlot(ClubSlot other) : this() { + _hasBits0 = other._hasBits0; + role_ = other.role_; + defaultStreamId_ = other.defaultStreamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSlot Clone() { + return new ClubSlot(this); + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 1; + private readonly static uint RoleDefaultValue = 0; + + private uint role_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Role { + get { if ((_hasBits0 & 1) != 0) { return role_; } else { return RoleDefaultValue; } } + set { + _hasBits0 |= 1; + role_ = value; + } + } + /// Gets whether the "role" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRole { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "role" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRole() { + _hasBits0 &= ~1; + } + + /// Field number for the "default_stream_id" field. + public const int DefaultStreamIdFieldNumber = 2; + private readonly static ulong DefaultStreamIdDefaultValue = 0UL; + + private ulong defaultStreamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong DefaultStreamId { + get { if ((_hasBits0 & 2) != 0) { return defaultStreamId_; } else { return DefaultStreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + defaultStreamId_ = value; + } + } + /// Gets whether the "default_stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDefaultStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "default_stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDefaultStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSlot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSlot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Role != other.Role) return false; + if (DefaultStreamId != other.DefaultStreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRole) hash ^= Role.GetHashCode(); + if (HasDefaultStreamId) hash ^= DefaultStreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRole) { + output.WriteRawTag(8); + output.WriteUInt32(Role); + } + if (HasDefaultStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(DefaultStreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRole) { + output.WriteRawTag(8); + output.WriteUInt32(Role); + } + if (HasDefaultStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(DefaultStreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRole) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Role); + } + if (HasDefaultStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DefaultStreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSlot other) { + if (other == null) { + return; + } + if (other.HasRole) { + Role = other.Role; + } + if (other.HasDefaultStreamId) { + DefaultStreamId = other.DefaultStreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Role = input.ReadUInt32(); + break; + } + case 16: { + DefaultStreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Role = input.ReadUInt32(); + break; + } + case 16: { + DefaultStreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SendInvitationOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendInvitationOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationOptions(SendInvitationOptions other) : this() { + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + slot_ = other.slot_ != null ? other.slot_.Clone() : null; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationOptions Clone() { + return new SendInvitationOptions(this); + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SendInvitationOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SendInvitationOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TargetId, other.TargetId)) return false; + if (!object.Equals(Slot, other.Slot)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (slot_ != null) hash ^= Slot.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (slot_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Slot); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (slot_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Slot); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (slot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Slot); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SendInvitationOptions other) { + if (other == null) { + return; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + if (other.slot_ != null) { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + Slot.MergeFrom(other.Slot); + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + case 18: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + case 18: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubInvitation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubInvitation()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubInvitation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubInvitation(ClubInvitation other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + inviter_ = other.inviter_ != null ? other.inviter_.Clone() : null; + invitee_ = other.invitee_ != null ? other.invitee_.Clone() : null; + club_ = other.club_ != null ? other.club_.Clone() : null; + slot_ = other.slot_ != null ? other.slot_.Clone() : null; + attribute_ = other.attribute_.Clone(); + creationTime_ = other.creationTime_; + expirationTime_ = other.expirationTime_; + suggester_ = other.suggester_ != null ? other.suggester_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubInvitation Clone() { + return new ClubInvitation(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "inviter" field. + public const int InviterFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription inviter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Inviter { + get { return inviter_; } + set { + inviter_ = value; + } + } + + /// Field number for the "invitee" field. + public const int InviteeFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription invitee_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Invitee { + get { return invitee_; } + set { + invitee_ = value; + } + } + + /// Field number for the "club" field. + public const int ClubFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription club_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription Club { + get { return club_; } + set { + club_ = value; + } + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(50, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 7; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 2) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 2; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~2; + } + + /// Field number for the "expiration_time" field. + public const int ExpirationTimeFieldNumber = 8; + private readonly static ulong ExpirationTimeDefaultValue = 0UL; + + private ulong expirationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationTime { + get { if ((_hasBits0 & 4) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } } + set { + _hasBits0 |= 4; + expirationTime_ = value; + } + } + /// Gets whether the "expiration_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "expiration_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationTime() { + _hasBits0 &= ~4; + } + + /// Field number for the "suggester" field. + public const int SuggesterFieldNumber = 9; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription suggester_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Suggester { + get { return suggester_; } + set { + suggester_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubInvitation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubInvitation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(Inviter, other.Inviter)) return false; + if (!object.Equals(Invitee, other.Invitee)) return false; + if (!object.Equals(Club, other.Club)) return false; + if (!object.Equals(Slot, other.Slot)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (CreationTime != other.CreationTime) return false; + if (ExpirationTime != other.ExpirationTime) return false; + if (!object.Equals(Suggester, other.Suggester)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (inviter_ != null) hash ^= Inviter.GetHashCode(); + if (invitee_ != null) hash ^= Invitee.GetHashCode(); + if (club_ != null) hash ^= Club.GetHashCode(); + if (slot_ != null) hash ^= Slot.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode(); + if (suggester_ != null) hash ^= Suggester.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (inviter_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Inviter); + } + if (invitee_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Invitee); + } + if (club_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Club); + } + if (slot_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Slot); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(64); + output.WriteUInt64(ExpirationTime); + } + if (suggester_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Suggester); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (inviter_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Inviter); + } + if (invitee_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Invitee); + } + if (club_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Club); + } + if (slot_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Slot); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(64); + output.WriteUInt64(ExpirationTime); + } + if (suggester_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Suggester); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 8; + } + if (inviter_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Inviter); + } + if (invitee_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitee); + } + if (club_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Club); + } + if (slot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Slot); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasExpirationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime); + } + if (suggester_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Suggester); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubInvitation other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.inviter_ != null) { + if (inviter_ == null) { + Inviter = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Inviter.MergeFrom(other.Inviter); + } + if (other.invitee_ != null) { + if (invitee_ == null) { + Invitee = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Invitee.MergeFrom(other.Invitee); + } + if (other.club_ != null) { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + Club.MergeFrom(other.Club); + } + if (other.slot_ != null) { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + Slot.MergeFrom(other.Slot); + } + attribute_.Add(other.attribute_); + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasExpirationTime) { + ExpirationTime = other.ExpirationTime; + } + if (other.suggester_ != null) { + if (suggester_ == null) { + Suggester = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Suggester.MergeFrom(other.Suggester); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + if (inviter_ == null) { + Inviter = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Inviter); + break; + } + case 26: { + if (invitee_ == null) { + Invitee = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Invitee); + break; + } + case 34: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + case 42: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 50: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 64: { + ExpirationTime = input.ReadUInt64(); + break; + } + case 74: { + if (suggester_ == null) { + Suggester = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Suggester); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + if (inviter_ == null) { + Inviter = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Inviter); + break; + } + case 26: { + if (invitee_ == null) { + Invitee = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Invitee); + break; + } + case 34: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + case 42: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 50: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 64: { + ExpirationTime = input.ReadUInt64(); + break; + } + case 74: { + if (suggester_ == null) { + Suggester = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Suggester); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SendSuggestionOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendSuggestionOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendSuggestionOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendSuggestionOptions(SendSuggestionOptions other) : this() { + _hasBits0 = other._hasBits0; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + slot_ = other.slot_ != null ? other.slot_.Clone() : null; + attribute_ = other.attribute_.Clone(); + joinClubSource_ = other.joinClubSource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendSuggestionOptions Clone() { + return new SendSuggestionOptions(this); + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "join_club_source" field. + public const int JoinClubSourceFieldNumber = 4; + private readonly static uint JoinClubSourceDefaultValue = 0; + + private uint joinClubSource_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint JoinClubSource { + get { if ((_hasBits0 & 1) != 0) { return joinClubSource_; } else { return JoinClubSourceDefaultValue; } } + set { + _hasBits0 |= 1; + joinClubSource_ = value; + } + } + /// Gets whether the "join_club_source" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoinClubSource { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "join_club_source" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoinClubSource() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SendSuggestionOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SendSuggestionOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TargetId, other.TargetId)) return false; + if (!object.Equals(Slot, other.Slot)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (JoinClubSource != other.JoinClubSource) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (slot_ != null) hash ^= Slot.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasJoinClubSource) hash ^= JoinClubSource.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (slot_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Slot); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasJoinClubSource) { + output.WriteRawTag(32); + output.WriteUInt32(JoinClubSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (slot_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Slot); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasJoinClubSource) { + output.WriteRawTag(32); + output.WriteUInt32(JoinClubSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (slot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Slot); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasJoinClubSource) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinClubSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SendSuggestionOptions other) { + if (other == null) { + return; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + if (other.slot_ != null) { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + Slot.MergeFrom(other.Slot); + } + attribute_.Add(other.attribute_); + if (other.HasJoinClubSource) { + JoinClubSource = other.JoinClubSource; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + case 18: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 32: { + JoinClubSource = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + case 18: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 32: { + JoinClubSource = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSuggestion : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSuggestion()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSuggestion() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSuggestion(ClubSuggestion other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + clubId_ = other.clubId_; + suggester_ = other.suggester_ != null ? other.suggester_.Clone() : null; + suggestee_ = other.suggestee_ != null ? other.suggestee_.Clone() : null; + slot_ = other.slot_ != null ? other.slot_.Clone() : null; + attribute_ = other.attribute_.Clone(); + creationTime_ = other.creationTime_; + expirationTime_ = other.expirationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSuggestion Clone() { + return new ClubSuggestion(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 2) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 2; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~2; + } + + /// Field number for the "suggester" field. + public const int SuggesterFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription suggester_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Suggester { + get { return suggester_; } + set { + suggester_ = value; + } + } + + /// Field number for the "suggestee" field. + public const int SuggesteeFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription suggestee_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Suggestee { + get { return suggestee_; } + set { + suggestee_ = value; + } + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(50, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 7; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 4) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 4; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~4; + } + + /// Field number for the "expiration_time" field. + public const int ExpirationTimeFieldNumber = 8; + private readonly static ulong ExpirationTimeDefaultValue = 0UL; + + private ulong expirationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationTime { + get { if ((_hasBits0 & 8) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } } + set { + _hasBits0 |= 8; + expirationTime_ = value; + } + } + /// Gets whether the "expiration_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationTime { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "expiration_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationTime() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSuggestion); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSuggestion other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Suggester, other.Suggester)) return false; + if (!object.Equals(Suggestee, other.Suggestee)) return false; + if (!object.Equals(Slot, other.Slot)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (CreationTime != other.CreationTime) return false; + if (ExpirationTime != other.ExpirationTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (suggester_ != null) hash ^= Suggester.GetHashCode(); + if (suggestee_ != null) hash ^= Suggestee.GetHashCode(); + if (slot_ != null) hash ^= Slot.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (suggester_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Suggester); + } + if (suggestee_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Suggestee); + } + if (slot_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Slot); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(64); + output.WriteUInt64(ExpirationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (suggester_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Suggester); + } + if (suggestee_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Suggestee); + } + if (slot_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Slot); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(64); + output.WriteUInt64(ExpirationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 8; + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (suggester_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Suggester); + } + if (suggestee_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Suggestee); + } + if (slot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Slot); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasExpirationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSuggestion other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.suggester_ != null) { + if (suggester_ == null) { + Suggester = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Suggester.MergeFrom(other.Suggester); + } + if (other.suggestee_ != null) { + if (suggestee_ == null) { + Suggestee = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Suggestee.MergeFrom(other.Suggestee); + } + if (other.slot_ != null) { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + Slot.MergeFrom(other.Slot); + } + attribute_.Add(other.attribute_); + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasExpirationTime) { + ExpirationTime = other.ExpirationTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (suggester_ == null) { + Suggester = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Suggester); + break; + } + case 34: { + if (suggestee_ == null) { + Suggestee = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Suggestee); + break; + } + case 42: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 50: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 64: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (suggester_ == null) { + Suggester = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Suggester); + break; + } + case 34: { + if (suggestee_ == null) { + Suggestee = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Suggestee); + break; + } + case 42: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 50: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 64: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateTicketOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateTicketOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketOptions(CreateTicketOptions other) : this() { + _hasBits0 = other._hasBits0; + slot_ = other.slot_ != null ? other.slot_.Clone() : null; + attribute_ = other.attribute_.Clone(); + allowedRedeemCount_ = other.allowedRedeemCount_; + expirationTime_ = other.expirationTime_; + joinClubSource_ = other.joinClubSource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketOptions Clone() { + return new CreateTicketOptions(this); + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "allowed_redeem_count" field. + public const int AllowedRedeemCountFieldNumber = 3; + private readonly static uint AllowedRedeemCountDefaultValue = 0; + + private uint allowedRedeemCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AllowedRedeemCount { + get { if ((_hasBits0 & 1) != 0) { return allowedRedeemCount_; } else { return AllowedRedeemCountDefaultValue; } } + set { + _hasBits0 |= 1; + allowedRedeemCount_ = value; + } + } + /// Gets whether the "allowed_redeem_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAllowedRedeemCount { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "allowed_redeem_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAllowedRedeemCount() { + _hasBits0 &= ~1; + } + + /// Field number for the "expiration_time" field. + public const int ExpirationTimeFieldNumber = 4; + private readonly static ulong ExpirationTimeDefaultValue = 0UL; + + private ulong expirationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationTime { + get { if ((_hasBits0 & 2) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } } + set { + _hasBits0 |= 2; + expirationTime_ = value; + } + } + /// Gets whether the "expiration_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "expiration_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationTime() { + _hasBits0 &= ~2; + } + + /// Field number for the "join_club_source" field. + public const int JoinClubSourceFieldNumber = 5; + private readonly static uint JoinClubSourceDefaultValue = 0; + + private uint joinClubSource_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint JoinClubSource { + get { if ((_hasBits0 & 4) != 0) { return joinClubSource_; } else { return JoinClubSourceDefaultValue; } } + set { + _hasBits0 |= 4; + joinClubSource_ = value; + } + } + /// Gets whether the "join_club_source" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoinClubSource { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "join_club_source" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoinClubSource() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateTicketOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateTicketOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Slot, other.Slot)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (AllowedRedeemCount != other.AllowedRedeemCount) return false; + if (ExpirationTime != other.ExpirationTime) return false; + if (JoinClubSource != other.JoinClubSource) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (slot_ != null) hash ^= Slot.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasAllowedRedeemCount) hash ^= AllowedRedeemCount.GetHashCode(); + if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode(); + if (HasJoinClubSource) hash ^= JoinClubSource.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (slot_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Slot); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasAllowedRedeemCount) { + output.WriteRawTag(24); + output.WriteUInt32(AllowedRedeemCount); + } + if (HasExpirationTime) { + output.WriteRawTag(32); + output.WriteUInt64(ExpirationTime); + } + if (HasJoinClubSource) { + output.WriteRawTag(40); + output.WriteUInt32(JoinClubSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (slot_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Slot); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasAllowedRedeemCount) { + output.WriteRawTag(24); + output.WriteUInt32(AllowedRedeemCount); + } + if (HasExpirationTime) { + output.WriteRawTag(32); + output.WriteUInt64(ExpirationTime); + } + if (HasJoinClubSource) { + output.WriteRawTag(40); + output.WriteUInt32(JoinClubSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (slot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Slot); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasAllowedRedeemCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AllowedRedeemCount); + } + if (HasExpirationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime); + } + if (HasJoinClubSource) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinClubSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateTicketOptions other) { + if (other == null) { + return; + } + if (other.slot_ != null) { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + Slot.MergeFrom(other.Slot); + } + attribute_.Add(other.attribute_); + if (other.HasAllowedRedeemCount) { + AllowedRedeemCount = other.AllowedRedeemCount; + } + if (other.HasExpirationTime) { + ExpirationTime = other.ExpirationTime; + } + if (other.HasJoinClubSource) { + JoinClubSource = other.JoinClubSource; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 24: { + AllowedRedeemCount = input.ReadUInt32(); + break; + } + case 32: { + ExpirationTime = input.ReadUInt64(); + break; + } + case 40: { + JoinClubSource = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 24: { + AllowedRedeemCount = input.ReadUInt32(); + break; + } + case 32: { + ExpirationTime = input.ReadUInt64(); + break; + } + case 40: { + JoinClubSource = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubTicket : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubTicket()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTicket() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTicket(ClubTicket other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + creator_ = other.creator_ != null ? other.creator_.Clone() : null; + club_ = other.club_ != null ? other.club_.Clone() : null; + slot_ = other.slot_ != null ? other.slot_.Clone() : null; + attribute_ = other.attribute_.Clone(); + currentRedeemCount_ = other.currentRedeemCount_; + allowedRedeemCount_ = other.allowedRedeemCount_; + creationTime_ = other.creationTime_; + expirationTime_ = other.expirationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTicket Clone() { + return new ClubTicket(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static string IdDefaultValue = ""; + + private string id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_ ?? IdDefaultValue; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return id_ != null; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + id_ = null; + } + + /// Field number for the "creator" field. + public const int CreatorFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription creator_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Creator { + get { return creator_; } + set { + creator_ = value; + } + } + + /// Field number for the "club" field. + public const int ClubFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription club_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription Club { + get { return club_; } + set { + club_ = value; + } + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(42, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "current_redeem_count" field. + public const int CurrentRedeemCountFieldNumber = 6; + private readonly static uint CurrentRedeemCountDefaultValue = 0; + + private uint currentRedeemCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CurrentRedeemCount { + get { if ((_hasBits0 & 1) != 0) { return currentRedeemCount_; } else { return CurrentRedeemCountDefaultValue; } } + set { + _hasBits0 |= 1; + currentRedeemCount_ = value; + } + } + /// Gets whether the "current_redeem_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentRedeemCount { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "current_redeem_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentRedeemCount() { + _hasBits0 &= ~1; + } + + /// Field number for the "allowed_redeem_count" field. + public const int AllowedRedeemCountFieldNumber = 7; + private readonly static uint AllowedRedeemCountDefaultValue = 0; + + private uint allowedRedeemCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AllowedRedeemCount { + get { if ((_hasBits0 & 2) != 0) { return allowedRedeemCount_; } else { return AllowedRedeemCountDefaultValue; } } + set { + _hasBits0 |= 2; + allowedRedeemCount_ = value; + } + } + /// Gets whether the "allowed_redeem_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAllowedRedeemCount { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "allowed_redeem_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAllowedRedeemCount() { + _hasBits0 &= ~2; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 8; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 4) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 4; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~4; + } + + /// Field number for the "expiration_time" field. + public const int ExpirationTimeFieldNumber = 9; + private readonly static ulong ExpirationTimeDefaultValue = 0UL; + + private ulong expirationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationTime { + get { if ((_hasBits0 & 8) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } } + set { + _hasBits0 |= 8; + expirationTime_ = value; + } + } + /// Gets whether the "expiration_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationTime { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "expiration_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationTime() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubTicket); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubTicket other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(Creator, other.Creator)) return false; + if (!object.Equals(Club, other.Club)) return false; + if (!object.Equals(Slot, other.Slot)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (CurrentRedeemCount != other.CurrentRedeemCount) return false; + if (AllowedRedeemCount != other.AllowedRedeemCount) return false; + if (CreationTime != other.CreationTime) return false; + if (ExpirationTime != other.ExpirationTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (creator_ != null) hash ^= Creator.GetHashCode(); + if (club_ != null) hash ^= Club.GetHashCode(); + if (slot_ != null) hash ^= Slot.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasCurrentRedeemCount) hash ^= CurrentRedeemCount.GetHashCode(); + if (HasAllowedRedeemCount) hash ^= AllowedRedeemCount.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (creator_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Creator); + } + if (club_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Club); + } + if (slot_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Slot); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasCurrentRedeemCount) { + output.WriteRawTag(48); + output.WriteUInt32(CurrentRedeemCount); + } + if (HasAllowedRedeemCount) { + output.WriteRawTag(56); + output.WriteUInt32(AllowedRedeemCount); + } + if (HasCreationTime) { + output.WriteRawTag(64); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(72); + output.WriteUInt64(ExpirationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (creator_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Creator); + } + if (club_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Club); + } + if (slot_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Slot); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasCurrentRedeemCount) { + output.WriteRawTag(48); + output.WriteUInt32(CurrentRedeemCount); + } + if (HasAllowedRedeemCount) { + output.WriteRawTag(56); + output.WriteUInt32(AllowedRedeemCount); + } + if (HasCreationTime) { + output.WriteRawTag(64); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(72); + output.WriteUInt64(ExpirationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (creator_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Creator); + } + if (club_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Club); + } + if (slot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Slot); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasCurrentRedeemCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrentRedeemCount); + } + if (HasAllowedRedeemCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AllowedRedeemCount); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasExpirationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubTicket other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.creator_ != null) { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Creator.MergeFrom(other.Creator); + } + if (other.club_ != null) { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + Club.MergeFrom(other.Club); + } + if (other.slot_ != null) { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + Slot.MergeFrom(other.Slot); + } + attribute_.Add(other.attribute_); + if (other.HasCurrentRedeemCount) { + CurrentRedeemCount = other.CurrentRedeemCount; + } + if (other.HasAllowedRedeemCount) { + AllowedRedeemCount = other.AllowedRedeemCount; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasExpirationTime) { + ExpirationTime = other.ExpirationTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Creator); + break; + } + case 26: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + case 34: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 42: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 48: { + CurrentRedeemCount = input.ReadUInt32(); + break; + } + case 56: { + AllowedRedeemCount = input.ReadUInt32(); + break; + } + case 64: { + CreationTime = input.ReadUInt64(); + break; + } + case 72: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + if (creator_ == null) { + Creator = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Creator); + break; + } + case 26: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + case 34: { + if (slot_ == null) { + Slot = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSlot(); + } + input.ReadMessage(Slot); + break; + } + case 42: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 48: { + CurrentRedeemCount = input.ReadUInt32(); + break; + } + case 56: { + AllowedRedeemCount = input.ReadUInt32(); + break; + } + case 64: { + CreationTime = input.ReadUInt64(); + break; + } + case 72: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubListener.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubListener.cs new file mode 100644 index 0000000000..9bdca2bb8b --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubListener.cs @@ -0,0 +1,91 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_listener.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_listener.proto + public static partial class ClubListenerReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_listener.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubListenerReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiViZ3MvbG93L3BiL2NsaWVudC9jbHViX2xpc3RlbmVyLnByb3RvEhRiZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MRopYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9ub3Rp", + "ZmljYXRpb24ucHJvdG8yshIKDENsdWJMaXN0ZW5lchJdCgtPblN1YnNjcmli", + "ZRIrLmJncy5wcm90b2NvbC5jbHViLnYxLlN1YnNjcmliZU5vdGlmaWNhdGlv", + "bhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkrAggBEmEKDU9uVW5z", + "dWJzY3JpYmUSLS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5VbnN1YnNjcmliZU5v", + "dGlmaWNhdGlvbhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkrAggC", + "EmMKDk9uU3RhdGVDaGFuZ2VkEi4uYmdzLnByb3RvY29sLmNsdWIudjEuU3Rh", + "dGVDaGFuZ2VkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BP", + "TlNFIgaC+SsCCAMSaQoRT25TZXR0aW5nc0NoYW5nZWQSMS5iZ3MucHJvdG9j", + "b2wuY2x1Yi52MS5TZXR0aW5nc0NoYW5nZWROb3RpZmljYXRpb24aGS5iZ3Mu", + "cHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIBBJhCg1Pbk1lbWJlckFkZGVk", + "Ei0uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVyQWRkZWROb3RpZmljYXRp", + "b24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIHhJlCg9Pbk1l", + "bWJlclJlbW92ZWQSLy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJSZW1v", + "dmVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BPTlNFIgaC", + "+SsCCB8SbwoUT25NZW1iZXJTdGF0ZUNoYW5nZWQSNC5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5NZW1iZXJTdGF0ZUNoYW5nZWROb3RpZmljYXRpb24aGS5iZ3Mu", + "cHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIIBJ3ChhPblN1YnNjcmliZXJT", + "dGF0ZUNoYW5nZWQSOC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdWJzY3JpYmVy", + "U3RhdGVDaGFuZ2VkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JF", + "U1BPTlNFIgaC+SsCCCESbQoTT25NZW1iZXJSb2xlQ2hhbmdlZBIzLmJncy5w", + "cm90b2NvbC5jbHViLnYxLk1lbWJlclJvbGVDaGFuZ2VkTm90aWZpY2F0aW9u", + "GhkuYmdzLnByb3RvY29sLk5PX1JFU1BPTlNFIgaC+SsCCCISaQoRT25JbnZp", + "dGF0aW9uQWRkZWQSMS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5JbnZpdGF0aW9u", + "QWRkZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0Ui", + "BoL5KwIIMhJtChNPbkludml0YXRpb25SZW1vdmVkEjMuYmdzLnByb3RvY29s", + "LmNsdWIudjEuSW52aXRhdGlvblJlbW92ZWROb3RpZmljYXRpb24aGS5iZ3Mu", + "cHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIMxJpChFPblN1Z2dlc3Rpb25B", + "ZGRlZBIxLmJncy5wcm90b2NvbC5jbHViLnYxLlN1Z2dlc3Rpb25BZGRlZE5v", + "dGlmaWNhdGlvbhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkrAghG", + "Em0KE09uU3VnZ2VzdGlvblJlbW92ZWQSMy5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5TdWdnZXN0aW9uUmVtb3ZlZE5vdGlmaWNhdGlvbhoZLmJncy5wcm90b2Nv", + "bC5OT19SRVNQT05TRSIGgvkrAghHEmEKDU9uU3RyZWFtQWRkZWQSLS5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5TdHJlYW1BZGRlZE5vdGlmaWNhdGlvbhoZLmJn", + "cy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkrAghkEmUKD09uU3RyZWFtUmVt", + "b3ZlZBIvLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbVJlbW92ZWROb3Rp", + "ZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIZRJv", + "ChRPblN0cmVhbVN0YXRlQ2hhbmdlZBI0LmJncy5wcm90b2NvbC5jbHViLnYx", + "LlN0cmVhbVN0YXRlQ2hhbmdlZE5vdGlmaWNhdGlvbhoZLmJncy5wcm90b2Nv", + "bC5OT19SRVNQT05TRSIGgvkrAghmEnAKFE9uU3RyZWFtTWVzc2FnZUFkZGVk", + "EjQuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTWVzc2FnZUFkZGVkTm90", + "aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BPTlNFIgeC+SsDCJYB", + "EnQKFk9uU3RyZWFtTWVzc2FnZVVwZGF0ZWQSNi5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5TdHJlYW1NZXNzYWdlVXBkYXRlZE5vdGlmaWNhdGlvbhoZLmJncy5w", + "cm90b2NvbC5OT19SRVNQT05TRSIHgvkrAwiYARJ2ChdPblN0cmVhbVR5cGlu", + "Z0luZGljYXRvchI3LmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbVR5cGlu", + "Z0luZGljYXRvck5vdGlmaWNhdGlvbhoZLmJncy5wcm90b2NvbC5OT19SRVNQ", + "T05TRSIHgvkrAwiZARJ2ChdPblN0cmVhbVVucmVhZEluZGljYXRvchI3LmJn", + "cy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbVVucmVhZEluZGljYXRvck5vdGlm", + "aWNhdGlvbhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIHgvkrAwiaARJ2", + "ChdPblN0cmVhbUFkdmFuY2VWaWV3VGltZRI3LmJncy5wcm90b2NvbC5jbHVi", + "LnYxLlN0cmVhbUFkdmFuY2VWaWV3VGltZU5vdGlmaWNhdGlvbhoZLmJncy5w", + "cm90b2NvbC5OT19SRVNQT05TRSIHgvkrAwibARougvkrJAoiYm5ldC5wcm90", + "b2NvbC5jbHViLnYxLkNsdWJMaXN0ZW5lcor5KwIIAUIFSAKAAQBQAA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMember.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMember.cs new file mode 100644 index 0000000000..81021efcac --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMember.cs @@ -0,0 +1,4839 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_member.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_member.proto + public static partial class ClubMemberReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_member.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubMemberReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNiZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlci5wcm90bxIUYmdzLnBy", + "b3RvY29sLmNsdWIudjEaJmJncy9sb3cvcGIvY2xpZW50L2NsdWJfbWVtYmVy", + "X2lkLnByb3RvGjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL2F0", + "dHJpYnV0ZV90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9l", + "bnVtLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8i", + "iQMKBk1lbWJlchIqCgJpZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlcklkEhoKCmJhdHRsZV90YWcYAiABKAlCBoL5KwIIARIQCgRyb2xl", + "GAMgAygNQgIQARItCglhdHRyaWJ1dGUYBCADKAsyGi5iZ3MucHJvdG9jb2wu", + "djIuQXR0cmlidXRlEhEKCWpvaW5fdGltZRgFIAEoBBI7Cg5wcmVzZW5jZV9s", + "ZXZlbBgGIAEoDjIjLmJncy5wcm90b2NvbC5jbHViLnYxLlByZXNlbmNlTGV2", + "ZWwSFgoObW9kZXJhdG9yX211dGUYByABKAgSOQoNd2hpc3Blcl9sZXZlbBgI", + "IAEoDjIiLmJncy5wcm90b2NvbC5jbHViLnYxLldoaXNwZXJMZXZlbBIMCgRu", + "b3RlGAkgASgJEg4KBmFjdGl2ZRgyIAEoCBI1CgV2b2ljZRgzIAEoCzImLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlclZvaWNlU3RhdGUiUQoMTWVtYmVy", + "UmVzdWx0EjEKCW1lbWJlcl9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLk1lbWJlcklkEg4KBnN0YXR1cxgCIAEoDSJ6ChNSZW1vdmVNZW1iZXJP", + "cHRpb25zEioKAmlkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVt", + "YmVySWQSNwoGcmVhc29uGAIgASgOMicuYmdzLnByb3RvY29sLmNsdWIudjEu", + "Q2x1YlJlbW92ZWRSZWFzb24ifgoXTWVtYmVyUmVtb3ZlZEFzc2lnbm1lbnQS", + "KgoCaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBI3", + "CgZyZWFzb24YAiABKA4yJy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViUmVt", + "b3ZlZFJlYXNvbiKHAQoSTWVtYmVyVm9pY2VPcHRpb25zEhEKCXN0cmVhbV9p", + "ZBgBIAEoBBIOCgZqb2luZWQYAiABKAgSPgoKbWljcm9waG9uZRgDIAEoDjIq", + "LmJncy5wcm90b2NvbC5jbHViLnYxLlZvaWNlTWljcm9waG9uZVN0YXRlEg4K", + "BmFjdGl2ZRgEIAEoCCKRAQoQTWVtYmVyVm9pY2VTdGF0ZRIKCgJpZBgBIAEo", + "CRIRCglzdHJlYW1faWQYAiABKAQSDgoGam9pbmVkGAMgASgIEj4KCm1pY3Jv", + "cGhvbmUYBCABKA4yKi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5Wb2ljZU1pY3Jv", + "cGhvbmVTdGF0ZRIOCgZhY3RpdmUYBSABKAgioAEKE0NyZWF0ZU1lbWJlck9w", + "dGlvbnMSKgoCaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i", + "ZXJJZBItCglhdHRyaWJ1dGUYAiADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0", + "cmlidXRlEi4KEGpvaW5fY2x1Yl9zb3VyY2UYAyABKA1CFIL5KxAqDkpvaW5D", + "bHViU291cmNlIlsKEU1lbWJlckRlc2NyaXB0aW9uEioKAmlkGAEgASgLMh4u", + "YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSGgoKYmF0dGxlX3RhZxgC", + "IAEoCUIGgvkrAggBIl4KC1JvbGVPcHRpb25zEjEKCW1lbWJlcl9pZBgBIAEo", + "CzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhwKBHJvbGUYAiAD", + "KA1CDhABivkrCCoGCgQIARABIlUKDlJvbGVBc3NpZ25tZW50EjEKCW1lbWJl", + "cl9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhAK", + "BHJvbGUYAiADKA1CAhABIn0KGU1lbWJlckF0dHJpYnV0ZUFzc2lnbm1lbnQS", + "MQoJbWVtYmVyX2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVt", + "YmVySWQSLQoJYXR0cmlidXRlGAIgAygLMhouYmdzLnByb3RvY29sLnYyLkF0", + "dHJpYnV0ZSJRChZTdWJzY3JpYmVyU3RhdGVPcHRpb25zEjcKBXZvaWNlGAEg", + "ASgLMiguYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVyVm9pY2VPcHRpb25z", + "IpUBChlTdWJzY3JpYmVyU3RhdGVBc3NpZ25tZW50EjEKCW1lbWJlcl9pZBgB", + "IAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEg4KBmFjdGl2", + "ZRgCIAEoCBI1CgV2b2ljZRgDIAEoCzImLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlclZvaWNlU3RhdGUi4QEKEk1lbWJlclN0YXRlT3B0aW9ucxItCglh", + "dHRyaWJ1dGUYASADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlEjsK", + "DnByZXNlbmNlX2xldmVsGAIgASgOMiMuYmdzLnByb3RvY29sLmNsdWIudjEu", + "UHJlc2VuY2VMZXZlbBIWCg5tb2RlcmF0b3JfbXV0ZRgDIAEoCBI5Cg13aGlz", + "cGVyX2xldmVsGAQgASgOMiIuYmdzLnByb3RvY29sLmNsdWIudjEuV2hpc3Bl", + "ckxldmVsEgwKBG5vdGUYBSABKAkilwIKFU1lbWJlclN0YXRlQXNzaWdubWVu", + "dBIxCgltZW1iZXJfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5N", + "ZW1iZXJJZBItCglhdHRyaWJ1dGUYAiADKAsyGi5iZ3MucHJvdG9jb2wudjIu", + "QXR0cmlidXRlEjsKDnByZXNlbmNlX2xldmVsGAMgASgOMiMuYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuUHJlc2VuY2VMZXZlbBIWCg5tb2RlcmF0b3JfbXV0ZRgE", + "IAEoCBI5Cg13aGlzcGVyX2xldmVsGAUgASgOMiIuYmdzLnByb3RvY29sLmNs", + "dWIudjEuV2hpc3BlckxldmVsEgwKBG5vdGUYBiABKAlCAkgBUAA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberIdReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubEnumReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member.Parser, new[]{ "Id", "BattleTag", "Role", "Attribute", "JoinTime", "PresenceLevel", "ModeratorMute", "WhisperLevel", "Note", "Active", "Voice" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberResult), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberResult.Parser, new[]{ "MemberId", "Status" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RemoveMemberOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RemoveMemberOptions.Parser, new[]{ "Id", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRemovedAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRemovedAssignment.Parser, new[]{ "Id", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions.Parser, new[]{ "StreamId", "Joined", "Microphone", "Active" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState.Parser, new[]{ "Id", "StreamId", "Joined", "Microphone", "Active" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions.Parser, new[]{ "Id", "Attribute", "JoinClubSource" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription.Parser, new[]{ "Id", "BattleTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions.Parser, new[]{ "MemberId", "Role" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleAssignment.Parser, new[]{ "MemberId", "Role" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberAttributeAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberAttributeAssignment.Parser, new[]{ "MemberId", "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions.Parser, new[]{ "Voice" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateAssignment.Parser, new[]{ "MemberId", "Active", "Voice" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions.Parser, new[]{ "Attribute", "PresenceLevel", "ModeratorMute", "WhisperLevel", "Note" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateAssignment.Parser, new[]{ "MemberId", "Attribute", "PresenceLevel", "ModeratorMute", "WhisperLevel", "Note" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Member : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Member()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Member() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Member(Member other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_ != null ? other.id_.Clone() : null; + battleTag_ = other.battleTag_; + role_ = other.role_.Clone(); + attribute_ = other.attribute_.Clone(); + joinTime_ = other.joinTime_; + presenceLevel_ = other.presenceLevel_; + moderatorMute_ = other.moderatorMute_; + whisperLevel_ = other.whisperLevel_; + note_ = other.note_; + active_ = other.active_; + voice_ = other.voice_ != null ? other.voice_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Member Clone() { + return new Member(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 2; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "join_time" field. + public const int JoinTimeFieldNumber = 5; + private readonly static ulong JoinTimeDefaultValue = 0UL; + + private ulong joinTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong JoinTime { + get { if ((_hasBits0 & 1) != 0) { return joinTime_; } else { return JoinTimeDefaultValue; } } + set { + _hasBits0 |= 1; + joinTime_ = value; + } + } + /// Gets whether the "join_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoinTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "join_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoinTime() { + _hasBits0 &= ~1; + } + + /// Field number for the "presence_level" field. + public const int PresenceLevelFieldNumber = 6; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel PresenceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel presenceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel PresenceLevel { + get { if ((_hasBits0 & 2) != 0) { return presenceLevel_; } else { return PresenceLevelDefaultValue; } } + set { + _hasBits0 |= 2; + presenceLevel_ = value; + } + } + /// Gets whether the "presence_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresenceLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "presence_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresenceLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "moderator_mute" field. + public const int ModeratorMuteFieldNumber = 7; + private readonly static bool ModeratorMuteDefaultValue = false; + + private bool moderatorMute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ModeratorMute { + get { if ((_hasBits0 & 4) != 0) { return moderatorMute_; } else { return ModeratorMuteDefaultValue; } } + set { + _hasBits0 |= 4; + moderatorMute_ = value; + } + } + /// Gets whether the "moderator_mute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasModeratorMute { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "moderator_mute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearModeratorMute() { + _hasBits0 &= ~4; + } + + /// Field number for the "whisper_level" field. + public const int WhisperLevelFieldNumber = 8; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel WhisperLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel.Open; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel whisperLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel WhisperLevel { + get { if ((_hasBits0 & 8) != 0) { return whisperLevel_; } else { return WhisperLevelDefaultValue; } } + set { + _hasBits0 |= 8; + whisperLevel_ = value; + } + } + /// Gets whether the "whisper_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWhisperLevel { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "whisper_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWhisperLevel() { + _hasBits0 &= ~8; + } + + /// Field number for the "note" field. + public const int NoteFieldNumber = 9; + private readonly static string NoteDefaultValue = ""; + + private string note_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Note { + get { return note_ ?? NoteDefaultValue; } + set { + note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "note" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNote { + get { return note_ != null; } + } + /// Clears the value of the "note" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNote() { + note_ = null; + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 50; + private readonly static bool ActiveDefaultValue = false; + + private bool active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { if ((_hasBits0 & 16) != 0) { return active_; } else { return ActiveDefaultValue; } } + set { + _hasBits0 |= 16; + active_ = value; + } + } + /// Gets whether the "active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasActive { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearActive() { + _hasBits0 &= ~16; + } + + /// Field number for the "voice" field. + public const int VoiceFieldNumber = 51; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState voice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState Voice { + get { return voice_; } + set { + voice_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Member); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Member other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (BattleTag != other.BattleTag) return false; + if(!role_.Equals(other.role_)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (JoinTime != other.JoinTime) return false; + if (PresenceLevel != other.PresenceLevel) return false; + if (ModeratorMute != other.ModeratorMute) return false; + if (WhisperLevel != other.WhisperLevel) return false; + if (Note != other.Note) return false; + if (Active != other.Active) return false; + if (!object.Equals(Voice, other.Voice)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + hash ^= role_.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasJoinTime) hash ^= JoinTime.GetHashCode(); + if (HasPresenceLevel) hash ^= PresenceLevel.GetHashCode(); + if (HasModeratorMute) hash ^= ModeratorMute.GetHashCode(); + if (HasWhisperLevel) hash ^= WhisperLevel.GetHashCode(); + if (HasNote) hash ^= Note.GetHashCode(); + if (HasActive) hash ^= Active.GetHashCode(); + if (voice_ != null) hash ^= Voice.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + role_.WriteTo(output, _repeated_role_codec); + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasJoinTime) { + output.WriteRawTag(40); + output.WriteUInt64(JoinTime); + } + if (HasPresenceLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PresenceLevel); + } + if (HasModeratorMute) { + output.WriteRawTag(56); + output.WriteBool(ModeratorMute); + } + if (HasWhisperLevel) { + output.WriteRawTag(64); + output.WriteEnum((int) WhisperLevel); + } + if (HasNote) { + output.WriteRawTag(74); + output.WriteString(Note); + } + if (HasActive) { + output.WriteRawTag(144, 3); + output.WriteBool(Active); + } + if (voice_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(Voice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + role_.WriteTo(ref output, _repeated_role_codec); + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasJoinTime) { + output.WriteRawTag(40); + output.WriteUInt64(JoinTime); + } + if (HasPresenceLevel) { + output.WriteRawTag(48); + output.WriteEnum((int) PresenceLevel); + } + if (HasModeratorMute) { + output.WriteRawTag(56); + output.WriteBool(ModeratorMute); + } + if (HasWhisperLevel) { + output.WriteRawTag(64); + output.WriteEnum((int) WhisperLevel); + } + if (HasNote) { + output.WriteRawTag(74); + output.WriteString(Note); + } + if (HasActive) { + output.WriteRawTag(144, 3); + output.WriteBool(Active); + } + if (voice_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(Voice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + size += role_.CalculateSize(_repeated_role_codec); + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasJoinTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(JoinTime); + } + if (HasPresenceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PresenceLevel); + } + if (HasModeratorMute) { + size += 1 + 1; + } + if (HasWhisperLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WhisperLevel); + } + if (HasNote) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (HasActive) { + size += 2 + 1; + } + if (voice_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Voice); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Member other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + Id.MergeFrom(other.Id); + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + role_.Add(other.role_); + attribute_.Add(other.attribute_); + if (other.HasJoinTime) { + JoinTime = other.JoinTime; + } + if (other.HasPresenceLevel) { + PresenceLevel = other.PresenceLevel; + } + if (other.HasModeratorMute) { + ModeratorMute = other.ModeratorMute; + } + if (other.HasWhisperLevel) { + WhisperLevel = other.WhisperLevel; + } + if (other.HasNote) { + Note = other.Note; + } + if (other.HasActive) { + Active = other.Active; + } + if (other.voice_ != null) { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState(); + } + Voice.MergeFrom(other.Voice); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 34: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 40: { + JoinTime = input.ReadUInt64(); + break; + } + case 48: { + PresenceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel) input.ReadEnum(); + break; + } + case 56: { + ModeratorMute = input.ReadBool(); + break; + } + case 64: { + WhisperLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel) input.ReadEnum(); + break; + } + case 74: { + Note = input.ReadString(); + break; + } + case 400: { + Active = input.ReadBool(); + break; + } + case 410: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState(); + } + input.ReadMessage(Voice); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 34: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 40: { + JoinTime = input.ReadUInt64(); + break; + } + case 48: { + PresenceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel) input.ReadEnum(); + break; + } + case 56: { + ModeratorMute = input.ReadBool(); + break; + } + case 64: { + WhisperLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel) input.ReadEnum(); + break; + } + case 74: { + Note = input.ReadString(); + break; + } + case 400: { + Active = input.ReadBool(); + break; + } + case 410: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState(); + } + input.ReadMessage(Voice); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberResult()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberResult(MemberResult other) : this() { + _hasBits0 = other._hasBits0; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + status_ = other.status_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberResult Clone() { + return new MemberResult(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 2; + private readonly static uint StatusDefaultValue = 0; + + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { if ((_hasBits0 & 1) != 0) { return status_; } else { return StatusDefaultValue; } } + set { + _hasBits0 |= 1; + status_ = value; + } + } + /// Gets whether the "status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStatus { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStatus() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if (Status != other.Status) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (HasStatus) hash ^= Status.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (HasStatus) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (HasStatus) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (HasStatus) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberResult other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.HasStatus) { + Status = other.Status; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RemoveMemberOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveMemberOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveMemberOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveMemberOptions(RemoveMemberOptions other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_ != null ? other.id_.Clone() : null; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveMemberOptions Clone() { + return new RemoveMemberOptions(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason ReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason Reason { + get { if ((_hasBits0 & 1) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 1; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RemoveMemberOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RemoveMemberOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasReason) { + output.WriteRawTag(16); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasReason) { + output.WriteRawTag(16); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RemoveMemberOptions other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + Id.MergeFrom(other.Id); + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 16: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 16: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberRemovedAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberRemovedAssignment()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRemovedAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRemovedAssignment(MemberRemovedAssignment other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_ != null ? other.id_.Clone() : null; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRemovedAssignment Clone() { + return new MemberRemovedAssignment(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason ReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason Reason { + get { if ((_hasBits0 & 1) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 1; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberRemovedAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberRemovedAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasReason) { + output.WriteRawTag(16); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasReason) { + output.WriteRawTag(16); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberRemovedAssignment other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + Id.MergeFrom(other.Id); + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 16: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 16: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberVoiceOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberVoiceOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberVoiceOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberVoiceOptions(MemberVoiceOptions other) : this() { + _hasBits0 = other._hasBits0; + streamId_ = other.streamId_; + joined_ = other.joined_; + microphone_ = other.microphone_; + active_ = other.active_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberVoiceOptions Clone() { + return new MemberVoiceOptions(this); + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 1; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 1) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 1; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~1; + } + + /// Field number for the "joined" field. + public const int JoinedFieldNumber = 2; + private readonly static bool JoinedDefaultValue = false; + + private bool joined_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Joined { + get { if ((_hasBits0 & 2) != 0) { return joined_; } else { return JoinedDefaultValue; } } + set { + _hasBits0 |= 2; + joined_ = value; + } + } + /// Gets whether the "joined" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoined { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "joined" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoined() { + _hasBits0 &= ~2; + } + + /// Field number for the "microphone" field. + public const int MicrophoneFieldNumber = 3; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState MicrophoneDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState.MicrophoneStateNormal; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState microphone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState Microphone { + get { if ((_hasBits0 & 4) != 0) { return microphone_; } else { return MicrophoneDefaultValue; } } + set { + _hasBits0 |= 4; + microphone_ = value; + } + } + /// Gets whether the "microphone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMicrophone { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "microphone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMicrophone() { + _hasBits0 &= ~4; + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 4; + private readonly static bool ActiveDefaultValue = false; + + private bool active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { if ((_hasBits0 & 8) != 0) { return active_; } else { return ActiveDefaultValue; } } + set { + _hasBits0 |= 8; + active_ = value; + } + } + /// Gets whether the "active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasActive { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearActive() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberVoiceOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberVoiceOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StreamId != other.StreamId) return false; + if (Joined != other.Joined) return false; + if (Microphone != other.Microphone) return false; + if (Active != other.Active) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasJoined) hash ^= Joined.GetHashCode(); + if (HasMicrophone) hash ^= Microphone.GetHashCode(); + if (HasActive) hash ^= Active.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasJoined) { + output.WriteRawTag(16); + output.WriteBool(Joined); + } + if (HasMicrophone) { + output.WriteRawTag(24); + output.WriteEnum((int) Microphone); + } + if (HasActive) { + output.WriteRawTag(32); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasJoined) { + output.WriteRawTag(16); + output.WriteBool(Joined); + } + if (HasMicrophone) { + output.WriteRawTag(24); + output.WriteEnum((int) Microphone); + } + if (HasActive) { + output.WriteRawTag(32); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasJoined) { + size += 1 + 1; + } + if (HasMicrophone) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Microphone); + } + if (HasActive) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberVoiceOptions other) { + if (other == null) { + return; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasJoined) { + Joined = other.Joined; + } + if (other.HasMicrophone) { + Microphone = other.Microphone; + } + if (other.HasActive) { + Active = other.Active; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + Joined = input.ReadBool(); + break; + } + case 24: { + Microphone = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState) input.ReadEnum(); + break; + } + case 32: { + Active = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + Joined = input.ReadBool(); + break; + } + case 24: { + Microphone = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState) input.ReadEnum(); + break; + } + case 32: { + Active = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberVoiceState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberVoiceState()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberVoiceState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberVoiceState(MemberVoiceState other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + streamId_ = other.streamId_; + joined_ = other.joined_; + microphone_ = other.microphone_; + active_ = other.active_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberVoiceState Clone() { + return new MemberVoiceState(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static string IdDefaultValue = ""; + + private string id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_ ?? IdDefaultValue; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return id_ != null; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + id_ = null; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 2; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 1) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 1; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~1; + } + + /// Field number for the "joined" field. + public const int JoinedFieldNumber = 3; + private readonly static bool JoinedDefaultValue = false; + + private bool joined_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Joined { + get { if ((_hasBits0 & 2) != 0) { return joined_; } else { return JoinedDefaultValue; } } + set { + _hasBits0 |= 2; + joined_ = value; + } + } + /// Gets whether the "joined" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoined { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "joined" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoined() { + _hasBits0 &= ~2; + } + + /// Field number for the "microphone" field. + public const int MicrophoneFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState MicrophoneDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState.MicrophoneStateNormal; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState microphone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState Microphone { + get { if ((_hasBits0 & 4) != 0) { return microphone_; } else { return MicrophoneDefaultValue; } } + set { + _hasBits0 |= 4; + microphone_ = value; + } + } + /// Gets whether the "microphone" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMicrophone { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "microphone" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMicrophone() { + _hasBits0 &= ~4; + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 5; + private readonly static bool ActiveDefaultValue = false; + + private bool active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { if ((_hasBits0 & 8) != 0) { return active_; } else { return ActiveDefaultValue; } } + set { + _hasBits0 |= 8; + active_ = value; + } + } + /// Gets whether the "active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasActive { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearActive() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberVoiceState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberVoiceState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (StreamId != other.StreamId) return false; + if (Joined != other.Joined) return false; + if (Microphone != other.Microphone) return false; + if (Active != other.Active) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasJoined) hash ^= Joined.GetHashCode(); + if (HasMicrophone) hash ^= Microphone.GetHashCode(); + if (HasActive) hash ^= Active.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (HasJoined) { + output.WriteRawTag(24); + output.WriteBool(Joined); + } + if (HasMicrophone) { + output.WriteRawTag(32); + output.WriteEnum((int) Microphone); + } + if (HasActive) { + output.WriteRawTag(40); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (HasJoined) { + output.WriteRawTag(24); + output.WriteBool(Joined); + } + if (HasMicrophone) { + output.WriteRawTag(32); + output.WriteEnum((int) Microphone); + } + if (HasActive) { + output.WriteRawTag(40); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasJoined) { + size += 1 + 1; + } + if (HasMicrophone) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Microphone); + } + if (HasActive) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberVoiceState other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasJoined) { + Joined = other.Joined; + } + if (other.HasMicrophone) { + Microphone = other.Microphone; + } + if (other.HasActive) { + Active = other.Active; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 24: { + Joined = input.ReadBool(); + break; + } + case 32: { + Microphone = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState) input.ReadEnum(); + break; + } + case 40: { + Active = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 24: { + Joined = input.ReadBool(); + break; + } + case 32: { + Microphone = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.VoiceMicrophoneState) input.ReadEnum(); + break; + } + case 40: { + Active = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateMemberOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateMemberOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMemberOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMemberOptions(CreateMemberOptions other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_ != null ? other.id_.Clone() : null; + attribute_ = other.attribute_.Clone(); + joinClubSource_ = other.joinClubSource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMemberOptions Clone() { + return new CreateMemberOptions(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "join_club_source" field. + public const int JoinClubSourceFieldNumber = 3; + private readonly static uint JoinClubSourceDefaultValue = 0; + + private uint joinClubSource_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint JoinClubSource { + get { if ((_hasBits0 & 1) != 0) { return joinClubSource_; } else { return JoinClubSourceDefaultValue; } } + set { + _hasBits0 |= 1; + joinClubSource_ = value; + } + } + /// Gets whether the "join_club_source" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoinClubSource { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "join_club_source" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoinClubSource() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateMemberOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateMemberOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (JoinClubSource != other.JoinClubSource) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasJoinClubSource) hash ^= JoinClubSource.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasJoinClubSource) { + output.WriteRawTag(24); + output.WriteUInt32(JoinClubSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasJoinClubSource) { + output.WriteRawTag(24); + output.WriteUInt32(JoinClubSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasJoinClubSource) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinClubSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateMemberOptions other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + Id.MergeFrom(other.Id); + } + attribute_.Add(other.attribute_); + if (other.HasJoinClubSource) { + JoinClubSource = other.JoinClubSource; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 24: { + JoinClubSource = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 24: { + JoinClubSource = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberDescription : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberDescription()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberDescription() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberDescription(MemberDescription other) : this() { + id_ = other.id_ != null ? other.id_.Clone() : null; + battleTag_ = other.battleTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberDescription Clone() { + return new MemberDescription(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 2; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberDescription); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberDescription other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (BattleTag != other.BattleTag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberDescription other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + Id.MergeFrom(other.Id); + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(Id); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RoleOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoleOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleOptions(RoleOptions other) : this() { + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + role_ = other.role_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleOptions Clone() { + return new RoleOptions(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RoleOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RoleOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if(!role_.Equals(other.role_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + hash ^= role_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + role_.WriteTo(output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + role_.WriteTo(ref output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + size += role_.CalculateSize(_repeated_role_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RoleOptions other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + role_.Add(other.role_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: + case 16: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: + case 16: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RoleAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoleAssignment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleAssignment(RoleAssignment other) : this() { + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + role_ = other.role_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleAssignment Clone() { + return new RoleAssignment(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RoleAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RoleAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if(!role_.Equals(other.role_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + hash ^= role_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + role_.WriteTo(output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + role_.WriteTo(ref output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + size += role_.CalculateSize(_repeated_role_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RoleAssignment other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + role_.Add(other.role_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: + case 16: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: + case 16: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberAttributeAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberAttributeAssignment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAttributeAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAttributeAssignment(MemberAttributeAssignment other) : this() { + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAttributeAssignment Clone() { + return new MemberAttributeAssignment(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberAttributeAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberAttributeAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberAttributeAssignment other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriberStateOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriberStateOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateOptions(SubscriberStateOptions other) : this() { + voice_ = other.voice_ != null ? other.voice_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateOptions Clone() { + return new SubscriberStateOptions(this); + } + + /// Field number for the "voice" field. + public const int VoiceFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions voice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions Voice { + get { return voice_; } + set { + voice_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriberStateOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriberStateOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Voice, other.Voice)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (voice_ != null) hash ^= Voice.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (voice_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Voice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (voice_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Voice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (voice_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Voice); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriberStateOptions other) { + if (other == null) { + return; + } + if (other.voice_ != null) { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions(); + } + Voice.MergeFrom(other.Voice); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions(); + } + input.ReadMessage(Voice); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceOptions(); + } + input.ReadMessage(Voice); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriberStateAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriberStateAssignment()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateAssignment(SubscriberStateAssignment other) : this() { + _hasBits0 = other._hasBits0; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + active_ = other.active_; + voice_ = other.voice_ != null ? other.voice_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateAssignment Clone() { + return new SubscriberStateAssignment(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 2; + private readonly static bool ActiveDefaultValue = false; + + private bool active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { if ((_hasBits0 & 1) != 0) { return active_; } else { return ActiveDefaultValue; } } + set { + _hasBits0 |= 1; + active_ = value; + } + } + /// Gets whether the "active" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasActive { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "active" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearActive() { + _hasBits0 &= ~1; + } + + /// Field number for the "voice" field. + public const int VoiceFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState voice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState Voice { + get { return voice_; } + set { + voice_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriberStateAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriberStateAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if (Active != other.Active) return false; + if (!object.Equals(Voice, other.Voice)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (HasActive) hash ^= Active.GetHashCode(); + if (voice_ != null) hash ^= Voice.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (HasActive) { + output.WriteRawTag(16); + output.WriteBool(Active); + } + if (voice_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Voice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (HasActive) { + output.WriteRawTag(16); + output.WriteBool(Active); + } + if (voice_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Voice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (HasActive) { + size += 1 + 1; + } + if (voice_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Voice); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriberStateAssignment other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.HasActive) { + Active = other.Active; + } + if (other.voice_ != null) { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState(); + } + Voice.MergeFrom(other.Voice); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 16: { + Active = input.ReadBool(); + break; + } + case 26: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState(); + } + input.ReadMessage(Voice); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 16: { + Active = input.ReadBool(); + break; + } + case 26: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberVoiceState(); + } + input.ReadMessage(Voice); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberStateOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberStateOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateOptions(MemberStateOptions other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + presenceLevel_ = other.presenceLevel_; + moderatorMute_ = other.moderatorMute_; + whisperLevel_ = other.whisperLevel_; + note_ = other.note_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateOptions Clone() { + return new MemberStateOptions(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "presence_level" field. + public const int PresenceLevelFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel PresenceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel presenceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel PresenceLevel { + get { if ((_hasBits0 & 1) != 0) { return presenceLevel_; } else { return PresenceLevelDefaultValue; } } + set { + _hasBits0 |= 1; + presenceLevel_ = value; + } + } + /// Gets whether the "presence_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresenceLevel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presence_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresenceLevel() { + _hasBits0 &= ~1; + } + + /// Field number for the "moderator_mute" field. + public const int ModeratorMuteFieldNumber = 3; + private readonly static bool ModeratorMuteDefaultValue = false; + + private bool moderatorMute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ModeratorMute { + get { if ((_hasBits0 & 2) != 0) { return moderatorMute_; } else { return ModeratorMuteDefaultValue; } } + set { + _hasBits0 |= 2; + moderatorMute_ = value; + } + } + /// Gets whether the "moderator_mute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasModeratorMute { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "moderator_mute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearModeratorMute() { + _hasBits0 &= ~2; + } + + /// Field number for the "whisper_level" field. + public const int WhisperLevelFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel WhisperLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel.Open; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel whisperLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel WhisperLevel { + get { if ((_hasBits0 & 4) != 0) { return whisperLevel_; } else { return WhisperLevelDefaultValue; } } + set { + _hasBits0 |= 4; + whisperLevel_ = value; + } + } + /// Gets whether the "whisper_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWhisperLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "whisper_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWhisperLevel() { + _hasBits0 &= ~4; + } + + /// Field number for the "note" field. + public const int NoteFieldNumber = 5; + private readonly static string NoteDefaultValue = ""; + + private string note_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Note { + get { return note_ ?? NoteDefaultValue; } + set { + note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "note" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNote { + get { return note_ != null; } + } + /// Clears the value of the "note" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNote() { + note_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberStateOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberStateOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (PresenceLevel != other.PresenceLevel) return false; + if (ModeratorMute != other.ModeratorMute) return false; + if (WhisperLevel != other.WhisperLevel) return false; + if (Note != other.Note) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (HasPresenceLevel) hash ^= PresenceLevel.GetHashCode(); + if (HasModeratorMute) hash ^= ModeratorMute.GetHashCode(); + if (HasWhisperLevel) hash ^= WhisperLevel.GetHashCode(); + if (HasNote) hash ^= Note.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasPresenceLevel) { + output.WriteRawTag(16); + output.WriteEnum((int) PresenceLevel); + } + if (HasModeratorMute) { + output.WriteRawTag(24); + output.WriteBool(ModeratorMute); + } + if (HasWhisperLevel) { + output.WriteRawTag(32); + output.WriteEnum((int) WhisperLevel); + } + if (HasNote) { + output.WriteRawTag(42); + output.WriteString(Note); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasPresenceLevel) { + output.WriteRawTag(16); + output.WriteEnum((int) PresenceLevel); + } + if (HasModeratorMute) { + output.WriteRawTag(24); + output.WriteBool(ModeratorMute); + } + if (HasWhisperLevel) { + output.WriteRawTag(32); + output.WriteEnum((int) WhisperLevel); + } + if (HasNote) { + output.WriteRawTag(42); + output.WriteString(Note); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasPresenceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PresenceLevel); + } + if (HasModeratorMute) { + size += 1 + 1; + } + if (HasWhisperLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WhisperLevel); + } + if (HasNote) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberStateOptions other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.HasPresenceLevel) { + PresenceLevel = other.PresenceLevel; + } + if (other.HasModeratorMute) { + ModeratorMute = other.ModeratorMute; + } + if (other.HasWhisperLevel) { + WhisperLevel = other.WhisperLevel; + } + if (other.HasNote) { + Note = other.Note; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 16: { + PresenceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel) input.ReadEnum(); + break; + } + case 24: { + ModeratorMute = input.ReadBool(); + break; + } + case 32: { + WhisperLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel) input.ReadEnum(); + break; + } + case 42: { + Note = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 16: { + PresenceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel) input.ReadEnum(); + break; + } + case 24: { + ModeratorMute = input.ReadBool(); + break; + } + case 32: { + WhisperLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel) input.ReadEnum(); + break; + } + case 42: { + Note = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberStateAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberStateAssignment()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateAssignment(MemberStateAssignment other) : this() { + _hasBits0 = other._hasBits0; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + attribute_ = other.attribute_.Clone(); + presenceLevel_ = other.presenceLevel_; + moderatorMute_ = other.moderatorMute_; + whisperLevel_ = other.whisperLevel_; + note_ = other.note_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateAssignment Clone() { + return new MemberStateAssignment(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "presence_level" field. + public const int PresenceLevelFieldNumber = 3; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel PresenceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel presenceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel PresenceLevel { + get { if ((_hasBits0 & 1) != 0) { return presenceLevel_; } else { return PresenceLevelDefaultValue; } } + set { + _hasBits0 |= 1; + presenceLevel_ = value; + } + } + /// Gets whether the "presence_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresenceLevel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presence_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresenceLevel() { + _hasBits0 &= ~1; + } + + /// Field number for the "moderator_mute" field. + public const int ModeratorMuteFieldNumber = 4; + private readonly static bool ModeratorMuteDefaultValue = false; + + private bool moderatorMute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ModeratorMute { + get { if ((_hasBits0 & 2) != 0) { return moderatorMute_; } else { return ModeratorMuteDefaultValue; } } + set { + _hasBits0 |= 2; + moderatorMute_ = value; + } + } + /// Gets whether the "moderator_mute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasModeratorMute { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "moderator_mute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearModeratorMute() { + _hasBits0 &= ~2; + } + + /// Field number for the "whisper_level" field. + public const int WhisperLevelFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel WhisperLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel.Open; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel whisperLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel WhisperLevel { + get { if ((_hasBits0 & 4) != 0) { return whisperLevel_; } else { return WhisperLevelDefaultValue; } } + set { + _hasBits0 |= 4; + whisperLevel_ = value; + } + } + /// Gets whether the "whisper_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWhisperLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "whisper_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWhisperLevel() { + _hasBits0 &= ~4; + } + + /// Field number for the "note" field. + public const int NoteFieldNumber = 6; + private readonly static string NoteDefaultValue = ""; + + private string note_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Note { + get { return note_ ?? NoteDefaultValue; } + set { + note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "note" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNote { + get { return note_ != null; } + } + /// Clears the value of the "note" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNote() { + note_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberStateAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberStateAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (PresenceLevel != other.PresenceLevel) return false; + if (ModeratorMute != other.ModeratorMute) return false; + if (WhisperLevel != other.WhisperLevel) return false; + if (Note != other.Note) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasPresenceLevel) hash ^= PresenceLevel.GetHashCode(); + if (HasModeratorMute) hash ^= ModeratorMute.GetHashCode(); + if (HasWhisperLevel) hash ^= WhisperLevel.GetHashCode(); + if (HasNote) hash ^= Note.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasPresenceLevel) { + output.WriteRawTag(24); + output.WriteEnum((int) PresenceLevel); + } + if (HasModeratorMute) { + output.WriteRawTag(32); + output.WriteBool(ModeratorMute); + } + if (HasWhisperLevel) { + output.WriteRawTag(40); + output.WriteEnum((int) WhisperLevel); + } + if (HasNote) { + output.WriteRawTag(50); + output.WriteString(Note); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasPresenceLevel) { + output.WriteRawTag(24); + output.WriteEnum((int) PresenceLevel); + } + if (HasModeratorMute) { + output.WriteRawTag(32); + output.WriteBool(ModeratorMute); + } + if (HasWhisperLevel) { + output.WriteRawTag(40); + output.WriteEnum((int) WhisperLevel); + } + if (HasNote) { + output.WriteRawTag(50); + output.WriteString(Note); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasPresenceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PresenceLevel); + } + if (HasModeratorMute) { + size += 1 + 1; + } + if (HasWhisperLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WhisperLevel); + } + if (HasNote) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberStateAssignment other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + attribute_.Add(other.attribute_); + if (other.HasPresenceLevel) { + PresenceLevel = other.PresenceLevel; + } + if (other.HasModeratorMute) { + ModeratorMute = other.ModeratorMute; + } + if (other.HasWhisperLevel) { + WhisperLevel = other.WhisperLevel; + } + if (other.HasNote) { + Note = other.Note; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 24: { + PresenceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel) input.ReadEnum(); + break; + } + case 32: { + ModeratorMute = input.ReadBool(); + break; + } + case 40: { + WhisperLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel) input.ReadEnum(); + break; + } + case 50: { + Note = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 24: { + PresenceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.PresenceLevel) input.ReadEnum(); + break; + } + case 32: { + ModeratorMute = input.ReadBool(); + break; + } + case 40: { + WhisperLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.WhisperLevel) input.ReadEnum(); + break; + } + case 50: { + Note = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMemberId.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMemberId.cs new file mode 100644 index 0000000000..9b4ef56d61 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMemberId.cs @@ -0,0 +1,301 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_member_id.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_member_id.proto + public static partial class ClubMemberIdReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_member_id.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubMemberIdReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZiZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlcl9pZC5wcm90bxIUYmdz", + "LnByb3RvY29sLmNsdWIudjEaOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9l", + "eHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxolYmdzL2xvdy9wYi9j", + "bGllbnQvYWNjb3VudF90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQv", + "cnBjX3R5cGVzLnByb3RvIl0KCE1lbWJlcklkEjYKCmFjY291bnRfaWQYASAB", + "KAsyIi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50SWQSEQoJdW5p", + "cXVlX2lkGAIgASgEOgaC+SsCCAFCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId.Parser, new[]{ "AccountId", "UniqueId" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberIdReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberId(MemberId other) : this() { + _hasBits0 = other._hasBits0; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + uniqueId_ = other.uniqueId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberId Clone() { + return new MemberId(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "unique_id" field. + public const int UniqueIdFieldNumber = 2; + private readonly static ulong UniqueIdDefaultValue = 0UL; + + private ulong uniqueId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong UniqueId { + get { if ((_hasBits0 & 1) != 0) { return uniqueId_; } else { return UniqueIdDefaultValue; } } + set { + _hasBits0 |= 1; + uniqueId_ = value; + } + } + /// Gets whether the "unique_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUniqueId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "unique_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUniqueId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if (UniqueId != other.UniqueId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (HasUniqueId) hash ^= UniqueId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (HasUniqueId) { + output.WriteRawTag(16); + output.WriteUInt64(UniqueId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (HasUniqueId) { + output.WriteRawTag(16); + output.WriteUInt64(UniqueId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (HasUniqueId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UniqueId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberId other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.HasUniqueId) { + UniqueId = other.UniqueId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AccountId); + break; + } + case 16: { + UniqueId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AccountId); + break; + } + case 16: { + UniqueId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipListener.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipListener.cs new file mode 100644 index 0000000000..31af6aa6e1 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipListener.cs @@ -0,0 +1,2237 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_membership_listener.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership { + + /// Holder for reflection information generated from bgs/low/pb/client/club_membership_listener.proto + public static partial class ClubMembershipListenerReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_membership_listener.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubMembershipListenerReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjBiZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlcnNoaXBfbGlzdGVuZXIu", + "cHJvdG8SH2Jncy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNoaXAaImJncy9s", + "b3cvcGIvY2xpZW50L2NsdWJfdHlwZXMucHJvdG8ijgEKFUNsdWJBZGRlZE5v", + "dGlmaWNhdGlvbhIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5j", + "bHViLnYxLk1lbWJlcklkEkMKCm1lbWJlcnNoaXAYAyABKAsyLy5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5DbHViTWVtYmVyc2hpcERlc2NyaXB0aW9uIsgBChdD", + "bHViUmVtb3ZlZE5vdGlmaWNhdGlvbhIwCghhZ2VudF9pZBgBIAEoCzIeLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEjEKCW1lbWJlcl9pZBgDIAEo", + "CzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEg8KB2NsdWJfaWQY", + "BCABKAQSNwoGcmVhc29uGAUgASgOMicuYmdzLnByb3RvY29sLmNsdWIudjEu", + "Q2x1YlJlbW92ZWRSZWFzb24ikQEKI1JlY2VpdmVkSW52aXRhdGlvbkFkZGVk", + "Tm90aWZpY2F0aW9uEjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29s", + "LmNsdWIudjEuTWVtYmVySWQSOAoKaW52aXRhdGlvbhgDIAEoCzIkLmJncy5w", + "cm90b2NvbC5jbHViLnYxLkNsdWJJbnZpdGF0aW9uIqcBCiVSZWNlaXZlZElu", + "dml0YXRpb25SZW1vdmVkTm90aWZpY2F0aW9uEjAKCGFnZW50X2lkGAEgASgL", + "Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFQoNaW52aXRhdGlv", + "bl9pZBgDIAEoBhI1CgZyZWFzb24YBCABKA4yJS5iZ3MucHJvdG9jb2wuSW52", + "aXRhdGlvblJlbW92ZWRSZWFzb24ioQEKIVNoYXJlZFNldHRpbmdzQ2hhbmdl", + "ZE5vdGlmaWNhdGlvbhI0CghhZ2VudF9pZBgBIAEoCzIiLmJncy5wcm90b2Nv", + "bC5hY2NvdW50LnYxLkFjY291bnRJZBJGCgphc3NpZ25tZW50GAQgASgLMjIu", + "YmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlNoYXJlZFNldHRpbmdzQXNzaWdu", + "bWVudCKIAQoeU3RyZWFtTWVudGlvbkFkZGVkTm90aWZpY2F0aW9uEjAKCGFn", + "ZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQS", + "NAoHbWVudGlvbhgDIAEoCzIjLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVh", + "bU1lbnRpb24iiAEKIFN0cmVhbU1lbnRpb25SZW1vdmVkTm90aWZpY2F0aW9u", + "EjQKCGFnZW50X2lkGAEgASgLMiIuYmdzLnByb3RvY29sLmFjY291bnQudjEu", + "QWNjb3VudElkEi4KCm1lbnRpb25faWQYAyABKAsyGi5iZ3MucHJvdG9jb2wu", + "VGltZVNlcmllc0lkInMKKFN0cmVhbU1lbnRpb25BZHZhbmNlVmlld1RpbWVO", + "b3RpZmljYXRpb24SNAoIYWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wu", + "YWNjb3VudC52MS5BY2NvdW50SWQSEQoJdmlld190aW1lGAMgASgEMuEIChZD", + "bHViTWVtYmVyc2hpcExpc3RlbmVyEmoKC09uQ2x1YkFkZGVkEjYuYmdzLnBy", + "b3RvY29sLmNsdWIudjEubWVtYmVyc2hpcC5DbHViQWRkZWROb3RpZmljYXRp", + "b24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiCIL5KwQIARgBEm4KDU9u", + "Q2x1YlJlbW92ZWQSOC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1iZXJzaGlw", + "LkNsdWJSZW1vdmVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JF", + "U1BPTlNFIgiC+SsECAIYARKGAQoZT25SZWNlaXZlZEludml0YXRpb25BZGRl", + "ZBJELmJncy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNoaXAuUmVjZWl2ZWRJ", + "bnZpdGF0aW9uQWRkZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9f", + "UkVTUE9OU0UiCIL5KwQIAxgBEooBChtPblJlY2VpdmVkSW52aXRhdGlvblJl", + "bW92ZWQSRi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1iZXJzaGlwLlJlY2Vp", + "dmVkSW52aXRhdGlvblJlbW92ZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9j", + "b2wuTk9fUkVTUE9OU0UiCIL5KwQIBBgBEoIBChdPblNoYXJlZFNldHRpbmdz", + "Q2hhbmdlZBJCLmJncy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNoaXAuU2hh", + "cmVkU2V0dGluZ3NDaGFuZ2VkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29s", + "Lk5PX1JFU1BPTlNFIgiC+SsECAUYARJ8ChRPblN0cmVhbU1lbnRpb25BZGRl", + "ZBI/LmJncy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNoaXAuU3RyZWFtTWVu", + "dGlvbkFkZGVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BP", + "TlNFIgiC+SsECAYYARKAAQoWT25TdHJlYW1NZW50aW9uUmVtb3ZlZBJBLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNoaXAuU3RyZWFtTWVudGlvblJl", + "bW92ZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0Ui", + "CIL5KwQIBxgBEpABCh5PblN0cmVhbU1lbnRpb25BZHZhbmNlVmlld1RpbWUS", + "SS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1iZXJzaGlwLlN0cmVhbU1lbnRp", + "b25BZHZhbmNlVmlld1RpbWVOb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wu", + "Tk9fUkVTUE9OU0UiCIL5KwQICBgBGjyC+SswCixibmV0LnByb3RvY29sLmNs", + "dWIudjEuQ2x1Yk1lbWJlcnNoaXBMaXN0ZW5lcjgBivkrBAgBGAFCBUgBgAEA")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubAddedNotification.Parser, new[]{ "AgentId", "Membership" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubRemovedNotification.Parser, new[]{ "AgentId", "MemberId", "ClubId", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ReceivedInvitationAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ReceivedInvitationAddedNotification.Parser, new[]{ "AgentId", "Invitation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ReceivedInvitationRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ReceivedInvitationRemovedNotification.Parser, new[]{ "AgentId", "InvitationId", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.SharedSettingsChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.SharedSettingsChangedNotification.Parser, new[]{ "AgentId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.StreamMentionAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.StreamMentionAddedNotification.Parser, new[]{ "AgentId", "Mention" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.StreamMentionRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.StreamMentionRemovedNotification.Parser, new[]{ "AgentId", "MentionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.StreamMentionAdvanceViewTimeNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.StreamMentionAdvanceViewTimeNotification.Parser, new[]{ "AgentId", "ViewTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubAddedNotification(ClubAddedNotification other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + membership_ = other.membership_ != null ? other.membership_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubAddedNotification Clone() { + return new ClubAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "membership" field. + public const int MembershipFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription membership_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription Membership { + get { return membership_; } + set { + membership_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Membership, other.Membership)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (membership_ != null) hash ^= Membership.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (membership_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Membership); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (membership_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Membership); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (membership_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Membership); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.membership_ != null) { + if (membership_ == null) { + Membership = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription(); + } + Membership.MergeFrom(other.Membership); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (membership_ == null) { + Membership = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription(); + } + input.ReadMessage(Membership); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (membership_ == null) { + Membership = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription(); + } + input.ReadMessage(Membership); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRemovedNotification(ClubRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + clubId_ = other.clubId_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRemovedNotification Clone() { + return new ClubRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 4; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason ReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason Reason { + get { if ((_hasBits0 & 2) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 2; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(MemberId, other.MemberId)) return false; + if (ClubId != other.ClubId) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (memberId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MemberId); + } + if (HasClubId) { + output.WriteRawTag(32); + output.WriteUInt64(ClubId); + } + if (HasReason) { + output.WriteRawTag(40); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (memberId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MemberId); + } + if (HasClubId) { + output.WriteRawTag(32); + output.WriteUInt64(ClubId); + } + if (HasReason) { + output.WriteRawTag(40); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 32: { + ClubId = input.ReadUInt64(); + break; + } + case 40: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 32: { + ClubId = input.ReadUInt64(); + break; + } + case 40: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRemovedReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReceivedInvitationAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReceivedInvitationAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitationAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitationAddedNotification(ReceivedInvitationAddedNotification other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + invitation_ = other.invitation_ != null ? other.invitation_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitationAddedNotification Clone() { + return new ReceivedInvitationAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation invitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation Invitation { + get { return invitation_; } + set { + invitation_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReceivedInvitationAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReceivedInvitationAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Invitation, other.Invitation)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (invitation_ != null) hash ^= Invitation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (invitation_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (invitation_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (invitation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReceivedInvitationAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.invitation_ != null) { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + Invitation.MergeFrom(other.Invitation); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReceivedInvitationRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReceivedInvitationRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitationRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitationRemovedNotification(ReceivedInvitationRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + invitationId_ = other.invitationId_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitationRemovedNotification Clone() { + return new ReceivedInvitationRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 1) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 1; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~1; + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason ReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason.Accepted; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason Reason { + get { if ((_hasBits0 & 2) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 2; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReceivedInvitationRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReceivedInvitationRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (InvitationId != other.InvitationId) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (HasReason) { + output.WriteRawTag(32); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (HasReason) { + output.WriteRawTag(32); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReceivedInvitationRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + case 32: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + case 32: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SharedSettingsChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SharedSettingsChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SharedSettingsChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SharedSettingsChangedNotification(SharedSettingsChangedNotification other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + assignment_ = other.assignment_ != null ? other.assignment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SharedSettingsChangedNotification Clone() { + return new SharedSettingsChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment assignment_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment Assignment { + get { return assignment_; } + set { + assignment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SharedSettingsChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SharedSettingsChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Assignment, other.Assignment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (assignment_ != null) hash ^= Assignment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (assignment_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (assignment_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (assignment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Assignment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SharedSettingsChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.assignment_ != null) { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment(); + } + Assignment.MergeFrom(other.Assignment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 34: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 34: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMentionAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMentionAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionAddedNotification(StreamMentionAddedNotification other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + mention_ = other.mention_ != null ? other.mention_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionAddedNotification Clone() { + return new StreamMentionAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "mention" field. + public const int MentionFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention mention_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention Mention { + get { return mention_; } + set { + mention_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMentionAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMentionAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Mention, other.Mention)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (mention_ != null) hash ^= Mention.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (mention_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Mention); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (mention_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Mention); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (mention_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Mention); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMentionAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.mention_ != null) { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention(); + } + Mention.MergeFrom(other.Mention); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention(); + } + input.ReadMessage(Mention); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention(); + } + input.ReadMessage(Mention); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMentionRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMentionRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionRemovedNotification(StreamMentionRemovedNotification other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + mentionId_ = other.mentionId_ != null ? other.mentionId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionRemovedNotification Clone() { + return new StreamMentionRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "mention_id" field. + public const int MentionIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId mentionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId MentionId { + get { return mentionId_; } + set { + mentionId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMentionRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMentionRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(MentionId, other.MentionId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (mentionId_ != null) hash ^= MentionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (mentionId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MentionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (mentionId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MentionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (mentionId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MentionId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMentionRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.mentionId_ != null) { + if (mentionId_ == null) { + MentionId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId(); + } + MentionId.MergeFrom(other.MentionId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (mentionId_ == null) { + MentionId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId(); + } + input.ReadMessage(MentionId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + if (mentionId_ == null) { + MentionId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId(); + } + input.ReadMessage(MentionId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMentionAdvanceViewTimeNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMentionAdvanceViewTimeNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipListenerReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionAdvanceViewTimeNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionAdvanceViewTimeNotification(StreamMentionAdvanceViewTimeNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + viewTime_ = other.viewTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionAdvanceViewTimeNotification Clone() { + return new StreamMentionAdvanceViewTimeNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "view_time" field. + public const int ViewTimeFieldNumber = 3; + private readonly static ulong ViewTimeDefaultValue = 0UL; + + private ulong viewTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ViewTime { + get { if ((_hasBits0 & 1) != 0) { return viewTime_; } else { return ViewTimeDefaultValue; } } + set { + _hasBits0 |= 1; + viewTime_ = value; + } + } + /// Gets whether the "view_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasViewTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "view_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearViewTime() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMentionAdvanceViewTimeNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMentionAdvanceViewTimeNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ViewTime != other.ViewTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasViewTime) hash ^= ViewTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasViewTime) { + output.WriteRawTag(24); + output.WriteUInt64(ViewTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasViewTime) { + output.WriteRawTag(24); + output.WriteUInt64(ViewTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasViewTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ViewTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMentionAdvanceViewTimeNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasViewTime) { + ViewTime = other.ViewTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ViewTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ViewTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipService.cs new file mode 100644 index 0000000000..cfd44b2390 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipService.cs @@ -0,0 +1,2391 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_membership_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership { + + /// Holder for reflection information generated from bgs/low/pb/client/club_membership_service.proto + public static partial class ClubMembershipServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_membership_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubMembershipServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci9iZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlcnNoaXBfc2VydmljZS5w", + "cm90bxIfYmdzLnByb3RvY29sLmNsdWIudjEubWVtYmVyc2hpcBoiYmdzL2xv", + "dy9wYi9jbGllbnQvY2x1Yl90eXBlcy5wcm90bxojYmdzL2xvdy9wYi9jbGll", + "bnQvY2x1Yl9zdHJlYW0ucHJvdG8ilwEKEFN1YnNjcmliZVJlcXVlc3QSPAoI", + "YWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2Nv", + "dW50SWRCBoL5KwIQARJFCgdvcHRpb25zGAIgASgLMjQuYmdzLnByb3RvY29s", + "LmNsdWIudjEuQ2x1Yk1lbWJlcnNoaXBTdWJzY3JpYmVPcHRpb25zIk0KEVN1", + "YnNjcmliZVJlc3BvbnNlEjgKBXN0YXRlGAEgASgLMikuYmdzLnByb3RvY29s", + "LmNsdWIudjEuQ2x1Yk1lbWJlcnNoaXBTdGF0ZSJSChJVbnN1YnNjcmliZVJl", + "cXVlc3QSPAoIYWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wuYWNjb3Vu", + "dC52MS5BY2NvdW50SWRCBoL5KwIQASKVAQoPR2V0U3RhdGVSZXF1ZXN0EjwK", + "CGFnZW50X2lkGAEgASgLMiIuYmdzLnByb3RvY29sLmFjY291bnQudjEuQWNj", + "b3VudElkQgaC+SsCEAESRAoHb3B0aW9ucxgCIAEoCzIzLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLkNsdWJNZW1iZXJzaGlwR2V0U3RhdGVPcHRpb25zIkwKEEdl", + "dFN0YXRlUmVzcG9uc2USOAoFc3RhdGUYASABKAsyKS5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5DbHViTWVtYmVyc2hpcFN0YXRlIqEBCh9VcGRhdGVDbHViU2hh", + "cmVkU2V0dGluZ3NSZXF1ZXN0EjwKCGFnZW50X2lkGAEgASgLMiIuYmdzLnBy", + "b3RvY29sLmFjY291bnQudjEuQWNjb3VudElkQgaC+SsCEAESQAoHb3B0aW9u", + "cxgCIAEoCzIvLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJTaGFyZWRTZXR0", + "aW5nc09wdGlvbnMioAEKGEdldFN0cmVhbU1lbnRpb25zUmVxdWVzdBI8Cghh", + "Z2VudF9pZBgBIAEoCzIiLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291", + "bnRJZEIGgvkrAhABEi4KB29wdGlvbnMYAiABKAsyHS5iZ3MucHJvdG9jb2wu", + "R2V0RXZlbnRPcHRpb25zEhYKDmZldGNoX21lc3NhZ2VzGAMgASgIImcKGUdl", + "dFN0cmVhbU1lbnRpb25zUmVzcG9uc2USNAoHbWVudGlvbhgBIAMoCzIjLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbU1lbnRpb24SFAoMY29udGludWF0", + "aW9uGAIgASgEIosBChtSZW1vdmVTdHJlYW1NZW50aW9uc1JlcXVlc3QSPAoI", + "YWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2Nv", + "dW50SWRCBoL5KwIQARIuCgptZW50aW9uX2lkGAIgAygLMhouYmdzLnByb3Rv", + "Y29sLlRpbWVTZXJpZXNJZCJjCiNBZHZhbmNlU3RyZWFtTWVudGlvblZpZXdU", + "aW1lUmVxdWVzdBI8CghhZ2VudF9pZBgBIAEoCzIiLmJncy5wcm90b2NvbC5h", + "Y2NvdW50LnYxLkFjY291bnRJZEIGgvkrAhABMsoHChVDbHViTWVtYmVyc2hp", + "cFNlcnZpY2USegoJU3Vic2NyaWJlEjEuYmdzLnByb3RvY29sLmNsdWIudjEu", + "bWVtYmVyc2hpcC5TdWJzY3JpYmVSZXF1ZXN0GjIuYmdzLnByb3RvY29sLmNs", + "dWIudjEubWVtYmVyc2hpcC5TdWJzY3JpYmVSZXNwb25zZSIGgvkrAggBEmAK", + "C1Vuc3Vic2NyaWJlEjMuYmdzLnByb3RvY29sLmNsdWIudjEubWVtYmVyc2hp", + "cC5VbnN1YnNjcmliZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC", + "+SsCCAISeQoIR2V0U3RhdGUSMC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1i", + "ZXJzaGlwLkdldFN0YXRlUmVxdWVzdBoxLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lm1lbWJlcnNoaXAuR2V0U3RhdGVSZXNwb25zZSIIgvkrBAgDMAESegoYVXBk", + "YXRlQ2x1YlNoYXJlZFNldHRpbmdzEkAuYmdzLnByb3RvY29sLmNsdWIudjEu", + "bWVtYmVyc2hpcC5VcGRhdGVDbHViU2hhcmVkU2V0dGluZ3NSZXF1ZXN0GhQu", + "YmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAggEEpQBChFHZXRTdHJlYW1NZW50", + "aW9ucxI5LmJncy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNoaXAuR2V0U3Ry", + "ZWFtTWVudGlvbnNSZXF1ZXN0GjouYmdzLnByb3RvY29sLmNsdWIudjEubWVt", + "YmVyc2hpcC5HZXRTdHJlYW1NZW50aW9uc1Jlc3BvbnNlIgiC+SsECAUwARJy", + "ChRSZW1vdmVTdHJlYW1NZW50aW9ucxI8LmJncy5wcm90b2NvbC5jbHViLnYx", + "Lm1lbWJlcnNoaXAuUmVtb3ZlU3RyZWFtTWVudGlvbnNSZXF1ZXN0GhQuYmdz", + "LnByb3RvY29sLk5vRGF0YSIGgvkrAggGEoIBChxBZHZhbmNlU3RyZWFtTWVu", + "dGlvblZpZXdUaW1lEkQuYmdzLnByb3RvY29sLmNsdWIudjEubWVtYmVyc2hp", + "cC5BZHZhbmNlU3RyZWFtTWVudGlvblZpZXdUaW1lUmVxdWVzdBoULmJncy5w", + "cm90b2NvbC5Ob0RhdGEiBoL5KwIIBxpMgvkrQAorYm5ldC5wcm90b2NvbC5j", + "bHViLnYxLkNsdWJNZW1iZXJzaGlwU2VydmljZSoPY2x1Yl9tZW1iZXJzaGlw", + "SAGK+SsEEAEYAUIFSAGAAQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.SubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.SubscribeRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.SubscribeResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.SubscribeResponse.Parser, new[]{ "State" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.UnsubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.UnsubscribeRequest.Parser, new[]{ "AgentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStateRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStateResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStateResponse.Parser, new[]{ "State" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.UpdateClubSharedSettingsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.UpdateClubSharedSettingsRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStreamMentionsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStreamMentionsRequest.Parser, new[]{ "AgentId", "Options", "FetchMessages" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStreamMentionsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.GetStreamMentionsResponse.Parser, new[]{ "Mention", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.RemoveStreamMentionsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.RemoveStreamMentionsRequest.Parser, new[]{ "AgentId", "MentionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.AdvanceStreamMentionViewTimeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.AdvanceStreamMentionViewTimeRequest.Parser, new[]{ "AgentId" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest(SubscribeRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest Clone() { + return new SubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse(SubscribeResponse other) : this() { + state_ = other.state_ != null ? other.state_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse Clone() { + return new SubscribeResponse(this); + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState State { + get { return state_; } + set { + state_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(State, other.State)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (state_ != null) hash ^= State.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeResponse other) { + if (other == null) { + return; + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState(); + } + State.MergeFrom(other.State); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState(); + } + input.ReadMessage(State); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState(); + } + input.ReadMessage(State); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest(UnsubscribeRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest Clone() { + return new UnsubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStateRequest(GetStateRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStateRequest Clone() { + return new GetStateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStateResponse(GetStateResponse other) : this() { + state_ = other.state_ != null ? other.state_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStateResponse Clone() { + return new GetStateResponse(this); + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState State { + get { return state_; } + set { + state_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(State, other.State)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (state_ != null) hash ^= State.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (state_ != null) { + output.WriteRawTag(10); + output.WriteMessage(State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStateResponse other) { + if (other == null) { + return; + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState(); + } + State.MergeFrom(other.State); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState(); + } + input.ReadMessage(State); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState(); + } + input.ReadMessage(State); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateClubSharedSettingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateClubSharedSettingsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubSharedSettingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubSharedSettingsRequest(UpdateClubSharedSettingsRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubSharedSettingsRequest Clone() { + return new UpdateClubSharedSettingsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateClubSharedSettingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateClubSharedSettingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateClubSharedSettingsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamMentionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamMentionsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMentionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMentionsRequest(GetStreamMentionsRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + fetchMessages_ = other.fetchMessages_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMentionsRequest Clone() { + return new GetStreamMentionsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + /// Field number for the "fetch_messages" field. + public const int FetchMessagesFieldNumber = 3; + private readonly static bool FetchMessagesDefaultValue = false; + + private bool fetchMessages_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FetchMessages { + get { if ((_hasBits0 & 1) != 0) { return fetchMessages_; } else { return FetchMessagesDefaultValue; } } + set { + _hasBits0 |= 1; + fetchMessages_ = value; + } + } + /// Gets whether the "fetch_messages" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchMessages { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "fetch_messages" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchMessages() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamMentionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamMentionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Options, other.Options)) return false; + if (FetchMessages != other.FetchMessages) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (HasFetchMessages) hash ^= FetchMessages.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (HasFetchMessages) { + output.WriteRawTag(24); + output.WriteBool(FetchMessages); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (HasFetchMessages) { + output.WriteRawTag(24); + output.WriteBool(FetchMessages); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (HasFetchMessages) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamMentionsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + Options.MergeFrom(other.Options); + } + if (other.HasFetchMessages) { + FetchMessages = other.FetchMessages; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + input.ReadMessage(Options); + break; + } + case 24: { + FetchMessages = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + input.ReadMessage(Options); + break; + } + case 24: { + FetchMessages = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamMentionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamMentionsResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMentionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMentionsResponse(GetStreamMentionsResponse other) : this() { + _hasBits0 = other._hasBits0; + mention_ = other.mention_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMentionsResponse Clone() { + return new GetStreamMentionsResponse(this); + } + + /// Field number for the "mention" field. + public const int MentionFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_mention_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention.Parser); + private readonly pbc::RepeatedField mention_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Mention { + get { return mention_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamMentionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamMentionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!mention_.Equals(other.mention_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= mention_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + mention_.WriteTo(output, _repeated_mention_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + mention_.WriteTo(ref output, _repeated_mention_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += mention_.CalculateSize(_repeated_mention_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamMentionsResponse other) { + if (other == null) { + return; + } + mention_.Add(other.mention_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + mention_.AddEntriesFrom(input, _repeated_mention_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + mention_.AddEntriesFrom(ref input, _repeated_mention_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RemoveStreamMentionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveStreamMentionsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveStreamMentionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveStreamMentionsRequest(RemoveStreamMentionsRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + mentionId_ = other.mentionId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveStreamMentionsRequest Clone() { + return new RemoveStreamMentionsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "mention_id" field. + public const int MentionIdFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_mentionId_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId.Parser); + private readonly pbc::RepeatedField mentionId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField MentionId { + get { return mentionId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RemoveStreamMentionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RemoveStreamMentionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if(!mentionId_.Equals(other.mentionId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + hash ^= mentionId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + mentionId_.WriteTo(output, _repeated_mentionId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + mentionId_.WriteTo(ref output, _repeated_mentionId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + size += mentionId_.CalculateSize(_repeated_mentionId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RemoveStreamMentionsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + mentionId_.Add(other.mentionId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + mentionId_.AddEntriesFrom(input, _repeated_mentionId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + mentionId_.AddEntriesFrom(ref input, _repeated_mentionId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AdvanceStreamMentionViewTimeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdvanceStreamMentionViewTimeRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamMentionViewTimeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamMentionViewTimeRequest(AdvanceStreamMentionViewTimeRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamMentionViewTimeRequest Clone() { + return new AdvanceStreamMentionViewTimeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AdvanceStreamMentionViewTimeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AdvanceStreamMentionViewTimeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AdvanceStreamMentionViewTimeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipTypes.cs new file mode 100644 index 0000000000..d1003a9f87 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubMembershipTypes.cs @@ -0,0 +1,2002 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_membership_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_membership_types.proto + public static partial class ClubMembershipTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_membership_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubMembershipTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci1iZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlcnNoaXBfdHlwZXMucHJv", + "dG8SFGJncy5wcm90b2NvbC5jbHViLnYxGiFiZ3MvbG93L3BiL2NsaWVudC9j", + "bHViX2NvcmUucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L2NsdWJfdHlwZS5w", + "cm90bxojYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9tZW1iZXIucHJvdG8aJ2Jn", + "cy9sb3cvcGIvY2xpZW50L2NsdWJfaW52aXRhdGlvbi5wcm90bxooYmdzL2xv", + "dy9wYi9jbGllbnQvZXZlbnRfdmlld190eXBlcy5wcm90bxohYmdzL2xvdy9w", + "Yi9jbGllbnQvcnBjX3R5cGVzLnByb3RvIn0KFENsdWJNZW1iZXJzaGlwRmls", + "dGVyEjEKCW1lbWJlcl9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlcklkEjIKBHR5cGUYAiABKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5VbmlxdWVDbHViVHlwZSJqCh5DbHViTWVtYmVyc2hpcFN1YnNjcmliZU9w", + "dGlvbnMSSAoGZmlsdGVyGAEgAygLMiouYmdzLnByb3RvY29sLmNsdWIudjEu", + "Q2x1Yk1lbWJlcnNoaXBGaWx0ZXJCDIr5KwgqBgoECAAQGSJpCh1DbHViTWVt", + "YmVyc2hpcEdldFN0YXRlT3B0aW9ucxJICgZmaWx0ZXIYASADKAsyKi5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5DbHViTWVtYmVyc2hpcEZpbHRlckIMivkrCCoG", + "CgQIABAZIoMBChlDbHViTWVtYmVyc2hpcERlc2NyaXB0aW9uEjEKCW1lbWJl", + "cl9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEjMK", + "BGNsdWIYAiABKAsyJS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViRGVzY3Jp", + "cHRpb24igAIKE0NsdWJNZW1iZXJzaGlwU3RhdGUSRAoLZGVzY3JpcHRpb24Y", + "ASADKAsyLy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViTWVtYmVyc2hpcERl", + "c2NyaXB0aW9uEjgKCmludml0YXRpb24YAiADKAsyJC5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5DbHViSW52aXRhdGlvbhI5CgdzZXR0aW5nGAMgASgLMiguYmdz", + "LnByb3RvY29sLmNsdWIudjEuQ2x1YlNoYXJlZFNldHRpbmdzEi4KDG1lbnRp", + "b25fdmlldxgEIAEoCzIYLmJncy5wcm90b2NvbC5WaWV3TWFya2VyIiMKDENs", + "dWJQb3NpdGlvbhITCgdjbHViX2lkGAEgAygEQgIQASJPChJDbHViU2hhcmVk", + "U2V0dGluZ3MSOQoNY2x1Yl9wb3NpdGlvbhgBIAEoCzIiLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLkNsdWJQb3NpdGlvbiJWChlDbHViU2hhcmVkU2V0dGluZ3NP", + "cHRpb25zEjkKDWNsdWJfcG9zaXRpb24YASABKAsyIi5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5DbHViUG9zaXRpb24iWQocQ2x1YlNoYXJlZFNldHRpbmdzQXNz", + "aWdubWVudBI5Cg1jbHViX3Bvc2l0aW9uGAEgASgLMiIuYmdzLnByb3RvY29s", + "LmNsdWIudjEuQ2x1YlBvc2l0aW9uQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventViewTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipFilter), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipFilter.Parser, new[]{ "MemberId", "Type" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions.Parser, new[]{ "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions.Parser, new[]{ "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription.Parser, new[]{ "MemberId", "Club" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipState.Parser, new[]{ "Description", "Invitation", "Setting", "MentionView" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition.Parser, new[]{ "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings.Parser, new[]{ "ClubPosition" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsOptions.Parser, new[]{ "ClubPosition" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettingsAssignment.Parser, new[]{ "ClubPosition" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubMembershipFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMembershipFilter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipFilter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipFilter(ClubMembershipFilter other) : this() { + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + type_ = other.type_ != null ? other.type_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipFilter Clone() { + return new ClubMembershipFilter(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType Type { + get { return type_; } + set { + type_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubMembershipFilter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubMembershipFilter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if (!object.Equals(Type, other.Type)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (type_ != null) hash ^= Type.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (type_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubMembershipFilter other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.type_ != null) { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + Type.MergeFrom(other.Type); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubMembershipSubscribeOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMembershipSubscribeOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipSubscribeOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipSubscribeOptions(ClubMembershipSubscribeOptions other) : this() { + filter_ = other.filter_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipSubscribeOptions Clone() { + return new ClubMembershipSubscribeOptions(this); + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_filter_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipFilter.Parser); + private readonly pbc::RepeatedField filter_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Filter { + get { return filter_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubMembershipSubscribeOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubMembershipSubscribeOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!filter_.Equals(other.filter_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= filter_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + filter_.WriteTo(output, _repeated_filter_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + filter_.WriteTo(ref output, _repeated_filter_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += filter_.CalculateSize(_repeated_filter_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubMembershipSubscribeOptions other) { + if (other == null) { + return; + } + filter_.Add(other.filter_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + filter_.AddEntriesFrom(input, _repeated_filter_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + filter_.AddEntriesFrom(ref input, _repeated_filter_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubMembershipGetStateOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMembershipGetStateOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipGetStateOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipGetStateOptions(ClubMembershipGetStateOptions other) : this() { + filter_ = other.filter_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipGetStateOptions Clone() { + return new ClubMembershipGetStateOptions(this); + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_filter_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipFilter.Parser); + private readonly pbc::RepeatedField filter_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Filter { + get { return filter_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubMembershipGetStateOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubMembershipGetStateOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!filter_.Equals(other.filter_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= filter_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + filter_.WriteTo(output, _repeated_filter_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + filter_.WriteTo(ref output, _repeated_filter_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += filter_.CalculateSize(_repeated_filter_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubMembershipGetStateOptions other) { + if (other == null) { + return; + } + filter_.Add(other.filter_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + filter_.AddEntriesFrom(input, _repeated_filter_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + filter_.AddEntriesFrom(ref input, _repeated_filter_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubMembershipDescription : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMembershipDescription()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipDescription() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipDescription(ClubMembershipDescription other) : this() { + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + club_ = other.club_ != null ? other.club_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipDescription Clone() { + return new ClubMembershipDescription(this); + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "club" field. + public const int ClubFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription club_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription Club { + get { return club_; } + set { + club_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubMembershipDescription); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubMembershipDescription other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MemberId, other.MemberId)) return false; + if (!object.Equals(Club, other.Club)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (club_ != null) hash ^= Club.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (club_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Club); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (memberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(MemberId); + } + if (club_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Club); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (club_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Club); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubMembershipDescription other) { + if (other == null) { + return; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.club_ != null) { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + Club.MergeFrom(other.Club); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 18: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubMembershipState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMembershipState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipState(ClubMembershipState other) : this() { + description_ = other.description_.Clone(); + invitation_ = other.invitation_.Clone(); + setting_ = other.setting_ != null ? other.setting_.Clone() : null; + mentionView_ = other.mentionView_ != null ? other.mentionView_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMembershipState Clone() { + return new ClubMembershipState(this); + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_description_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipDescription.Parser); + private readonly pbc::RepeatedField description_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Description { + get { return description_; } + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_invitation_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation.Parser); + private readonly pbc::RepeatedField invitation_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Invitation { + get { return invitation_; } + } + + /// Field number for the "setting" field. + public const int SettingFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings setting_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings Setting { + get { return setting_; } + set { + setting_ = value; + } + } + + /// Field number for the "mention_view" field. + public const int MentionViewFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker mentionView_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker MentionView { + get { return mentionView_; } + set { + mentionView_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubMembershipState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubMembershipState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!description_.Equals(other.description_)) return false; + if(!invitation_.Equals(other.invitation_)) return false; + if (!object.Equals(Setting, other.Setting)) return false; + if (!object.Equals(MentionView, other.MentionView)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= description_.GetHashCode(); + hash ^= invitation_.GetHashCode(); + if (setting_ != null) hash ^= Setting.GetHashCode(); + if (mentionView_ != null) hash ^= MentionView.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + description_.WriteTo(output, _repeated_description_codec); + invitation_.WriteTo(output, _repeated_invitation_codec); + if (setting_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Setting); + } + if (mentionView_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MentionView); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + description_.WriteTo(ref output, _repeated_description_codec); + invitation_.WriteTo(ref output, _repeated_invitation_codec); + if (setting_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Setting); + } + if (mentionView_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MentionView); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += description_.CalculateSize(_repeated_description_codec); + size += invitation_.CalculateSize(_repeated_invitation_codec); + if (setting_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Setting); + } + if (mentionView_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MentionView); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubMembershipState other) { + if (other == null) { + return; + } + description_.Add(other.description_); + invitation_.Add(other.invitation_); + if (other.setting_ != null) { + if (setting_ == null) { + Setting = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings(); + } + Setting.MergeFrom(other.Setting); + } + if (other.mentionView_ != null) { + if (mentionView_ == null) { + MentionView = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + MentionView.MergeFrom(other.MentionView); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + description_.AddEntriesFrom(input, _repeated_description_codec); + break; + } + case 18: { + invitation_.AddEntriesFrom(input, _repeated_invitation_codec); + break; + } + case 26: { + if (setting_ == null) { + Setting = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings(); + } + input.ReadMessage(Setting); + break; + } + case 34: { + if (mentionView_ == null) { + MentionView = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(MentionView); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + description_.AddEntriesFrom(ref input, _repeated_description_codec); + break; + } + case 18: { + invitation_.AddEntriesFrom(ref input, _repeated_invitation_codec); + break; + } + case 26: { + if (setting_ == null) { + Setting = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSharedSettings(); + } + input.ReadMessage(Setting); + break; + } + case 34: { + if (mentionView_ == null) { + MentionView = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(MentionView); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubPosition : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubPosition()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubPosition() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubPosition(ClubPosition other) : this() { + clubId_ = other.clubId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubPosition Clone() { + return new ClubPosition(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_clubId_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField clubId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ClubId { + get { return clubId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubPosition); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubPosition other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!clubId_.Equals(other.clubId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= clubId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + clubId_.WriteTo(output, _repeated_clubId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + clubId_.WriteTo(ref output, _repeated_clubId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += clubId_.CalculateSize(_repeated_clubId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubPosition other) { + if (other == null) { + return; + } + clubId_.Add(other.clubId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + clubId_.AddEntriesFrom(input, _repeated_clubId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + clubId_.AddEntriesFrom(ref input, _repeated_clubId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSharedSettings : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSharedSettings()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettings() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettings(ClubSharedSettings other) : this() { + clubPosition_ = other.clubPosition_ != null ? other.clubPosition_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettings Clone() { + return new ClubSharedSettings(this); + } + + /// Field number for the "club_position" field. + public const int ClubPositionFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition clubPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition ClubPosition { + get { return clubPosition_; } + set { + clubPosition_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSharedSettings); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSharedSettings other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ClubPosition, other.ClubPosition)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (clubPosition_ != null) hash ^= ClubPosition.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (clubPosition_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClubPosition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (clubPosition_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClubPosition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (clubPosition_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubPosition); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSharedSettings other) { + if (other == null) { + return; + } + if (other.clubPosition_ != null) { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + ClubPosition.MergeFrom(other.ClubPosition); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + input.ReadMessage(ClubPosition); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + input.ReadMessage(ClubPosition); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSharedSettingsOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSharedSettingsOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettingsOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettingsOptions(ClubSharedSettingsOptions other) : this() { + clubPosition_ = other.clubPosition_ != null ? other.clubPosition_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettingsOptions Clone() { + return new ClubSharedSettingsOptions(this); + } + + /// Field number for the "club_position" field. + public const int ClubPositionFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition clubPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition ClubPosition { + get { return clubPosition_; } + set { + clubPosition_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSharedSettingsOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSharedSettingsOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ClubPosition, other.ClubPosition)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (clubPosition_ != null) hash ^= ClubPosition.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (clubPosition_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClubPosition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (clubPosition_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClubPosition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (clubPosition_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubPosition); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSharedSettingsOptions other) { + if (other == null) { + return; + } + if (other.clubPosition_ != null) { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + ClubPosition.MergeFrom(other.ClubPosition); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + input.ReadMessage(ClubPosition); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + input.ReadMessage(ClubPosition); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSharedSettingsAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSharedSettingsAssignment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettingsAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettingsAssignment(ClubSharedSettingsAssignment other) : this() { + clubPosition_ = other.clubPosition_ != null ? other.clubPosition_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSharedSettingsAssignment Clone() { + return new ClubSharedSettingsAssignment(this); + } + + /// Field number for the "club_position" field. + public const int ClubPositionFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition clubPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition ClubPosition { + get { return clubPosition_; } + set { + clubPosition_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSharedSettingsAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSharedSettingsAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ClubPosition, other.ClubPosition)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (clubPosition_ != null) hash ^= ClubPosition.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (clubPosition_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClubPosition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (clubPosition_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClubPosition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (clubPosition_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubPosition); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSharedSettingsAssignment other) { + if (other == null) { + return; + } + if (other.clubPosition_ != null) { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + ClubPosition.MergeFrom(other.ClubPosition); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + input.ReadMessage(ClubPosition); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (clubPosition_ == null) { + ClubPosition = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPosition(); + } + input.ReadMessage(ClubPosition); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubNameGenerator.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubNameGenerator.cs new file mode 100644 index 0000000000..95b7448dc9 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubNameGenerator.cs @@ -0,0 +1,1233 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_name_generator.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_name_generator.proto + public static partial class ClubNameGeneratorReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_name_generator.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubNameGeneratorReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CitiZ3MvbG93L3BiL2NsaWVudC9jbHViX25hbWVfZ2VuZXJhdG9yLnByb3Rv", + "EhRiZ3MucHJvdG9jb2wuY2x1Yi52MRohYmdzL2xvdy9wYi9jbGllbnQvY2x1", + "Yl90eXBlLnByb3RvIuYBChNOYW1lR2VuZXJhdG9yQ29uZmlnEjwKD25hbWVf", + "Z2VuZXJhdG9ycxgBIAMoCzIjLmJncy5wcm90b2NvbC5jbHViLnYxLk5hbWVH", + "ZW5lcmF0b3ISSQoTY2x1Yl90eXBlX3Njb3JlY2FyZBgCIAEoCzIsLmJncy5w", + "cm90b2NvbC5jbHViLnYxLk5hbWVHZW5lcmF0b3JTY29yZWNhcmQSRgoQbG9j", + "YWxlX3Njb3JlY2FyZBgDIAEoCzIsLmJncy5wcm90b2NvbC5jbHViLnYxLk5h", + "bWVHZW5lcmF0b3JTY29yZWNhcmQiiQEKFk5hbWVHZW5lcmF0b3JTY29yZWNh", + "cmQSEwoLaXNfcmVxdWlyZWQYASABKAgSEgoKZnVsbF9tYXRjaBgCIAEoDRIV", + "Cg1wYXJ0aWFsX21hdGNoGAMgASgNEhgKEHBhcnRpYWxfZmFsbGJhY2sYBCAB", + "KA0SFQoNZnVsbF9mYWxsYmFjaxgFIAEoDSKvAQoNTmFtZUdlbmVyYXRvchIN", + "CgVuYW1lcxgBIAMoCRJECgxyZXBsYWNlbWVudHMYAiADKAsyLi5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5OYW1lR2VuZXJhdG9yUmVwbGFjZW1lbnQSOAoKY2x1", + "Yl90eXBlcxgDIAMoCzIkLmJncy5wcm90b2NvbC5jbHViLnYxLlVuaXF1ZUNs", + "dWJUeXBlEg8KB2xvY2FsZXMYBCADKAkiNwoYTmFtZUdlbmVyYXRvclJlcGxh", + "Y2VtZW50EgoKAmlkGAEgASgJEg8KB29wdGlvbnMYAiADKAlCAkgBUAA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorConfig), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorConfig.Parser, new[]{ "NameGenerators", "ClubTypeScorecard", "LocaleScorecard" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard.Parser, new[]{ "IsRequired", "FullMatch", "PartialMatch", "PartialFallback", "FullFallback" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGenerator), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGenerator.Parser, new[]{ "Names", "Replacements", "ClubTypes", "Locales" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorReplacement), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorReplacement.Parser, new[]{ "Id", "Options" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NameGeneratorConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NameGeneratorConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNameGeneratorReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorConfig(NameGeneratorConfig other) : this() { + nameGenerators_ = other.nameGenerators_.Clone(); + clubTypeScorecard_ = other.clubTypeScorecard_ != null ? other.clubTypeScorecard_.Clone() : null; + localeScorecard_ = other.localeScorecard_ != null ? other.localeScorecard_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorConfig Clone() { + return new NameGeneratorConfig(this); + } + + /// Field number for the "name_generators" field. + public const int NameGeneratorsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_nameGenerators_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGenerator.Parser); + private readonly pbc::RepeatedField nameGenerators_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField NameGenerators { + get { return nameGenerators_; } + } + + /// Field number for the "club_type_scorecard" field. + public const int ClubTypeScorecardFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard clubTypeScorecard_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard ClubTypeScorecard { + get { return clubTypeScorecard_; } + set { + clubTypeScorecard_ = value; + } + } + + /// Field number for the "locale_scorecard" field. + public const int LocaleScorecardFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard localeScorecard_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard LocaleScorecard { + get { return localeScorecard_; } + set { + localeScorecard_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NameGeneratorConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NameGeneratorConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!nameGenerators_.Equals(other.nameGenerators_)) return false; + if (!object.Equals(ClubTypeScorecard, other.ClubTypeScorecard)) return false; + if (!object.Equals(LocaleScorecard, other.LocaleScorecard)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= nameGenerators_.GetHashCode(); + if (clubTypeScorecard_ != null) hash ^= ClubTypeScorecard.GetHashCode(); + if (localeScorecard_ != null) hash ^= LocaleScorecard.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + nameGenerators_.WriteTo(output, _repeated_nameGenerators_codec); + if (clubTypeScorecard_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClubTypeScorecard); + } + if (localeScorecard_ != null) { + output.WriteRawTag(26); + output.WriteMessage(LocaleScorecard); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + nameGenerators_.WriteTo(ref output, _repeated_nameGenerators_codec); + if (clubTypeScorecard_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClubTypeScorecard); + } + if (localeScorecard_ != null) { + output.WriteRawTag(26); + output.WriteMessage(LocaleScorecard); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += nameGenerators_.CalculateSize(_repeated_nameGenerators_codec); + if (clubTypeScorecard_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubTypeScorecard); + } + if (localeScorecard_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocaleScorecard); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NameGeneratorConfig other) { + if (other == null) { + return; + } + nameGenerators_.Add(other.nameGenerators_); + if (other.clubTypeScorecard_ != null) { + if (clubTypeScorecard_ == null) { + ClubTypeScorecard = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard(); + } + ClubTypeScorecard.MergeFrom(other.ClubTypeScorecard); + } + if (other.localeScorecard_ != null) { + if (localeScorecard_ == null) { + LocaleScorecard = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard(); + } + LocaleScorecard.MergeFrom(other.LocaleScorecard); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + nameGenerators_.AddEntriesFrom(input, _repeated_nameGenerators_codec); + break; + } + case 18: { + if (clubTypeScorecard_ == null) { + ClubTypeScorecard = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard(); + } + input.ReadMessage(ClubTypeScorecard); + break; + } + case 26: { + if (localeScorecard_ == null) { + LocaleScorecard = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard(); + } + input.ReadMessage(LocaleScorecard); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + nameGenerators_.AddEntriesFrom(ref input, _repeated_nameGenerators_codec); + break; + } + case 18: { + if (clubTypeScorecard_ == null) { + ClubTypeScorecard = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard(); + } + input.ReadMessage(ClubTypeScorecard); + break; + } + case 26: { + if (localeScorecard_ == null) { + LocaleScorecard = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorScorecard(); + } + input.ReadMessage(LocaleScorecard); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NameGeneratorScorecard : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NameGeneratorScorecard()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNameGeneratorReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorScorecard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorScorecard(NameGeneratorScorecard other) : this() { + _hasBits0 = other._hasBits0; + isRequired_ = other.isRequired_; + fullMatch_ = other.fullMatch_; + partialMatch_ = other.partialMatch_; + partialFallback_ = other.partialFallback_; + fullFallback_ = other.fullFallback_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorScorecard Clone() { + return new NameGeneratorScorecard(this); + } + + /// Field number for the "is_required" field. + public const int IsRequiredFieldNumber = 1; + private readonly static bool IsRequiredDefaultValue = false; + + private bool isRequired_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsRequired { + get { if ((_hasBits0 & 1) != 0) { return isRequired_; } else { return IsRequiredDefaultValue; } } + set { + _hasBits0 |= 1; + isRequired_ = value; + } + } + /// Gets whether the "is_required" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsRequired { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "is_required" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsRequired() { + _hasBits0 &= ~1; + } + + /// Field number for the "full_match" field. + public const int FullMatchFieldNumber = 2; + private readonly static uint FullMatchDefaultValue = 0; + + private uint fullMatch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FullMatch { + get { if ((_hasBits0 & 2) != 0) { return fullMatch_; } else { return FullMatchDefaultValue; } } + set { + _hasBits0 |= 2; + fullMatch_ = value; + } + } + /// Gets whether the "full_match" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFullMatch { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "full_match" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFullMatch() { + _hasBits0 &= ~2; + } + + /// Field number for the "partial_match" field. + public const int PartialMatchFieldNumber = 3; + private readonly static uint PartialMatchDefaultValue = 0; + + private uint partialMatch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PartialMatch { + get { if ((_hasBits0 & 4) != 0) { return partialMatch_; } else { return PartialMatchDefaultValue; } } + set { + _hasBits0 |= 4; + partialMatch_ = value; + } + } + /// Gets whether the "partial_match" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPartialMatch { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "partial_match" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPartialMatch() { + _hasBits0 &= ~4; + } + + /// Field number for the "partial_fallback" field. + public const int PartialFallbackFieldNumber = 4; + private readonly static uint PartialFallbackDefaultValue = 0; + + private uint partialFallback_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PartialFallback { + get { if ((_hasBits0 & 8) != 0) { return partialFallback_; } else { return PartialFallbackDefaultValue; } } + set { + _hasBits0 |= 8; + partialFallback_ = value; + } + } + /// Gets whether the "partial_fallback" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPartialFallback { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "partial_fallback" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPartialFallback() { + _hasBits0 &= ~8; + } + + /// Field number for the "full_fallback" field. + public const int FullFallbackFieldNumber = 5; + private readonly static uint FullFallbackDefaultValue = 0; + + private uint fullFallback_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FullFallback { + get { if ((_hasBits0 & 16) != 0) { return fullFallback_; } else { return FullFallbackDefaultValue; } } + set { + _hasBits0 |= 16; + fullFallback_ = value; + } + } + /// Gets whether the "full_fallback" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFullFallback { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "full_fallback" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFullFallback() { + _hasBits0 &= ~16; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NameGeneratorScorecard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NameGeneratorScorecard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsRequired != other.IsRequired) return false; + if (FullMatch != other.FullMatch) return false; + if (PartialMatch != other.PartialMatch) return false; + if (PartialFallback != other.PartialFallback) return false; + if (FullFallback != other.FullFallback) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsRequired) hash ^= IsRequired.GetHashCode(); + if (HasFullMatch) hash ^= FullMatch.GetHashCode(); + if (HasPartialMatch) hash ^= PartialMatch.GetHashCode(); + if (HasPartialFallback) hash ^= PartialFallback.GetHashCode(); + if (HasFullFallback) hash ^= FullFallback.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsRequired) { + output.WriteRawTag(8); + output.WriteBool(IsRequired); + } + if (HasFullMatch) { + output.WriteRawTag(16); + output.WriteUInt32(FullMatch); + } + if (HasPartialMatch) { + output.WriteRawTag(24); + output.WriteUInt32(PartialMatch); + } + if (HasPartialFallback) { + output.WriteRawTag(32); + output.WriteUInt32(PartialFallback); + } + if (HasFullFallback) { + output.WriteRawTag(40); + output.WriteUInt32(FullFallback); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsRequired) { + output.WriteRawTag(8); + output.WriteBool(IsRequired); + } + if (HasFullMatch) { + output.WriteRawTag(16); + output.WriteUInt32(FullMatch); + } + if (HasPartialMatch) { + output.WriteRawTag(24); + output.WriteUInt32(PartialMatch); + } + if (HasPartialFallback) { + output.WriteRawTag(32); + output.WriteUInt32(PartialFallback); + } + if (HasFullFallback) { + output.WriteRawTag(40); + output.WriteUInt32(FullFallback); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsRequired) { + size += 1 + 1; + } + if (HasFullMatch) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FullMatch); + } + if (HasPartialMatch) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PartialMatch); + } + if (HasPartialFallback) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PartialFallback); + } + if (HasFullFallback) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FullFallback); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NameGeneratorScorecard other) { + if (other == null) { + return; + } + if (other.HasIsRequired) { + IsRequired = other.IsRequired; + } + if (other.HasFullMatch) { + FullMatch = other.FullMatch; + } + if (other.HasPartialMatch) { + PartialMatch = other.PartialMatch; + } + if (other.HasPartialFallback) { + PartialFallback = other.PartialFallback; + } + if (other.HasFullFallback) { + FullFallback = other.FullFallback; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IsRequired = input.ReadBool(); + break; + } + case 16: { + FullMatch = input.ReadUInt32(); + break; + } + case 24: { + PartialMatch = input.ReadUInt32(); + break; + } + case 32: { + PartialFallback = input.ReadUInt32(); + break; + } + case 40: { + FullFallback = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IsRequired = input.ReadBool(); + break; + } + case 16: { + FullMatch = input.ReadUInt32(); + break; + } + case 24: { + PartialMatch = input.ReadUInt32(); + break; + } + case 32: { + PartialFallback = input.ReadUInt32(); + break; + } + case 40: { + FullFallback = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NameGenerator : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NameGenerator()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNameGeneratorReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGenerator() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGenerator(NameGenerator other) : this() { + names_ = other.names_.Clone(); + replacements_ = other.replacements_.Clone(); + clubTypes_ = other.clubTypes_.Clone(); + locales_ = other.locales_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGenerator Clone() { + return new NameGenerator(this); + } + + /// Field number for the "names" field. + public const int NamesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_names_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField names_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Names { + get { return names_; } + } + + /// Field number for the "replacements" field. + public const int ReplacementsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_replacements_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.NameGeneratorReplacement.Parser); + private readonly pbc::RepeatedField replacements_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Replacements { + get { return replacements_; } + } + + /// Field number for the "club_types" field. + public const int ClubTypesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_clubTypes_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType.Parser); + private readonly pbc::RepeatedField clubTypes_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ClubTypes { + get { return clubTypes_; } + } + + /// Field number for the "locales" field. + public const int LocalesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_locales_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField locales_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Locales { + get { return locales_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NameGenerator); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NameGenerator other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!names_.Equals(other.names_)) return false; + if(!replacements_.Equals(other.replacements_)) return false; + if(!clubTypes_.Equals(other.clubTypes_)) return false; + if(!locales_.Equals(other.locales_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= names_.GetHashCode(); + hash ^= replacements_.GetHashCode(); + hash ^= clubTypes_.GetHashCode(); + hash ^= locales_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + names_.WriteTo(output, _repeated_names_codec); + replacements_.WriteTo(output, _repeated_replacements_codec); + clubTypes_.WriteTo(output, _repeated_clubTypes_codec); + locales_.WriteTo(output, _repeated_locales_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + names_.WriteTo(ref output, _repeated_names_codec); + replacements_.WriteTo(ref output, _repeated_replacements_codec); + clubTypes_.WriteTo(ref output, _repeated_clubTypes_codec); + locales_.WriteTo(ref output, _repeated_locales_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += names_.CalculateSize(_repeated_names_codec); + size += replacements_.CalculateSize(_repeated_replacements_codec); + size += clubTypes_.CalculateSize(_repeated_clubTypes_codec); + size += locales_.CalculateSize(_repeated_locales_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NameGenerator other) { + if (other == null) { + return; + } + names_.Add(other.names_); + replacements_.Add(other.replacements_); + clubTypes_.Add(other.clubTypes_); + locales_.Add(other.locales_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + names_.AddEntriesFrom(input, _repeated_names_codec); + break; + } + case 18: { + replacements_.AddEntriesFrom(input, _repeated_replacements_codec); + break; + } + case 26: { + clubTypes_.AddEntriesFrom(input, _repeated_clubTypes_codec); + break; + } + case 34: { + locales_.AddEntriesFrom(input, _repeated_locales_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + names_.AddEntriesFrom(ref input, _repeated_names_codec); + break; + } + case 18: { + replacements_.AddEntriesFrom(ref input, _repeated_replacements_codec); + break; + } + case 26: { + clubTypes_.AddEntriesFrom(ref input, _repeated_clubTypes_codec); + break; + } + case 34: { + locales_.AddEntriesFrom(ref input, _repeated_locales_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NameGeneratorReplacement : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NameGeneratorReplacement()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNameGeneratorReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorReplacement() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorReplacement(NameGeneratorReplacement other) : this() { + id_ = other.id_; + options_ = other.options_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NameGeneratorReplacement Clone() { + return new NameGeneratorReplacement(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static string IdDefaultValue = ""; + + private string id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_ ?? IdDefaultValue; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return id_ != null; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + id_ = null; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_options_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField options_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Options { + get { return options_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NameGeneratorReplacement); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NameGeneratorReplacement other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!options_.Equals(other.options_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + hash ^= options_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + options_.WriteTo(output, _repeated_options_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + options_.WriteTo(ref output, _repeated_options_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + size += options_.CalculateSize(_repeated_options_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NameGeneratorReplacement other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + options_.Add(other.options_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + options_.AddEntriesFrom(input, _repeated_options_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + options_.AddEntriesFrom(ref input, _repeated_options_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubNotification.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubNotification.cs new file mode 100644 index 0000000000..535d9395b4 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubNotification.cs @@ -0,0 +1,6750 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_notification.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_notification.proto + public static partial class ClubNotificationReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_notification.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubNotificationReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiliZ3MvbG93L3BiL2NsaWVudC9jbHViX25vdGlmaWNhdGlvbi5wcm90bxIU", + "YmdzLnByb3RvY29sLmNsdWIudjEaImJncy9sb3cvcGIvY2xpZW50L2NsdWJf", + "dHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3JwY190eXBlcy5wcm90", + "byKWAgoVU3Vic2NyaWJlTm90aWZpY2F0aW9uEjAKCGFnZW50X2lkGAEgASgL", + "Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSDwoHY2x1Yl9pZBgD", + "IAEoBBIoCgRjbHViGAQgASgLMhouYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1", + "YhIsCgR2aWV3GAUgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlZp", + "ZXcSNAoIc2V0dGluZ3MYCiABKAsyIi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5D", + "bHViU2V0dGluZ3MSLAoGbWVtYmVyGAsgASgLMhwuYmdzLnByb3RvY29sLmNs", + "dWIudjEuTWVtYmVyIlwKF1Vuc3Vic2NyaWJlTm90aWZpY2F0aW9uEjAKCGFn", + "ZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQS", + "DwoHY2x1Yl9pZBgDIAEoBCKcAQoYU3RhdGVDaGFuZ2VkTm90aWZpY2F0aW9u", + "EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVt", + "YmVySWQSDwoHY2x1Yl9pZBgDIAEoBBI9Cgphc3NpZ25tZW50GAUgASgLMiku", + "YmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlN0YXRlQXNzaWdubWVudCKiAQob", + "U2V0dGluZ3NDaGFuZ2VkTm90aWZpY2F0aW9uEjAKCGFnZW50X2lkGAEgASgL", + "Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSDwoHY2x1Yl9pZBgD", + "IAEoBBJACgphc3NpZ25tZW50GAQgASgLMiwuYmdzLnByb3RvY29sLmNsdWIu", + "djEuQ2x1YlNldHRpbmdzQXNzaWdubWVudCKKAQoXTWVtYmVyQWRkZWROb3Rp", + "ZmljYXRpb24SMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5NZW1iZXJJZBIPCgdjbHViX2lkGAMgASgEEiwKBm1lbWJlchgEIAMo", + "CzIcLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlciKdAQoZTWVtYmVyUmVt", + "b3ZlZE5vdGlmaWNhdGlvbhIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90", + "b2NvbC5jbHViLnYxLk1lbWJlcklkEg8KB2NsdWJfaWQYAyABKAQSPQoGbWVt", + "YmVyGAQgAygLMi0uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVyUmVtb3Zl", + "ZEFzc2lnbm1lbnQipAEKHk1lbWJlclN0YXRlQ2hhbmdlZE5vdGlmaWNhdGlv", + "bhIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l", + "bWJlcklkEg8KB2NsdWJfaWQYAyABKAQSPwoKYXNzaWdubWVudBgEIAMoCzIr", + "LmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlclN0YXRlQXNzaWdubWVudCKs", + "AQoiU3Vic2NyaWJlclN0YXRlQ2hhbmdlZE5vdGlmaWNhdGlvbhIwCghhZ2Vu", + "dF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEg8K", + "B2NsdWJfaWQYAyABKAQSQwoKYXNzaWdubWVudBgEIAMoCzIvLmJncy5wcm90", + "b2NvbC5jbHViLnYxLlN1YnNjcmliZXJTdGF0ZUFzc2lnbm1lbnQinAEKHU1l", + "bWJlclJvbGVDaGFuZ2VkTm90aWZpY2F0aW9uEjAKCGFnZW50X2lkGAEgASgL", + "Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSDwoHY2x1Yl9pZBgD", + "IAEoBBI4Cgphc3NpZ25tZW50GAQgAygLMiQuYmdzLnByb3RvY29sLmNsdWIu", + "djEuUm9sZUFzc2lnbm1lbnQimgEKG0ludml0YXRpb25BZGRlZE5vdGlmaWNh", + "dGlvbhIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlcklkEg8KB2NsdWJfaWQYAyABKAQSOAoKaW52aXRhdGlvbhgEIAEo", + "CzIkLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJJbnZpdGF0aW9uIrABCh1J", + "bnZpdGF0aW9uUmVtb3ZlZE5vdGlmaWNhdGlvbhIwCghhZ2VudF9pZBgBIAEo", + "CzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEg8KB2NsdWJfaWQY", + "AyABKAQSFQoNaW52aXRhdGlvbl9pZBgEIAEoBhI1CgZyZWFzb24YBSABKA4y", + "JS5iZ3MucHJvdG9jb2wuSW52aXRhdGlvblJlbW92ZWRSZWFzb24imgEKG1N1", + "Z2dlc3Rpb25BZGRlZE5vdGlmaWNhdGlvbhIwCghhZ2VudF9pZBgBIAEoCzIe", + "LmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEg8KB2NsdWJfaWQYAyAB", + "KAQSOAoKc3VnZ2VzdGlvbhgEIAEoCzIkLmJncy5wcm90b2NvbC5jbHViLnYx", + "LkNsdWJTdWdnZXN0aW9uIrABCh1TdWdnZXN0aW9uUmVtb3ZlZE5vdGlmaWNh", + "dGlvbhIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlcklkEg8KB2NsdWJfaWQYAyABKAQSFQoNc3VnZ2VzdGlvbl9pZBgE", + "IAEoBhI1CgZyZWFzb24YBSABKA4yJS5iZ3MucHJvdG9jb2wuU3VnZ2VzdGlv", + "blJlbW92ZWRSZWFzb24iigEKF1N0cmVhbUFkZGVkTm90aWZpY2F0aW9uEjAK", + "CGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy", + "SWQSDwoHY2x1Yl9pZBgDIAEoBBIsCgZzdHJlYW0YBCABKAsyHC5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5TdHJlYW0icQoZU3RyZWFtUmVtb3ZlZE5vdGlmaWNh", + "dGlvbhIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlcklkEg8KB2NsdWJfaWQYAyABKAQSEQoJc3RyZWFtX2lkGAQgASgE", + "IrcBCh5TdHJlYW1TdGF0ZUNoYW5nZWROb3RpZmljYXRpb24SMAoIYWdlbnRf", + "aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIPCgdj", + "bHViX2lkGAMgASgEEhEKCXN0cmVhbV9pZBgEIAEoBBI/Cgphc3NpZ25tZW50", + "GAUgASgLMisuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtU3RhdGVBc3Np", + "Z25tZW50IqwBCh5TdHJlYW1NZXNzYWdlQWRkZWROb3RpZmljYXRpb24SMAoI", + "YWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJ", + "ZBIPCgdjbHViX2lkGAMgASgEEhEKCXN0cmVhbV9pZBgEIAEoBBI0CgdtZXNz", + "YWdlGAUgASgLMiMuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTWVzc2Fn", + "ZSKuAQogU3RyZWFtTWVzc2FnZVVwZGF0ZWROb3RpZmljYXRpb24SMAoIYWdl", + "bnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIP", + "CgdjbHViX2lkGAMgASgEEhEKCXN0cmVhbV9pZBgEIAEoBBI0CgdtZXNzYWdl", + "GAUgASgLMiMuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTWVzc2FnZSK5", + "AQohU3RyZWFtVHlwaW5nSW5kaWNhdG9yTm90aWZpY2F0aW9uEjAKCGFnZW50", + "X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSDwoH", + "Y2x1Yl9pZBgDIAEoBBIRCglzdHJlYW1faWQYBCABKAQSPgoJaW5kaWNhdG9y", + "GAUgAygLMisuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtVHlwaW5nSW5k", + "aWNhdG9yItIBCiFTdHJlYW1VbnJlYWRJbmRpY2F0b3JOb3RpZmljYXRpb24S", + "MAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i", + "ZXJJZBIPCgdjbHViX2lkGAMgASgEEjQKBWV2ZW50GAQgASgLMiUuYmdzLnBy", + "b3RvY29sLmNsdWIudjEuU3RyZWFtRXZlbnRUaW1lEjQKB21lc3NhZ2UYBSAB", + "KAsyIy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdHJlYW1NZXNzYWdlIqEBCiFT", + "dHJlYW1BZHZhbmNlVmlld1RpbWVOb3RpZmljYXRpb24SMAoIYWdlbnRfaWQY", + "ASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIPCgdjbHVi", + "X2lkGAMgASgEEjkKBHZpZXcYBCADKAsyKy5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5TdHJlYW1BZHZhbmNlVmlld1RpbWVCAkgBUABQAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscribeNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscribeNotification.Parser, new[]{ "AgentId", "ClubId", "Club", "View", "Settings", "Member" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnsubscribeNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnsubscribeNotification.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StateChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StateChangedNotification.Parser, new[]{ "AgentId", "ClubId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SettingsChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SettingsChangedNotification.Parser, new[]{ "AgentId", "ClubId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberAddedNotification.Parser, new[]{ "AgentId", "ClubId", "Member" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRemovedNotification.Parser, new[]{ "AgentId", "ClubId", "Member" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateChangedNotification.Parser, new[]{ "AgentId", "ClubId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateChangedNotification.Parser, new[]{ "AgentId", "ClubId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRoleChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRoleChangedNotification.Parser, new[]{ "AgentId", "ClubId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.InvitationAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.InvitationAddedNotification.Parser, new[]{ "AgentId", "ClubId", "Invitation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.InvitationRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.InvitationRemovedNotification.Parser, new[]{ "AgentId", "ClubId", "InvitationId", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SuggestionAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SuggestionAddedNotification.Parser, new[]{ "AgentId", "ClubId", "Suggestion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SuggestionRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SuggestionRemovedNotification.Parser, new[]{ "AgentId", "ClubId", "SuggestionId", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAddedNotification.Parser, new[]{ "AgentId", "ClubId", "Stream" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamRemovedNotification.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateChangedNotification.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Assignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessageAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessageAddedNotification.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessageUpdatedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessageUpdatedNotification.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamTypingIndicatorNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamTypingIndicatorNotification.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Indicator" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamUnreadIndicatorNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamUnreadIndicatorNotification.Parser, new[]{ "AgentId", "ClubId", "Event", "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAdvanceViewTimeNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAdvanceViewTimeNotification.Parser, new[]{ "AgentId", "ClubId", "View" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeNotification(SubscribeNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + club_ = other.club_ != null ? other.club_.Clone() : null; + view_ = other.view_ != null ? other.view_.Clone() : null; + settings_ = other.settings_ != null ? other.settings_.Clone() : null; + member_ = other.member_ != null ? other.member_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeNotification Clone() { + return new SubscribeNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "club" field. + public const int ClubFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club club_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club Club { + get { return club_; } + set { + club_ = value; + } + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView view_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView View { + get { return view_; } + set { + view_ = value; + } + } + + /// Field number for the "settings" field. + public const int SettingsFieldNumber = 10; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings settings_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings Settings { + get { return settings_; } + set { + settings_ = value; + } + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 11; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member member_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member Member { + get { return member_; } + set { + member_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Club, other.Club)) return false; + if (!object.Equals(View, other.View)) return false; + if (!object.Equals(Settings, other.Settings)) return false; + if (!object.Equals(Member, other.Member)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (club_ != null) hash ^= Club.GetHashCode(); + if (view_ != null) hash ^= View.GetHashCode(); + if (settings_ != null) hash ^= Settings.GetHashCode(); + if (member_ != null) hash ^= Member.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (club_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Club); + } + if (view_ != null) { + output.WriteRawTag(42); + output.WriteMessage(View); + } + if (settings_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Settings); + } + if (member_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Member); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (club_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Club); + } + if (view_ != null) { + output.WriteRawTag(42); + output.WriteMessage(View); + } + if (settings_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Settings); + } + if (member_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Member); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (club_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Club); + } + if (view_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(View); + } + if (settings_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); + } + if (member_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Member); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.club_ != null) { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club(); + } + Club.MergeFrom(other.Club); + } + if (other.view_ != null) { + if (view_ == null) { + View = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView(); + } + View.MergeFrom(other.View); + } + if (other.settings_ != null) { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + Settings.MergeFrom(other.Settings); + } + if (other.member_ != null) { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member(); + } + Member.MergeFrom(other.Member); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club(); + } + input.ReadMessage(Club); + break; + } + case 42: { + if (view_ == null) { + View = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView(); + } + input.ReadMessage(View); + break; + } + case 82: { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + input.ReadMessage(Settings); + break; + } + case 90: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member(); + } + input.ReadMessage(Member); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Club(); + } + input.ReadMessage(Club); + break; + } + case 42: { + if (view_ == null) { + View = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubView(); + } + input.ReadMessage(View); + break; + } + case 82: { + if (settings_ == null) { + Settings = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettings(); + } + input.ReadMessage(Settings); + break; + } + case 90: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member(); + } + input.ReadMessage(Member); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeNotification(UnsubscribeNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeNotification Clone() { + return new UnsubscribeNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StateChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StateChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateChangedNotification(StateChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + assignment_ = other.assignment_ != null ? other.assignment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateChangedNotification Clone() { + return new StateChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment assignment_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment Assignment { + get { return assignment_; } + set { + assignment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StateChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StateChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Assignment, other.Assignment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (assignment_ != null) hash ^= Assignment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (assignment_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (assignment_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (assignment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Assignment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StateChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.assignment_ != null) { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment(); + } + Assignment.MergeFrom(other.Assignment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 42: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 42: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SettingsChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SettingsChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SettingsChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SettingsChangedNotification(SettingsChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + assignment_ = other.assignment_ != null ? other.assignment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SettingsChangedNotification Clone() { + return new SettingsChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment assignment_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment Assignment { + get { return assignment_; } + set { + assignment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SettingsChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SettingsChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Assignment, other.Assignment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (assignment_ != null) hash ^= Assignment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (assignment_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (assignment_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (assignment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Assignment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SettingsChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.assignment_ != null) { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment(); + } + Assignment.MergeFrom(other.Assignment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAddedNotification(MemberAddedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + member_ = other.member_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberAddedNotification Clone() { + return new MemberAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_member_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member.Parser); + private readonly pbc::RepeatedField member_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Member { + get { return member_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!member_.Equals(other.member_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= member_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + member_.WriteTo(output, _repeated_member_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + member_.WriteTo(ref output, _repeated_member_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += member_.CalculateSize(_repeated_member_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + member_.Add(other.member_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + member_.AddEntriesFrom(input, _repeated_member_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + member_.AddEntriesFrom(ref input, _repeated_member_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRemovedNotification(MemberRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + member_ = other.member_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRemovedNotification Clone() { + return new MemberRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_member_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberRemovedAssignment.Parser); + private readonly pbc::RepeatedField member_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Member { + get { return member_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!member_.Equals(other.member_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= member_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + member_.WriteTo(output, _repeated_member_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + member_.WriteTo(ref output, _repeated_member_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += member_.CalculateSize(_repeated_member_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + member_.Add(other.member_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + member_.AddEntriesFrom(input, _repeated_member_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + member_.AddEntriesFrom(ref input, _repeated_member_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberStateChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberStateChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateChangedNotification(MemberStateChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + assignment_ = other.assignment_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberStateChangedNotification Clone() { + return new MemberStateChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_assignment_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateAssignment.Parser); + private readonly pbc::RepeatedField assignment_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Assignment { + get { return assignment_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberStateChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberStateChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!assignment_.Equals(other.assignment_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= assignment_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + assignment_.WriteTo(output, _repeated_assignment_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + assignment_.WriteTo(ref output, _repeated_assignment_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += assignment_.CalculateSize(_repeated_assignment_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberStateChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + assignment_.Add(other.assignment_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + assignment_.AddEntriesFrom(input, _repeated_assignment_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + assignment_.AddEntriesFrom(ref input, _repeated_assignment_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscriberStateChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscriberStateChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateChangedNotification(SubscriberStateChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + assignment_ = other.assignment_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscriberStateChangedNotification Clone() { + return new SubscriberStateChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_assignment_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateAssignment.Parser); + private readonly pbc::RepeatedField assignment_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Assignment { + get { return assignment_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscriberStateChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscriberStateChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!assignment_.Equals(other.assignment_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= assignment_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + assignment_.WriteTo(output, _repeated_assignment_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + assignment_.WriteTo(ref output, _repeated_assignment_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += assignment_.CalculateSize(_repeated_assignment_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscriberStateChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + assignment_.Add(other.assignment_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + assignment_.AddEntriesFrom(input, _repeated_assignment_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + assignment_.AddEntriesFrom(ref input, _repeated_assignment_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MemberRoleChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberRoleChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRoleChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRoleChangedNotification(MemberRoleChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + assignment_ = other.assignment_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemberRoleChangedNotification Clone() { + return new MemberRoleChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_assignment_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleAssignment.Parser); + private readonly pbc::RepeatedField assignment_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Assignment { + get { return assignment_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemberRoleChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemberRoleChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!assignment_.Equals(other.assignment_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= assignment_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + assignment_.WriteTo(output, _repeated_assignment_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + assignment_.WriteTo(ref output, _repeated_assignment_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += assignment_.CalculateSize(_repeated_assignment_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemberRoleChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + assignment_.Add(other.assignment_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + assignment_.AddEntriesFrom(input, _repeated_assignment_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + assignment_.AddEntriesFrom(ref input, _repeated_assignment_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InvitationAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InvitationAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationAddedNotification(InvitationAddedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + invitation_ = other.invitation_ != null ? other.invitation_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationAddedNotification Clone() { + return new InvitationAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation invitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation Invitation { + get { return invitation_; } + set { + invitation_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InvitationAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InvitationAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Invitation, other.Invitation)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (invitation_ != null) hash ^= Invitation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (invitation_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (invitation_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (invitation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InvitationAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.invitation_ != null) { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + Invitation.MergeFrom(other.Invitation); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InvitationRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InvitationRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationRemovedNotification(InvitationRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + invitationId_ = other.invitationId_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationRemovedNotification Clone() { + return new InvitationRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 4; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 2; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~2; + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason ReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason.Accepted; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason Reason { + get { if ((_hasBits0 & 4) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 4; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InvitationRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InvitationRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (InvitationId != other.InvitationId) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(33); + output.WriteFixed64(InvitationId); + } + if (HasReason) { + output.WriteRawTag(40); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(33); + output.WriteFixed64(InvitationId); + } + if (HasReason) { + output.WriteRawTag(40); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InvitationRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 33: { + InvitationId = input.ReadFixed64(); + break; + } + case 40: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 33: { + InvitationId = input.ReadFixed64(); + break; + } + case 40: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SuggestionAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuggestionAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionAddedNotification(SuggestionAddedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + suggestion_ = other.suggestion_ != null ? other.suggestion_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionAddedNotification Clone() { + return new SuggestionAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "suggestion" field. + public const int SuggestionFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion suggestion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion Suggestion { + get { return suggestion_; } + set { + suggestion_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SuggestionAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SuggestionAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Suggestion, other.Suggestion)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (suggestion_ != null) hash ^= Suggestion.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (suggestion_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Suggestion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (suggestion_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Suggestion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (suggestion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Suggestion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SuggestionAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.suggestion_ != null) { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion(); + } + Suggestion.MergeFrom(other.Suggestion); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion(); + } + input.ReadMessage(Suggestion); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion(); + } + input.ReadMessage(Suggestion); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SuggestionRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuggestionRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionRemovedNotification(SuggestionRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + suggestionId_ = other.suggestionId_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionRemovedNotification Clone() { + return new SuggestionRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "suggestion_id" field. + public const int SuggestionIdFieldNumber = 4; + private readonly static ulong SuggestionIdDefaultValue = 0UL; + + private ulong suggestionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SuggestionId { + get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } } + set { + _hasBits0 |= 2; + suggestionId_ = value; + } + } + /// Gets whether the "suggestion_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSuggestionId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "suggestion_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSuggestionId() { + _hasBits0 &= ~2; + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason ReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason.Approved; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason Reason { + get { if ((_hasBits0 & 4) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 4; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SuggestionRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SuggestionRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (SuggestionId != other.SuggestionId) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasSuggestionId) hash ^= SuggestionId.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(33); + output.WriteFixed64(SuggestionId); + } + if (HasReason) { + output.WriteRawTag(40); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(33); + output.WriteFixed64(SuggestionId); + } + if (HasReason) { + output.WriteRawTag(40); + output.WriteEnum((int) Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasSuggestionId) { + size += 1 + 8; + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SuggestionRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasSuggestionId) { + SuggestionId = other.SuggestionId; + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 33: { + SuggestionId = input.ReadFixed64(); + break; + } + case 40: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 33: { + SuggestionId = input.ReadFixed64(); + break; + } + case 40: { + Reason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAddedNotification(StreamAddedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + stream_ = other.stream_ != null ? other.stream_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAddedNotification Clone() { + return new StreamAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Stream, other.Stream)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (stream_ != null) hash ^= Stream.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (stream_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Stream); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (stream_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Stream); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (stream_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.stream_ != null) { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream(); + } + Stream.MergeFrom(other.Stream); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream(); + } + input.ReadMessage(Stream); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream(); + } + input.ReadMessage(Stream); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamRemovedNotification(StreamRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamRemovedNotification Clone() { + return new StreamRemovedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 4; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamRemovedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamStateChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamStateChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateChangedNotification(StreamStateChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + assignment_ = other.assignment_ != null ? other.assignment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateChangedNotification Clone() { + return new StreamStateChangedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 4; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "assignment" field. + public const int AssignmentFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment assignment_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment Assignment { + get { return assignment_; } + set { + assignment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamStateChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamStateChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Assignment, other.Assignment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (assignment_ != null) hash ^= Assignment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (assignment_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (assignment_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Assignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (assignment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Assignment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamStateChangedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.assignment_ != null) { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment(); + } + Assignment.MergeFrom(other.Assignment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (assignment_ == null) { + Assignment = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment(); + } + input.ReadMessage(Assignment); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMessageAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMessageAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessageAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessageAddedNotification(StreamMessageAddedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessageAddedNotification Clone() { + return new StreamMessageAddedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 4; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMessageAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMessageAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (message_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (message_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMessageAddedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMessageUpdatedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMessageUpdatedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessageUpdatedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessageUpdatedNotification(StreamMessageUpdatedNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessageUpdatedNotification Clone() { + return new StreamMessageUpdatedNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 4; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMessageUpdatedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMessageUpdatedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (message_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + if (message_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMessageUpdatedNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamTypingIndicatorNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamTypingIndicatorNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamTypingIndicatorNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamTypingIndicatorNotification(StreamTypingIndicatorNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + indicator_ = other.indicator_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamTypingIndicatorNotification Clone() { + return new StreamTypingIndicatorNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 4; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "indicator" field. + public const int IndicatorFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_indicator_codec + = pb::FieldCodec.ForMessage(42, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamTypingIndicator.Parser); + private readonly pbc::RepeatedField indicator_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Indicator { + get { return indicator_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamTypingIndicatorNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamTypingIndicatorNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if(!indicator_.Equals(other.indicator_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + hash ^= indicator_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + indicator_.WriteTo(output, _repeated_indicator_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(32); + output.WriteUInt64(StreamId); + } + indicator_.WriteTo(ref output, _repeated_indicator_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + size += indicator_.CalculateSize(_repeated_indicator_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamTypingIndicatorNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + indicator_.Add(other.indicator_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + indicator_.AddEntriesFrom(input, _repeated_indicator_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + indicator_.AddEntriesFrom(ref input, _repeated_indicator_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamUnreadIndicatorNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamUnreadIndicatorNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamUnreadIndicatorNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamUnreadIndicatorNotification(StreamUnreadIndicatorNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + event_ = other.event_ != null ? other.event_.Clone() : null; + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamUnreadIndicatorNotification Clone() { + return new StreamUnreadIndicatorNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "event" field. + public const int EventFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime event_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime Event { + get { return event_; } + set { + event_ = value; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamUnreadIndicatorNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamUnreadIndicatorNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Event, other.Event)) return false; + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (event_ != null) hash ^= Event.GetHashCode(); + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (event_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Event); + } + if (message_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + if (event_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Event); + } + if (message_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (event_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Event); + } + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamUnreadIndicatorNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.event_ != null) { + if (event_ == null) { + Event = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime(); + } + Event.MergeFrom(other.Event); + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (event_ == null) { + Event = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime(); + } + input.ReadMessage(Event); + break; + } + case 42: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + if (event_ == null) { + Event = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime(); + } + input.ReadMessage(Event); + break; + } + case 42: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamAdvanceViewTimeNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamAdvanceViewTimeNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNotificationReflection.Descriptor.MessageTypes[20]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAdvanceViewTimeNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAdvanceViewTimeNotification(StreamAdvanceViewTimeNotification other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + view_ = other.view_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAdvanceViewTimeNotification Clone() { + return new StreamAdvanceViewTimeNotification(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 3; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_view_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAdvanceViewTime.Parser); + private readonly pbc::RepeatedField view_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField View { + get { return view_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamAdvanceViewTimeNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamAdvanceViewTimeNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!view_.Equals(other.view_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= view_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + view_.WriteTo(output, _repeated_view_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(24); + output.WriteUInt64(ClubId); + } + view_.WriteTo(ref output, _repeated_view_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += view_.CalculateSize(_repeated_view_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamAdvanceViewTimeNotification other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + view_.Add(other.view_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + view_.AddEntriesFrom(input, _repeated_view_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + ClubId = input.ReadUInt64(); + break; + } + case 34: { + view_.AddEntriesFrom(ref input, _repeated_view_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRangeSet.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRangeSet.cs new file mode 100644 index 0000000000..e89ae7e6c5 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRangeSet.cs @@ -0,0 +1,2210 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_range_set.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_range_set.proto + public static partial class ClubRangeSetReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_range_set.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubRangeSetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZiZ3MvbG93L3BiL2NsaWVudC9jbHViX3JhbmdlX3NldC5wcm90bxIUYmdz", + "LnByb3RvY29sLmNsdWIudjEaL2Jncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9l", + "eHRlbnNpb25zL3JhbmdlLnByb3RvItoEChBDbHViVHlwZVJhbmdlU2V0EjIK", + "Cm5hbWVfcmFuZ2UYAiABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRS", + "YW5nZRI5ChFkZXNjcmlwdGlvbl9yYW5nZRgDIAEoCzIeLmJncy5wcm90b2Nv", + "bC5VbnNpZ25lZEludFJhbmdlEjcKD2Jyb2FkY2FzdF9yYW5nZRgEIAEoCzIe", + "LmJncy5wcm90b2NvbC5VbnNpZ25lZEludFJhbmdlEjgKEHNob3J0X25hbWVf", + "cmFuZ2UYByABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRI4", + "CgZtZW1iZXIYGSABKAsyKC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViTWVt", + "YmVyUmFuZ2VTZXQSOAoGc3RyZWFtGBogASgLMiguYmdzLnByb3RvY29sLmNs", + "dWIudjEuQ2x1YlN0cmVhbVJhbmdlU2V0EkAKCmludml0YXRpb24YGyABKAsy", + "LC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViSW52aXRhdGlvblJhbmdlU2V0", + "EkAKCnN1Z2dlc3Rpb24YHCABKAsyLC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5D", + "bHViU3VnZ2VzdGlvblJhbmdlU2V0EjgKBnRpY2tldBgdIAEoCzIoLmJncy5w", + "cm90b2NvbC5jbHViLnYxLkNsdWJUaWNrZXRSYW5nZVNldBIyCgNiYW4YHiAB", + "KAsyJS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViQmFuUmFuZ2VTZXQi5AEK", + "EkNsdWJNZW1iZXJSYW5nZVNldBItCgVjb3VudBgBIAEoCzIeLmJncy5wcm90", + "b2NvbC5VbnNpZ25lZEludFJhbmdlEi0KBXZvaWNlGAMgASgLMh4uYmdzLnBy", + "b3RvY29sLlVuc2lnbmVkSW50UmFuZ2USPAoUc3RyZWFtX3N1YnNjcmlwdGlv", + "bnMYBSABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRIyCgpu", + "b3RlX3JhbmdlGAcgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFu", + "Z2Ui5QEKEkNsdWJTdHJlYW1SYW5nZVNldBItCgVjb3VudBgBIAEoCzIeLmJn", + "cy5wcm90b2NvbC5VbnNpZ25lZEludFJhbmdlEjIKCm5hbWVfcmFuZ2UYAyAB", + "KAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRI1Cg1zdWJqZWN0", + "X3JhbmdlGAQgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2US", + "NQoNbWVzc2FnZV9yYW5nZRgFIAEoCzIeLmJncy5wcm90b2NvbC5VbnNpZ25l", + "ZEludFJhbmdlIkcKFkNsdWJJbnZpdGF0aW9uUmFuZ2VTZXQSLQoFY291bnQY", + "ASABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZSJHChZDbHVi", + "U3VnZ2VzdGlvblJhbmdlU2V0Ei0KBWNvdW50GAEgASgLMh4uYmdzLnByb3Rv", + "Y29sLlVuc2lnbmVkSW50UmFuZ2UiQwoSQ2x1YlRpY2tldFJhbmdlU2V0Ei0K", + "BWNvdW50GAEgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2Ui", + "dgoPQ2x1YkJhblJhbmdlU2V0Ei0KBWNvdW50GAEgASgLMh4uYmdzLnByb3Rv", + "Y29sLlVuc2lnbmVkSW50UmFuZ2USNAoMcmVhc29uX3JhbmdlGAMgASgLMh4u", + "YmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2VCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RangeReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet.Parser, new[]{ "NameRange", "DescriptionRange", "BroadcastRange", "ShortNameRange", "Member", "Stream", "Invitation", "Suggestion", "Ticket", "Ban" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet.Parser, new[]{ "Count", "Voice", "StreamSubscriptions", "NoteRange" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet.Parser, new[]{ "Count", "NameRange", "SubjectRange", "MessageRange" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet.Parser, new[]{ "Count" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet.Parser, new[]{ "Count" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet.Parser, new[]{ "Count" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet.Parser, new[]{ "Count", "ReasonRange" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubTypeRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubTypeRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTypeRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTypeRangeSet(ClubTypeRangeSet other) : this() { + nameRange_ = other.nameRange_ != null ? other.nameRange_.Clone() : null; + descriptionRange_ = other.descriptionRange_ != null ? other.descriptionRange_.Clone() : null; + broadcastRange_ = other.broadcastRange_ != null ? other.broadcastRange_.Clone() : null; + shortNameRange_ = other.shortNameRange_ != null ? other.shortNameRange_.Clone() : null; + member_ = other.member_ != null ? other.member_.Clone() : null; + stream_ = other.stream_ != null ? other.stream_.Clone() : null; + invitation_ = other.invitation_ != null ? other.invitation_.Clone() : null; + suggestion_ = other.suggestion_ != null ? other.suggestion_.Clone() : null; + ticket_ = other.ticket_ != null ? other.ticket_.Clone() : null; + ban_ = other.ban_ != null ? other.ban_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTypeRangeSet Clone() { + return new ClubTypeRangeSet(this); + } + + /// Field number for the "name_range" field. + public const int NameRangeFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange nameRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange NameRange { + get { return nameRange_; } + set { + nameRange_ = value; + } + } + + /// Field number for the "description_range" field. + public const int DescriptionRangeFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange descriptionRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange DescriptionRange { + get { return descriptionRange_; } + set { + descriptionRange_ = value; + } + } + + /// Field number for the "broadcast_range" field. + public const int BroadcastRangeFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange broadcastRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange BroadcastRange { + get { return broadcastRange_; } + set { + broadcastRange_ = value; + } + } + + /// Field number for the "short_name_range" field. + public const int ShortNameRangeFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange shortNameRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange ShortNameRange { + get { return shortNameRange_; } + set { + shortNameRange_ = value; + } + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 25; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet member_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet Member { + get { return member_; } + set { + member_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 26; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 27; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet invitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet Invitation { + get { return invitation_; } + set { + invitation_ = value; + } + } + + /// Field number for the "suggestion" field. + public const int SuggestionFieldNumber = 28; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet suggestion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet Suggestion { + get { return suggestion_; } + set { + suggestion_ = value; + } + } + + /// Field number for the "ticket" field. + public const int TicketFieldNumber = 29; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet ticket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet Ticket { + get { return ticket_; } + set { + ticket_ = value; + } + } + + /// Field number for the "ban" field. + public const int BanFieldNumber = 30; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet ban_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet Ban { + get { return ban_; } + set { + ban_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubTypeRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubTypeRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(NameRange, other.NameRange)) return false; + if (!object.Equals(DescriptionRange, other.DescriptionRange)) return false; + if (!object.Equals(BroadcastRange, other.BroadcastRange)) return false; + if (!object.Equals(ShortNameRange, other.ShortNameRange)) return false; + if (!object.Equals(Member, other.Member)) return false; + if (!object.Equals(Stream, other.Stream)) return false; + if (!object.Equals(Invitation, other.Invitation)) return false; + if (!object.Equals(Suggestion, other.Suggestion)) return false; + if (!object.Equals(Ticket, other.Ticket)) return false; + if (!object.Equals(Ban, other.Ban)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (nameRange_ != null) hash ^= NameRange.GetHashCode(); + if (descriptionRange_ != null) hash ^= DescriptionRange.GetHashCode(); + if (broadcastRange_ != null) hash ^= BroadcastRange.GetHashCode(); + if (shortNameRange_ != null) hash ^= ShortNameRange.GetHashCode(); + if (member_ != null) hash ^= Member.GetHashCode(); + if (stream_ != null) hash ^= Stream.GetHashCode(); + if (invitation_ != null) hash ^= Invitation.GetHashCode(); + if (suggestion_ != null) hash ^= Suggestion.GetHashCode(); + if (ticket_ != null) hash ^= Ticket.GetHashCode(); + if (ban_ != null) hash ^= Ban.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (nameRange_ != null) { + output.WriteRawTag(18); + output.WriteMessage(NameRange); + } + if (descriptionRange_ != null) { + output.WriteRawTag(26); + output.WriteMessage(DescriptionRange); + } + if (broadcastRange_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BroadcastRange); + } + if (shortNameRange_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ShortNameRange); + } + if (member_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(Member); + } + if (stream_ != null) { + output.WriteRawTag(210, 1); + output.WriteMessage(Stream); + } + if (invitation_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(Invitation); + } + if (suggestion_ != null) { + output.WriteRawTag(226, 1); + output.WriteMessage(Suggestion); + } + if (ticket_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(Ticket); + } + if (ban_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(Ban); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (nameRange_ != null) { + output.WriteRawTag(18); + output.WriteMessage(NameRange); + } + if (descriptionRange_ != null) { + output.WriteRawTag(26); + output.WriteMessage(DescriptionRange); + } + if (broadcastRange_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BroadcastRange); + } + if (shortNameRange_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ShortNameRange); + } + if (member_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(Member); + } + if (stream_ != null) { + output.WriteRawTag(210, 1); + output.WriteMessage(Stream); + } + if (invitation_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(Invitation); + } + if (suggestion_ != null) { + output.WriteRawTag(226, 1); + output.WriteMessage(Suggestion); + } + if (ticket_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(Ticket); + } + if (ban_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(Ban); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (nameRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NameRange); + } + if (descriptionRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DescriptionRange); + } + if (broadcastRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BroadcastRange); + } + if (shortNameRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ShortNameRange); + } + if (member_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Member); + } + if (stream_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Stream); + } + if (invitation_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Invitation); + } + if (suggestion_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Suggestion); + } + if (ticket_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ticket); + } + if (ban_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ban); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubTypeRangeSet other) { + if (other == null) { + return; + } + if (other.nameRange_ != null) { + if (nameRange_ == null) { + NameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + NameRange.MergeFrom(other.NameRange); + } + if (other.descriptionRange_ != null) { + if (descriptionRange_ == null) { + DescriptionRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + DescriptionRange.MergeFrom(other.DescriptionRange); + } + if (other.broadcastRange_ != null) { + if (broadcastRange_ == null) { + BroadcastRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + BroadcastRange.MergeFrom(other.BroadcastRange); + } + if (other.shortNameRange_ != null) { + if (shortNameRange_ == null) { + ShortNameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + ShortNameRange.MergeFrom(other.ShortNameRange); + } + if (other.member_ != null) { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet(); + } + Member.MergeFrom(other.Member); + } + if (other.stream_ != null) { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet(); + } + Stream.MergeFrom(other.Stream); + } + if (other.invitation_ != null) { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet(); + } + Invitation.MergeFrom(other.Invitation); + } + if (other.suggestion_ != null) { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet(); + } + Suggestion.MergeFrom(other.Suggestion); + } + if (other.ticket_ != null) { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet(); + } + Ticket.MergeFrom(other.Ticket); + } + if (other.ban_ != null) { + if (ban_ == null) { + Ban = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet(); + } + Ban.MergeFrom(other.Ban); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + if (nameRange_ == null) { + NameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(NameRange); + break; + } + case 26: { + if (descriptionRange_ == null) { + DescriptionRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(DescriptionRange); + break; + } + case 34: { + if (broadcastRange_ == null) { + BroadcastRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(BroadcastRange); + break; + } + case 58: { + if (shortNameRange_ == null) { + ShortNameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(ShortNameRange); + break; + } + case 202: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet(); + } + input.ReadMessage(Member); + break; + } + case 210: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet(); + } + input.ReadMessage(Stream); + break; + } + case 218: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet(); + } + input.ReadMessage(Invitation); + break; + } + case 226: { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet(); + } + input.ReadMessage(Suggestion); + break; + } + case 234: { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet(); + } + input.ReadMessage(Ticket); + break; + } + case 242: { + if (ban_ == null) { + Ban = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet(); + } + input.ReadMessage(Ban); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + if (nameRange_ == null) { + NameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(NameRange); + break; + } + case 26: { + if (descriptionRange_ == null) { + DescriptionRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(DescriptionRange); + break; + } + case 34: { + if (broadcastRange_ == null) { + BroadcastRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(BroadcastRange); + break; + } + case 58: { + if (shortNameRange_ == null) { + ShortNameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(ShortNameRange); + break; + } + case 202: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberRangeSet(); + } + input.ReadMessage(Member); + break; + } + case 210: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamRangeSet(); + } + input.ReadMessage(Stream); + break; + } + case 218: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationRangeSet(); + } + input.ReadMessage(Invitation); + break; + } + case 226: { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestionRangeSet(); + } + input.ReadMessage(Suggestion); + break; + } + case 234: { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicketRangeSet(); + } + input.ReadMessage(Ticket); + break; + } + case 242: { + if (ban_ == null) { + Ban = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanRangeSet(); + } + input.ReadMessage(Ban); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubMemberRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMemberRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMemberRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMemberRangeSet(ClubMemberRangeSet other) : this() { + count_ = other.count_ != null ? other.count_.Clone() : null; + voice_ = other.voice_ != null ? other.voice_.Clone() : null; + streamSubscriptions_ = other.streamSubscriptions_ != null ? other.streamSubscriptions_.Clone() : null; + noteRange_ = other.noteRange_ != null ? other.noteRange_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubMemberRangeSet Clone() { + return new ClubMemberRangeSet(this); + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Count { + get { return count_; } + set { + count_ = value; + } + } + + /// Field number for the "voice" field. + public const int VoiceFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange voice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Voice { + get { return voice_; } + set { + voice_ = value; + } + } + + /// Field number for the "stream_subscriptions" field. + public const int StreamSubscriptionsFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange streamSubscriptions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange StreamSubscriptions { + get { return streamSubscriptions_; } + set { + streamSubscriptions_ = value; + } + } + + /// Field number for the "note_range" field. + public const int NoteRangeFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange noteRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange NoteRange { + get { return noteRange_; } + set { + noteRange_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubMemberRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubMemberRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Count, other.Count)) return false; + if (!object.Equals(Voice, other.Voice)) return false; + if (!object.Equals(StreamSubscriptions, other.StreamSubscriptions)) return false; + if (!object.Equals(NoteRange, other.NoteRange)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (count_ != null) hash ^= Count.GetHashCode(); + if (voice_ != null) hash ^= Voice.GetHashCode(); + if (streamSubscriptions_ != null) hash ^= StreamSubscriptions.GetHashCode(); + if (noteRange_ != null) hash ^= NoteRange.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (voice_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Voice); + } + if (streamSubscriptions_ != null) { + output.WriteRawTag(42); + output.WriteMessage(StreamSubscriptions); + } + if (noteRange_ != null) { + output.WriteRawTag(58); + output.WriteMessage(NoteRange); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (voice_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Voice); + } + if (streamSubscriptions_ != null) { + output.WriteRawTag(42); + output.WriteMessage(StreamSubscriptions); + } + if (noteRange_ != null) { + output.WriteRawTag(58); + output.WriteMessage(NoteRange); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (count_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); + } + if (voice_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Voice); + } + if (streamSubscriptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StreamSubscriptions); + } + if (noteRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NoteRange); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubMemberRangeSet other) { + if (other == null) { + return; + } + if (other.count_ != null) { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Count.MergeFrom(other.Count); + } + if (other.voice_ != null) { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Voice.MergeFrom(other.Voice); + } + if (other.streamSubscriptions_ != null) { + if (streamSubscriptions_ == null) { + StreamSubscriptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + StreamSubscriptions.MergeFrom(other.StreamSubscriptions); + } + if (other.noteRange_ != null) { + if (noteRange_ == null) { + NoteRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + NoteRange.MergeFrom(other.NoteRange); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + case 26: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Voice); + break; + } + case 42: { + if (streamSubscriptions_ == null) { + StreamSubscriptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(StreamSubscriptions); + break; + } + case 58: { + if (noteRange_ == null) { + NoteRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(NoteRange); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + case 26: { + if (voice_ == null) { + Voice = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Voice); + break; + } + case 42: { + if (streamSubscriptions_ == null) { + StreamSubscriptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(StreamSubscriptions); + break; + } + case 58: { + if (noteRange_ == null) { + NoteRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(NoteRange); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubStreamRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubStreamRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStreamRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStreamRangeSet(ClubStreamRangeSet other) : this() { + count_ = other.count_ != null ? other.count_.Clone() : null; + nameRange_ = other.nameRange_ != null ? other.nameRange_.Clone() : null; + subjectRange_ = other.subjectRange_ != null ? other.subjectRange_.Clone() : null; + messageRange_ = other.messageRange_ != null ? other.messageRange_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStreamRangeSet Clone() { + return new ClubStreamRangeSet(this); + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Count { + get { return count_; } + set { + count_ = value; + } + } + + /// Field number for the "name_range" field. + public const int NameRangeFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange nameRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange NameRange { + get { return nameRange_; } + set { + nameRange_ = value; + } + } + + /// Field number for the "subject_range" field. + public const int SubjectRangeFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange subjectRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange SubjectRange { + get { return subjectRange_; } + set { + subjectRange_ = value; + } + } + + /// Field number for the "message_range" field. + public const int MessageRangeFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange messageRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange MessageRange { + get { return messageRange_; } + set { + messageRange_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubStreamRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubStreamRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Count, other.Count)) return false; + if (!object.Equals(NameRange, other.NameRange)) return false; + if (!object.Equals(SubjectRange, other.SubjectRange)) return false; + if (!object.Equals(MessageRange, other.MessageRange)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (count_ != null) hash ^= Count.GetHashCode(); + if (nameRange_ != null) hash ^= NameRange.GetHashCode(); + if (subjectRange_ != null) hash ^= SubjectRange.GetHashCode(); + if (messageRange_ != null) hash ^= MessageRange.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (nameRange_ != null) { + output.WriteRawTag(26); + output.WriteMessage(NameRange); + } + if (subjectRange_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SubjectRange); + } + if (messageRange_ != null) { + output.WriteRawTag(42); + output.WriteMessage(MessageRange); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (nameRange_ != null) { + output.WriteRawTag(26); + output.WriteMessage(NameRange); + } + if (subjectRange_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SubjectRange); + } + if (messageRange_ != null) { + output.WriteRawTag(42); + output.WriteMessage(MessageRange); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (count_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); + } + if (nameRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NameRange); + } + if (subjectRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubjectRange); + } + if (messageRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageRange); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubStreamRangeSet other) { + if (other == null) { + return; + } + if (other.count_ != null) { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Count.MergeFrom(other.Count); + } + if (other.nameRange_ != null) { + if (nameRange_ == null) { + NameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + NameRange.MergeFrom(other.NameRange); + } + if (other.subjectRange_ != null) { + if (subjectRange_ == null) { + SubjectRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + SubjectRange.MergeFrom(other.SubjectRange); + } + if (other.messageRange_ != null) { + if (messageRange_ == null) { + MessageRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + MessageRange.MergeFrom(other.MessageRange); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + case 26: { + if (nameRange_ == null) { + NameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(NameRange); + break; + } + case 34: { + if (subjectRange_ == null) { + SubjectRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(SubjectRange); + break; + } + case 42: { + if (messageRange_ == null) { + MessageRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(MessageRange); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + case 26: { + if (nameRange_ == null) { + NameRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(NameRange); + break; + } + case 34: { + if (subjectRange_ == null) { + SubjectRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(SubjectRange); + break; + } + case 42: { + if (messageRange_ == null) { + MessageRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(MessageRange); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubInvitationRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubInvitationRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubInvitationRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubInvitationRangeSet(ClubInvitationRangeSet other) : this() { + count_ = other.count_ != null ? other.count_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubInvitationRangeSet Clone() { + return new ClubInvitationRangeSet(this); + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Count { + get { return count_; } + set { + count_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubInvitationRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubInvitationRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Count, other.Count)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (count_ != null) hash ^= Count.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (count_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubInvitationRangeSet other) { + if (other == null) { + return; + } + if (other.count_ != null) { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Count.MergeFrom(other.Count); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubSuggestionRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSuggestionRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSuggestionRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSuggestionRangeSet(ClubSuggestionRangeSet other) : this() { + count_ = other.count_ != null ? other.count_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubSuggestionRangeSet Clone() { + return new ClubSuggestionRangeSet(this); + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Count { + get { return count_; } + set { + count_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubSuggestionRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubSuggestionRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Count, other.Count)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (count_ != null) hash ^= Count.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (count_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubSuggestionRangeSet other) { + if (other == null) { + return; + } + if (other.count_ != null) { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Count.MergeFrom(other.Count); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubTicketRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubTicketRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTicketRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTicketRangeSet(ClubTicketRangeSet other) : this() { + count_ = other.count_ != null ? other.count_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubTicketRangeSet Clone() { + return new ClubTicketRangeSet(this); + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Count { + get { return count_; } + set { + count_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubTicketRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubTicketRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Count, other.Count)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (count_ != null) hash ^= Count.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (count_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubTicketRangeSet other) { + if (other == null) { + return; + } + if (other.count_ != null) { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Count.MergeFrom(other.Count); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubBanRangeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubBanRangeSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubBanRangeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubBanRangeSet(ClubBanRangeSet other) : this() { + count_ = other.count_ != null ? other.count_.Clone() : null; + reasonRange_ = other.reasonRange_ != null ? other.reasonRange_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubBanRangeSet Clone() { + return new ClubBanRangeSet(this); + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Count { + get { return count_; } + set { + count_ = value; + } + } + + /// Field number for the "reason_range" field. + public const int ReasonRangeFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange reasonRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange ReasonRange { + get { return reasonRange_; } + set { + reasonRange_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubBanRangeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubBanRangeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Count, other.Count)) return false; + if (!object.Equals(ReasonRange, other.ReasonRange)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (count_ != null) hash ^= Count.GetHashCode(); + if (reasonRange_ != null) hash ^= ReasonRange.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (reasonRange_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ReasonRange); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (count_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Count); + } + if (reasonRange_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ReasonRange); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (count_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); + } + if (reasonRange_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReasonRange); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubBanRangeSet other) { + if (other == null) { + return; + } + if (other.count_ != null) { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Count.MergeFrom(other.Count); + } + if (other.reasonRange_ != null) { + if (reasonRange_ == null) { + ReasonRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + ReasonRange.MergeFrom(other.ReasonRange); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + case 26: { + if (reasonRange_ == null) { + ReasonRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(ReasonRange); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (count_ == null) { + Count = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Count); + break; + } + case 26: { + if (reasonRange_ == null) { + ReasonRange = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(ReasonRange); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRequest.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRequest.cs new file mode 100644 index 0000000000..a6da9a6a22 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRequest.cs @@ -0,0 +1,23566 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_request.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_request.proto + public static partial class ClubRequestReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_request.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiRiZ3MvbG93L3BiL2NsaWVudC9jbHViX3JlcXVlc3QucHJvdG8SFGJncy5w", + "cm90b2NvbC5jbHViLnYxGiJiZ3MvbG93L3BiL2NsaWVudC9jbHViX3R5cGVz", + "LnByb3RvGiBiZ3MvbG93L3BiL2NsaWVudC9jbHViX3RhZy5wcm90bxohYmdz", + "L2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnByb3RvIl0KEFN1YnNjcmliZVJl", + "cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAEiXwoSVW5zdWJz", + "Y3JpYmVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29s", + "LmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABInsK", + "DUNyZWF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9j", + "b2wuY2x1Yi52MS5NZW1iZXJJZBI4CgdvcHRpb25zGAIgASgLMicuYmdzLnBy", + "b3RvY29sLmNsdWIudjEuQ2x1YkNyZWF0ZU9wdGlvbnMiIQoOQ3JlYXRlUmVz", + "cG9uc2USDwoHY2x1Yl9pZBgBIAEoBCJbCg5EZXN0cm95UmVxdWVzdBIwCghh", + "Z2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklk", + "EhcKB2NsdWJfaWQYAiABKARCBoL5KwIQASJiChVHZXREZXNjcmlwdGlvblJl", + "cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAEiTQoWR2V0RGVz", + "Y3JpcHRpb25SZXNwb25zZRIzCgRjbHViGAEgASgLMiUuYmdzLnByb3RvY29s", + "LmNsdWIudjEuQ2x1YkRlc2NyaXB0aW9uInoKEkdldENsdWJUeXBlUmVxdWVz", + "dBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l", + "bWJlcklkEjIKBHR5cGUYAiABKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5V", + "bmlxdWVDbHViVHlwZSKzAgoTR2V0Q2x1YlR5cGVSZXNwb25zZRIyCgR0eXBl", + "GAEgASgLMiQuYmdzLnByb3RvY29sLmNsdWIudjEuVW5pcXVlQ2x1YlR5cGUS", + "MwoIcm9sZV9zZXQYAiABKAsyIS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHVi", + "Um9sZVNldBI5CglyYW5nZV9zZXQYAyABKAsyJi5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5DbHViVHlwZVJhbmdlU2V0EjwKEHBsYXRmb3JtX3RhZ19zZXQYBCAD", + "KAsyIi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5Mb2NhbGl6ZWRUYWcSOgoOY3Vz", + "dG9tX3RhZ19zZXQYBSADKAsyIi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5Mb2Nh", + "bGl6ZWRUYWcinAEKFlVwZGF0ZUNsdWJTdGF0ZVJlcXVlc3QSMAoIYWdlbnRf", + "aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj", + "bHViX2lkGAIgASgEQgaC+SsCEAESNwoHb3B0aW9ucxgDIAEoCzImLmJncy5w", + "cm90b2NvbC5jbHViLnYxLkNsdWJTdGF0ZU9wdGlvbnMiogEKGVVwZGF0ZUNs", + "dWJTZXR0aW5nc1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsC", + "EAESOgoHb3B0aW9ucxgDIAEoCzIpLmJncy5wcm90b2NvbC5jbHViLnYxLkNs", + "dWJTZXR0aW5nc09wdGlvbnMimQEKEEFkZE1lbWJlclJlcXVlc3QSMAoIYWdl", + "bnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIX", + "CgdjbHViX2lkGAIgASgEQgaC+SsCEAESOgoHb3B0aW9ucxgDIAEoCzIpLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZU1lbWJlck9wdGlvbnMilAEKC0pv", + "aW5SZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNs", + "dWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEjoKB29w", + "dGlvbnMYAyABKAsyKS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DcmVhdGVNZW1i", + "ZXJPcHRpb25zIlkKDExlYXZlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIe", + "LmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiAB", + "KARCBoL5KwIQASKLAQoLS2lja1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsy", + "Hi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIg", + "ASgEQgaC+SsCEAESMQoJdGFyZ2V0X2lkGAMgASgLMh4uYmdzLnByb3RvY29s", + "LmNsdWIudjEuTWVtYmVySWQikAEKEEdldE1lbWJlclJlcXVlc3QSMAoIYWdl", + "bnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIX", + "CgdjbHViX2lkGAIgASgEQgaC+SsCEAESMQoJbWVtYmVyX2lkGAMgASgLMh4u", + "YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQiQQoRR2V0TWVtYmVyUmVz", + "cG9uc2USLAoGbWVtYmVyGAEgASgLMhwuYmdzLnByb3RvY29sLmNsdWIudjEu", + "TWVtYmVyInQKEUdldE1lbWJlcnNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgL", + "Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgC", + "IAEoBEIGgvkrAhABEhQKDGNvbnRpbnVhdGlvbhgEIAEoBCJYChJHZXRNZW1i", + "ZXJzUmVzcG9uc2USLAoGbWVtYmVyGAEgAygLMhwuYmdzLnByb3RvY29sLmNs", + "dWIudjEuTWVtYmVyEhQKDGNvbnRpbnVhdGlvbhgCIAEoBCLTAQoYVXBkYXRl", + "TWVtYmVyU3RhdGVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnBy", + "b3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkr", + "AhABEjEKCW1lbWJlcl9pZBgDIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlcklkEjkKB29wdGlvbnMYBSABKAsyKC5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5NZW1iZXJTdGF0ZU9wdGlvbnMiqAEKHFVwZGF0ZVN1YnNjcmliZXJT", + "dGF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESPQoH", + "b3B0aW9ucxgDIAEoCzIsLmJncy5wcm90b2NvbC5jbHViLnYxLlN1YnNjcmli", + "ZXJTdGF0ZU9wdGlvbnMikgEKEUFzc2lnblJvbGVSZXF1ZXN0EjAKCGFnZW50", + "X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoH", + "Y2x1Yl9pZBgCIAEoBEIGgvkrAhABEjIKB29wdGlvbnMYAyABKAsyIS5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5Sb2xlT3B0aW9ucyKUAQoTVW5hc3NpZ25Sb2xl", + "UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIyCgdvcHRp", + "b25zGAMgASgLMiEuYmdzLnByb3RvY29sLmNsdWIudjEuUm9sZU9wdGlvbnMi", + "oAEKFVNlbmRJbnZpdGF0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIe", + "LmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiAB", + "KARCBoL5KwIQARI8CgdvcHRpb25zGAMgASgLMisuYmdzLnByb3RvY29sLmNs", + "dWIudjEuU2VuZEludml0YXRpb25PcHRpb25zInsKF0FjY2VwdEludml0YXRp", + "b25SZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNs", + "dWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhUKDWlu", + "dml0YXRpb25faWQYAyABKAYifAoYRGVjbGluZUludml0YXRpb25SZXF1ZXN0", + "EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVt", + "YmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhUKDWludml0YXRpb25f", + "aWQYAyABKAYiewoXUmV2b2tlSW52aXRhdGlvblJlcXVlc3QSMAoIYWdlbnRf", + "aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj", + "bHViX2lkGAIgASgEQgaC+SsCEAESFQoNaW52aXRhdGlvbl9pZBgDIAEoBiJ4", + "ChRHZXRJbnZpdGF0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARC", + "BoL5KwIQARIVCg1pbnZpdGF0aW9uX2lkGAMgASgGIlEKFUdldEludml0YXRp", + "b25SZXNwb25zZRI4CgppbnZpdGF0aW9uGAEgASgLMiQuYmdzLnByb3RvY29s", + "LmNsdWIudjEuQ2x1Ykludml0YXRpb24ieAoVR2V0SW52aXRhdGlvbnNSZXF1", + "ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEu", + "TWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhQKDGNvbnRpbnVh", + "dGlvbhgDIAEoBCJoChZHZXRJbnZpdGF0aW9uc1Jlc3BvbnNlEjgKCmludml0", + "YXRpb24YASADKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViSW52aXRh", + "dGlvbhIUCgxjb250aW51YXRpb24YAiABKAQioAEKFVNlbmRTdWdnZXN0aW9u", + "UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARI8CgdvcHRp", + "b25zGAMgASgLMisuYmdzLnByb3RvY29sLmNsdWIudjEuU2VuZFN1Z2dlc3Rp", + "b25PcHRpb25zInsKF0FjY2VwdFN1Z2dlc3Rpb25SZXF1ZXN0EjAKCGFnZW50", + "X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoH", + "Y2x1Yl9pZBgCIAEoBEIGgvkrAhABEhUKDXN1Z2dlc3Rpb25faWQYAyABKAYi", + "fAoYRGVjbGluZVN1Z2dlc3Rpb25SZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgL", + "Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgC", + "IAEoBEIGgvkrAhABEhUKDXN1Z2dlc3Rpb25faWQYAyABKAYieAoUR2V0U3Vn", + "Z2VzdGlvblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9j", + "b2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAES", + "FQoNc3VnZ2VzdGlvbl9pZBgDIAEoBiJRChVHZXRTdWdnZXN0aW9uUmVzcG9u", + "c2USOAoKc3VnZ2VzdGlvbhgBIAEoCzIkLmJncy5wcm90b2NvbC5jbHViLnYx", + "LkNsdWJTdWdnZXN0aW9uIngKFUdldFN1Z2dlc3Rpb25zUmVxdWVzdBIwCghh", + "Z2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklk", + "EhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIUCgxjb250aW51YXRpb24YAyAB", + "KAQiaAoWR2V0U3VnZ2VzdGlvbnNSZXNwb25zZRI4CgpzdWdnZXN0aW9uGAEg", + "AygLMiQuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlN1Z2dlc3Rpb24SFAoM", + "Y29udGludWF0aW9uGAIgASgEIpwBChNDcmVhdGVUaWNrZXRSZXF1ZXN0EjAK", + "CGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy", + "SWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEjoKB29wdGlvbnMYAyABKAsy", + "KS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DcmVhdGVUaWNrZXRPcHRpb25zIkgK", + "FENyZWF0ZVRpY2tldFJlc3BvbnNlEjAKBnRpY2tldBgBIAEoCzIgLmJncy5w", + "cm90b2NvbC5jbHViLnYxLkNsdWJUaWNrZXQidAoURGVzdHJveVRpY2tldFJl", + "cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJdGlja2V0", + "X2lkGAMgASgJIloKE1JlZGVlbVRpY2tldFJlcXVlc3QSMAoIYWdlbnRfaWQY", + "ASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIRCgl0aWNr", + "ZXRfaWQYAyABKAkiVwoQR2V0VGlja2V0UmVxdWVzdBIwCghhZ2VudF9pZBgB", + "IAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhEKCXRpY2tl", + "dF9pZBgDIAEoCSJFChFHZXRUaWNrZXRSZXNwb25zZRIwCgZ0aWNrZXQYASAB", + "KAsyIC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViVGlja2V0InQKEUdldFRp", + "Y2tldHNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29s", + "LmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhQK", + "DGNvbnRpbnVhdGlvbhgDIAEoBCJcChJHZXRUaWNrZXRzUmVzcG9uc2USMAoG", + "dGlja2V0GAEgAygLMiAuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlRpY2tl", + "dBIUCgxjb250aW51YXRpb24YAiABKAQikAEKDUFkZEJhblJlcXVlc3QSMAoI", + "YWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJ", + "ZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESNAoHb3B0aW9ucxgDIAEoCzIj", + "LmJncy5wcm90b2NvbC5jbHViLnYxLkFkZEJhbk9wdGlvbnMikAEKEFJlbW92", + "ZUJhblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESMQoJ", + "dGFyZ2V0X2lkGAMgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy", + "SWQijQEKDUdldEJhblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC", + "+SsCEAESMQoJdGFyZ2V0X2lkGAMgASgLMh4uYmdzLnByb3RvY29sLmNsdWIu", + "djEuTWVtYmVySWQiPAoOR2V0QmFuUmVzcG9uc2USKgoDYmFuGAEgASgLMh0u", + "YmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YkJhbiJxCg5HZXRCYW5zUmVxdWVz", + "dBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l", + "bWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIUCgxjb250aW51YXRp", + "b24YAyABKAQiUwoPR2V0QmFuc1Jlc3BvbnNlEioKA2JhbhgBIAMoCzIdLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLkNsdWJCYW4SFAoMY29udGludWF0aW9uGAIg", + "ASgEInYKFlN1YnNjcmliZVN0cmVhbVJlcXVlc3QSMAoIYWdlbnRfaWQYASAB", + "KAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lk", + "GAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lkGAMgAygEIngKGFVuc3Vic2Ny", + "aWJlU3RyZWFtUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90", + "b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQ", + "ARIRCglzdHJlYW1faWQYAyADKAQinAEKE0NyZWF0ZVN0cmVhbVJlcXVlc3QS", + "MAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i", + "ZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESOgoHb3B0aW9ucxgDIAEo", + "CzIpLmJncy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZVN0cmVhbU9wdGlvbnMi", + "OgoUQ3JlYXRlU3RyZWFtUmVzcG9uc2USDwoHY2x1Yl9pZBgBIAEoBBIRCglz", + "dHJlYW1faWQYAiABKAQidAoURGVzdHJveVN0cmVhbVJlcXVlc3QSMAoIYWdl", + "bnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIX", + "CgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lkGAMgASgEInAK", + "EEdldFN0cmVhbVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsC", + "EAESEQoJc3RyZWFtX2lkGAMgASgEIkEKEUdldFN0cmVhbVJlc3BvbnNlEiwK", + "BnN0cmVhbRgBIAEoCzIcLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbSJ0", + "ChFHZXRTdHJlYW1zUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w", + "cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5", + "KwIQARIUCgxjb250aW51YXRpb24YAyABKAQiiAEKEkdldFN0cmVhbXNSZXNw", + "b25zZRIsCgZzdHJlYW0YASADKAsyHC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5T", + "dHJlYW0SLgoEdmlldxgCIAMoCzIgLmJncy5wcm90b2NvbC5jbHViLnYxLlN0", + "cmVhbVZpZXcSFAoMY29udGludWF0aW9uGAMgASgEIrMBChhVcGRhdGVTdHJl", + "YW1TdGF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9j", + "b2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAES", + "EQoJc3RyZWFtX2lkGAMgASgEEjkKB29wdGlvbnMYBSABKAsyKC5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5TdHJlYW1TdGF0ZU9wdGlvbnMihAEKFVNldFN0cmVh", + "bUZvY3VzUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIR", + "CglzdHJlYW1faWQYAyABKAQSDQoFZm9jdXMYBCABKAgisQEKFENyZWF0ZU1l", + "c3NhZ2VSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29s", + "LmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEK", + "CXN0cmVhbV9pZBgDIAEoBBI7CgdvcHRpb25zGAQgASgLMiouYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuQ3JlYXRlTWVzc2FnZU9wdGlvbnMiTQoVQ3JlYXRlTWVz", + "c2FnZVJlc3BvbnNlEjQKB21lc3NhZ2UYASABKAsyIy5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5TdHJlYW1NZXNzYWdlIqIBChVEZXN0cm95TWVzc2FnZVJlcXVl", + "c3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5N", + "ZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lk", + "GAMgASgEEisKCm1lc3NhZ2VfaWQYBCABKAsyFy5iZ3MucHJvdG9jb2wuTWVz", + "c2FnZUlkIk4KFkRlc3Ryb3lNZXNzYWdlUmVzcG9uc2USNAoHbWVzc2FnZRgB", + "IAEoCzIjLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbU1lc3NhZ2Ui3AEK", + "EkVkaXRNZXNzYWdlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w", + "cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5", + "KwIQARIRCglzdHJlYW1faWQYAyABKAQSKwoKbWVzc2FnZV9pZBgEIAEoCzIX", + "LmJncy5wcm90b2NvbC5NZXNzYWdlSWQSOwoHb3B0aW9ucxgFIAEoCzIqLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZU1lc3NhZ2VPcHRpb25zIksKE0Vk", + "aXRNZXNzYWdlUmVzcG9uc2USNAoHbWVzc2FnZRgBIAEoCzIjLmJncy5wcm90", + "b2NvbC5jbHViLnYxLlN0cmVhbU1lc3NhZ2UidwoXU2V0TWVzc2FnZVBpbm5l", + "ZFJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3Ry", + "ZWFtX2lkGAMgASgEIqsBChlTZXRUeXBpbmdJbmRpY2F0b3JSZXF1ZXN0EjAK", + "CGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy", + "SWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAEo", + "BBIwCglpbmRpY2F0b3IYBCABKA4yHS5iZ3MucHJvdG9jb2wuVHlwaW5nSW5k", + "aWNhdG9yIqIBChxBZHZhbmNlU3RyZWFtVmlld1RpbWVSZXF1ZXN0EjAKCGFn", + "ZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQS", + "FwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEiAKFHN0cmVhbV9pZF9kZXByZWNh", + "dGVkGAMgASgEQgIYARIVCglzdHJlYW1faWQYBCADKARCAhABIoMBCiNBZHZh", + "bmNlU3RyZWFtTWVudGlvblZpZXdUaW1lUmVxdWVzdBIwCghhZ2VudF9pZBgB", + "IAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJf", + "aWQYAiABKARCBoL5KwIQARIRCglzdHJlYW1faWQYAyABKAQiawoeQWR2YW5j", + "ZUFjdGl2aXR5Vmlld1RpbWVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4u", + "YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEo", + "BEIGgvkrAhABIqcBChdHZXRTdHJlYW1IaXN0b3J5UmVxdWVzdBIwCghhZ2Vu", + "dF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcK", + "B2NsdWJfaWQYAiABKARCBoL5KwIQARIRCglzdHJlYW1faWQYAyABKAQSLgoH", + "b3B0aW9ucxgEIAEoCzIdLmJncy5wcm90b2NvbC5HZXRFdmVudE9wdGlvbnMi", + "ZgoYR2V0U3RyZWFtSGlzdG9yeVJlc3BvbnNlEjQKB21lc3NhZ2UYASADKAsy", + "Iy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdHJlYW1NZXNzYWdlEhQKDGNvbnRp", + "bnVhdGlvbhgCIAEoBCKkAQoXR2V0U3RyZWFtTWVzc2FnZVJlcXVlc3QSMAoI", + "YWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJ", + "ZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lkGAMgASgE", + "EisKCm1lc3NhZ2VfaWQYBCABKAsyFy5iZ3MucHJvdG9jb2wuTWVzc2FnZUlk", + "IlAKGEdldFN0cmVhbU1lc3NhZ2VSZXNwb25zZRI0CgdtZXNzYWdlGAEgASgL", + "MiMuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTWVzc2FnZSKTAQoWR2V0", + "Q2x1YkFjdGl2aXR5UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w", + "cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5", + "KwIQARIuCgdvcHRpb25zGAMgASgLMh0uYmdzLnByb3RvY29sLkdldEV2ZW50", + "T3B0aW9ucyIvChdHZXRDbHViQWN0aXZpdHlSZXNwb25zZRIUCgxjb250aW51", + "YXRpb24YAiABKAQipwEKGkdldFN0cmVhbVZvaWNlVG9rZW5SZXF1ZXN0EjAK", + "CGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy", + "SWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAEo", + "BBIrCgd2ZXJzaW9uGAQgASgNQhqC+SsWKhRWb2ljZVByb3ZpZGVyVmVyc2lv", + "biJnChtHZXRTdHJlYW1Wb2ljZVRva2VuUmVzcG9uc2USEwoLY2hhbm5lbF91", + "cmkYASABKAkSMwoLY3JlZGVudGlhbHMYAiABKAsyHi5iZ3MucHJvdG9jb2wu", + "Vm9pY2VDcmVkZW50aWFscyKtAQoaS2lja0Zyb21TdHJlYW1Wb2ljZVJlcXVl", + "c3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5N", + "ZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lk", + "GAMgASgEEjEKCXRhcmdldF9pZBgEIAEoCzIeLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLk1lbWJlcklkQgJIAVAAUAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscribeRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnsubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnsubscribeRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateResponse.Parser, new[]{ "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetDescriptionRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetDescriptionRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetDescriptionResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetDescriptionResponse.Parser, new[]{ "Club" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubTypeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubTypeRequest.Parser, new[]{ "AgentId", "Type" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubTypeResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubTypeResponse.Parser, new[]{ "Type", "RoleSet", "RangeSet", "PlatformTagSet", "CustomTagSet" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateClubStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateClubStateRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateClubSettingsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateClubSettingsRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddMemberRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddMemberRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.JoinRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.JoinRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.LeaveRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.LeaveRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.KickRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.KickRequest.Parser, new[]{ "AgentId", "ClubId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMemberRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMemberRequest.Parser, new[]{ "AgentId", "ClubId", "MemberId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMemberResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMemberResponse.Parser, new[]{ "Member" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMembersRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMembersRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMembersResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetMembersResponse.Parser, new[]{ "Member", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateMemberStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateMemberStateRequest.Parser, new[]{ "AgentId", "ClubId", "MemberId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateSubscriberStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateSubscriberStateRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AssignRoleRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AssignRoleRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnassignRoleRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnassignRoleRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AcceptInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AcceptInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DeclineInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DeclineInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RevokeInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RevokeInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationResponse.Parser, new[]{ "Invitation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetInvitationsResponse.Parser, new[]{ "Invitation", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AcceptSuggestionRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AcceptSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "SuggestionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DeclineSuggestionRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DeclineSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "SuggestionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "SuggestionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionResponse.Parser, new[]{ "Suggestion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetSuggestionsResponse.Parser, new[]{ "Suggestion", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketResponse.Parser, new[]{ "Ticket" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyTicketRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyTicketRequest.Parser, new[]{ "AgentId", "ClubId", "TicketId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RedeemTicketRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RedeemTicketRequest.Parser, new[]{ "AgentId", "TicketId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketRequest.Parser, new[]{ "AgentId", "TicketId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketResponse.Parser, new[]{ "Ticket" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetTicketsResponse.Parser, new[]{ "Ticket", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RemoveBanRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RemoveBanRequest.Parser, new[]{ "AgentId", "ClubId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBanRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBanRequest.Parser, new[]{ "AgentId", "ClubId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBanResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBanResponse.Parser, new[]{ "Ban" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBansRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBansRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBansResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetBansResponse.Parser, new[]{ "Ban", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscribeStreamRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscribeStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnsubscribeStreamRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UnsubscribeStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamResponse.Parser, new[]{ "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyStreamRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamResponse.Parser, new[]{ "Stream" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamsResponse.Parser, new[]{ "Stream", "View", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateStreamStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UpdateStreamStateRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetStreamFocusRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetStreamFocusRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Focus" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageResponse.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyMessageRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "MessageId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyMessageResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.DestroyMessageResponse.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.EditMessageRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.EditMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "MessageId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.EditMessageResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.EditMessageResponse.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetMessagePinnedRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetMessagePinnedRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetTypingIndicatorRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SetTypingIndicatorRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Indicator" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AdvanceStreamViewTimeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AdvanceStreamViewTimeRequest.Parser, new[]{ "AgentId", "ClubId", "StreamIdDeprecated", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AdvanceStreamMentionViewTimeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AdvanceStreamMentionViewTimeRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AdvanceActivityViewTimeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AdvanceActivityViewTimeRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamHistoryRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamHistoryRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamHistoryResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamHistoryResponse.Parser, new[]{ "Message", "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamMessageRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "MessageId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamMessageResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamMessageResponse.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubActivityRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubActivityRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubActivityResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetClubActivityResponse.Parser, new[]{ "Continuation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamVoiceTokenRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamVoiceTokenRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Version" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamVoiceTokenResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.GetStreamVoiceTokenResponse.Parser, new[]{ "ChannelUri", "Credentials" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.KickFromStreamVoiceRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.KickFromStreamVoiceRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "TargetId" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest(SubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest Clone() { + return new SubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest(UnsubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest Clone() { + return new UnsubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateRequest(CreateRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateRequest Clone() { + return new CreateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (options_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCreateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateResponse(CreateResponse other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateResponse Clone() { + return new CreateResponse(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateResponse other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DestroyRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyRequest(DestroyRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyRequest Clone() { + return new DestroyRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DestroyRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DestroyRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DestroyRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetDescriptionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDescriptionRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDescriptionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDescriptionRequest(GetDescriptionRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDescriptionRequest Clone() { + return new GetDescriptionRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetDescriptionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetDescriptionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetDescriptionRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetDescriptionResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDescriptionResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDescriptionResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDescriptionResponse(GetDescriptionResponse other) : this() { + club_ = other.club_ != null ? other.club_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDescriptionResponse Clone() { + return new GetDescriptionResponse(this); + } + + /// Field number for the "club" field. + public const int ClubFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription club_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription Club { + get { return club_; } + set { + club_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetDescriptionResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetDescriptionResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Club, other.Club)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (club_ != null) hash ^= Club.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (club_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Club); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (club_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Club); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (club_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Club); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetDescriptionResponse other) { + if (other == null) { + return; + } + if (other.club_ != null) { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + Club.MergeFrom(other.Club); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (club_ == null) { + Club = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubDescription(); + } + input.ReadMessage(Club); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetClubTypeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetClubTypeRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubTypeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubTypeRequest(GetClubTypeRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + type_ = other.type_ != null ? other.type_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubTypeRequest Clone() { + return new GetClubTypeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType Type { + get { return type_; } + set { + type_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetClubTypeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetClubTypeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(Type, other.Type)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (type_ != null) hash ^= Type.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (type_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (type_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetClubTypeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.type_ != null) { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + Type.MergeFrom(other.Type); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetClubTypeResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetClubTypeResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubTypeResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubTypeResponse(GetClubTypeResponse other) : this() { + type_ = other.type_ != null ? other.type_.Clone() : null; + roleSet_ = other.roleSet_ != null ? other.roleSet_.Clone() : null; + rangeSet_ = other.rangeSet_ != null ? other.rangeSet_.Clone() : null; + platformTagSet_ = other.platformTagSet_.Clone(); + customTagSet_ = other.customTagSet_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubTypeResponse Clone() { + return new GetClubTypeResponse(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "role_set" field. + public const int RoleSetFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet roleSet_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet RoleSet { + get { return roleSet_; } + set { + roleSet_ = value; + } + } + + /// Field number for the "range_set" field. + public const int RangeSetFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet rangeSet_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet RangeSet { + get { return rangeSet_; } + set { + rangeSet_ = value; + } + } + + /// Field number for the "platform_tag_set" field. + public const int PlatformTagSetFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_platformTagSet_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.LocalizedTag.Parser); + private readonly pbc::RepeatedField platformTagSet_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlatformTagSet { + get { return platformTagSet_; } + } + + /// Field number for the "custom_tag_set" field. + public const int CustomTagSetFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_customTagSet_codec + = pb::FieldCodec.ForMessage(42, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.LocalizedTag.Parser); + private readonly pbc::RepeatedField customTagSet_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CustomTagSet { + get { return customTagSet_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetClubTypeResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetClubTypeResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Type, other.Type)) return false; + if (!object.Equals(RoleSet, other.RoleSet)) return false; + if (!object.Equals(RangeSet, other.RangeSet)) return false; + if(!platformTagSet_.Equals(other.platformTagSet_)) return false; + if(!customTagSet_.Equals(other.customTagSet_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (type_ != null) hash ^= Type.GetHashCode(); + if (roleSet_ != null) hash ^= RoleSet.GetHashCode(); + if (rangeSet_ != null) hash ^= RangeSet.GetHashCode(); + hash ^= platformTagSet_.GetHashCode(); + hash ^= customTagSet_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (type_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Type); + } + if (roleSet_ != null) { + output.WriteRawTag(18); + output.WriteMessage(RoleSet); + } + if (rangeSet_ != null) { + output.WriteRawTag(26); + output.WriteMessage(RangeSet); + } + platformTagSet_.WriteTo(output, _repeated_platformTagSet_codec); + customTagSet_.WriteTo(output, _repeated_customTagSet_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (type_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Type); + } + if (roleSet_ != null) { + output.WriteRawTag(18); + output.WriteMessage(RoleSet); + } + if (rangeSet_ != null) { + output.WriteRawTag(26); + output.WriteMessage(RangeSet); + } + platformTagSet_.WriteTo(ref output, _repeated_platformTagSet_codec); + customTagSet_.WriteTo(ref output, _repeated_customTagSet_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (type_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type); + } + if (roleSet_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoleSet); + } + if (rangeSet_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RangeSet); + } + size += platformTagSet_.CalculateSize(_repeated_platformTagSet_codec); + size += customTagSet_.CalculateSize(_repeated_customTagSet_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetClubTypeResponse other) { + if (other == null) { + return; + } + if (other.type_ != null) { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + Type.MergeFrom(other.Type); + } + if (other.roleSet_ != null) { + if (roleSet_ == null) { + RoleSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet(); + } + RoleSet.MergeFrom(other.RoleSet); + } + if (other.rangeSet_ != null) { + if (rangeSet_ == null) { + RangeSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet(); + } + RangeSet.MergeFrom(other.RangeSet); + } + platformTagSet_.Add(other.platformTagSet_); + customTagSet_.Add(other.customTagSet_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 18: { + if (roleSet_ == null) { + RoleSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet(); + } + input.ReadMessage(RoleSet); + break; + } + case 26: { + if (rangeSet_ == null) { + RangeSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet(); + } + input.ReadMessage(RangeSet); + break; + } + case 34: { + platformTagSet_.AddEntriesFrom(input, _repeated_platformTagSet_codec); + break; + } + case 42: { + customTagSet_.AddEntriesFrom(input, _repeated_customTagSet_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (type_ == null) { + Type = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(Type); + break; + } + case 18: { + if (roleSet_ == null) { + RoleSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet(); + } + input.ReadMessage(RoleSet); + break; + } + case 26: { + if (rangeSet_ == null) { + RangeSet = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeRangeSet(); + } + input.ReadMessage(RangeSet); + break; + } + case 34: { + platformTagSet_.AddEntriesFrom(ref input, _repeated_platformTagSet_codec); + break; + } + case 42: { + customTagSet_.AddEntriesFrom(ref input, _repeated_customTagSet_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateClubStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateClubStateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubStateRequest(UpdateClubStateRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubStateRequest Clone() { + return new UpdateClubStateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateClubStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateClubStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateClubStateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateClubSettingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateClubSettingsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubSettingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubSettingsRequest(UpdateClubSettingsRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateClubSettingsRequest Clone() { + return new UpdateClubSettingsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateClubSettingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateClubSettingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateClubSettingsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSettingsOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddMemberRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddMemberRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddMemberRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddMemberRequest(AddMemberRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddMemberRequest Clone() { + return new AddMemberRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AddMemberRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AddMemberRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AddMemberRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class JoinRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JoinRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRequest(JoinRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRequest Clone() { + return new JoinRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as JoinRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(JoinRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(JoinRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMemberOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LeaveRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LeaveRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LeaveRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LeaveRequest(LeaveRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LeaveRequest Clone() { + return new LeaveRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LeaveRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LeaveRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LeaveRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KickRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KickRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KickRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KickRequest(KickRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KickRequest Clone() { + return new KickRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as KickRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KickRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (targetId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (targetId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(KickRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMemberRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMemberRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMemberRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMemberRequest(GetMemberRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMemberRequest Clone() { + return new GetMemberRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetMemberRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMemberRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(MemberId, other.MemberId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (memberId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MemberId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (memberId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MemberId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMemberRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMemberResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMemberResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMemberResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMemberResponse(GetMemberResponse other) : this() { + member_ = other.member_ != null ? other.member_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMemberResponse Clone() { + return new GetMemberResponse(this); + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member member_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member Member { + get { return member_; } + set { + member_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetMemberResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMemberResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Member, other.Member)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (member_ != null) hash ^= Member.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (member_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Member); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (member_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Member); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (member_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Member); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMemberResponse other) { + if (other == null) { + return; + } + if (other.member_ != null) { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member(); + } + Member.MergeFrom(other.Member); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member(); + } + input.ReadMessage(Member); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (member_ == null) { + Member = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member(); + } + input.ReadMessage(Member); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMembersRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMembersRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMembersRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMembersRequest(GetMembersRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMembersRequest Clone() { + return new GetMembersRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 4; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 2; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetMembersRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMembersRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(32); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(32); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMembersRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 32: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMembersResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMembersResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMembersResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMembersResponse(GetMembersResponse other) : this() { + _hasBits0 = other._hasBits0; + member_ = other.member_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMembersResponse Clone() { + return new GetMembersResponse(this); + } + + /// Field number for the "member" field. + public const int MemberFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_member_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Member.Parser); + private readonly pbc::RepeatedField member_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Member { + get { return member_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetMembersResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMembersResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!member_.Equals(other.member_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= member_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + member_.WriteTo(output, _repeated_member_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + member_.WriteTo(ref output, _repeated_member_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += member_.CalculateSize(_repeated_member_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMembersResponse other) { + if (other == null) { + return; + } + member_.Add(other.member_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + member_.AddEntriesFrom(input, _repeated_member_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + member_.AddEntriesFrom(ref input, _repeated_member_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateMemberStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateMemberStateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateMemberStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateMemberStateRequest(UpdateMemberStateRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateMemberStateRequest Clone() { + return new UpdateMemberStateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateMemberStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateMemberStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(MemberId, other.MemberId)) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (memberId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MemberId); + } + if (options_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (memberId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MemberId); + } + if (options_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateMemberStateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 42: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 42: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateSubscriberStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateSubscriberStateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[20]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateSubscriberStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateSubscriberStateRequest(UpdateSubscriberStateRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateSubscriberStateRequest Clone() { + return new UpdateSubscriberStateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateSubscriberStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateSubscriberStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateSubscriberStateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SubscriberStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AssignRoleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AssignRoleRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[21]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssignRoleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssignRoleRequest(AssignRoleRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssignRoleRequest Clone() { + return new AssignRoleRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AssignRoleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AssignRoleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AssignRoleRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnassignRoleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnassignRoleRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[22]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnassignRoleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnassignRoleRequest(UnassignRoleRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnassignRoleRequest Clone() { + return new UnassignRoleRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnassignRoleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnassignRoleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnassignRoleRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.RoleOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SendInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[23]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationRequest(SendInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationRequest Clone() { + return new SendInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SendInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SendInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SendInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendInvitationOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AcceptInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[24]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationRequest(AcceptInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationRequest Clone() { + return new AcceptInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 2; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AcceptInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AcceptInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AcceptInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeclineInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeclineInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[25]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineInvitationRequest(DeclineInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineInvitationRequest Clone() { + return new DeclineInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 2; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeclineInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeclineInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeclineInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RevokeInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RevokeInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[26]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeInvitationRequest(RevokeInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeInvitationRequest Clone() { + return new RevokeInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 2; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RevokeInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RevokeInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RevokeInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[27]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationRequest(GetInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationRequest Clone() { + return new GetInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 2; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetInvitationResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[28]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationResponse(GetInvitationResponse other) : this() { + invitation_ = other.invitation_ != null ? other.invitation_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationResponse Clone() { + return new GetInvitationResponse(this); + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation invitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation Invitation { + get { return invitation_; } + set { + invitation_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetInvitationResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetInvitationResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Invitation, other.Invitation)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (invitation_ != null) hash ^= Invitation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (invitation_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (invitation_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (invitation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetInvitationResponse other) { + if (other == null) { + return; + } + if (other.invitation_ != null) { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + Invitation.MergeFrom(other.Invitation); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetInvitationsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[29]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationsRequest(GetInvitationsRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationsRequest Clone() { + return new GetInvitationsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 3; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 2; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetInvitationsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetInvitationsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetInvitationsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetInvitationsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationsResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[30]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationsResponse(GetInvitationsResponse other) : this() { + _hasBits0 = other._hasBits0; + invitation_ = other.invitation_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInvitationsResponse Clone() { + return new GetInvitationsResponse(this); + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_invitation_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitation.Parser); + private readonly pbc::RepeatedField invitation_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Invitation { + get { return invitation_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetInvitationsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetInvitationsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!invitation_.Equals(other.invitation_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= invitation_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + invitation_.WriteTo(output, _repeated_invitation_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + invitation_.WriteTo(ref output, _repeated_invitation_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += invitation_.CalculateSize(_repeated_invitation_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetInvitationsResponse other) { + if (other == null) { + return; + } + invitation_.Add(other.invitation_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + invitation_.AddEntriesFrom(input, _repeated_invitation_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + invitation_.AddEntriesFrom(ref input, _repeated_invitation_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SendSuggestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendSuggestionRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[31]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendSuggestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendSuggestionRequest(SendSuggestionRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendSuggestionRequest Clone() { + return new SendSuggestionRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SendSuggestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SendSuggestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SendSuggestionRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.SendSuggestionOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AcceptSuggestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptSuggestionRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[32]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptSuggestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptSuggestionRequest(AcceptSuggestionRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + suggestionId_ = other.suggestionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptSuggestionRequest Clone() { + return new AcceptSuggestionRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "suggestion_id" field. + public const int SuggestionIdFieldNumber = 3; + private readonly static ulong SuggestionIdDefaultValue = 0UL; + + private ulong suggestionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SuggestionId { + get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } } + set { + _hasBits0 |= 2; + suggestionId_ = value; + } + } + /// Gets whether the "suggestion_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSuggestionId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "suggestion_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSuggestionId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AcceptSuggestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AcceptSuggestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (SuggestionId != other.SuggestionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasSuggestionId) hash ^= SuggestionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(25); + output.WriteFixed64(SuggestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(25); + output.WriteFixed64(SuggestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasSuggestionId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AcceptSuggestionRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasSuggestionId) { + SuggestionId = other.SuggestionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + SuggestionId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + SuggestionId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeclineSuggestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeclineSuggestionRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[33]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineSuggestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineSuggestionRequest(DeclineSuggestionRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + suggestionId_ = other.suggestionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineSuggestionRequest Clone() { + return new DeclineSuggestionRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "suggestion_id" field. + public const int SuggestionIdFieldNumber = 3; + private readonly static ulong SuggestionIdDefaultValue = 0UL; + + private ulong suggestionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SuggestionId { + get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } } + set { + _hasBits0 |= 2; + suggestionId_ = value; + } + } + /// Gets whether the "suggestion_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSuggestionId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "suggestion_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSuggestionId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeclineSuggestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeclineSuggestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (SuggestionId != other.SuggestionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasSuggestionId) hash ^= SuggestionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(25); + output.WriteFixed64(SuggestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(25); + output.WriteFixed64(SuggestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasSuggestionId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeclineSuggestionRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasSuggestionId) { + SuggestionId = other.SuggestionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + SuggestionId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + SuggestionId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSuggestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[34]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionRequest(GetSuggestionRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + suggestionId_ = other.suggestionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionRequest Clone() { + return new GetSuggestionRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "suggestion_id" field. + public const int SuggestionIdFieldNumber = 3; + private readonly static ulong SuggestionIdDefaultValue = 0UL; + + private ulong suggestionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SuggestionId { + get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } } + set { + _hasBits0 |= 2; + suggestionId_ = value; + } + } + /// Gets whether the "suggestion_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSuggestionId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "suggestion_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSuggestionId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSuggestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSuggestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (SuggestionId != other.SuggestionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasSuggestionId) hash ^= SuggestionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(25); + output.WriteFixed64(SuggestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasSuggestionId) { + output.WriteRawTag(25); + output.WriteFixed64(SuggestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasSuggestionId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSuggestionRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasSuggestionId) { + SuggestionId = other.SuggestionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + SuggestionId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 25: { + SuggestionId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSuggestionResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[35]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionResponse(GetSuggestionResponse other) : this() { + suggestion_ = other.suggestion_ != null ? other.suggestion_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionResponse Clone() { + return new GetSuggestionResponse(this); + } + + /// Field number for the "suggestion" field. + public const int SuggestionFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion suggestion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion Suggestion { + get { return suggestion_; } + set { + suggestion_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSuggestionResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSuggestionResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Suggestion, other.Suggestion)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (suggestion_ != null) hash ^= Suggestion.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (suggestion_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Suggestion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (suggestion_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Suggestion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (suggestion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Suggestion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSuggestionResponse other) { + if (other == null) { + return; + } + if (other.suggestion_ != null) { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion(); + } + Suggestion.MergeFrom(other.Suggestion); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion(); + } + input.ReadMessage(Suggestion); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (suggestion_ == null) { + Suggestion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion(); + } + input.ReadMessage(Suggestion); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSuggestionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[36]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionsRequest(GetSuggestionsRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionsRequest Clone() { + return new GetSuggestionsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 3; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 2; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSuggestionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSuggestionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSuggestionsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSuggestionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionsResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[37]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionsResponse(GetSuggestionsResponse other) : this() { + _hasBits0 = other._hasBits0; + suggestion_ = other.suggestion_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSuggestionsResponse Clone() { + return new GetSuggestionsResponse(this); + } + + /// Field number for the "suggestion" field. + public const int SuggestionFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_suggestion_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubSuggestion.Parser); + private readonly pbc::RepeatedField suggestion_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Suggestion { + get { return suggestion_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSuggestionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSuggestionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!suggestion_.Equals(other.suggestion_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= suggestion_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + suggestion_.WriteTo(output, _repeated_suggestion_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + suggestion_.WriteTo(ref output, _repeated_suggestion_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += suggestion_.CalculateSize(_repeated_suggestion_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSuggestionsResponse other) { + if (other == null) { + return; + } + suggestion_.Add(other.suggestion_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + suggestion_.AddEntriesFrom(input, _repeated_suggestion_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + suggestion_.AddEntriesFrom(ref input, _repeated_suggestion_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateTicketRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateTicketRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[38]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketRequest(CreateTicketRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketRequest Clone() { + return new CreateTicketRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateTicketRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateTicketRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateTicketRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateTicketOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateTicketResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateTicketResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[39]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketResponse(CreateTicketResponse other) : this() { + ticket_ = other.ticket_ != null ? other.ticket_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateTicketResponse Clone() { + return new CreateTicketResponse(this); + } + + /// Field number for the "ticket" field. + public const int TicketFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket ticket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket Ticket { + get { return ticket_; } + set { + ticket_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateTicketResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateTicketResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Ticket, other.Ticket)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ticket_ != null) hash ^= Ticket.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ticket_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ticket); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ticket_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ticket); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ticket_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ticket); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateTicketResponse other) { + if (other == null) { + return; + } + if (other.ticket_ != null) { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket(); + } + Ticket.MergeFrom(other.Ticket); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket(); + } + input.ReadMessage(Ticket); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket(); + } + input.ReadMessage(Ticket); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DestroyTicketRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyTicketRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[40]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyTicketRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyTicketRequest(DestroyTicketRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + ticketId_ = other.ticketId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyTicketRequest Clone() { + return new DestroyTicketRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "ticket_id" field. + public const int TicketIdFieldNumber = 3; + private readonly static string TicketIdDefaultValue = ""; + + private string ticketId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TicketId { + get { return ticketId_ ?? TicketIdDefaultValue; } + set { + ticketId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "ticket_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTicketId { + get { return ticketId_ != null; } + } + /// Clears the value of the "ticket_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTicketId() { + ticketId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DestroyTicketRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DestroyTicketRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (TicketId != other.TicketId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasTicketId) hash ^= TicketId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasTicketId) { + output.WriteRawTag(26); + output.WriteString(TicketId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasTicketId) { + output.WriteRawTag(26); + output.WriteString(TicketId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasTicketId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TicketId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DestroyTicketRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasTicketId) { + TicketId = other.TicketId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + TicketId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + TicketId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RedeemTicketRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RedeemTicketRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[41]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RedeemTicketRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RedeemTicketRequest(RedeemTicketRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + ticketId_ = other.ticketId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RedeemTicketRequest Clone() { + return new RedeemTicketRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "ticket_id" field. + public const int TicketIdFieldNumber = 3; + private readonly static string TicketIdDefaultValue = ""; + + private string ticketId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TicketId { + get { return ticketId_ ?? TicketIdDefaultValue; } + set { + ticketId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "ticket_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTicketId { + get { return ticketId_ != null; } + } + /// Clears the value of the "ticket_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTicketId() { + ticketId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RedeemTicketRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RedeemTicketRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (TicketId != other.TicketId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasTicketId) hash ^= TicketId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasTicketId) { + output.WriteRawTag(26); + output.WriteString(TicketId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasTicketId) { + output.WriteRawTag(26); + output.WriteString(TicketId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasTicketId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TicketId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RedeemTicketRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasTicketId) { + TicketId = other.TicketId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + TicketId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + TicketId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetTicketRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[42]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketRequest(GetTicketRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + ticketId_ = other.ticketId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketRequest Clone() { + return new GetTicketRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "ticket_id" field. + public const int TicketIdFieldNumber = 3; + private readonly static string TicketIdDefaultValue = ""; + + private string ticketId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TicketId { + get { return ticketId_ ?? TicketIdDefaultValue; } + set { + ticketId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "ticket_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTicketId { + get { return ticketId_ != null; } + } + /// Clears the value of the "ticket_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTicketId() { + ticketId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetTicketRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetTicketRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (TicketId != other.TicketId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasTicketId) hash ^= TicketId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasTicketId) { + output.WriteRawTag(26); + output.WriteString(TicketId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasTicketId) { + output.WriteRawTag(26); + output.WriteString(TicketId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasTicketId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TicketId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetTicketRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasTicketId) { + TicketId = other.TicketId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + TicketId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 26: { + TicketId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetTicketResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[43]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketResponse(GetTicketResponse other) : this() { + ticket_ = other.ticket_ != null ? other.ticket_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketResponse Clone() { + return new GetTicketResponse(this); + } + + /// Field number for the "ticket" field. + public const int TicketFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket ticket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket Ticket { + get { return ticket_; } + set { + ticket_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetTicketResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetTicketResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Ticket, other.Ticket)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ticket_ != null) hash ^= Ticket.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ticket_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ticket); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ticket_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ticket); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ticket_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ticket); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetTicketResponse other) { + if (other == null) { + return; + } + if (other.ticket_ != null) { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket(); + } + Ticket.MergeFrom(other.Ticket); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket(); + } + input.ReadMessage(Ticket); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (ticket_ == null) { + Ticket = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket(); + } + input.ReadMessage(Ticket); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetTicketsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[44]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketsRequest(GetTicketsRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketsRequest Clone() { + return new GetTicketsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 3; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 2; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetTicketsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetTicketsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetTicketsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetTicketsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketsResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[45]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketsResponse(GetTicketsResponse other) : this() { + _hasBits0 = other._hasBits0; + ticket_ = other.ticket_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTicketsResponse Clone() { + return new GetTicketsResponse(this); + } + + /// Field number for the "ticket" field. + public const int TicketFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ticket_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTicket.Parser); + private readonly pbc::RepeatedField ticket_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ticket { + get { return ticket_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetTicketsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetTicketsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ticket_.Equals(other.ticket_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= ticket_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + ticket_.WriteTo(output, _repeated_ticket_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + ticket_.WriteTo(ref output, _repeated_ticket_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += ticket_.CalculateSize(_repeated_ticket_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetTicketsResponse other) { + if (other == null) { + return; + } + ticket_.Add(other.ticket_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ticket_.AddEntriesFrom(input, _repeated_ticket_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ticket_.AddEntriesFrom(ref input, _repeated_ticket_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddBanRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddBanRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[46]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBanRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBanRequest(AddBanRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBanRequest Clone() { + return new AddBanRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AddBanRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AddBanRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AddBanRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.AddBanOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RemoveBanRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveBanRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[47]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveBanRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveBanRequest(RemoveBanRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveBanRequest Clone() { + return new RemoveBanRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RemoveBanRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RemoveBanRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (targetId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (targetId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RemoveBanRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBanRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBanRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[48]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBanRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBanRequest(GetBanRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBanRequest Clone() { + return new GetBanRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBanRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBanRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (targetId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (targetId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBanRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBanResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBanResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[49]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBanResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBanResponse(GetBanResponse other) : this() { + ban_ = other.ban_ != null ? other.ban_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBanResponse Clone() { + return new GetBanResponse(this); + } + + /// Field number for the "ban" field. + public const int BanFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan ban_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan Ban { + get { return ban_; } + set { + ban_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBanResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBanResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Ban, other.Ban)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ban_ != null) hash ^= Ban.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ban_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ban); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ban_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ban); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ban_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ban); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBanResponse other) { + if (other == null) { + return; + } + if (other.ban_ != null) { + if (ban_ == null) { + Ban = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan(); + } + Ban.MergeFrom(other.Ban); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (ban_ == null) { + Ban = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan(); + } + input.ReadMessage(Ban); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (ban_ == null) { + Ban = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan(); + } + input.ReadMessage(Ban); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBansRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBansRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[50]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBansRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBansRequest(GetBansRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBansRequest Clone() { + return new GetBansRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 3; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 2; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBansRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBansRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBansRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBansResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBansResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[51]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBansResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBansResponse(GetBansResponse other) : this() { + _hasBits0 = other._hasBits0; + ban_ = other.ban_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBansResponse Clone() { + return new GetBansResponse(this); + } + + /// Field number for the "ban" field. + public const int BanFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ban_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBan.Parser); + private readonly pbc::RepeatedField ban_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ban { + get { return ban_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBansResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBansResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ban_.Equals(other.ban_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= ban_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + ban_.WriteTo(output, _repeated_ban_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + ban_.WriteTo(ref output, _repeated_ban_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += ban_.CalculateSize(_repeated_ban_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBansResponse other) { + if (other == null) { + return; + } + ban_.Add(other.ban_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ban_.AddEntriesFrom(input, _repeated_ban_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ban_.AddEntriesFrom(ref input, _repeated_ban_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeStreamRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeStreamRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[52]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeStreamRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeStreamRequest(SubscribeStreamRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeStreamRequest Clone() { + return new SubscribeStreamRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_streamId_codec + = pb::FieldCodec.ForUInt64(24); + private readonly pbc::RepeatedField streamId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StreamId { + get { return streamId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeStreamRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeStreamRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!streamId_.Equals(other.streamId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= streamId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + streamId_.WriteTo(output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + streamId_.WriteTo(ref output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += streamId_.CalculateSize(_repeated_streamId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeStreamRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + streamId_.Add(other.streamId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: + case 24: { + streamId_.AddEntriesFrom(input, _repeated_streamId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: + case 24: { + streamId_.AddEntriesFrom(ref input, _repeated_streamId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeStreamRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeStreamRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[53]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeStreamRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeStreamRequest(UnsubscribeStreamRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeStreamRequest Clone() { + return new UnsubscribeStreamRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_streamId_codec + = pb::FieldCodec.ForUInt64(24); + private readonly pbc::RepeatedField streamId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StreamId { + get { return streamId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeStreamRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeStreamRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if(!streamId_.Equals(other.streamId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + hash ^= streamId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + streamId_.WriteTo(output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + streamId_.WriteTo(ref output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + size += streamId_.CalculateSize(_repeated_streamId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeStreamRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + streamId_.Add(other.streamId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: + case 24: { + streamId_.AddEntriesFrom(input, _repeated_streamId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: + case 24: { + streamId_.AddEntriesFrom(ref input, _repeated_streamId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateStreamRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateStreamRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[54]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamRequest(CreateStreamRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamRequest Clone() { + return new CreateStreamRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateStreamRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateStreamRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateStreamRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateStreamResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateStreamResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[55]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamResponse(CreateStreamResponse other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamResponse Clone() { + return new CreateStreamResponse(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 2; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateStreamResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateStreamResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateStreamResponse other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DestroyStreamRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyStreamRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[56]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyStreamRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyStreamRequest(DestroyStreamRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyStreamRequest Clone() { + return new DestroyStreamRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DestroyStreamRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DestroyStreamRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DestroyStreamRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[57]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamRequest(GetStreamRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamRequest Clone() { + return new GetStreamRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[58]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamResponse(GetStreamResponse other) : this() { + stream_ = other.stream_ != null ? other.stream_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamResponse Clone() { + return new GetStreamResponse(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Stream, other.Stream)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (stream_ != null) hash ^= Stream.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (stream_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Stream); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (stream_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Stream); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (stream_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamResponse other) { + if (other == null) { + return; + } + if (other.stream_ != null) { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream(); + } + Stream.MergeFrom(other.Stream); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream(); + } + input.ReadMessage(Stream); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (stream_ == null) { + Stream = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream(); + } + input.ReadMessage(Stream); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[59]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamsRequest(GetStreamsRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamsRequest Clone() { + return new GetStreamsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 3; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 2; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamsResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[60]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamsResponse(GetStreamsResponse other) : this() { + _hasBits0 = other._hasBits0; + stream_ = other.stream_.Clone(); + view_ = other.view_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamsResponse Clone() { + return new GetStreamsResponse(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_stream_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream.Parser); + private readonly pbc::RepeatedField stream_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Stream { + get { return stream_; } + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_view_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamView.Parser); + private readonly pbc::RepeatedField view_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField View { + get { return view_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 3; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!stream_.Equals(other.stream_)) return false; + if(!view_.Equals(other.view_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= stream_.GetHashCode(); + hash ^= view_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + stream_.WriteTo(output, _repeated_stream_codec); + view_.WriteTo(output, _repeated_view_codec); + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + stream_.WriteTo(ref output, _repeated_stream_codec); + view_.WriteTo(ref output, _repeated_view_codec); + if (HasContinuation) { + output.WriteRawTag(24); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += stream_.CalculateSize(_repeated_stream_codec); + size += view_.CalculateSize(_repeated_view_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamsResponse other) { + if (other == null) { + return; + } + stream_.Add(other.stream_); + view_.Add(other.view_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + stream_.AddEntriesFrom(input, _repeated_stream_codec); + break; + } + case 18: { + view_.AddEntriesFrom(input, _repeated_view_codec); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + stream_.AddEntriesFrom(ref input, _repeated_stream_codec); + break; + } + case 18: { + view_.AddEntriesFrom(ref input, _repeated_view_codec); + break; + } + case 24: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateStreamStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateStreamStateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[61]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateStreamStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateStreamStateRequest(UpdateStreamStateRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateStreamStateRequest Clone() { + return new UpdateStreamStateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateStreamStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateStreamStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (options_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (options_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateStreamStateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 42: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SetStreamFocusRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetStreamFocusRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[62]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetStreamFocusRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetStreamFocusRequest(SetStreamFocusRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + focus_ = other.focus_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetStreamFocusRequest Clone() { + return new SetStreamFocusRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "focus" field. + public const int FocusFieldNumber = 4; + private readonly static bool FocusDefaultValue = false; + + private bool focus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Focus { + get { if ((_hasBits0 & 4) != 0) { return focus_; } else { return FocusDefaultValue; } } + set { + _hasBits0 |= 4; + focus_ = value; + } + } + /// Gets whether the "focus" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFocus { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "focus" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFocus() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SetStreamFocusRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SetStreamFocusRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (Focus != other.Focus) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasFocus) hash ^= Focus.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (HasFocus) { + output.WriteRawTag(32); + output.WriteBool(Focus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (HasFocus) { + output.WriteRawTag(32); + output.WriteBool(Focus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasFocus) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SetStreamFocusRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasFocus) { + Focus = other.Focus; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 32: { + Focus = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 32: { + Focus = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateMessageRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateMessageRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[63]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageRequest(CreateMessageRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageRequest Clone() { + return new CreateMessageRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateMessageRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateMessageRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (options_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (options_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateMessageRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateMessageResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateMessageResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[64]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageResponse(CreateMessageResponse other) : this() { + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageResponse Clone() { + return new CreateMessageResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateMessageResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateMessageResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateMessageResponse other) { + if (other == null) { + return; + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DestroyMessageRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyMessageRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[65]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyMessageRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyMessageRequest(DestroyMessageRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + messageId_ = other.messageId_ != null ? other.messageId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyMessageRequest Clone() { + return new DestroyMessageRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "message_id" field. + public const int MessageIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId messageId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId MessageId { + get { return messageId_; } + set { + messageId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DestroyMessageRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DestroyMessageRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(MessageId, other.MessageId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (messageId_ != null) hash ^= MessageId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MessageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MessageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (messageId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DestroyMessageRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.messageId_ != null) { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + MessageId.MergeFrom(other.MessageId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DestroyMessageResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyMessageResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[66]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyMessageResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyMessageResponse(DestroyMessageResponse other) : this() { + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyMessageResponse Clone() { + return new DestroyMessageResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DestroyMessageResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DestroyMessageResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DestroyMessageResponse other) { + if (other == null) { + return; + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EditMessageRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EditMessageRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[67]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EditMessageRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EditMessageRequest(EditMessageRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + messageId_ = other.messageId_ != null ? other.messageId_.Clone() : null; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EditMessageRequest Clone() { + return new EditMessageRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "message_id" field. + public const int MessageIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId messageId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId MessageId { + get { return messageId_; } + set { + messageId_ = value; + } + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EditMessageRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EditMessageRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(MessageId, other.MessageId)) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (messageId_ != null) hash ^= MessageId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MessageId); + } + if (options_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MessageId); + } + if (options_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (messageId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EditMessageRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.messageId_ != null) { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + MessageId.MergeFrom(other.MessageId); + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + case 42: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + case 42: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EditMessageResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EditMessageResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[68]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EditMessageResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EditMessageResponse(EditMessageResponse other) : this() { + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EditMessageResponse Clone() { + return new EditMessageResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EditMessageResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EditMessageResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EditMessageResponse other) { + if (other == null) { + return; + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SetMessagePinnedRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetMessagePinnedRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[69]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetMessagePinnedRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetMessagePinnedRequest(SetMessagePinnedRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetMessagePinnedRequest Clone() { + return new SetMessagePinnedRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SetMessagePinnedRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SetMessagePinnedRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SetMessagePinnedRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SetTypingIndicatorRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetTypingIndicatorRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[70]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetTypingIndicatorRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetTypingIndicatorRequest(SetTypingIndicatorRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + indicator_ = other.indicator_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetTypingIndicatorRequest Clone() { + return new SetTypingIndicatorRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "indicator" field. + public const int IndicatorFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator IndicatorDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator.TypingStart; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator indicator_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator Indicator { + get { if ((_hasBits0 & 4) != 0) { return indicator_; } else { return IndicatorDefaultValue; } } + set { + _hasBits0 |= 4; + indicator_ = value; + } + } + /// Gets whether the "indicator" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndicator { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "indicator" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndicator() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SetTypingIndicatorRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SetTypingIndicatorRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (Indicator != other.Indicator) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasIndicator) hash ^= Indicator.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (HasIndicator) { + output.WriteRawTag(32); + output.WriteEnum((int) Indicator); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (HasIndicator) { + output.WriteRawTag(32); + output.WriteEnum((int) Indicator); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasIndicator) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Indicator); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SetTypingIndicatorRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasIndicator) { + Indicator = other.Indicator; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 32: { + Indicator = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 32: { + Indicator = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AdvanceStreamViewTimeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdvanceStreamViewTimeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[71]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamViewTimeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamViewTimeRequest(AdvanceStreamViewTimeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamIdDeprecated_ = other.streamIdDeprecated_; + streamId_ = other.streamId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamViewTimeRequest Clone() { + return new AdvanceStreamViewTimeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id_deprecated" field. + public const int StreamIdDeprecatedFieldNumber = 3; + private readonly static ulong StreamIdDeprecatedDefaultValue = 0UL; + + private ulong streamIdDeprecated_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamIdDeprecated { + get { if ((_hasBits0 & 2) != 0) { return streamIdDeprecated_; } else { return StreamIdDeprecatedDefaultValue; } } + set { + _hasBits0 |= 2; + streamIdDeprecated_ = value; + } + } + /// Gets whether the "stream_id_deprecated" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamIdDeprecated { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id_deprecated" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamIdDeprecated() { + _hasBits0 &= ~2; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_streamId_codec + = pb::FieldCodec.ForUInt64(34); + private readonly pbc::RepeatedField streamId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StreamId { + get { return streamId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AdvanceStreamViewTimeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AdvanceStreamViewTimeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamIdDeprecated != other.StreamIdDeprecated) return false; + if(!streamId_.Equals(other.streamId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamIdDeprecated) hash ^= StreamIdDeprecated.GetHashCode(); + hash ^= streamId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamIdDeprecated) { + output.WriteRawTag(24); + output.WriteUInt64(StreamIdDeprecated); + } + streamId_.WriteTo(output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamIdDeprecated) { + output.WriteRawTag(24); + output.WriteUInt64(StreamIdDeprecated); + } + streamId_.WriteTo(ref output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamIdDeprecated) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamIdDeprecated); + } + size += streamId_.CalculateSize(_repeated_streamId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AdvanceStreamViewTimeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamIdDeprecated) { + StreamIdDeprecated = other.StreamIdDeprecated; + } + streamId_.Add(other.streamId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamIdDeprecated = input.ReadUInt64(); + break; + } + case 34: + case 32: { + streamId_.AddEntriesFrom(input, _repeated_streamId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamIdDeprecated = input.ReadUInt64(); + break; + } + case 34: + case 32: { + streamId_.AddEntriesFrom(ref input, _repeated_streamId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AdvanceStreamMentionViewTimeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdvanceStreamMentionViewTimeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[72]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamMentionViewTimeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamMentionViewTimeRequest(AdvanceStreamMentionViewTimeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceStreamMentionViewTimeRequest Clone() { + return new AdvanceStreamMentionViewTimeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AdvanceStreamMentionViewTimeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AdvanceStreamMentionViewTimeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AdvanceStreamMentionViewTimeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AdvanceActivityViewTimeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdvanceActivityViewTimeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[73]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceActivityViewTimeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceActivityViewTimeRequest(AdvanceActivityViewTimeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvanceActivityViewTimeRequest Clone() { + return new AdvanceActivityViewTimeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AdvanceActivityViewTimeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AdvanceActivityViewTimeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AdvanceActivityViewTimeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamHistoryRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamHistoryRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[74]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamHistoryRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamHistoryRequest(GetStreamHistoryRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamHistoryRequest Clone() { + return new GetStreamHistoryRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamHistoryRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamHistoryRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (options_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (options_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamHistoryRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamHistoryResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamHistoryResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[75]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamHistoryResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamHistoryResponse(GetStreamHistoryResponse other) : this() { + _hasBits0 = other._hasBits0; + message_ = other.message_.Clone(); + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamHistoryResponse Clone() { + return new GetStreamHistoryResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_message_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage.Parser); + private readonly pbc::RepeatedField message_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Message { + get { return message_; } + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamHistoryResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamHistoryResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!message_.Equals(other.message_)) return false; + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= message_.GetHashCode(); + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + message_.WriteTo(output, _repeated_message_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + message_.WriteTo(ref output, _repeated_message_codec); + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += message_.CalculateSize(_repeated_message_codec); + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamHistoryResponse other) { + if (other == null) { + return; + } + message_.Add(other.message_); + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + message_.AddEntriesFrom(input, _repeated_message_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + message_.AddEntriesFrom(ref input, _repeated_message_codec); + break; + } + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamMessageRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamMessageRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[76]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMessageRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMessageRequest(GetStreamMessageRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + messageId_ = other.messageId_ != null ? other.messageId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMessageRequest Clone() { + return new GetStreamMessageRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "message_id" field. + public const int MessageIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId messageId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId MessageId { + get { return messageId_; } + set { + messageId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamMessageRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamMessageRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(MessageId, other.MessageId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (messageId_ != null) hash ^= MessageId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MessageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MessageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (messageId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamMessageRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.messageId_ != null) { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + MessageId.MergeFrom(other.MessageId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamMessageResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamMessageResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[77]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMessageResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMessageResponse(GetStreamMessageResponse other) : this() { + message_ = other.message_ != null ? other.message_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamMessageResponse Clone() { + return new GetStreamMessageResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamMessageResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamMessageResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Message, other.Message)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (message_ != null) hash ^= Message.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (message_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamMessageResponse other) { + if (other == null) { + return; + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetClubActivityRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetClubActivityRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[78]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubActivityRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubActivityRequest(GetClubActivityRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubActivityRequest Clone() { + return new GetClubActivityRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetClubActivityRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetClubActivityRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetClubActivityRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 26: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetClubActivityResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetClubActivityResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[79]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubActivityResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubActivityResponse(GetClubActivityResponse other) : this() { + _hasBits0 = other._hasBits0; + continuation_ = other.continuation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetClubActivityResponse Clone() { + return new GetClubActivityResponse(this); + } + + /// Field number for the "continuation" field. + public const int ContinuationFieldNumber = 2; + private readonly static ulong ContinuationDefaultValue = 0UL; + + private ulong continuation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Continuation { + get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } } + set { + _hasBits0 |= 1; + continuation_ = value; + } + } + /// Gets whether the "continuation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinuation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "continuation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinuation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetClubActivityResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetClubActivityResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Continuation != other.Continuation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContinuation) hash ^= Continuation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContinuation) { + output.WriteRawTag(16); + output.WriteUInt64(Continuation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContinuation) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetClubActivityResponse other) { + if (other == null) { + return; + } + if (other.HasContinuation) { + Continuation = other.Continuation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 16: { + Continuation = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamVoiceTokenRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamVoiceTokenRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[80]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamVoiceTokenRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamVoiceTokenRequest(GetStreamVoiceTokenRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + version_ = other.version_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamVoiceTokenRequest Clone() { + return new GetStreamVoiceTokenRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 4; + private readonly static uint VersionDefaultValue = 0; + + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { if ((_hasBits0 & 4) != 0) { return version_; } else { return VersionDefaultValue; } } + set { + _hasBits0 |= 4; + version_ = value; + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamVoiceTokenRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamVoiceTokenRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (Version != other.Version) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasVersion) hash ^= Version.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (HasVersion) { + output.WriteRawTag(32); + output.WriteUInt32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (HasVersion) { + output.WriteRawTag(32); + output.WriteUInt32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamVoiceTokenRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasVersion) { + Version = other.Version; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 32: { + Version = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 32: { + Version = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetStreamVoiceTokenResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStreamVoiceTokenResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[81]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamVoiceTokenResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamVoiceTokenResponse(GetStreamVoiceTokenResponse other) : this() { + channelUri_ = other.channelUri_; + credentials_ = other.credentials_ != null ? other.credentials_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetStreamVoiceTokenResponse Clone() { + return new GetStreamVoiceTokenResponse(this); + } + + /// Field number for the "channel_uri" field. + public const int ChannelUriFieldNumber = 1; + private readonly static string ChannelUriDefaultValue = ""; + + private string channelUri_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChannelUri { + get { return channelUri_ ?? ChannelUriDefaultValue; } + set { + channelUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "channel_uri" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasChannelUri { + get { return channelUri_ != null; } + } + /// Clears the value of the "channel_uri" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearChannelUri() { + channelUri_ = null; + } + + /// Field number for the "credentials" field. + public const int CredentialsFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials credentials_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials Credentials { + get { return credentials_; } + set { + credentials_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetStreamVoiceTokenResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetStreamVoiceTokenResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ChannelUri != other.ChannelUri) return false; + if (!object.Equals(Credentials, other.Credentials)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasChannelUri) hash ^= ChannelUri.GetHashCode(); + if (credentials_ != null) hash ^= Credentials.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasChannelUri) { + output.WriteRawTag(10); + output.WriteString(ChannelUri); + } + if (credentials_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Credentials); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasChannelUri) { + output.WriteRawTag(10); + output.WriteString(ChannelUri); + } + if (credentials_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Credentials); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasChannelUri) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChannelUri); + } + if (credentials_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Credentials); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetStreamVoiceTokenResponse other) { + if (other == null) { + return; + } + if (other.HasChannelUri) { + ChannelUri = other.ChannelUri; + } + if (other.credentials_ != null) { + if (credentials_ == null) { + Credentials = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials(); + } + Credentials.MergeFrom(other.Credentials); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ChannelUri = input.ReadString(); + break; + } + case 18: { + if (credentials_ == null) { + Credentials = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials(); + } + input.ReadMessage(Credentials); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ChannelUri = input.ReadString(); + break; + } + case 18: { + if (credentials_ == null) { + Credentials = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials(); + } + input.ReadMessage(Credentials); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KickFromStreamVoiceRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KickFromStreamVoiceRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor.MessageTypes[82]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KickFromStreamVoiceRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KickFromStreamVoiceRequest(KickFromStreamVoiceRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KickFromStreamVoiceRequest Clone() { + return new KickFromStreamVoiceRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 2; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 3; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as KickFromStreamVoiceRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KickFromStreamVoiceRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (targetId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasClubId) { + output.WriteRawTag(16); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(24); + output.WriteUInt64(StreamId); + } + if (targetId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(KickFromStreamVoiceRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ClubId = input.ReadUInt64(); + break; + } + case 24: { + StreamId = input.ReadUInt64(); + break; + } + case 34: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRole.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRole.cs new file mode 100644 index 0000000000..1cadc08339 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubRole.cs @@ -0,0 +1,3506 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_role.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_role.proto + public static partial class ClubRoleReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_role.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubRoleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFiZ3MvbG93L3BiL2NsaWVudC9jbHViX3JvbGUucHJvdG8SFGJncy5wcm90", + "b2NvbC5jbHViLnYxGiJiZ3MvbG93L3BiL2NsaWVudC9yb2xlX3R5cGVzLnBy", + "b3RvIscLChBDbHViUHJpdmlsZWdlU2V0EhMKC2Nhbl9kZXN0cm95GAEgASgI", + "EhkKEWNhbl9zZXRfYXR0cmlidXRlGAogASgIEhQKDGNhbl9zZXRfbmFtZRgL", + "IAEoCBIbChNjYW5fc2V0X2Rlc2NyaXB0aW9uGAwgASgIEhYKDmNhbl9zZXRf", + "YXZhdGFyGA0gASgIEhkKEWNhbl9zZXRfYnJvYWRjYXN0GA4gASgIEh0KFWNh", + "bl9zZXRfcHJpdmFjeV9sZXZlbBgPIAEoCBIWCg5jYW5fYWRkX21lbWJlchgd", + "IAEoCBIXCg9jYW5fa2lja19tZW1iZXIYHiABKAgSJAocY2FuX3NldF9vd25f", + "bWVtYmVyX2F0dHJpYnV0ZRgfIAEoCBImCh5jYW5fc2V0X290aGVyX21lbWJl", + "cl9hdHRyaWJ1dGUYICABKAgSHwoXY2FuX3NldF9vd25fdm9pY2Vfc3RhdGUY", + "ISABKAgSIgoaY2FuX3NldF9vd25fcHJlc2VuY2VfbGV2ZWwYIiABKAgSIQoZ", + "Y2FuX3NldF9vd25fd2hpc3Blcl9sZXZlbBgjIAEoCBIfChdjYW5fc2V0X293", + "bl9tZW1iZXJfbm90ZRgkIAEoCBIhChljYW5fc2V0X290aGVyX21lbWJlcl9u", + "b3RlGCUgASgIEhUKDWNhbl91c2Vfdm9pY2UYMiABKAgSJQodY2FuX3ZvaWNl", + "X211dGVfbWVtYmVyX2Zvcl9hbGwYMyABKAgSGgoSY2FuX2dldF9pbnZpdGF0", + "aW9uGEYgASgIEhsKE2Nhbl9zZW5kX2ludml0YXRpb24YRyABKAgSIQoZY2Fu", + "X3NlbmRfZ3Vlc3RfaW52aXRhdGlvbhhIIAEoCBIhChljYW5fcmV2b2tlX293", + "bl9pbnZpdGF0aW9uGEkgASgIEiMKG2Nhbl9yZXZva2Vfb3RoZXJfaW52aXRh", + "dGlvbhhKIAEoCBIaChJjYW5fZ2V0X3N1Z2dlc3Rpb24YWiABKAgSGgoSY2Fu", + "X3N1Z2dlc3RfbWVtYmVyGFsgASgIEhoKEmNhbl9hcHByb3ZlX21lbWJlchhc", + "IAEoCBIWCg5jYW5fZ2V0X3RpY2tldBhuIAEoCBIZChFjYW5fY3JlYXRlX3Rp", + "Y2tldBhvIAEoCBIaChJjYW5fZGVzdHJveV90aWNrZXQYcCABKAgSFAoLY2Fu", + "X2dldF9iYW4YggEgASgIEhQKC2Nhbl9hZGRfYmFuGIMBIAEoCBIXCg5jYW5f", + "cmVtb3ZlX2JhbhiEASABKAgSGgoRY2FuX2NyZWF0ZV9zdHJlYW0YjAEgASgI", + "EhsKEmNhbl9kZXN0cm95X3N0cmVhbRiNASABKAgSIAoXY2FuX3NldF9zdHJl", + "YW1fcG9zaXRpb24YjgEgASgIEiEKGGNhbl9zZXRfc3RyZWFtX2F0dHJpYnV0", + "ZRiPASABKAgSHAoTY2FuX3NldF9zdHJlYW1fbmFtZRiQASABKAgSHwoWY2Fu", + "X3NldF9zdHJlYW1fc3ViamVjdBiRASABKAgSHgoVY2FuX3NldF9zdHJlYW1f", + "YWNjZXNzGJIBIAEoCBIjChpjYW5fc2V0X3N0cmVhbV92b2ljZV9sZXZlbBiT", + "ASABKAgSGwoSY2FuX2NyZWF0ZV9tZXNzYWdlGLQBIAEoCBIgChdjYW5fZGVz", + "dHJveV9vd25fbWVzc2FnZRi1ASABKAgSIgoZY2FuX2Rlc3Ryb3lfb3RoZXJf", + "bWVzc2FnZRi2ASABKAgSHQoUY2FuX2VkaXRfb3duX21lc3NhZ2UYtwEgASgI", + "EhgKD2Nhbl9waW5fbWVzc2FnZRi4ASABKAgSGAoPY2FuX21lbnRpb25fYWxs", + "GLkBIAEoCBIZChBjYW5fbWVudGlvbl9oZXJlGLoBIAEoCBIbChJjYW5fbWVu", + "dGlvbl9tZW1iZXIYuwEgASgIEhkKEGNhbl9tZW50aW9uX3JvbGUYvAEgASgI", + "IrkBCghDbHViUm9sZRIKCgJpZBgBIAEoDRImCgVzdGF0ZRgCIAEoCzIXLmJn", + "cy5wcm90b2NvbC5Sb2xlU3RhdGUSOQoJcHJpdmlsZWdlGAMgASgLMiYuYmdz", + "LnByb3RvY29sLmNsdWIudjEuQ2x1YlByaXZpbGVnZVNldBIiChphbHdheXNf", + "Z3JhbnRfc3RyZWFtX2FjY2VzcxgEIAEoCBIaChJhbGxvd19pbl9jbHViX3Ns", + "b3QYBSABKAgilAEKC0NsdWJSb2xlU2V0EiwKBHJvbGUYASADKAsyHi5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5DbHViUm9sZRIYCgxkZWZhdWx0X3JvbGUYBSAD", + "KA1CAhABEiwKJGFzc2lnbm1lbnRfcmVzcGVjdHNfcmVsZWdhdGlvbl9jaGFp", + "bhgGIAEoCBIPCgdzdWJ0eXBlGAcgASgJQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet.Parser, new[]{ "CanDestroy", "CanSetAttribute", "CanSetName", "CanSetDescription", "CanSetAvatar", "CanSetBroadcast", "CanSetPrivacyLevel", "CanAddMember", "CanKickMember", "CanSetOwnMemberAttribute", "CanSetOtherMemberAttribute", "CanSetOwnVoiceState", "CanSetOwnPresenceLevel", "CanSetOwnWhisperLevel", "CanSetOwnMemberNote", "CanSetOtherMemberNote", "CanUseVoice", "CanVoiceMuteMemberForAll", "CanGetInvitation", "CanSendInvitation", "CanSendGuestInvitation", "CanRevokeOwnInvitation", "CanRevokeOtherInvitation", "CanGetSuggestion", "CanSuggestMember", "CanApproveMember", "CanGetTicket", "CanCreateTicket", "CanDestroyTicket", "CanGetBan", "CanAddBan", "CanRemoveBan", "CanCreateStream", "CanDestroyStream", "CanSetStreamPosition", "CanSetStreamAttribute", "CanSetStreamName", "CanSetStreamSubject", "CanSetStreamAccess", "CanSetStreamVoiceLevel", "CanCreateMessage", "CanDestroyOwnMessage", "CanDestroyOtherMessage", "CanEditOwnMessage", "CanPinMessage", "CanMentionAll", "CanMentionHere", "CanMentionMember", "CanMentionRole" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRole), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRole.Parser, new[]{ "Id", "State", "Privilege", "AlwaysGrantStreamAccess", "AllowInClubSlot" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleSet.Parser, new[]{ "Role", "DefaultRole", "AssignmentRespectsRelegationChain", "Subtype" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubPrivilegeSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubPrivilegeSet()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + private int _hasBits1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubPrivilegeSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubPrivilegeSet(ClubPrivilegeSet other) : this() { + _hasBits0 = other._hasBits0; + _hasBits1 = other._hasBits1; + canDestroy_ = other.canDestroy_; + canSetAttribute_ = other.canSetAttribute_; + canSetName_ = other.canSetName_; + canSetDescription_ = other.canSetDescription_; + canSetAvatar_ = other.canSetAvatar_; + canSetBroadcast_ = other.canSetBroadcast_; + canSetPrivacyLevel_ = other.canSetPrivacyLevel_; + canAddMember_ = other.canAddMember_; + canKickMember_ = other.canKickMember_; + canSetOwnMemberAttribute_ = other.canSetOwnMemberAttribute_; + canSetOtherMemberAttribute_ = other.canSetOtherMemberAttribute_; + canSetOwnVoiceState_ = other.canSetOwnVoiceState_; + canSetOwnPresenceLevel_ = other.canSetOwnPresenceLevel_; + canSetOwnWhisperLevel_ = other.canSetOwnWhisperLevel_; + canSetOwnMemberNote_ = other.canSetOwnMemberNote_; + canSetOtherMemberNote_ = other.canSetOtherMemberNote_; + canUseVoice_ = other.canUseVoice_; + canVoiceMuteMemberForAll_ = other.canVoiceMuteMemberForAll_; + canGetInvitation_ = other.canGetInvitation_; + canSendInvitation_ = other.canSendInvitation_; + canSendGuestInvitation_ = other.canSendGuestInvitation_; + canRevokeOwnInvitation_ = other.canRevokeOwnInvitation_; + canRevokeOtherInvitation_ = other.canRevokeOtherInvitation_; + canGetSuggestion_ = other.canGetSuggestion_; + canSuggestMember_ = other.canSuggestMember_; + canApproveMember_ = other.canApproveMember_; + canGetTicket_ = other.canGetTicket_; + canCreateTicket_ = other.canCreateTicket_; + canDestroyTicket_ = other.canDestroyTicket_; + canGetBan_ = other.canGetBan_; + canAddBan_ = other.canAddBan_; + canRemoveBan_ = other.canRemoveBan_; + canCreateStream_ = other.canCreateStream_; + canDestroyStream_ = other.canDestroyStream_; + canSetStreamPosition_ = other.canSetStreamPosition_; + canSetStreamAttribute_ = other.canSetStreamAttribute_; + canSetStreamName_ = other.canSetStreamName_; + canSetStreamSubject_ = other.canSetStreamSubject_; + canSetStreamAccess_ = other.canSetStreamAccess_; + canSetStreamVoiceLevel_ = other.canSetStreamVoiceLevel_; + canCreateMessage_ = other.canCreateMessage_; + canDestroyOwnMessage_ = other.canDestroyOwnMessage_; + canDestroyOtherMessage_ = other.canDestroyOtherMessage_; + canEditOwnMessage_ = other.canEditOwnMessage_; + canPinMessage_ = other.canPinMessage_; + canMentionAll_ = other.canMentionAll_; + canMentionHere_ = other.canMentionHere_; + canMentionMember_ = other.canMentionMember_; + canMentionRole_ = other.canMentionRole_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubPrivilegeSet Clone() { + return new ClubPrivilegeSet(this); + } + + /// Field number for the "can_destroy" field. + public const int CanDestroyFieldNumber = 1; + private readonly static bool CanDestroyDefaultValue = false; + + private bool canDestroy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanDestroy { + get { if ((_hasBits0 & 1) != 0) { return canDestroy_; } else { return CanDestroyDefaultValue; } } + set { + _hasBits0 |= 1; + canDestroy_ = value; + } + } + /// Gets whether the "can_destroy" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanDestroy { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "can_destroy" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanDestroy() { + _hasBits0 &= ~1; + } + + /// Field number for the "can_set_attribute" field. + public const int CanSetAttributeFieldNumber = 10; + private readonly static bool CanSetAttributeDefaultValue = false; + + private bool canSetAttribute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetAttribute { + get { if ((_hasBits0 & 2) != 0) { return canSetAttribute_; } else { return CanSetAttributeDefaultValue; } } + set { + _hasBits0 |= 2; + canSetAttribute_ = value; + } + } + /// Gets whether the "can_set_attribute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetAttribute { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "can_set_attribute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetAttribute() { + _hasBits0 &= ~2; + } + + /// Field number for the "can_set_name" field. + public const int CanSetNameFieldNumber = 11; + private readonly static bool CanSetNameDefaultValue = false; + + private bool canSetName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetName { + get { if ((_hasBits0 & 4) != 0) { return canSetName_; } else { return CanSetNameDefaultValue; } } + set { + _hasBits0 |= 4; + canSetName_ = value; + } + } + /// Gets whether the "can_set_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetName { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "can_set_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetName() { + _hasBits0 &= ~4; + } + + /// Field number for the "can_set_description" field. + public const int CanSetDescriptionFieldNumber = 12; + private readonly static bool CanSetDescriptionDefaultValue = false; + + private bool canSetDescription_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetDescription { + get { if ((_hasBits0 & 8) != 0) { return canSetDescription_; } else { return CanSetDescriptionDefaultValue; } } + set { + _hasBits0 |= 8; + canSetDescription_ = value; + } + } + /// Gets whether the "can_set_description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetDescription { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "can_set_description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetDescription() { + _hasBits0 &= ~8; + } + + /// Field number for the "can_set_avatar" field. + public const int CanSetAvatarFieldNumber = 13; + private readonly static bool CanSetAvatarDefaultValue = false; + + private bool canSetAvatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetAvatar { + get { if ((_hasBits0 & 16) != 0) { return canSetAvatar_; } else { return CanSetAvatarDefaultValue; } } + set { + _hasBits0 |= 16; + canSetAvatar_ = value; + } + } + /// Gets whether the "can_set_avatar" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetAvatar { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "can_set_avatar" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetAvatar() { + _hasBits0 &= ~16; + } + + /// Field number for the "can_set_broadcast" field. + public const int CanSetBroadcastFieldNumber = 14; + private readonly static bool CanSetBroadcastDefaultValue = false; + + private bool canSetBroadcast_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetBroadcast { + get { if ((_hasBits0 & 32) != 0) { return canSetBroadcast_; } else { return CanSetBroadcastDefaultValue; } } + set { + _hasBits0 |= 32; + canSetBroadcast_ = value; + } + } + /// Gets whether the "can_set_broadcast" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetBroadcast { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "can_set_broadcast" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetBroadcast() { + _hasBits0 &= ~32; + } + + /// Field number for the "can_set_privacy_level" field. + public const int CanSetPrivacyLevelFieldNumber = 15; + private readonly static bool CanSetPrivacyLevelDefaultValue = false; + + private bool canSetPrivacyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetPrivacyLevel { + get { if ((_hasBits0 & 64) != 0) { return canSetPrivacyLevel_; } else { return CanSetPrivacyLevelDefaultValue; } } + set { + _hasBits0 |= 64; + canSetPrivacyLevel_ = value; + } + } + /// Gets whether the "can_set_privacy_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetPrivacyLevel { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "can_set_privacy_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetPrivacyLevel() { + _hasBits0 &= ~64; + } + + /// Field number for the "can_add_member" field. + public const int CanAddMemberFieldNumber = 29; + private readonly static bool CanAddMemberDefaultValue = false; + + private bool canAddMember_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanAddMember { + get { if ((_hasBits0 & 128) != 0) { return canAddMember_; } else { return CanAddMemberDefaultValue; } } + set { + _hasBits0 |= 128; + canAddMember_ = value; + } + } + /// Gets whether the "can_add_member" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanAddMember { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "can_add_member" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanAddMember() { + _hasBits0 &= ~128; + } + + /// Field number for the "can_kick_member" field. + public const int CanKickMemberFieldNumber = 30; + private readonly static bool CanKickMemberDefaultValue = false; + + private bool canKickMember_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanKickMember { + get { if ((_hasBits0 & 256) != 0) { return canKickMember_; } else { return CanKickMemberDefaultValue; } } + set { + _hasBits0 |= 256; + canKickMember_ = value; + } + } + /// Gets whether the "can_kick_member" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanKickMember { + get { return (_hasBits0 & 256) != 0; } + } + /// Clears the value of the "can_kick_member" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanKickMember() { + _hasBits0 &= ~256; + } + + /// Field number for the "can_set_own_member_attribute" field. + public const int CanSetOwnMemberAttributeFieldNumber = 31; + private readonly static bool CanSetOwnMemberAttributeDefaultValue = false; + + private bool canSetOwnMemberAttribute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOwnMemberAttribute { + get { if ((_hasBits0 & 512) != 0) { return canSetOwnMemberAttribute_; } else { return CanSetOwnMemberAttributeDefaultValue; } } + set { + _hasBits0 |= 512; + canSetOwnMemberAttribute_ = value; + } + } + /// Gets whether the "can_set_own_member_attribute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOwnMemberAttribute { + get { return (_hasBits0 & 512) != 0; } + } + /// Clears the value of the "can_set_own_member_attribute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOwnMemberAttribute() { + _hasBits0 &= ~512; + } + + /// Field number for the "can_set_other_member_attribute" field. + public const int CanSetOtherMemberAttributeFieldNumber = 32; + private readonly static bool CanSetOtherMemberAttributeDefaultValue = false; + + private bool canSetOtherMemberAttribute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOtherMemberAttribute { + get { if ((_hasBits0 & 1024) != 0) { return canSetOtherMemberAttribute_; } else { return CanSetOtherMemberAttributeDefaultValue; } } + set { + _hasBits0 |= 1024; + canSetOtherMemberAttribute_ = value; + } + } + /// Gets whether the "can_set_other_member_attribute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOtherMemberAttribute { + get { return (_hasBits0 & 1024) != 0; } + } + /// Clears the value of the "can_set_other_member_attribute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOtherMemberAttribute() { + _hasBits0 &= ~1024; + } + + /// Field number for the "can_set_own_voice_state" field. + public const int CanSetOwnVoiceStateFieldNumber = 33; + private readonly static bool CanSetOwnVoiceStateDefaultValue = false; + + private bool canSetOwnVoiceState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOwnVoiceState { + get { if ((_hasBits0 & 2048) != 0) { return canSetOwnVoiceState_; } else { return CanSetOwnVoiceStateDefaultValue; } } + set { + _hasBits0 |= 2048; + canSetOwnVoiceState_ = value; + } + } + /// Gets whether the "can_set_own_voice_state" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOwnVoiceState { + get { return (_hasBits0 & 2048) != 0; } + } + /// Clears the value of the "can_set_own_voice_state" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOwnVoiceState() { + _hasBits0 &= ~2048; + } + + /// Field number for the "can_set_own_presence_level" field. + public const int CanSetOwnPresenceLevelFieldNumber = 34; + private readonly static bool CanSetOwnPresenceLevelDefaultValue = false; + + private bool canSetOwnPresenceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOwnPresenceLevel { + get { if ((_hasBits0 & 4096) != 0) { return canSetOwnPresenceLevel_; } else { return CanSetOwnPresenceLevelDefaultValue; } } + set { + _hasBits0 |= 4096; + canSetOwnPresenceLevel_ = value; + } + } + /// Gets whether the "can_set_own_presence_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOwnPresenceLevel { + get { return (_hasBits0 & 4096) != 0; } + } + /// Clears the value of the "can_set_own_presence_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOwnPresenceLevel() { + _hasBits0 &= ~4096; + } + + /// Field number for the "can_set_own_whisper_level" field. + public const int CanSetOwnWhisperLevelFieldNumber = 35; + private readonly static bool CanSetOwnWhisperLevelDefaultValue = false; + + private bool canSetOwnWhisperLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOwnWhisperLevel { + get { if ((_hasBits0 & 8192) != 0) { return canSetOwnWhisperLevel_; } else { return CanSetOwnWhisperLevelDefaultValue; } } + set { + _hasBits0 |= 8192; + canSetOwnWhisperLevel_ = value; + } + } + /// Gets whether the "can_set_own_whisper_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOwnWhisperLevel { + get { return (_hasBits0 & 8192) != 0; } + } + /// Clears the value of the "can_set_own_whisper_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOwnWhisperLevel() { + _hasBits0 &= ~8192; + } + + /// Field number for the "can_set_own_member_note" field. + public const int CanSetOwnMemberNoteFieldNumber = 36; + private readonly static bool CanSetOwnMemberNoteDefaultValue = false; + + private bool canSetOwnMemberNote_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOwnMemberNote { + get { if ((_hasBits0 & 16384) != 0) { return canSetOwnMemberNote_; } else { return CanSetOwnMemberNoteDefaultValue; } } + set { + _hasBits0 |= 16384; + canSetOwnMemberNote_ = value; + } + } + /// Gets whether the "can_set_own_member_note" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOwnMemberNote { + get { return (_hasBits0 & 16384) != 0; } + } + /// Clears the value of the "can_set_own_member_note" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOwnMemberNote() { + _hasBits0 &= ~16384; + } + + /// Field number for the "can_set_other_member_note" field. + public const int CanSetOtherMemberNoteFieldNumber = 37; + private readonly static bool CanSetOtherMemberNoteDefaultValue = false; + + private bool canSetOtherMemberNote_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetOtherMemberNote { + get { if ((_hasBits0 & 32768) != 0) { return canSetOtherMemberNote_; } else { return CanSetOtherMemberNoteDefaultValue; } } + set { + _hasBits0 |= 32768; + canSetOtherMemberNote_ = value; + } + } + /// Gets whether the "can_set_other_member_note" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetOtherMemberNote { + get { return (_hasBits0 & 32768) != 0; } + } + /// Clears the value of the "can_set_other_member_note" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetOtherMemberNote() { + _hasBits0 &= ~32768; + } + + /// Field number for the "can_use_voice" field. + public const int CanUseVoiceFieldNumber = 50; + private readonly static bool CanUseVoiceDefaultValue = false; + + private bool canUseVoice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanUseVoice { + get { if ((_hasBits0 & 65536) != 0) { return canUseVoice_; } else { return CanUseVoiceDefaultValue; } } + set { + _hasBits0 |= 65536; + canUseVoice_ = value; + } + } + /// Gets whether the "can_use_voice" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanUseVoice { + get { return (_hasBits0 & 65536) != 0; } + } + /// Clears the value of the "can_use_voice" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanUseVoice() { + _hasBits0 &= ~65536; + } + + /// Field number for the "can_voice_mute_member_for_all" field. + public const int CanVoiceMuteMemberForAllFieldNumber = 51; + private readonly static bool CanVoiceMuteMemberForAllDefaultValue = false; + + private bool canVoiceMuteMemberForAll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanVoiceMuteMemberForAll { + get { if ((_hasBits0 & 131072) != 0) { return canVoiceMuteMemberForAll_; } else { return CanVoiceMuteMemberForAllDefaultValue; } } + set { + _hasBits0 |= 131072; + canVoiceMuteMemberForAll_ = value; + } + } + /// Gets whether the "can_voice_mute_member_for_all" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanVoiceMuteMemberForAll { + get { return (_hasBits0 & 131072) != 0; } + } + /// Clears the value of the "can_voice_mute_member_for_all" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanVoiceMuteMemberForAll() { + _hasBits0 &= ~131072; + } + + /// Field number for the "can_get_invitation" field. + public const int CanGetInvitationFieldNumber = 70; + private readonly static bool CanGetInvitationDefaultValue = false; + + private bool canGetInvitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanGetInvitation { + get { if ((_hasBits0 & 262144) != 0) { return canGetInvitation_; } else { return CanGetInvitationDefaultValue; } } + set { + _hasBits0 |= 262144; + canGetInvitation_ = value; + } + } + /// Gets whether the "can_get_invitation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanGetInvitation { + get { return (_hasBits0 & 262144) != 0; } + } + /// Clears the value of the "can_get_invitation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanGetInvitation() { + _hasBits0 &= ~262144; + } + + /// Field number for the "can_send_invitation" field. + public const int CanSendInvitationFieldNumber = 71; + private readonly static bool CanSendInvitationDefaultValue = false; + + private bool canSendInvitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSendInvitation { + get { if ((_hasBits0 & 524288) != 0) { return canSendInvitation_; } else { return CanSendInvitationDefaultValue; } } + set { + _hasBits0 |= 524288; + canSendInvitation_ = value; + } + } + /// Gets whether the "can_send_invitation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSendInvitation { + get { return (_hasBits0 & 524288) != 0; } + } + /// Clears the value of the "can_send_invitation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSendInvitation() { + _hasBits0 &= ~524288; + } + + /// Field number for the "can_send_guest_invitation" field. + public const int CanSendGuestInvitationFieldNumber = 72; + private readonly static bool CanSendGuestInvitationDefaultValue = false; + + private bool canSendGuestInvitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSendGuestInvitation { + get { if ((_hasBits0 & 1048576) != 0) { return canSendGuestInvitation_; } else { return CanSendGuestInvitationDefaultValue; } } + set { + _hasBits0 |= 1048576; + canSendGuestInvitation_ = value; + } + } + /// Gets whether the "can_send_guest_invitation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSendGuestInvitation { + get { return (_hasBits0 & 1048576) != 0; } + } + /// Clears the value of the "can_send_guest_invitation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSendGuestInvitation() { + _hasBits0 &= ~1048576; + } + + /// Field number for the "can_revoke_own_invitation" field. + public const int CanRevokeOwnInvitationFieldNumber = 73; + private readonly static bool CanRevokeOwnInvitationDefaultValue = false; + + private bool canRevokeOwnInvitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanRevokeOwnInvitation { + get { if ((_hasBits0 & 2097152) != 0) { return canRevokeOwnInvitation_; } else { return CanRevokeOwnInvitationDefaultValue; } } + set { + _hasBits0 |= 2097152; + canRevokeOwnInvitation_ = value; + } + } + /// Gets whether the "can_revoke_own_invitation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanRevokeOwnInvitation { + get { return (_hasBits0 & 2097152) != 0; } + } + /// Clears the value of the "can_revoke_own_invitation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanRevokeOwnInvitation() { + _hasBits0 &= ~2097152; + } + + /// Field number for the "can_revoke_other_invitation" field. + public const int CanRevokeOtherInvitationFieldNumber = 74; + private readonly static bool CanRevokeOtherInvitationDefaultValue = false; + + private bool canRevokeOtherInvitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanRevokeOtherInvitation { + get { if ((_hasBits0 & 4194304) != 0) { return canRevokeOtherInvitation_; } else { return CanRevokeOtherInvitationDefaultValue; } } + set { + _hasBits0 |= 4194304; + canRevokeOtherInvitation_ = value; + } + } + /// Gets whether the "can_revoke_other_invitation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanRevokeOtherInvitation { + get { return (_hasBits0 & 4194304) != 0; } + } + /// Clears the value of the "can_revoke_other_invitation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanRevokeOtherInvitation() { + _hasBits0 &= ~4194304; + } + + /// Field number for the "can_get_suggestion" field. + public const int CanGetSuggestionFieldNumber = 90; + private readonly static bool CanGetSuggestionDefaultValue = false; + + private bool canGetSuggestion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanGetSuggestion { + get { if ((_hasBits0 & 8388608) != 0) { return canGetSuggestion_; } else { return CanGetSuggestionDefaultValue; } } + set { + _hasBits0 |= 8388608; + canGetSuggestion_ = value; + } + } + /// Gets whether the "can_get_suggestion" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanGetSuggestion { + get { return (_hasBits0 & 8388608) != 0; } + } + /// Clears the value of the "can_get_suggestion" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanGetSuggestion() { + _hasBits0 &= ~8388608; + } + + /// Field number for the "can_suggest_member" field. + public const int CanSuggestMemberFieldNumber = 91; + private readonly static bool CanSuggestMemberDefaultValue = false; + + private bool canSuggestMember_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSuggestMember { + get { if ((_hasBits0 & 16777216) != 0) { return canSuggestMember_; } else { return CanSuggestMemberDefaultValue; } } + set { + _hasBits0 |= 16777216; + canSuggestMember_ = value; + } + } + /// Gets whether the "can_suggest_member" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSuggestMember { + get { return (_hasBits0 & 16777216) != 0; } + } + /// Clears the value of the "can_suggest_member" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSuggestMember() { + _hasBits0 &= ~16777216; + } + + /// Field number for the "can_approve_member" field. + public const int CanApproveMemberFieldNumber = 92; + private readonly static bool CanApproveMemberDefaultValue = false; + + private bool canApproveMember_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanApproveMember { + get { if ((_hasBits0 & 33554432) != 0) { return canApproveMember_; } else { return CanApproveMemberDefaultValue; } } + set { + _hasBits0 |= 33554432; + canApproveMember_ = value; + } + } + /// Gets whether the "can_approve_member" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanApproveMember { + get { return (_hasBits0 & 33554432) != 0; } + } + /// Clears the value of the "can_approve_member" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanApproveMember() { + _hasBits0 &= ~33554432; + } + + /// Field number for the "can_get_ticket" field. + public const int CanGetTicketFieldNumber = 110; + private readonly static bool CanGetTicketDefaultValue = false; + + private bool canGetTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanGetTicket { + get { if ((_hasBits0 & 67108864) != 0) { return canGetTicket_; } else { return CanGetTicketDefaultValue; } } + set { + _hasBits0 |= 67108864; + canGetTicket_ = value; + } + } + /// Gets whether the "can_get_ticket" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanGetTicket { + get { return (_hasBits0 & 67108864) != 0; } + } + /// Clears the value of the "can_get_ticket" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanGetTicket() { + _hasBits0 &= ~67108864; + } + + /// Field number for the "can_create_ticket" field. + public const int CanCreateTicketFieldNumber = 111; + private readonly static bool CanCreateTicketDefaultValue = false; + + private bool canCreateTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanCreateTicket { + get { if ((_hasBits0 & 134217728) != 0) { return canCreateTicket_; } else { return CanCreateTicketDefaultValue; } } + set { + _hasBits0 |= 134217728; + canCreateTicket_ = value; + } + } + /// Gets whether the "can_create_ticket" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanCreateTicket { + get { return (_hasBits0 & 134217728) != 0; } + } + /// Clears the value of the "can_create_ticket" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanCreateTicket() { + _hasBits0 &= ~134217728; + } + + /// Field number for the "can_destroy_ticket" field. + public const int CanDestroyTicketFieldNumber = 112; + private readonly static bool CanDestroyTicketDefaultValue = false; + + private bool canDestroyTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanDestroyTicket { + get { if ((_hasBits0 & 268435456) != 0) { return canDestroyTicket_; } else { return CanDestroyTicketDefaultValue; } } + set { + _hasBits0 |= 268435456; + canDestroyTicket_ = value; + } + } + /// Gets whether the "can_destroy_ticket" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanDestroyTicket { + get { return (_hasBits0 & 268435456) != 0; } + } + /// Clears the value of the "can_destroy_ticket" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanDestroyTicket() { + _hasBits0 &= ~268435456; + } + + /// Field number for the "can_get_ban" field. + public const int CanGetBanFieldNumber = 130; + private readonly static bool CanGetBanDefaultValue = false; + + private bool canGetBan_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanGetBan { + get { if ((_hasBits0 & 536870912) != 0) { return canGetBan_; } else { return CanGetBanDefaultValue; } } + set { + _hasBits0 |= 536870912; + canGetBan_ = value; + } + } + /// Gets whether the "can_get_ban" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanGetBan { + get { return (_hasBits0 & 536870912) != 0; } + } + /// Clears the value of the "can_get_ban" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanGetBan() { + _hasBits0 &= ~536870912; + } + + /// Field number for the "can_add_ban" field. + public const int CanAddBanFieldNumber = 131; + private readonly static bool CanAddBanDefaultValue = false; + + private bool canAddBan_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanAddBan { + get { if ((_hasBits0 & 1073741824) != 0) { return canAddBan_; } else { return CanAddBanDefaultValue; } } + set { + _hasBits0 |= 1073741824; + canAddBan_ = value; + } + } + /// Gets whether the "can_add_ban" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanAddBan { + get { return (_hasBits0 & 1073741824) != 0; } + } + /// Clears the value of the "can_add_ban" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanAddBan() { + _hasBits0 &= ~1073741824; + } + + /// Field number for the "can_remove_ban" field. + public const int CanRemoveBanFieldNumber = 132; + private readonly static bool CanRemoveBanDefaultValue = false; + + private bool canRemoveBan_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanRemoveBan { + get { if ((_hasBits0 & -2147483648) != 0) { return canRemoveBan_; } else { return CanRemoveBanDefaultValue; } } + set { + _hasBits0 |= -2147483648; + canRemoveBan_ = value; + } + } + /// Gets whether the "can_remove_ban" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanRemoveBan { + get { return (_hasBits0 & -2147483648) != 0; } + } + /// Clears the value of the "can_remove_ban" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanRemoveBan() { + _hasBits0 &= ~-2147483648; + } + + /// Field number for the "can_create_stream" field. + public const int CanCreateStreamFieldNumber = 140; + private readonly static bool CanCreateStreamDefaultValue = false; + + private bool canCreateStream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanCreateStream { + get { if ((_hasBits1 & 1) != 0) { return canCreateStream_; } else { return CanCreateStreamDefaultValue; } } + set { + _hasBits1 |= 1; + canCreateStream_ = value; + } + } + /// Gets whether the "can_create_stream" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanCreateStream { + get { return (_hasBits1 & 1) != 0; } + } + /// Clears the value of the "can_create_stream" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanCreateStream() { + _hasBits1 &= ~1; + } + + /// Field number for the "can_destroy_stream" field. + public const int CanDestroyStreamFieldNumber = 141; + private readonly static bool CanDestroyStreamDefaultValue = false; + + private bool canDestroyStream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanDestroyStream { + get { if ((_hasBits1 & 2) != 0) { return canDestroyStream_; } else { return CanDestroyStreamDefaultValue; } } + set { + _hasBits1 |= 2; + canDestroyStream_ = value; + } + } + /// Gets whether the "can_destroy_stream" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanDestroyStream { + get { return (_hasBits1 & 2) != 0; } + } + /// Clears the value of the "can_destroy_stream" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanDestroyStream() { + _hasBits1 &= ~2; + } + + /// Field number for the "can_set_stream_position" field. + public const int CanSetStreamPositionFieldNumber = 142; + private readonly static bool CanSetStreamPositionDefaultValue = false; + + private bool canSetStreamPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetStreamPosition { + get { if ((_hasBits1 & 4) != 0) { return canSetStreamPosition_; } else { return CanSetStreamPositionDefaultValue; } } + set { + _hasBits1 |= 4; + canSetStreamPosition_ = value; + } + } + /// Gets whether the "can_set_stream_position" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetStreamPosition { + get { return (_hasBits1 & 4) != 0; } + } + /// Clears the value of the "can_set_stream_position" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetStreamPosition() { + _hasBits1 &= ~4; + } + + /// Field number for the "can_set_stream_attribute" field. + public const int CanSetStreamAttributeFieldNumber = 143; + private readonly static bool CanSetStreamAttributeDefaultValue = false; + + private bool canSetStreamAttribute_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetStreamAttribute { + get { if ((_hasBits1 & 8) != 0) { return canSetStreamAttribute_; } else { return CanSetStreamAttributeDefaultValue; } } + set { + _hasBits1 |= 8; + canSetStreamAttribute_ = value; + } + } + /// Gets whether the "can_set_stream_attribute" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetStreamAttribute { + get { return (_hasBits1 & 8) != 0; } + } + /// Clears the value of the "can_set_stream_attribute" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetStreamAttribute() { + _hasBits1 &= ~8; + } + + /// Field number for the "can_set_stream_name" field. + public const int CanSetStreamNameFieldNumber = 144; + private readonly static bool CanSetStreamNameDefaultValue = false; + + private bool canSetStreamName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetStreamName { + get { if ((_hasBits1 & 16) != 0) { return canSetStreamName_; } else { return CanSetStreamNameDefaultValue; } } + set { + _hasBits1 |= 16; + canSetStreamName_ = value; + } + } + /// Gets whether the "can_set_stream_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetStreamName { + get { return (_hasBits1 & 16) != 0; } + } + /// Clears the value of the "can_set_stream_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetStreamName() { + _hasBits1 &= ~16; + } + + /// Field number for the "can_set_stream_subject" field. + public const int CanSetStreamSubjectFieldNumber = 145; + private readonly static bool CanSetStreamSubjectDefaultValue = false; + + private bool canSetStreamSubject_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetStreamSubject { + get { if ((_hasBits1 & 32) != 0) { return canSetStreamSubject_; } else { return CanSetStreamSubjectDefaultValue; } } + set { + _hasBits1 |= 32; + canSetStreamSubject_ = value; + } + } + /// Gets whether the "can_set_stream_subject" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetStreamSubject { + get { return (_hasBits1 & 32) != 0; } + } + /// Clears the value of the "can_set_stream_subject" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetStreamSubject() { + _hasBits1 &= ~32; + } + + /// Field number for the "can_set_stream_access" field. + public const int CanSetStreamAccessFieldNumber = 146; + private readonly static bool CanSetStreamAccessDefaultValue = false; + + private bool canSetStreamAccess_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetStreamAccess { + get { if ((_hasBits1 & 64) != 0) { return canSetStreamAccess_; } else { return CanSetStreamAccessDefaultValue; } } + set { + _hasBits1 |= 64; + canSetStreamAccess_ = value; + } + } + /// Gets whether the "can_set_stream_access" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetStreamAccess { + get { return (_hasBits1 & 64) != 0; } + } + /// Clears the value of the "can_set_stream_access" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetStreamAccess() { + _hasBits1 &= ~64; + } + + /// Field number for the "can_set_stream_voice_level" field. + public const int CanSetStreamVoiceLevelFieldNumber = 147; + private readonly static bool CanSetStreamVoiceLevelDefaultValue = false; + + private bool canSetStreamVoiceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSetStreamVoiceLevel { + get { if ((_hasBits1 & 128) != 0) { return canSetStreamVoiceLevel_; } else { return CanSetStreamVoiceLevelDefaultValue; } } + set { + _hasBits1 |= 128; + canSetStreamVoiceLevel_ = value; + } + } + /// Gets whether the "can_set_stream_voice_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanSetStreamVoiceLevel { + get { return (_hasBits1 & 128) != 0; } + } + /// Clears the value of the "can_set_stream_voice_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanSetStreamVoiceLevel() { + _hasBits1 &= ~128; + } + + /// Field number for the "can_create_message" field. + public const int CanCreateMessageFieldNumber = 180; + private readonly static bool CanCreateMessageDefaultValue = false; + + private bool canCreateMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanCreateMessage { + get { if ((_hasBits1 & 256) != 0) { return canCreateMessage_; } else { return CanCreateMessageDefaultValue; } } + set { + _hasBits1 |= 256; + canCreateMessage_ = value; + } + } + /// Gets whether the "can_create_message" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanCreateMessage { + get { return (_hasBits1 & 256) != 0; } + } + /// Clears the value of the "can_create_message" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanCreateMessage() { + _hasBits1 &= ~256; + } + + /// Field number for the "can_destroy_own_message" field. + public const int CanDestroyOwnMessageFieldNumber = 181; + private readonly static bool CanDestroyOwnMessageDefaultValue = false; + + private bool canDestroyOwnMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanDestroyOwnMessage { + get { if ((_hasBits1 & 512) != 0) { return canDestroyOwnMessage_; } else { return CanDestroyOwnMessageDefaultValue; } } + set { + _hasBits1 |= 512; + canDestroyOwnMessage_ = value; + } + } + /// Gets whether the "can_destroy_own_message" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanDestroyOwnMessage { + get { return (_hasBits1 & 512) != 0; } + } + /// Clears the value of the "can_destroy_own_message" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanDestroyOwnMessage() { + _hasBits1 &= ~512; + } + + /// Field number for the "can_destroy_other_message" field. + public const int CanDestroyOtherMessageFieldNumber = 182; + private readonly static bool CanDestroyOtherMessageDefaultValue = false; + + private bool canDestroyOtherMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanDestroyOtherMessage { + get { if ((_hasBits1 & 1024) != 0) { return canDestroyOtherMessage_; } else { return CanDestroyOtherMessageDefaultValue; } } + set { + _hasBits1 |= 1024; + canDestroyOtherMessage_ = value; + } + } + /// Gets whether the "can_destroy_other_message" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanDestroyOtherMessage { + get { return (_hasBits1 & 1024) != 0; } + } + /// Clears the value of the "can_destroy_other_message" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanDestroyOtherMessage() { + _hasBits1 &= ~1024; + } + + /// Field number for the "can_edit_own_message" field. + public const int CanEditOwnMessageFieldNumber = 183; + private readonly static bool CanEditOwnMessageDefaultValue = false; + + private bool canEditOwnMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanEditOwnMessage { + get { if ((_hasBits1 & 2048) != 0) { return canEditOwnMessage_; } else { return CanEditOwnMessageDefaultValue; } } + set { + _hasBits1 |= 2048; + canEditOwnMessage_ = value; + } + } + /// Gets whether the "can_edit_own_message" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanEditOwnMessage { + get { return (_hasBits1 & 2048) != 0; } + } + /// Clears the value of the "can_edit_own_message" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanEditOwnMessage() { + _hasBits1 &= ~2048; + } + + /// Field number for the "can_pin_message" field. + public const int CanPinMessageFieldNumber = 184; + private readonly static bool CanPinMessageDefaultValue = false; + + private bool canPinMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanPinMessage { + get { if ((_hasBits1 & 4096) != 0) { return canPinMessage_; } else { return CanPinMessageDefaultValue; } } + set { + _hasBits1 |= 4096; + canPinMessage_ = value; + } + } + /// Gets whether the "can_pin_message" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanPinMessage { + get { return (_hasBits1 & 4096) != 0; } + } + /// Clears the value of the "can_pin_message" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanPinMessage() { + _hasBits1 &= ~4096; + } + + /// Field number for the "can_mention_all" field. + public const int CanMentionAllFieldNumber = 185; + private readonly static bool CanMentionAllDefaultValue = false; + + private bool canMentionAll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanMentionAll { + get { if ((_hasBits1 & 8192) != 0) { return canMentionAll_; } else { return CanMentionAllDefaultValue; } } + set { + _hasBits1 |= 8192; + canMentionAll_ = value; + } + } + /// Gets whether the "can_mention_all" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanMentionAll { + get { return (_hasBits1 & 8192) != 0; } + } + /// Clears the value of the "can_mention_all" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanMentionAll() { + _hasBits1 &= ~8192; + } + + /// Field number for the "can_mention_here" field. + public const int CanMentionHereFieldNumber = 186; + private readonly static bool CanMentionHereDefaultValue = false; + + private bool canMentionHere_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanMentionHere { + get { if ((_hasBits1 & 16384) != 0) { return canMentionHere_; } else { return CanMentionHereDefaultValue; } } + set { + _hasBits1 |= 16384; + canMentionHere_ = value; + } + } + /// Gets whether the "can_mention_here" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanMentionHere { + get { return (_hasBits1 & 16384) != 0; } + } + /// Clears the value of the "can_mention_here" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanMentionHere() { + _hasBits1 &= ~16384; + } + + /// Field number for the "can_mention_member" field. + public const int CanMentionMemberFieldNumber = 187; + private readonly static bool CanMentionMemberDefaultValue = false; + + private bool canMentionMember_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanMentionMember { + get { if ((_hasBits1 & 32768) != 0) { return canMentionMember_; } else { return CanMentionMemberDefaultValue; } } + set { + _hasBits1 |= 32768; + canMentionMember_ = value; + } + } + /// Gets whether the "can_mention_member" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanMentionMember { + get { return (_hasBits1 & 32768) != 0; } + } + /// Clears the value of the "can_mention_member" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanMentionMember() { + _hasBits1 &= ~32768; + } + + /// Field number for the "can_mention_role" field. + public const int CanMentionRoleFieldNumber = 188; + private readonly static bool CanMentionRoleDefaultValue = false; + + private bool canMentionRole_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanMentionRole { + get { if ((_hasBits1 & 65536) != 0) { return canMentionRole_; } else { return CanMentionRoleDefaultValue; } } + set { + _hasBits1 |= 65536; + canMentionRole_ = value; + } + } + /// Gets whether the "can_mention_role" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCanMentionRole { + get { return (_hasBits1 & 65536) != 0; } + } + /// Clears the value of the "can_mention_role" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCanMentionRole() { + _hasBits1 &= ~65536; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubPrivilegeSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubPrivilegeSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CanDestroy != other.CanDestroy) return false; + if (CanSetAttribute != other.CanSetAttribute) return false; + if (CanSetName != other.CanSetName) return false; + if (CanSetDescription != other.CanSetDescription) return false; + if (CanSetAvatar != other.CanSetAvatar) return false; + if (CanSetBroadcast != other.CanSetBroadcast) return false; + if (CanSetPrivacyLevel != other.CanSetPrivacyLevel) return false; + if (CanAddMember != other.CanAddMember) return false; + if (CanKickMember != other.CanKickMember) return false; + if (CanSetOwnMemberAttribute != other.CanSetOwnMemberAttribute) return false; + if (CanSetOtherMemberAttribute != other.CanSetOtherMemberAttribute) return false; + if (CanSetOwnVoiceState != other.CanSetOwnVoiceState) return false; + if (CanSetOwnPresenceLevel != other.CanSetOwnPresenceLevel) return false; + if (CanSetOwnWhisperLevel != other.CanSetOwnWhisperLevel) return false; + if (CanSetOwnMemberNote != other.CanSetOwnMemberNote) return false; + if (CanSetOtherMemberNote != other.CanSetOtherMemberNote) return false; + if (CanUseVoice != other.CanUseVoice) return false; + if (CanVoiceMuteMemberForAll != other.CanVoiceMuteMemberForAll) return false; + if (CanGetInvitation != other.CanGetInvitation) return false; + if (CanSendInvitation != other.CanSendInvitation) return false; + if (CanSendGuestInvitation != other.CanSendGuestInvitation) return false; + if (CanRevokeOwnInvitation != other.CanRevokeOwnInvitation) return false; + if (CanRevokeOtherInvitation != other.CanRevokeOtherInvitation) return false; + if (CanGetSuggestion != other.CanGetSuggestion) return false; + if (CanSuggestMember != other.CanSuggestMember) return false; + if (CanApproveMember != other.CanApproveMember) return false; + if (CanGetTicket != other.CanGetTicket) return false; + if (CanCreateTicket != other.CanCreateTicket) return false; + if (CanDestroyTicket != other.CanDestroyTicket) return false; + if (CanGetBan != other.CanGetBan) return false; + if (CanAddBan != other.CanAddBan) return false; + if (CanRemoveBan != other.CanRemoveBan) return false; + if (CanCreateStream != other.CanCreateStream) return false; + if (CanDestroyStream != other.CanDestroyStream) return false; + if (CanSetStreamPosition != other.CanSetStreamPosition) return false; + if (CanSetStreamAttribute != other.CanSetStreamAttribute) return false; + if (CanSetStreamName != other.CanSetStreamName) return false; + if (CanSetStreamSubject != other.CanSetStreamSubject) return false; + if (CanSetStreamAccess != other.CanSetStreamAccess) return false; + if (CanSetStreamVoiceLevel != other.CanSetStreamVoiceLevel) return false; + if (CanCreateMessage != other.CanCreateMessage) return false; + if (CanDestroyOwnMessage != other.CanDestroyOwnMessage) return false; + if (CanDestroyOtherMessage != other.CanDestroyOtherMessage) return false; + if (CanEditOwnMessage != other.CanEditOwnMessage) return false; + if (CanPinMessage != other.CanPinMessage) return false; + if (CanMentionAll != other.CanMentionAll) return false; + if (CanMentionHere != other.CanMentionHere) return false; + if (CanMentionMember != other.CanMentionMember) return false; + if (CanMentionRole != other.CanMentionRole) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCanDestroy) hash ^= CanDestroy.GetHashCode(); + if (HasCanSetAttribute) hash ^= CanSetAttribute.GetHashCode(); + if (HasCanSetName) hash ^= CanSetName.GetHashCode(); + if (HasCanSetDescription) hash ^= CanSetDescription.GetHashCode(); + if (HasCanSetAvatar) hash ^= CanSetAvatar.GetHashCode(); + if (HasCanSetBroadcast) hash ^= CanSetBroadcast.GetHashCode(); + if (HasCanSetPrivacyLevel) hash ^= CanSetPrivacyLevel.GetHashCode(); + if (HasCanAddMember) hash ^= CanAddMember.GetHashCode(); + if (HasCanKickMember) hash ^= CanKickMember.GetHashCode(); + if (HasCanSetOwnMemberAttribute) hash ^= CanSetOwnMemberAttribute.GetHashCode(); + if (HasCanSetOtherMemberAttribute) hash ^= CanSetOtherMemberAttribute.GetHashCode(); + if (HasCanSetOwnVoiceState) hash ^= CanSetOwnVoiceState.GetHashCode(); + if (HasCanSetOwnPresenceLevel) hash ^= CanSetOwnPresenceLevel.GetHashCode(); + if (HasCanSetOwnWhisperLevel) hash ^= CanSetOwnWhisperLevel.GetHashCode(); + if (HasCanSetOwnMemberNote) hash ^= CanSetOwnMemberNote.GetHashCode(); + if (HasCanSetOtherMemberNote) hash ^= CanSetOtherMemberNote.GetHashCode(); + if (HasCanUseVoice) hash ^= CanUseVoice.GetHashCode(); + if (HasCanVoiceMuteMemberForAll) hash ^= CanVoiceMuteMemberForAll.GetHashCode(); + if (HasCanGetInvitation) hash ^= CanGetInvitation.GetHashCode(); + if (HasCanSendInvitation) hash ^= CanSendInvitation.GetHashCode(); + if (HasCanSendGuestInvitation) hash ^= CanSendGuestInvitation.GetHashCode(); + if (HasCanRevokeOwnInvitation) hash ^= CanRevokeOwnInvitation.GetHashCode(); + if (HasCanRevokeOtherInvitation) hash ^= CanRevokeOtherInvitation.GetHashCode(); + if (HasCanGetSuggestion) hash ^= CanGetSuggestion.GetHashCode(); + if (HasCanSuggestMember) hash ^= CanSuggestMember.GetHashCode(); + if (HasCanApproveMember) hash ^= CanApproveMember.GetHashCode(); + if (HasCanGetTicket) hash ^= CanGetTicket.GetHashCode(); + if (HasCanCreateTicket) hash ^= CanCreateTicket.GetHashCode(); + if (HasCanDestroyTicket) hash ^= CanDestroyTicket.GetHashCode(); + if (HasCanGetBan) hash ^= CanGetBan.GetHashCode(); + if (HasCanAddBan) hash ^= CanAddBan.GetHashCode(); + if (HasCanRemoveBan) hash ^= CanRemoveBan.GetHashCode(); + if (HasCanCreateStream) hash ^= CanCreateStream.GetHashCode(); + if (HasCanDestroyStream) hash ^= CanDestroyStream.GetHashCode(); + if (HasCanSetStreamPosition) hash ^= CanSetStreamPosition.GetHashCode(); + if (HasCanSetStreamAttribute) hash ^= CanSetStreamAttribute.GetHashCode(); + if (HasCanSetStreamName) hash ^= CanSetStreamName.GetHashCode(); + if (HasCanSetStreamSubject) hash ^= CanSetStreamSubject.GetHashCode(); + if (HasCanSetStreamAccess) hash ^= CanSetStreamAccess.GetHashCode(); + if (HasCanSetStreamVoiceLevel) hash ^= CanSetStreamVoiceLevel.GetHashCode(); + if (HasCanCreateMessage) hash ^= CanCreateMessage.GetHashCode(); + if (HasCanDestroyOwnMessage) hash ^= CanDestroyOwnMessage.GetHashCode(); + if (HasCanDestroyOtherMessage) hash ^= CanDestroyOtherMessage.GetHashCode(); + if (HasCanEditOwnMessage) hash ^= CanEditOwnMessage.GetHashCode(); + if (HasCanPinMessage) hash ^= CanPinMessage.GetHashCode(); + if (HasCanMentionAll) hash ^= CanMentionAll.GetHashCode(); + if (HasCanMentionHere) hash ^= CanMentionHere.GetHashCode(); + if (HasCanMentionMember) hash ^= CanMentionMember.GetHashCode(); + if (HasCanMentionRole) hash ^= CanMentionRole.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCanDestroy) { + output.WriteRawTag(8); + output.WriteBool(CanDestroy); + } + if (HasCanSetAttribute) { + output.WriteRawTag(80); + output.WriteBool(CanSetAttribute); + } + if (HasCanSetName) { + output.WriteRawTag(88); + output.WriteBool(CanSetName); + } + if (HasCanSetDescription) { + output.WriteRawTag(96); + output.WriteBool(CanSetDescription); + } + if (HasCanSetAvatar) { + output.WriteRawTag(104); + output.WriteBool(CanSetAvatar); + } + if (HasCanSetBroadcast) { + output.WriteRawTag(112); + output.WriteBool(CanSetBroadcast); + } + if (HasCanSetPrivacyLevel) { + output.WriteRawTag(120); + output.WriteBool(CanSetPrivacyLevel); + } + if (HasCanAddMember) { + output.WriteRawTag(232, 1); + output.WriteBool(CanAddMember); + } + if (HasCanKickMember) { + output.WriteRawTag(240, 1); + output.WriteBool(CanKickMember); + } + if (HasCanSetOwnMemberAttribute) { + output.WriteRawTag(248, 1); + output.WriteBool(CanSetOwnMemberAttribute); + } + if (HasCanSetOtherMemberAttribute) { + output.WriteRawTag(128, 2); + output.WriteBool(CanSetOtherMemberAttribute); + } + if (HasCanSetOwnVoiceState) { + output.WriteRawTag(136, 2); + output.WriteBool(CanSetOwnVoiceState); + } + if (HasCanSetOwnPresenceLevel) { + output.WriteRawTag(144, 2); + output.WriteBool(CanSetOwnPresenceLevel); + } + if (HasCanSetOwnWhisperLevel) { + output.WriteRawTag(152, 2); + output.WriteBool(CanSetOwnWhisperLevel); + } + if (HasCanSetOwnMemberNote) { + output.WriteRawTag(160, 2); + output.WriteBool(CanSetOwnMemberNote); + } + if (HasCanSetOtherMemberNote) { + output.WriteRawTag(168, 2); + output.WriteBool(CanSetOtherMemberNote); + } + if (HasCanUseVoice) { + output.WriteRawTag(144, 3); + output.WriteBool(CanUseVoice); + } + if (HasCanVoiceMuteMemberForAll) { + output.WriteRawTag(152, 3); + output.WriteBool(CanVoiceMuteMemberForAll); + } + if (HasCanGetInvitation) { + output.WriteRawTag(176, 4); + output.WriteBool(CanGetInvitation); + } + if (HasCanSendInvitation) { + output.WriteRawTag(184, 4); + output.WriteBool(CanSendInvitation); + } + if (HasCanSendGuestInvitation) { + output.WriteRawTag(192, 4); + output.WriteBool(CanSendGuestInvitation); + } + if (HasCanRevokeOwnInvitation) { + output.WriteRawTag(200, 4); + output.WriteBool(CanRevokeOwnInvitation); + } + if (HasCanRevokeOtherInvitation) { + output.WriteRawTag(208, 4); + output.WriteBool(CanRevokeOtherInvitation); + } + if (HasCanGetSuggestion) { + output.WriteRawTag(208, 5); + output.WriteBool(CanGetSuggestion); + } + if (HasCanSuggestMember) { + output.WriteRawTag(216, 5); + output.WriteBool(CanSuggestMember); + } + if (HasCanApproveMember) { + output.WriteRawTag(224, 5); + output.WriteBool(CanApproveMember); + } + if (HasCanGetTicket) { + output.WriteRawTag(240, 6); + output.WriteBool(CanGetTicket); + } + if (HasCanCreateTicket) { + output.WriteRawTag(248, 6); + output.WriteBool(CanCreateTicket); + } + if (HasCanDestroyTicket) { + output.WriteRawTag(128, 7); + output.WriteBool(CanDestroyTicket); + } + if (HasCanGetBan) { + output.WriteRawTag(144, 8); + output.WriteBool(CanGetBan); + } + if (HasCanAddBan) { + output.WriteRawTag(152, 8); + output.WriteBool(CanAddBan); + } + if (HasCanRemoveBan) { + output.WriteRawTag(160, 8); + output.WriteBool(CanRemoveBan); + } + if (HasCanCreateStream) { + output.WriteRawTag(224, 8); + output.WriteBool(CanCreateStream); + } + if (HasCanDestroyStream) { + output.WriteRawTag(232, 8); + output.WriteBool(CanDestroyStream); + } + if (HasCanSetStreamPosition) { + output.WriteRawTag(240, 8); + output.WriteBool(CanSetStreamPosition); + } + if (HasCanSetStreamAttribute) { + output.WriteRawTag(248, 8); + output.WriteBool(CanSetStreamAttribute); + } + if (HasCanSetStreamName) { + output.WriteRawTag(128, 9); + output.WriteBool(CanSetStreamName); + } + if (HasCanSetStreamSubject) { + output.WriteRawTag(136, 9); + output.WriteBool(CanSetStreamSubject); + } + if (HasCanSetStreamAccess) { + output.WriteRawTag(144, 9); + output.WriteBool(CanSetStreamAccess); + } + if (HasCanSetStreamVoiceLevel) { + output.WriteRawTag(152, 9); + output.WriteBool(CanSetStreamVoiceLevel); + } + if (HasCanCreateMessage) { + output.WriteRawTag(160, 11); + output.WriteBool(CanCreateMessage); + } + if (HasCanDestroyOwnMessage) { + output.WriteRawTag(168, 11); + output.WriteBool(CanDestroyOwnMessage); + } + if (HasCanDestroyOtherMessage) { + output.WriteRawTag(176, 11); + output.WriteBool(CanDestroyOtherMessage); + } + if (HasCanEditOwnMessage) { + output.WriteRawTag(184, 11); + output.WriteBool(CanEditOwnMessage); + } + if (HasCanPinMessage) { + output.WriteRawTag(192, 11); + output.WriteBool(CanPinMessage); + } + if (HasCanMentionAll) { + output.WriteRawTag(200, 11); + output.WriteBool(CanMentionAll); + } + if (HasCanMentionHere) { + output.WriteRawTag(208, 11); + output.WriteBool(CanMentionHere); + } + if (HasCanMentionMember) { + output.WriteRawTag(216, 11); + output.WriteBool(CanMentionMember); + } + if (HasCanMentionRole) { + output.WriteRawTag(224, 11); + output.WriteBool(CanMentionRole); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCanDestroy) { + output.WriteRawTag(8); + output.WriteBool(CanDestroy); + } + if (HasCanSetAttribute) { + output.WriteRawTag(80); + output.WriteBool(CanSetAttribute); + } + if (HasCanSetName) { + output.WriteRawTag(88); + output.WriteBool(CanSetName); + } + if (HasCanSetDescription) { + output.WriteRawTag(96); + output.WriteBool(CanSetDescription); + } + if (HasCanSetAvatar) { + output.WriteRawTag(104); + output.WriteBool(CanSetAvatar); + } + if (HasCanSetBroadcast) { + output.WriteRawTag(112); + output.WriteBool(CanSetBroadcast); + } + if (HasCanSetPrivacyLevel) { + output.WriteRawTag(120); + output.WriteBool(CanSetPrivacyLevel); + } + if (HasCanAddMember) { + output.WriteRawTag(232, 1); + output.WriteBool(CanAddMember); + } + if (HasCanKickMember) { + output.WriteRawTag(240, 1); + output.WriteBool(CanKickMember); + } + if (HasCanSetOwnMemberAttribute) { + output.WriteRawTag(248, 1); + output.WriteBool(CanSetOwnMemberAttribute); + } + if (HasCanSetOtherMemberAttribute) { + output.WriteRawTag(128, 2); + output.WriteBool(CanSetOtherMemberAttribute); + } + if (HasCanSetOwnVoiceState) { + output.WriteRawTag(136, 2); + output.WriteBool(CanSetOwnVoiceState); + } + if (HasCanSetOwnPresenceLevel) { + output.WriteRawTag(144, 2); + output.WriteBool(CanSetOwnPresenceLevel); + } + if (HasCanSetOwnWhisperLevel) { + output.WriteRawTag(152, 2); + output.WriteBool(CanSetOwnWhisperLevel); + } + if (HasCanSetOwnMemberNote) { + output.WriteRawTag(160, 2); + output.WriteBool(CanSetOwnMemberNote); + } + if (HasCanSetOtherMemberNote) { + output.WriteRawTag(168, 2); + output.WriteBool(CanSetOtherMemberNote); + } + if (HasCanUseVoice) { + output.WriteRawTag(144, 3); + output.WriteBool(CanUseVoice); + } + if (HasCanVoiceMuteMemberForAll) { + output.WriteRawTag(152, 3); + output.WriteBool(CanVoiceMuteMemberForAll); + } + if (HasCanGetInvitation) { + output.WriteRawTag(176, 4); + output.WriteBool(CanGetInvitation); + } + if (HasCanSendInvitation) { + output.WriteRawTag(184, 4); + output.WriteBool(CanSendInvitation); + } + if (HasCanSendGuestInvitation) { + output.WriteRawTag(192, 4); + output.WriteBool(CanSendGuestInvitation); + } + if (HasCanRevokeOwnInvitation) { + output.WriteRawTag(200, 4); + output.WriteBool(CanRevokeOwnInvitation); + } + if (HasCanRevokeOtherInvitation) { + output.WriteRawTag(208, 4); + output.WriteBool(CanRevokeOtherInvitation); + } + if (HasCanGetSuggestion) { + output.WriteRawTag(208, 5); + output.WriteBool(CanGetSuggestion); + } + if (HasCanSuggestMember) { + output.WriteRawTag(216, 5); + output.WriteBool(CanSuggestMember); + } + if (HasCanApproveMember) { + output.WriteRawTag(224, 5); + output.WriteBool(CanApproveMember); + } + if (HasCanGetTicket) { + output.WriteRawTag(240, 6); + output.WriteBool(CanGetTicket); + } + if (HasCanCreateTicket) { + output.WriteRawTag(248, 6); + output.WriteBool(CanCreateTicket); + } + if (HasCanDestroyTicket) { + output.WriteRawTag(128, 7); + output.WriteBool(CanDestroyTicket); + } + if (HasCanGetBan) { + output.WriteRawTag(144, 8); + output.WriteBool(CanGetBan); + } + if (HasCanAddBan) { + output.WriteRawTag(152, 8); + output.WriteBool(CanAddBan); + } + if (HasCanRemoveBan) { + output.WriteRawTag(160, 8); + output.WriteBool(CanRemoveBan); + } + if (HasCanCreateStream) { + output.WriteRawTag(224, 8); + output.WriteBool(CanCreateStream); + } + if (HasCanDestroyStream) { + output.WriteRawTag(232, 8); + output.WriteBool(CanDestroyStream); + } + if (HasCanSetStreamPosition) { + output.WriteRawTag(240, 8); + output.WriteBool(CanSetStreamPosition); + } + if (HasCanSetStreamAttribute) { + output.WriteRawTag(248, 8); + output.WriteBool(CanSetStreamAttribute); + } + if (HasCanSetStreamName) { + output.WriteRawTag(128, 9); + output.WriteBool(CanSetStreamName); + } + if (HasCanSetStreamSubject) { + output.WriteRawTag(136, 9); + output.WriteBool(CanSetStreamSubject); + } + if (HasCanSetStreamAccess) { + output.WriteRawTag(144, 9); + output.WriteBool(CanSetStreamAccess); + } + if (HasCanSetStreamVoiceLevel) { + output.WriteRawTag(152, 9); + output.WriteBool(CanSetStreamVoiceLevel); + } + if (HasCanCreateMessage) { + output.WriteRawTag(160, 11); + output.WriteBool(CanCreateMessage); + } + if (HasCanDestroyOwnMessage) { + output.WriteRawTag(168, 11); + output.WriteBool(CanDestroyOwnMessage); + } + if (HasCanDestroyOtherMessage) { + output.WriteRawTag(176, 11); + output.WriteBool(CanDestroyOtherMessage); + } + if (HasCanEditOwnMessage) { + output.WriteRawTag(184, 11); + output.WriteBool(CanEditOwnMessage); + } + if (HasCanPinMessage) { + output.WriteRawTag(192, 11); + output.WriteBool(CanPinMessage); + } + if (HasCanMentionAll) { + output.WriteRawTag(200, 11); + output.WriteBool(CanMentionAll); + } + if (HasCanMentionHere) { + output.WriteRawTag(208, 11); + output.WriteBool(CanMentionHere); + } + if (HasCanMentionMember) { + output.WriteRawTag(216, 11); + output.WriteBool(CanMentionMember); + } + if (HasCanMentionRole) { + output.WriteRawTag(224, 11); + output.WriteBool(CanMentionRole); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCanDestroy) { + size += 1 + 1; + } + if (HasCanSetAttribute) { + size += 1 + 1; + } + if (HasCanSetName) { + size += 1 + 1; + } + if (HasCanSetDescription) { + size += 1 + 1; + } + if (HasCanSetAvatar) { + size += 1 + 1; + } + if (HasCanSetBroadcast) { + size += 1 + 1; + } + if (HasCanSetPrivacyLevel) { + size += 1 + 1; + } + if (HasCanAddMember) { + size += 2 + 1; + } + if (HasCanKickMember) { + size += 2 + 1; + } + if (HasCanSetOwnMemberAttribute) { + size += 2 + 1; + } + if (HasCanSetOtherMemberAttribute) { + size += 2 + 1; + } + if (HasCanSetOwnVoiceState) { + size += 2 + 1; + } + if (HasCanSetOwnPresenceLevel) { + size += 2 + 1; + } + if (HasCanSetOwnWhisperLevel) { + size += 2 + 1; + } + if (HasCanSetOwnMemberNote) { + size += 2 + 1; + } + if (HasCanSetOtherMemberNote) { + size += 2 + 1; + } + if (HasCanUseVoice) { + size += 2 + 1; + } + if (HasCanVoiceMuteMemberForAll) { + size += 2 + 1; + } + if (HasCanGetInvitation) { + size += 2 + 1; + } + if (HasCanSendInvitation) { + size += 2 + 1; + } + if (HasCanSendGuestInvitation) { + size += 2 + 1; + } + if (HasCanRevokeOwnInvitation) { + size += 2 + 1; + } + if (HasCanRevokeOtherInvitation) { + size += 2 + 1; + } + if (HasCanGetSuggestion) { + size += 2 + 1; + } + if (HasCanSuggestMember) { + size += 2 + 1; + } + if (HasCanApproveMember) { + size += 2 + 1; + } + if (HasCanGetTicket) { + size += 2 + 1; + } + if (HasCanCreateTicket) { + size += 2 + 1; + } + if (HasCanDestroyTicket) { + size += 2 + 1; + } + if (HasCanGetBan) { + size += 2 + 1; + } + if (HasCanAddBan) { + size += 2 + 1; + } + if (HasCanRemoveBan) { + size += 2 + 1; + } + if (HasCanCreateStream) { + size += 2 + 1; + } + if (HasCanDestroyStream) { + size += 2 + 1; + } + if (HasCanSetStreamPosition) { + size += 2 + 1; + } + if (HasCanSetStreamAttribute) { + size += 2 + 1; + } + if (HasCanSetStreamName) { + size += 2 + 1; + } + if (HasCanSetStreamSubject) { + size += 2 + 1; + } + if (HasCanSetStreamAccess) { + size += 2 + 1; + } + if (HasCanSetStreamVoiceLevel) { + size += 2 + 1; + } + if (HasCanCreateMessage) { + size += 2 + 1; + } + if (HasCanDestroyOwnMessage) { + size += 2 + 1; + } + if (HasCanDestroyOtherMessage) { + size += 2 + 1; + } + if (HasCanEditOwnMessage) { + size += 2 + 1; + } + if (HasCanPinMessage) { + size += 2 + 1; + } + if (HasCanMentionAll) { + size += 2 + 1; + } + if (HasCanMentionHere) { + size += 2 + 1; + } + if (HasCanMentionMember) { + size += 2 + 1; + } + if (HasCanMentionRole) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubPrivilegeSet other) { + if (other == null) { + return; + } + if (other.HasCanDestroy) { + CanDestroy = other.CanDestroy; + } + if (other.HasCanSetAttribute) { + CanSetAttribute = other.CanSetAttribute; + } + if (other.HasCanSetName) { + CanSetName = other.CanSetName; + } + if (other.HasCanSetDescription) { + CanSetDescription = other.CanSetDescription; + } + if (other.HasCanSetAvatar) { + CanSetAvatar = other.CanSetAvatar; + } + if (other.HasCanSetBroadcast) { + CanSetBroadcast = other.CanSetBroadcast; + } + if (other.HasCanSetPrivacyLevel) { + CanSetPrivacyLevel = other.CanSetPrivacyLevel; + } + if (other.HasCanAddMember) { + CanAddMember = other.CanAddMember; + } + if (other.HasCanKickMember) { + CanKickMember = other.CanKickMember; + } + if (other.HasCanSetOwnMemberAttribute) { + CanSetOwnMemberAttribute = other.CanSetOwnMemberAttribute; + } + if (other.HasCanSetOtherMemberAttribute) { + CanSetOtherMemberAttribute = other.CanSetOtherMemberAttribute; + } + if (other.HasCanSetOwnVoiceState) { + CanSetOwnVoiceState = other.CanSetOwnVoiceState; + } + if (other.HasCanSetOwnPresenceLevel) { + CanSetOwnPresenceLevel = other.CanSetOwnPresenceLevel; + } + if (other.HasCanSetOwnWhisperLevel) { + CanSetOwnWhisperLevel = other.CanSetOwnWhisperLevel; + } + if (other.HasCanSetOwnMemberNote) { + CanSetOwnMemberNote = other.CanSetOwnMemberNote; + } + if (other.HasCanSetOtherMemberNote) { + CanSetOtherMemberNote = other.CanSetOtherMemberNote; + } + if (other.HasCanUseVoice) { + CanUseVoice = other.CanUseVoice; + } + if (other.HasCanVoiceMuteMemberForAll) { + CanVoiceMuteMemberForAll = other.CanVoiceMuteMemberForAll; + } + if (other.HasCanGetInvitation) { + CanGetInvitation = other.CanGetInvitation; + } + if (other.HasCanSendInvitation) { + CanSendInvitation = other.CanSendInvitation; + } + if (other.HasCanSendGuestInvitation) { + CanSendGuestInvitation = other.CanSendGuestInvitation; + } + if (other.HasCanRevokeOwnInvitation) { + CanRevokeOwnInvitation = other.CanRevokeOwnInvitation; + } + if (other.HasCanRevokeOtherInvitation) { + CanRevokeOtherInvitation = other.CanRevokeOtherInvitation; + } + if (other.HasCanGetSuggestion) { + CanGetSuggestion = other.CanGetSuggestion; + } + if (other.HasCanSuggestMember) { + CanSuggestMember = other.CanSuggestMember; + } + if (other.HasCanApproveMember) { + CanApproveMember = other.CanApproveMember; + } + if (other.HasCanGetTicket) { + CanGetTicket = other.CanGetTicket; + } + if (other.HasCanCreateTicket) { + CanCreateTicket = other.CanCreateTicket; + } + if (other.HasCanDestroyTicket) { + CanDestroyTicket = other.CanDestroyTicket; + } + if (other.HasCanGetBan) { + CanGetBan = other.CanGetBan; + } + if (other.HasCanAddBan) { + CanAddBan = other.CanAddBan; + } + if (other.HasCanRemoveBan) { + CanRemoveBan = other.CanRemoveBan; + } + if (other.HasCanCreateStream) { + CanCreateStream = other.CanCreateStream; + } + if (other.HasCanDestroyStream) { + CanDestroyStream = other.CanDestroyStream; + } + if (other.HasCanSetStreamPosition) { + CanSetStreamPosition = other.CanSetStreamPosition; + } + if (other.HasCanSetStreamAttribute) { + CanSetStreamAttribute = other.CanSetStreamAttribute; + } + if (other.HasCanSetStreamName) { + CanSetStreamName = other.CanSetStreamName; + } + if (other.HasCanSetStreamSubject) { + CanSetStreamSubject = other.CanSetStreamSubject; + } + if (other.HasCanSetStreamAccess) { + CanSetStreamAccess = other.CanSetStreamAccess; + } + if (other.HasCanSetStreamVoiceLevel) { + CanSetStreamVoiceLevel = other.CanSetStreamVoiceLevel; + } + if (other.HasCanCreateMessage) { + CanCreateMessage = other.CanCreateMessage; + } + if (other.HasCanDestroyOwnMessage) { + CanDestroyOwnMessage = other.CanDestroyOwnMessage; + } + if (other.HasCanDestroyOtherMessage) { + CanDestroyOtherMessage = other.CanDestroyOtherMessage; + } + if (other.HasCanEditOwnMessage) { + CanEditOwnMessage = other.CanEditOwnMessage; + } + if (other.HasCanPinMessage) { + CanPinMessage = other.CanPinMessage; + } + if (other.HasCanMentionAll) { + CanMentionAll = other.CanMentionAll; + } + if (other.HasCanMentionHere) { + CanMentionHere = other.CanMentionHere; + } + if (other.HasCanMentionMember) { + CanMentionMember = other.CanMentionMember; + } + if (other.HasCanMentionRole) { + CanMentionRole = other.CanMentionRole; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CanDestroy = input.ReadBool(); + break; + } + case 80: { + CanSetAttribute = input.ReadBool(); + break; + } + case 88: { + CanSetName = input.ReadBool(); + break; + } + case 96: { + CanSetDescription = input.ReadBool(); + break; + } + case 104: { + CanSetAvatar = input.ReadBool(); + break; + } + case 112: { + CanSetBroadcast = input.ReadBool(); + break; + } + case 120: { + CanSetPrivacyLevel = input.ReadBool(); + break; + } + case 232: { + CanAddMember = input.ReadBool(); + break; + } + case 240: { + CanKickMember = input.ReadBool(); + break; + } + case 248: { + CanSetOwnMemberAttribute = input.ReadBool(); + break; + } + case 256: { + CanSetOtherMemberAttribute = input.ReadBool(); + break; + } + case 264: { + CanSetOwnVoiceState = input.ReadBool(); + break; + } + case 272: { + CanSetOwnPresenceLevel = input.ReadBool(); + break; + } + case 280: { + CanSetOwnWhisperLevel = input.ReadBool(); + break; + } + case 288: { + CanSetOwnMemberNote = input.ReadBool(); + break; + } + case 296: { + CanSetOtherMemberNote = input.ReadBool(); + break; + } + case 400: { + CanUseVoice = input.ReadBool(); + break; + } + case 408: { + CanVoiceMuteMemberForAll = input.ReadBool(); + break; + } + case 560: { + CanGetInvitation = input.ReadBool(); + break; + } + case 568: { + CanSendInvitation = input.ReadBool(); + break; + } + case 576: { + CanSendGuestInvitation = input.ReadBool(); + break; + } + case 584: { + CanRevokeOwnInvitation = input.ReadBool(); + break; + } + case 592: { + CanRevokeOtherInvitation = input.ReadBool(); + break; + } + case 720: { + CanGetSuggestion = input.ReadBool(); + break; + } + case 728: { + CanSuggestMember = input.ReadBool(); + break; + } + case 736: { + CanApproveMember = input.ReadBool(); + break; + } + case 880: { + CanGetTicket = input.ReadBool(); + break; + } + case 888: { + CanCreateTicket = input.ReadBool(); + break; + } + case 896: { + CanDestroyTicket = input.ReadBool(); + break; + } + case 1040: { + CanGetBan = input.ReadBool(); + break; + } + case 1048: { + CanAddBan = input.ReadBool(); + break; + } + case 1056: { + CanRemoveBan = input.ReadBool(); + break; + } + case 1120: { + CanCreateStream = input.ReadBool(); + break; + } + case 1128: { + CanDestroyStream = input.ReadBool(); + break; + } + case 1136: { + CanSetStreamPosition = input.ReadBool(); + break; + } + case 1144: { + CanSetStreamAttribute = input.ReadBool(); + break; + } + case 1152: { + CanSetStreamName = input.ReadBool(); + break; + } + case 1160: { + CanSetStreamSubject = input.ReadBool(); + break; + } + case 1168: { + CanSetStreamAccess = input.ReadBool(); + break; + } + case 1176: { + CanSetStreamVoiceLevel = input.ReadBool(); + break; + } + case 1440: { + CanCreateMessage = input.ReadBool(); + break; + } + case 1448: { + CanDestroyOwnMessage = input.ReadBool(); + break; + } + case 1456: { + CanDestroyOtherMessage = input.ReadBool(); + break; + } + case 1464: { + CanEditOwnMessage = input.ReadBool(); + break; + } + case 1472: { + CanPinMessage = input.ReadBool(); + break; + } + case 1480: { + CanMentionAll = input.ReadBool(); + break; + } + case 1488: { + CanMentionHere = input.ReadBool(); + break; + } + case 1496: { + CanMentionMember = input.ReadBool(); + break; + } + case 1504: { + CanMentionRole = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CanDestroy = input.ReadBool(); + break; + } + case 80: { + CanSetAttribute = input.ReadBool(); + break; + } + case 88: { + CanSetName = input.ReadBool(); + break; + } + case 96: { + CanSetDescription = input.ReadBool(); + break; + } + case 104: { + CanSetAvatar = input.ReadBool(); + break; + } + case 112: { + CanSetBroadcast = input.ReadBool(); + break; + } + case 120: { + CanSetPrivacyLevel = input.ReadBool(); + break; + } + case 232: { + CanAddMember = input.ReadBool(); + break; + } + case 240: { + CanKickMember = input.ReadBool(); + break; + } + case 248: { + CanSetOwnMemberAttribute = input.ReadBool(); + break; + } + case 256: { + CanSetOtherMemberAttribute = input.ReadBool(); + break; + } + case 264: { + CanSetOwnVoiceState = input.ReadBool(); + break; + } + case 272: { + CanSetOwnPresenceLevel = input.ReadBool(); + break; + } + case 280: { + CanSetOwnWhisperLevel = input.ReadBool(); + break; + } + case 288: { + CanSetOwnMemberNote = input.ReadBool(); + break; + } + case 296: { + CanSetOtherMemberNote = input.ReadBool(); + break; + } + case 400: { + CanUseVoice = input.ReadBool(); + break; + } + case 408: { + CanVoiceMuteMemberForAll = input.ReadBool(); + break; + } + case 560: { + CanGetInvitation = input.ReadBool(); + break; + } + case 568: { + CanSendInvitation = input.ReadBool(); + break; + } + case 576: { + CanSendGuestInvitation = input.ReadBool(); + break; + } + case 584: { + CanRevokeOwnInvitation = input.ReadBool(); + break; + } + case 592: { + CanRevokeOtherInvitation = input.ReadBool(); + break; + } + case 720: { + CanGetSuggestion = input.ReadBool(); + break; + } + case 728: { + CanSuggestMember = input.ReadBool(); + break; + } + case 736: { + CanApproveMember = input.ReadBool(); + break; + } + case 880: { + CanGetTicket = input.ReadBool(); + break; + } + case 888: { + CanCreateTicket = input.ReadBool(); + break; + } + case 896: { + CanDestroyTicket = input.ReadBool(); + break; + } + case 1040: { + CanGetBan = input.ReadBool(); + break; + } + case 1048: { + CanAddBan = input.ReadBool(); + break; + } + case 1056: { + CanRemoveBan = input.ReadBool(); + break; + } + case 1120: { + CanCreateStream = input.ReadBool(); + break; + } + case 1128: { + CanDestroyStream = input.ReadBool(); + break; + } + case 1136: { + CanSetStreamPosition = input.ReadBool(); + break; + } + case 1144: { + CanSetStreamAttribute = input.ReadBool(); + break; + } + case 1152: { + CanSetStreamName = input.ReadBool(); + break; + } + case 1160: { + CanSetStreamSubject = input.ReadBool(); + break; + } + case 1168: { + CanSetStreamAccess = input.ReadBool(); + break; + } + case 1176: { + CanSetStreamVoiceLevel = input.ReadBool(); + break; + } + case 1440: { + CanCreateMessage = input.ReadBool(); + break; + } + case 1448: { + CanDestroyOwnMessage = input.ReadBool(); + break; + } + case 1456: { + CanDestroyOtherMessage = input.ReadBool(); + break; + } + case 1464: { + CanEditOwnMessage = input.ReadBool(); + break; + } + case 1472: { + CanPinMessage = input.ReadBool(); + break; + } + case 1480: { + CanMentionAll = input.ReadBool(); + break; + } + case 1488: { + CanMentionHere = input.ReadBool(); + break; + } + case 1496: { + CanMentionMember = input.ReadBool(); + break; + } + case 1504: { + CanMentionRole = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubRole : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubRole()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRole() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRole(ClubRole other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + state_ = other.state_ != null ? other.state_.Clone() : null; + privilege_ = other.privilege_ != null ? other.privilege_.Clone() : null; + alwaysGrantStreamAccess_ = other.alwaysGrantStreamAccess_; + allowInClubSlot_ = other.allowInClubSlot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRole Clone() { + return new ClubRole(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "privilege" field. + public const int PrivilegeFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet privilege_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet Privilege { + get { return privilege_; } + set { + privilege_ = value; + } + } + + /// Field number for the "always_grant_stream_access" field. + public const int AlwaysGrantStreamAccessFieldNumber = 4; + private readonly static bool AlwaysGrantStreamAccessDefaultValue = false; + + private bool alwaysGrantStreamAccess_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AlwaysGrantStreamAccess { + get { if ((_hasBits0 & 2) != 0) { return alwaysGrantStreamAccess_; } else { return AlwaysGrantStreamAccessDefaultValue; } } + set { + _hasBits0 |= 2; + alwaysGrantStreamAccess_ = value; + } + } + /// Gets whether the "always_grant_stream_access" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAlwaysGrantStreamAccess { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "always_grant_stream_access" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAlwaysGrantStreamAccess() { + _hasBits0 &= ~2; + } + + /// Field number for the "allow_in_club_slot" field. + public const int AllowInClubSlotFieldNumber = 5; + private readonly static bool AllowInClubSlotDefaultValue = false; + + private bool allowInClubSlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AllowInClubSlot { + get { if ((_hasBits0 & 4) != 0) { return allowInClubSlot_; } else { return AllowInClubSlotDefaultValue; } } + set { + _hasBits0 |= 4; + allowInClubSlot_ = value; + } + } + /// Gets whether the "allow_in_club_slot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAllowInClubSlot { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "allow_in_club_slot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAllowInClubSlot() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubRole); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubRole other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(State, other.State)) return false; + if (!object.Equals(Privilege, other.Privilege)) return false; + if (AlwaysGrantStreamAccess != other.AlwaysGrantStreamAccess) return false; + if (AllowInClubSlot != other.AllowInClubSlot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (state_ != null) hash ^= State.GetHashCode(); + if (privilege_ != null) hash ^= Privilege.GetHashCode(); + if (HasAlwaysGrantStreamAccess) hash ^= AlwaysGrantStreamAccess.GetHashCode(); + if (HasAllowInClubSlot) hash ^= AllowInClubSlot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (state_ != null) { + output.WriteRawTag(18); + output.WriteMessage(State); + } + if (privilege_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Privilege); + } + if (HasAlwaysGrantStreamAccess) { + output.WriteRawTag(32); + output.WriteBool(AlwaysGrantStreamAccess); + } + if (HasAllowInClubSlot) { + output.WriteRawTag(40); + output.WriteBool(AllowInClubSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (state_ != null) { + output.WriteRawTag(18); + output.WriteMessage(State); + } + if (privilege_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Privilege); + } + if (HasAlwaysGrantStreamAccess) { + output.WriteRawTag(32); + output.WriteBool(AlwaysGrantStreamAccess); + } + if (HasAllowInClubSlot) { + output.WriteRawTag(40); + output.WriteBool(AllowInClubSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (privilege_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Privilege); + } + if (HasAlwaysGrantStreamAccess) { + size += 1 + 1; + } + if (HasAllowInClubSlot) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubRole other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.state_ != null) { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState(); + } + State.MergeFrom(other.State); + } + if (other.privilege_ != null) { + if (privilege_ == null) { + Privilege = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet(); + } + Privilege.MergeFrom(other.Privilege); + } + if (other.HasAlwaysGrantStreamAccess) { + AlwaysGrantStreamAccess = other.AlwaysGrantStreamAccess; + } + if (other.HasAllowInClubSlot) { + AllowInClubSlot = other.AllowInClubSlot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 18: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState(); + } + input.ReadMessage(State); + break; + } + case 26: { + if (privilege_ == null) { + Privilege = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet(); + } + input.ReadMessage(Privilege); + break; + } + case 32: { + AlwaysGrantStreamAccess = input.ReadBool(); + break; + } + case 40: { + AllowInClubSlot = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 18: { + if (state_ == null) { + State = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState(); + } + input.ReadMessage(State); + break; + } + case 26: { + if (privilege_ == null) { + Privilege = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubPrivilegeSet(); + } + input.ReadMessage(Privilege); + break; + } + case 32: { + AlwaysGrantStreamAccess = input.ReadBool(); + break; + } + case 40: { + AllowInClubSlot = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubRoleSet : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubRoleSet()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRoleSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRoleSet(ClubRoleSet other) : this() { + _hasBits0 = other._hasBits0; + role_ = other.role_.Clone(); + defaultRole_ = other.defaultRole_.Clone(); + assignmentRespectsRelegationChain_ = other.assignmentRespectsRelegationChain_; + subtype_ = other.subtype_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubRoleSet Clone() { + return new ClubRoleSet(this); + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRole.Parser); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "default_role" field. + public const int DefaultRoleFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_defaultRole_codec + = pb::FieldCodec.ForUInt32(42); + private readonly pbc::RepeatedField defaultRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DefaultRole { + get { return defaultRole_; } + } + + /// Field number for the "assignment_respects_relegation_chain" field. + public const int AssignmentRespectsRelegationChainFieldNumber = 6; + private readonly static bool AssignmentRespectsRelegationChainDefaultValue = false; + + private bool assignmentRespectsRelegationChain_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AssignmentRespectsRelegationChain { + get { if ((_hasBits0 & 1) != 0) { return assignmentRespectsRelegationChain_; } else { return AssignmentRespectsRelegationChainDefaultValue; } } + set { + _hasBits0 |= 1; + assignmentRespectsRelegationChain_ = value; + } + } + /// Gets whether the "assignment_respects_relegation_chain" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAssignmentRespectsRelegationChain { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "assignment_respects_relegation_chain" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAssignmentRespectsRelegationChain() { + _hasBits0 &= ~1; + } + + /// Field number for the "subtype" field. + public const int SubtypeFieldNumber = 7; + private readonly static string SubtypeDefaultValue = ""; + + private string subtype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subtype { + get { return subtype_ ?? SubtypeDefaultValue; } + set { + subtype_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "subtype" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubtype { + get { return subtype_ != null; } + } + /// Clears the value of the "subtype" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubtype() { + subtype_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubRoleSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubRoleSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!role_.Equals(other.role_)) return false; + if(!defaultRole_.Equals(other.defaultRole_)) return false; + if (AssignmentRespectsRelegationChain != other.AssignmentRespectsRelegationChain) return false; + if (Subtype != other.Subtype) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= role_.GetHashCode(); + hash ^= defaultRole_.GetHashCode(); + if (HasAssignmentRespectsRelegationChain) hash ^= AssignmentRespectsRelegationChain.GetHashCode(); + if (HasSubtype) hash ^= Subtype.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + role_.WriteTo(output, _repeated_role_codec); + defaultRole_.WriteTo(output, _repeated_defaultRole_codec); + if (HasAssignmentRespectsRelegationChain) { + output.WriteRawTag(48); + output.WriteBool(AssignmentRespectsRelegationChain); + } + if (HasSubtype) { + output.WriteRawTag(58); + output.WriteString(Subtype); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + role_.WriteTo(ref output, _repeated_role_codec); + defaultRole_.WriteTo(ref output, _repeated_defaultRole_codec); + if (HasAssignmentRespectsRelegationChain) { + output.WriteRawTag(48); + output.WriteBool(AssignmentRespectsRelegationChain); + } + if (HasSubtype) { + output.WriteRawTag(58); + output.WriteString(Subtype); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += role_.CalculateSize(_repeated_role_codec); + size += defaultRole_.CalculateSize(_repeated_defaultRole_codec); + if (HasAssignmentRespectsRelegationChain) { + size += 1 + 1; + } + if (HasSubtype) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subtype); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubRoleSet other) { + if (other == null) { + return; + } + role_.Add(other.role_); + defaultRole_.Add(other.defaultRole_); + if (other.HasAssignmentRespectsRelegationChain) { + AssignmentRespectsRelegationChain = other.AssignmentRespectsRelegationChain; + } + if (other.HasSubtype) { + Subtype = other.Subtype; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 42: + case 40: { + defaultRole_.AddEntriesFrom(input, _repeated_defaultRole_codec); + break; + } + case 48: { + AssignmentRespectsRelegationChain = input.ReadBool(); + break; + } + case 58: { + Subtype = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 42: + case 40: { + defaultRole_.AddEntriesFrom(ref input, _repeated_defaultRole_codec); + break; + } + case 48: { + AssignmentRespectsRelegationChain = input.ReadBool(); + break; + } + case 58: { + Subtype = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubService.cs new file mode 100644 index 0000000000..8ee76f1946 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubService.cs @@ -0,0 +1,162 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_service.proto + public static partial class ClubServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiRiZ3MvbG93L3BiL2NsaWVudC9jbHViX3NlcnZpY2UucHJvdG8SFGJncy5w", + "cm90b2NvbC5jbHViLnYxGiRiZ3MvbG93L3BiL2NsaWVudC9jbHViX3JlcXVl", + "c3QucHJvdG8ysCsKC0NsdWJTZXJ2aWNlElEKCVN1YnNjcmliZRImLmJncy5w", + "cm90b2NvbC5jbHViLnYxLlN1YnNjcmliZVJlcXVlc3QaFC5iZ3MucHJvdG9j", + "b2wuTm9EYXRhIgaC+SsCCAESVQoLVW5zdWJzY3JpYmUSKC5iZ3MucHJvdG9j", + "b2wuY2x1Yi52MS5VbnN1YnNjcmliZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wu", + "Tm9EYXRhIgaC+SsCCAISWwoGQ3JlYXRlEiMuYmdzLnByb3RvY29sLmNsdWIu", + "djEuQ3JlYXRlUmVxdWVzdBokLmJncy5wcm90b2NvbC5jbHViLnYxLkNyZWF0", + "ZVJlc3BvbnNlIgaC+SsCCAMSTQoHRGVzdHJveRIkLmJncy5wcm90b2NvbC5j", + "bHViLnYxLkRlc3Ryb3lSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIG", + "gvkrAggEEnMKDkdldERlc2NyaXB0aW9uEisuYmdzLnByb3RvY29sLmNsdWIu", + "djEuR2V0RGVzY3JpcHRpb25SZXF1ZXN0GiwuYmdzLnByb3RvY29sLmNsdWIu", + "djEuR2V0RGVzY3JpcHRpb25SZXNwb25zZSIGgvkrAggFEmoKC0dldENsdWJU", + "eXBlEiguYmdzLnByb3RvY29sLmNsdWIudjEuR2V0Q2x1YlR5cGVSZXF1ZXN0", + "GikuYmdzLnByb3RvY29sLmNsdWIudjEuR2V0Q2x1YlR5cGVSZXNwb25zZSIG", + "gvkrAggGEl0KD1VwZGF0ZUNsdWJTdGF0ZRIsLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLlVwZGF0ZUNsdWJTdGF0ZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9E", + "YXRhIgaC+SsCCAcSYwoSVXBkYXRlQ2x1YlNldHRpbmdzEi8uYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuVXBkYXRlQ2x1YlNldHRpbmdzUmVxdWVzdBoULmJncy5w", + "cm90b2NvbC5Ob0RhdGEiBoL5KwIICBJHCgRKb2luEiEuYmdzLnByb3RvY29s", + "LmNsdWIudjEuSm9pblJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC", + "+SsCCB4SSQoFTGVhdmUSIi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5MZWF2ZVJl", + "cXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCB8SRwoES2ljaxIh", + "LmJncy5wcm90b2NvbC5jbHViLnYxLktpY2tSZXF1ZXN0GhQuYmdzLnByb3Rv", + "Y29sLk5vRGF0YSIGgvkrAgggEmQKCUdldE1lbWJlchImLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLkdldE1lbWJlclJlcXVlc3QaJy5iZ3MucHJvdG9jb2wuY2x1", + "Yi52MS5HZXRNZW1iZXJSZXNwb25zZSIGgvkrAgghEmcKCkdldE1lbWJlcnMS", + "Jy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5HZXRNZW1iZXJzUmVxdWVzdBooLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLkdldE1lbWJlcnNSZXNwb25zZSIGgvkrAggi", + "EmEKEVVwZGF0ZU1lbWJlclN0YXRlEi4uYmdzLnByb3RvY29sLmNsdWIudjEu", + "VXBkYXRlTWVtYmVyU3RhdGVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0", + "YSIGgvkrAggjEmkKFVVwZGF0ZVN1YnNjcmliZXJTdGF0ZRIyLmJncy5wcm90", + "b2NvbC5jbHViLnYxLlVwZGF0ZVN1YnNjcmliZXJTdGF0ZVJlcXVlc3QaFC5i", + "Z3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCCQSUwoKQXNzaWduUm9sZRInLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLkFzc2lnblJvbGVSZXF1ZXN0GhQuYmdzLnBy", + "b3RvY29sLk5vRGF0YSIGgvkrAgglElcKDFVuYXNzaWduUm9sZRIpLmJncy5w", + "cm90b2NvbC5jbHViLnYxLlVuYXNzaWduUm9sZVJlcXVlc3QaFC5iZ3MucHJv", + "dG9jb2wuTm9EYXRhIgaC+SsCCCYSWwoOU2VuZEludml0YXRpb24SKy5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5TZW5kSW52aXRhdGlvblJlcXVlc3QaFC5iZ3Mu", + "cHJvdG9jb2wuTm9EYXRhIgaC+SsCCDISXwoQQWNjZXB0SW52aXRhdGlvbhIt", + "LmJncy5wcm90b2NvbC5jbHViLnYxLkFjY2VwdEludml0YXRpb25SZXF1ZXN0", + "GhQuYmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAggzEmEKEURlY2xpbmVJbnZp", + "dGF0aW9uEi4uYmdzLnByb3RvY29sLmNsdWIudjEuRGVjbGluZUludml0YXRp", + "b25SZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAgg0El8KEFJl", + "dm9rZUludml0YXRpb24SLS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5SZXZva2VJ", + "bnZpdGF0aW9uUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiBoL5KwII", + "NRJwCg1HZXRJbnZpdGF0aW9uEiouYmdzLnByb3RvY29sLmNsdWIudjEuR2V0", + "SW52aXRhdGlvblJlcXVlc3QaKy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5HZXRJ", + "bnZpdGF0aW9uUmVzcG9uc2UiBoL5KwIINhJzCg5HZXRJbnZpdGF0aW9ucxIr", + "LmJncy5wcm90b2NvbC5jbHViLnYxLkdldEludml0YXRpb25zUmVxdWVzdBos", + "LmJncy5wcm90b2NvbC5jbHViLnYxLkdldEludml0YXRpb25zUmVzcG9uc2Ui", + "BoL5KwIINxJbCg5TZW5kU3VnZ2VzdGlvbhIrLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLlNlbmRTdWdnZXN0aW9uUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0Rh", + "dGEiBoL5KwIIPBJfChBBY2NlcHRTdWdnZXN0aW9uEi0uYmdzLnByb3RvY29s", + "LmNsdWIudjEuQWNjZXB0U3VnZ2VzdGlvblJlcXVlc3QaFC5iZ3MucHJvdG9j", + "b2wuTm9EYXRhIgaC+SsCCD0SYQoRRGVjbGluZVN1Z2dlc3Rpb24SLi5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5EZWNsaW5lU3VnZ2VzdGlvblJlcXVlc3QaFC5i", + "Z3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCD4ScAoNR2V0U3VnZ2VzdGlvbhIq", + "LmJncy5wcm90b2NvbC5jbHViLnYxLkdldFN1Z2dlc3Rpb25SZXF1ZXN0Gisu", + "YmdzLnByb3RvY29sLmNsdWIudjEuR2V0U3VnZ2VzdGlvblJlc3BvbnNlIgaC", + "+SsCCD8ScwoOR2V0U3VnZ2VzdGlvbnMSKy5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5HZXRTdWdnZXN0aW9uc1JlcXVlc3QaLC5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5HZXRTdWdnZXN0aW9uc1Jlc3BvbnNlIgaC+SsCCEASbQoMQ3JlYXRlVGlj", + "a2V0EikuYmdzLnByb3RvY29sLmNsdWIudjEuQ3JlYXRlVGlja2V0UmVxdWVz", + "dBoqLmJncy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZVRpY2tldFJlc3BvbnNl", + "IgaC+SsCCEYSWQoNRGVzdHJveVRpY2tldBIqLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLkRlc3Ryb3lUaWNrZXRSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0", + "YSIGgvkrAghHElcKDFJlZGVlbVRpY2tldBIpLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLlJlZGVlbVRpY2tldFJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRh", + "IgaC+SsCCEgSZAoJR2V0VGlja2V0EiYuYmdzLnByb3RvY29sLmNsdWIudjEu", + "R2V0VGlja2V0UmVxdWVzdBonLmJncy5wcm90b2NvbC5jbHViLnYxLkdldFRp", + "Y2tldFJlc3BvbnNlIgaC+SsCCEkSZwoKR2V0VGlja2V0cxInLmJncy5wcm90", + "b2NvbC5jbHViLnYxLkdldFRpY2tldHNSZXF1ZXN0GiguYmdzLnByb3RvY29s", + "LmNsdWIudjEuR2V0VGlja2V0c1Jlc3BvbnNlIgaC+SsCCEoSSwoGQWRkQmFu", + "EiMuYmdzLnByb3RvY29sLmNsdWIudjEuQWRkQmFuUmVxdWVzdBoULmJncy5w", + "cm90b2NvbC5Ob0RhdGEiBoL5KwIIUBJRCglSZW1vdmVCYW4SJi5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5SZW1vdmVCYW5SZXF1ZXN0GhQuYmdzLnByb3RvY29s", + "Lk5vRGF0YSIGgvkrAghRElsKBkdldEJhbhIjLmJncy5wcm90b2NvbC5jbHVi", + "LnYxLkdldEJhblJlcXVlc3QaJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5HZXRC", + "YW5SZXNwb25zZSIGgvkrAghSEl4KB0dldEJhbnMSJC5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5HZXRCYW5zUmVxdWVzdBolLmJncy5wcm90b2NvbC5jbHViLnYx", + "LkdldEJhbnNSZXNwb25zZSIGgvkrAghTEl0KD1N1YnNjcmliZVN0cmVhbRIs", + "LmJncy5wcm90b2NvbC5jbHViLnYxLlN1YnNjcmliZVN0cmVhbVJlcXVlc3Qa", + "FC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCGQSYQoRVW5zdWJzY3JpYmVT", + "dHJlYW0SLi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5VbnN1YnNjcmliZVN0cmVh", + "bVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCGUSbQoMQ3Jl", + "YXRlU3RyZWFtEikuYmdzLnByb3RvY29sLmNsdWIudjEuQ3JlYXRlU3RyZWFt", + "UmVxdWVzdBoqLmJncy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZVN0cmVhbVJl", + "c3BvbnNlIgaC+SsCCGYSWQoNRGVzdHJveVN0cmVhbRIqLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLkRlc3Ryb3lTdHJlYW1SZXF1ZXN0GhQuYmdzLnByb3RvY29s", + "Lk5vRGF0YSIGgvkrAghnEmQKCUdldFN0cmVhbRImLmJncy5wcm90b2NvbC5j", + "bHViLnYxLkdldFN0cmVhbVJlcXVlc3QaJy5iZ3MucHJvdG9jb2wuY2x1Yi52", + "MS5HZXRTdHJlYW1SZXNwb25zZSIGgvkrAghoEmcKCkdldFN0cmVhbXMSJy5i", + "Z3MucHJvdG9jb2wuY2x1Yi52MS5HZXRTdHJlYW1zUmVxdWVzdBooLmJncy5w", + "cm90b2NvbC5jbHViLnYxLkdldFN0cmVhbXNSZXNwb25zZSIGgvkrAghpEmEK", + "EVVwZGF0ZVN0cmVhbVN0YXRlEi4uYmdzLnByb3RvY29sLmNsdWIudjEuVXBk", + "YXRlU3RyZWFtU3RhdGVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIG", + "gvkrAghqElsKDlNldFN0cmVhbUZvY3VzEisuYmdzLnByb3RvY29sLmNsdWIu", + "djEuU2V0U3RyZWFtRm9jdXNSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0", + "YSIGgvkrAghrEoIBChNHZXRTdHJlYW1Wb2ljZVRva2VuEjAuYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuR2V0U3RyZWFtVm9pY2VUb2tlblJlcXVlc3QaMS5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5HZXRTdHJlYW1Wb2ljZVRva2VuUmVzcG9uc2Ui", + "BoL5KwIIbBJlChNLaWNrRnJvbVN0cmVhbVZvaWNlEjAuYmdzLnByb3RvY29s", + "LmNsdWIudjEuS2lja0Zyb21TdHJlYW1Wb2ljZVJlcXVlc3QaFC5iZ3MucHJv", + "dG9jb2wuTm9EYXRhIgaC+SsCCG0ScQoNQ3JlYXRlTWVzc2FnZRIqLmJncy5w", + "cm90b2NvbC5jbHViLnYxLkNyZWF0ZU1lc3NhZ2VSZXF1ZXN0GisuYmdzLnBy", + "b3RvY29sLmNsdWIudjEuQ3JlYXRlTWVzc2FnZVJlc3BvbnNlIgeC+SsDCJYB", + "EnQKDkRlc3Ryb3lNZXNzYWdlEisuYmdzLnByb3RvY29sLmNsdWIudjEuRGVz", + "dHJveU1lc3NhZ2VSZXF1ZXN0GiwuYmdzLnByb3RvY29sLmNsdWIudjEuRGVz", + "dHJveU1lc3NhZ2VSZXNwb25zZSIHgvkrAwiXARJrCgtFZGl0TWVzc2FnZRIo", + "LmJncy5wcm90b2NvbC5jbHViLnYxLkVkaXRNZXNzYWdlUmVxdWVzdBopLmJn", + "cy5wcm90b2NvbC5jbHViLnYxLkVkaXRNZXNzYWdlUmVzcG9uc2UiB4L5KwMI", + "mAESYAoQU2V0TWVzc2FnZVBpbm5lZBItLmJncy5wcm90b2NvbC5jbHViLnYx", + "LlNldE1lc3NhZ2VQaW5uZWRSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0", + "YSIHgvkrAwiZARJkChJTZXRUeXBpbmdJbmRpY2F0b3ISLy5iZ3MucHJvdG9j", + "b2wuY2x1Yi52MS5TZXRUeXBpbmdJbmRpY2F0b3JSZXF1ZXN0GhQuYmdzLnBy", + "b3RvY29sLk5vRGF0YSIHgvkrAwiaARJqChVBZHZhbmNlU3RyZWFtVmlld1Rp", + "bWUSMi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5BZHZhbmNlU3RyZWFtVmlld1Rp", + "bWVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIHgvkrAwibARJ6ChBH", + "ZXRTdHJlYW1IaXN0b3J5Ei0uYmdzLnByb3RvY29sLmNsdWIudjEuR2V0U3Ry", + "ZWFtSGlzdG9yeVJlcXVlc3QaLi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5HZXRT", + "dHJlYW1IaXN0b3J5UmVzcG9uc2UiB4L5KwMInAESegoQR2V0U3RyZWFtTWVz", + "c2FnZRItLmJncy5wcm90b2NvbC5jbHViLnYxLkdldFN0cmVhbU1lc3NhZ2VS", + "ZXF1ZXN0Gi4uYmdzLnByb3RvY29sLmNsdWIudjEuR2V0U3RyZWFtTWVzc2Fn", + "ZVJlc3BvbnNlIgeC+SsDCJ0BGjWC+SspCiFibmV0LnByb3RvY29sLmNsdWIu", + "djEuQ2x1YlNlcnZpY2UqBGNsdWKK+SsEEAEYAUIFSAKAAQBQAA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRequestReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubStream.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubStream.cs new file mode 100644 index 0000000000..02a280851f --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubStream.cs @@ -0,0 +1,6044 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_stream.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_stream.proto + public static partial class ClubStreamReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_stream.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubStreamReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNiZ3MvbG93L3BiL2NsaWVudC9jbHViX3N0cmVhbS5wcm90bxIUYmdzLnBy", + "b3RvY29sLmNsdWIudjEaIWJncy9sb3cvcGIvY2xpZW50L2NsdWJfZW51bS5w", + "cm90bxojYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9tZW1iZXIucHJvdG8aIWJn", + "cy9sb3cvcGIvY2xpZW50L2NsdWJfdHlwZS5wcm90bxo1YmdzL2xvdy9wYi9j", + "bGllbnQvYXBpL2NsaWVudC92Mi9hdHRyaWJ1dGVfdHlwZXMucHJvdG8aI2Jn", + "cy9sb3cvcGIvY2xpZW50L2VtYmVkX3R5cGVzLnByb3RvGihiZ3MvbG93L3Bi", + "L2NsaWVudC9ldmVudF92aWV3X3R5cGVzLnByb3RvGiViZ3MvbG93L3BiL2Ns", + "aWVudC9tZXNzYWdlX3R5cGVzLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9l", + "dHNfdHlwZXMucHJvdG8iJwoOU3RyZWFtUG9zaXRpb24SFQoJc3RyZWFtX2lk", + "GAEgAygEQgIQASIgCgxTdHJlYW1BY2Nlc3MSEAoEcm9sZRgBIAMoDUICEAEi", + "1AEKE0NyZWF0ZVN0cmVhbU9wdGlvbnMSLQoJYXR0cmlidXRlGAEgAygLMhou", + "YmdzLnByb3RvY29sLnYyLkF0dHJpYnV0ZRIMCgRuYW1lGAIgASgJEg8KB3N1", + "YmplY3QYAyABKAkSMgoGYWNjZXNzGAQgASgLMiIuYmdzLnByb3RvY29sLmNs", + "dWIudjEuU3RyZWFtQWNjZXNzEjsKC3ZvaWNlX2xldmVsGAUgASgOMiYuYmdz", + "LnByb3RvY29sLmNsdWIudjEuU3RyZWFtVm9pY2VMZXZlbCL7AQoGU3RyZWFt", + "Eg8KB2NsdWJfaWQYASABKAQSCgoCaWQYAiABKAQSLQoJYXR0cmlidXRlGAMg", + "AygLMhouYmdzLnByb3RvY29sLnYyLkF0dHJpYnV0ZRIMCgRuYW1lGAQgASgJ", + "Eg8KB3N1YmplY3QYBSABKAkSMgoGYWNjZXNzGAYgASgLMiIuYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuU3RyZWFtQWNjZXNzEjsKC3ZvaWNlX2xldmVsGAcgASgO", + "MiYuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtVm9pY2VMZXZlbBIVCg1j", + "cmVhdGlvbl90aW1lGAggASgEIi0KEVN0cmVhbURlc2NyaXB0aW9uEgoKAmlk", + "GAIgASgEEgwKBG5hbWUYBCABKAkicAoOTWVudGlvbkNvbnRlbnQSCwoDYWxs", + "GAEgASgIEgwKBGhlcmUYAiABKAgSMQoJbWVtYmVyX2lkGAMgAygLMh4uYmdz", + "LnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSEAoEcm9sZRgEIAMoDUICEAEi", + "XgoUQ3JlYXRlTWVzc2FnZU9wdGlvbnMSDwoHY29udGVudBgCIAEoCRI1Cgdt", + "ZW50aW9uGAMgASgLMiQuYmdzLnByb3RvY29sLmNsdWIudjEuTWVudGlvbkNv", + "bnRlbnQiUgoaQ2x1YlN0cmVhbU1lc3NhZ2VDb250YWluZXISNAoHbWVzc2Fn", + "ZRgBIAMoCzIjLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbU1lc3NhZ2Ui", + "kQEKDENvbnRlbnRDaGFpbhIPCgdjb250ZW50GAUgASgJEiYKBWVtYmVkGAYg", + "AygLMhcuYmdzLnByb3RvY29sLkVtYmVkSW5mbxI1CgdtZW50aW9uGAcgASgL", + "MiQuYmdzLnByb3RvY29sLmNsdWIudjEuTWVudGlvbkNvbnRlbnQSEQoJZWRp", + "dF90aW1lGAggASgEIo0CCg1TdHJlYW1NZXNzYWdlEiMKAmlkGAMgASgLMhcu", + "YmdzLnByb3RvY29sLk1lc3NhZ2VJZBI3CgZhdXRob3IYBCABKAsyJy5iZ3Mu", + "cHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJEZXNjcmlwdGlvbhI5Cg1jb250ZW50", + "X2NoYWluGAYgAygLMiIuYmdzLnByb3RvY29sLmNsdWIudjEuQ29udGVudENo", + "YWluEjoKCWRlc3Ryb3llchgPIAEoCzInLmJncy5wcm90b2NvbC5jbHViLnYx", + "Lk1lbWJlckRlc2NyaXB0aW9uEhEKCWRlc3Ryb3llZBgQIAEoCBIUCgxkZXN0", + "cm95X3RpbWUYESABKAQi/gIKDVN0cmVhbU1lbnRpb24SDwoHY2x1Yl9pZBgB", + "IAEoBBIRCglzdHJlYW1faWQYAiABKAQSKwoKbWVzc2FnZV9pZBgDIAEoCzIX", + "LmJncy5wcm90b2NvbC5NZXNzYWdlSWQSNwoGYXV0aG9yGAQgASgLMicuYmdz", + "LnByb3RvY29sLmNsdWIudjEuTWVtYmVyRGVzY3JpcHRpb24SEQoJZGVzdHJv", + "eWVkGAUgASgIEi4KCm1lbnRpb25faWQYBiABKAsyGi5iZ3MucHJvdG9jb2wu", + "VGltZVNlcmllc0lkEjEKCW1lbWJlcl9pZBgHIAEoCzIeLmJncy5wcm90b2Nv", + "bC5jbHViLnYxLk1lbWJlcklkEjQKB21lc3NhZ2UYCCABKAsyIy5iZ3MucHJv", + "dG9jb2wuY2x1Yi52MS5TdHJlYW1NZXNzYWdlEjcKCWNsdWJfdHlwZRgJIAEo", + "CzIkLmJncy5wcm90b2NvbC5jbHViLnYxLlVuaXF1ZUNsdWJUeXBlIloKClN0", + "cmVhbVZpZXcSDwoHY2x1Yl9pZBgBIAEoBBIRCglzdHJlYW1faWQYAiABKAQS", + "KAoGbWFya2VyGAMgASgLMhguYmdzLnByb3RvY29sLlZpZXdNYXJrZXIiPQoV", + "U3RyZWFtQWR2YW5jZVZpZXdUaW1lEhEKCXN0cmVhbV9pZBgBIAEoBBIRCgl2", + "aWV3X3RpbWUYAiABKAQiOAoPU3RyZWFtRXZlbnRUaW1lEhEKCXN0cmVhbV9p", + "ZBgBIAEoBBISCgpldmVudF90aW1lGAIgASgEImEKEVN0cmVhbU1lbnRpb25W", + "aWV3Eg8KB2NsdWJfaWQYASABKAQSEQoJc3RyZWFtX2lkGAIgASgEEigKBm1h", + "cmtlchgDIAEoCzIYLmJncy5wcm90b2NvbC5WaWV3TWFya2VyItMBChJTdHJl", + "YW1TdGF0ZU9wdGlvbnMSLQoJYXR0cmlidXRlGAEgAygLMhouYmdzLnByb3Rv", + "Y29sLnYyLkF0dHJpYnV0ZRIMCgRuYW1lGAIgASgJEg8KB3N1YmplY3QYAyAB", + "KAkSMgoGYWNjZXNzGAQgASgLMiIuYmdzLnByb3RvY29sLmNsdWIudjEuU3Ry", + "ZWFtQWNjZXNzEjsKC3ZvaWNlX2xldmVsGAUgASgOMiYuYmdzLnByb3RvY29s", + "LmNsdWIudjEuU3RyZWFtVm9pY2VMZXZlbCKOAgoVU3RyZWFtU3RhdGVBc3Np", + "Z25tZW50EhEKCXN0cmVhbV9pZBgBIAEoBBItCglhdHRyaWJ1dGUYAiADKAsy", + "Gi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlEgwKBG5hbWUYAyABKAkSDwoH", + "c3ViamVjdBgEIAEoCRIyCgZhY2Nlc3MYBSABKAsyIi5iZ3MucHJvdG9jb2wu", + "Y2x1Yi52MS5TdHJlYW1BY2Nlc3MSIwobc3RyZWFtX3N1YnNjcmlwdGlvbl9y", + "ZW1vdmVkGAYgASgIEjsKC3ZvaWNlX2xldmVsGAcgASgOMiYuYmdzLnByb3Rv", + "Y29sLmNsdWIudjEuU3RyZWFtVm9pY2VMZXZlbCKLAQoVU3RyZWFtVHlwaW5n", + "SW5kaWNhdG9yEjEKCWF1dGhvcl9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5j", + "bHViLnYxLk1lbWJlcklkEjAKCWluZGljYXRvchgCIAEoDjIdLmJncy5wcm90", + "b2NvbC5UeXBpbmdJbmRpY2F0b3ISDQoFZXBvY2gYAyABKARCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubEnumReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventViewTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EtsTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamPosition.Parser, new[]{ "StreamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess.Parser, new[]{ "Role" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateStreamOptions.Parser, new[]{ "Attribute", "Name", "Subject", "Access", "VoiceLevel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.Stream.Parser, new[]{ "ClubId", "Id", "Attribute", "Name", "Subject", "Access", "VoiceLevel", "CreationTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamDescription), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamDescription.Parser, new[]{ "Id", "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent.Parser, new[]{ "All", "Here", "MemberId", "Role" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.CreateMessageOptions.Parser, new[]{ "Content", "Mention" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamMessageContainer), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamMessageContainer.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ContentChain), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ContentChain.Parser, new[]{ "Content", "Embed", "Mention", "EditTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage.Parser, new[]{ "Id", "Author", "ContentChain", "Destroyer", "Destroyed", "DestroyTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMention.Parser, new[]{ "ClubId", "StreamId", "MessageId", "Author", "Destroyed", "MentionId", "MemberId", "Message", "ClubType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamView), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamView.Parser, new[]{ "ClubId", "StreamId", "Marker" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAdvanceViewTime), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAdvanceViewTime.Parser, new[]{ "StreamId", "ViewTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamEventTime.Parser, new[]{ "StreamId", "EventTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMentionView), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMentionView.Parser, new[]{ "ClubId", "StreamId", "Marker" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateOptions.Parser, new[]{ "Attribute", "Name", "Subject", "Access", "VoiceLevel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamStateAssignment.Parser, new[]{ "StreamId", "Attribute", "Name", "Subject", "Access", "StreamSubscriptionRemoved", "VoiceLevel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamTypingIndicator), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamTypingIndicator.Parser, new[]{ "AuthorId", "Indicator", "Epoch" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamPosition : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamPosition()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamPosition() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamPosition(StreamPosition other) : this() { + streamId_ = other.streamId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamPosition Clone() { + return new StreamPosition(this); + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_streamId_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField streamId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StreamId { + get { return streamId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamPosition); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamPosition other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!streamId_.Equals(other.streamId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= streamId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + streamId_.WriteTo(output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + streamId_.WriteTo(ref output, _repeated_streamId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += streamId_.CalculateSize(_repeated_streamId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamPosition other) { + if (other == null) { + return; + } + streamId_.Add(other.streamId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + streamId_.AddEntriesFrom(input, _repeated_streamId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + streamId_.AddEntriesFrom(ref input, _repeated_streamId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamAccess : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamAccess()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAccess() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAccess(StreamAccess other) : this() { + role_ = other.role_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAccess Clone() { + return new StreamAccess(this); + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamAccess); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamAccess other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!role_.Equals(other.role_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= role_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + role_.WriteTo(output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + role_.WriteTo(ref output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += role_.CalculateSize(_repeated_role_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamAccess other) { + if (other == null) { + return; + } + role_.Add(other.role_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateStreamOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateStreamOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamOptions(CreateStreamOptions other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + subject_ = other.subject_; + access_ = other.access_ != null ? other.access_.Clone() : null; + voiceLevel_ = other.voiceLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateStreamOptions Clone() { + return new CreateStreamOptions(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "subject" field. + public const int SubjectFieldNumber = 3; + private readonly static string SubjectDefaultValue = ""; + + private string subject_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_ ?? SubjectDefaultValue; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "subject" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubject { + get { return subject_ != null; } + } + /// Clears the value of the "subject" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubject() { + subject_ = null; + } + + /// Field number for the "access" field. + public const int AccessFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess access_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess Access { + get { return access_; } + set { + access_ = value; + } + } + + /// Field number for the "voice_level" field. + public const int VoiceLevelFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel.VoiceLevelDisabled; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel voiceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevel { + get { if ((_hasBits0 & 1) != 0) { return voiceLevel_; } else { return VoiceLevelDefaultValue; } } + set { + _hasBits0 |= 1; + voiceLevel_ = value; + } + } + /// Gets whether the "voice_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVoiceLevel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "voice_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVoiceLevel() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateStreamOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateStreamOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Subject != other.Subject) return false; + if (!object.Equals(Access, other.Access)) return false; + if (VoiceLevel != other.VoiceLevel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasSubject) hash ^= Subject.GetHashCode(); + if (access_ != null) hash ^= Access.GetHashCode(); + if (HasVoiceLevel) hash ^= VoiceLevel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(26); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Access); + } + if (HasVoiceLevel) { + output.WriteRawTag(40); + output.WriteEnum((int) VoiceLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(26); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Access); + } + if (HasVoiceLevel) { + output.WriteRawTag(40); + output.WriteEnum((int) VoiceLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasSubject) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + if (access_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Access); + } + if (HasVoiceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VoiceLevel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateStreamOptions other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasSubject) { + Subject = other.Subject; + } + if (other.access_ != null) { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + Access.MergeFrom(other.Access); + } + if (other.HasVoiceLevel) { + VoiceLevel = other.VoiceLevel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Subject = input.ReadString(); + break; + } + case 34: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 40: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Subject = input.ReadString(); + break; + } + case 34: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 40: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Stream : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Stream()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Stream() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Stream(Stream other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + id_ = other.id_; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + subject_ = other.subject_; + access_ = other.access_ != null ? other.access_.Clone() : null; + voiceLevel_ = other.voiceLevel_; + creationTime_ = other.creationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Stream Clone() { + return new Stream(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 2; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 2; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~2; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 4; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "subject" field. + public const int SubjectFieldNumber = 5; + private readonly static string SubjectDefaultValue = ""; + + private string subject_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_ ?? SubjectDefaultValue; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "subject" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubject { + get { return subject_ != null; } + } + /// Clears the value of the "subject" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubject() { + subject_ = null; + } + + /// Field number for the "access" field. + public const int AccessFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess access_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess Access { + get { return access_; } + set { + access_ = value; + } + } + + /// Field number for the "voice_level" field. + public const int VoiceLevelFieldNumber = 7; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel.VoiceLevelDisabled; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel voiceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevel { + get { if ((_hasBits0 & 4) != 0) { return voiceLevel_; } else { return VoiceLevelDefaultValue; } } + set { + _hasBits0 |= 4; + voiceLevel_ = value; + } + } + /// Gets whether the "voice_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVoiceLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "voice_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVoiceLevel() { + _hasBits0 &= ~4; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 8; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 8) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 8; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Stream); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Stream other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (Id != other.Id) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Subject != other.Subject) return false; + if (!object.Equals(Access, other.Access)) return false; + if (VoiceLevel != other.VoiceLevel) return false; + if (CreationTime != other.CreationTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasId) hash ^= Id.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasSubject) hash ^= Subject.GetHashCode(); + if (access_ != null) hash ^= Access.GetHashCode(); + if (HasVoiceLevel) hash ^= VoiceLevel.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasId) { + output.WriteRawTag(16); + output.WriteUInt64(Id); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(42); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Access); + } + if (HasVoiceLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) VoiceLevel); + } + if (HasCreationTime) { + output.WriteRawTag(64); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasId) { + output.WriteRawTag(16); + output.WriteUInt64(Id); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(42); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Access); + } + if (HasVoiceLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) VoiceLevel); + } + if (HasCreationTime) { + output.WriteRawTag(64); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasSubject) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + if (access_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Access); + } + if (HasVoiceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VoiceLevel); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Stream other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasId) { + Id = other.Id; + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasSubject) { + Subject = other.Subject; + } + if (other.access_ != null) { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + Access.MergeFrom(other.Access); + } + if (other.HasVoiceLevel) { + VoiceLevel = other.VoiceLevel; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + Id = input.ReadUInt64(); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Subject = input.ReadString(); + break; + } + case 50: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 56: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + case 64: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + Id = input.ReadUInt64(); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Subject = input.ReadString(); + break; + } + case 50: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 56: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + case 64: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamDescription : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamDescription()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamDescription() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamDescription(StreamDescription other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamDescription Clone() { + return new StreamDescription(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 2; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 4; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamDescription); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamDescription other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(16); + output.WriteUInt64(Id); + } + if (HasName) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(16); + output.WriteUInt64(Id); + } + if (HasName) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamDescription other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasName) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 16: { + Id = input.ReadUInt64(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 16: { + Id = input.ReadUInt64(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MentionContent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MentionContent()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MentionContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MentionContent(MentionContent other) : this() { + _hasBits0 = other._hasBits0; + all_ = other.all_; + here_ = other.here_; + memberId_ = other.memberId_.Clone(); + role_ = other.role_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MentionContent Clone() { + return new MentionContent(this); + } + + /// Field number for the "all" field. + public const int AllFieldNumber = 1; + private readonly static bool AllDefaultValue = false; + + private bool all_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool All { + get { if ((_hasBits0 & 1) != 0) { return all_; } else { return AllDefaultValue; } } + set { + _hasBits0 |= 1; + all_ = value; + } + } + /// Gets whether the "all" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAll { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "all" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAll() { + _hasBits0 &= ~1; + } + + /// Field number for the "here" field. + public const int HereFieldNumber = 2; + private readonly static bool HereDefaultValue = false; + + private bool here_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Here { + get { if ((_hasBits0 & 2) != 0) { return here_; } else { return HereDefaultValue; } } + set { + _hasBits0 |= 2; + here_ = value; + } + } + /// Gets whether the "here" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHere { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "here" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHere() { + _hasBits0 &= ~2; + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_memberId_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId.Parser); + private readonly pbc::RepeatedField memberId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField MemberId { + get { return memberId_; } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MentionContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MentionContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (All != other.All) return false; + if (Here != other.Here) return false; + if(!memberId_.Equals(other.memberId_)) return false; + if(!role_.Equals(other.role_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAll) hash ^= All.GetHashCode(); + if (HasHere) hash ^= Here.GetHashCode(); + hash ^= memberId_.GetHashCode(); + hash ^= role_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAll) { + output.WriteRawTag(8); + output.WriteBool(All); + } + if (HasHere) { + output.WriteRawTag(16); + output.WriteBool(Here); + } + memberId_.WriteTo(output, _repeated_memberId_codec); + role_.WriteTo(output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAll) { + output.WriteRawTag(8); + output.WriteBool(All); + } + if (HasHere) { + output.WriteRawTag(16); + output.WriteBool(Here); + } + memberId_.WriteTo(ref output, _repeated_memberId_codec); + role_.WriteTo(ref output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAll) { + size += 1 + 1; + } + if (HasHere) { + size += 1 + 1; + } + size += memberId_.CalculateSize(_repeated_memberId_codec); + size += role_.CalculateSize(_repeated_role_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MentionContent other) { + if (other == null) { + return; + } + if (other.HasAll) { + All = other.All; + } + if (other.HasHere) { + Here = other.Here; + } + memberId_.Add(other.memberId_); + role_.Add(other.role_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + All = input.ReadBool(); + break; + } + case 16: { + Here = input.ReadBool(); + break; + } + case 26: { + memberId_.AddEntriesFrom(input, _repeated_memberId_codec); + break; + } + case 34: + case 32: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + All = input.ReadBool(); + break; + } + case 16: { + Here = input.ReadBool(); + break; + } + case 26: { + memberId_.AddEntriesFrom(ref input, _repeated_memberId_codec); + break; + } + case 34: + case 32: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateMessageOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateMessageOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageOptions(CreateMessageOptions other) : this() { + content_ = other.content_; + mention_ = other.mention_ != null ? other.mention_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateMessageOptions Clone() { + return new CreateMessageOptions(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 2; + private readonly static string ContentDefaultValue = ""; + + private string content_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_ ?? ContentDefaultValue; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "content" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContent { + get { return content_ != null; } + } + /// Clears the value of the "content" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + content_ = null; + } + + /// Field number for the "mention" field. + public const int MentionFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent mention_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent Mention { + get { return mention_; } + set { + mention_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateMessageOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateMessageOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (!object.Equals(Mention, other.Mention)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContent) hash ^= Content.GetHashCode(); + if (mention_ != null) hash ^= Mention.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContent) { + output.WriteRawTag(18); + output.WriteString(Content); + } + if (mention_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Mention); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContent) { + output.WriteRawTag(18); + output.WriteString(Content); + } + if (mention_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Mention); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContent) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (mention_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Mention); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateMessageOptions other) { + if (other == null) { + return; + } + if (other.HasContent) { + Content = other.Content; + } + if (other.mention_ != null) { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent(); + } + Mention.MergeFrom(other.Mention); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + Content = input.ReadString(); + break; + } + case 26: { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent(); + } + input.ReadMessage(Mention); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + Content = input.ReadString(); + break; + } + case 26: { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent(); + } + input.ReadMessage(Mention); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubStreamMessageContainer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubStreamMessageContainer()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStreamMessageContainer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStreamMessageContainer(ClubStreamMessageContainer other) : this() { + message_ = other.message_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubStreamMessageContainer Clone() { + return new ClubStreamMessageContainer(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_message_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage.Parser); + private readonly pbc::RepeatedField message_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Message { + get { return message_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubStreamMessageContainer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubStreamMessageContainer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!message_.Equals(other.message_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= message_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + message_.WriteTo(output, _repeated_message_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + message_.WriteTo(ref output, _repeated_message_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += message_.CalculateSize(_repeated_message_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubStreamMessageContainer other) { + if (other == null) { + return; + } + message_.Add(other.message_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + message_.AddEntriesFrom(input, _repeated_message_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + message_.AddEntriesFrom(ref input, _repeated_message_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ContentChain : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ContentChain()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentChain() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentChain(ContentChain other) : this() { + _hasBits0 = other._hasBits0; + content_ = other.content_; + embed_ = other.embed_.Clone(); + mention_ = other.mention_ != null ? other.mention_.Clone() : null; + editTime_ = other.editTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentChain Clone() { + return new ContentChain(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 5; + private readonly static string ContentDefaultValue = ""; + + private string content_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_ ?? ContentDefaultValue; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "content" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContent { + get { return content_ != null; } + } + /// Clears the value of the "content" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + content_ = null; + } + + /// Field number for the "embed" field. + public const int EmbedFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_embed_codec + = pb::FieldCodec.ForMessage(50, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedInfo.Parser); + private readonly pbc::RepeatedField embed_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Embed { + get { return embed_; } + } + + /// Field number for the "mention" field. + public const int MentionFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent mention_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent Mention { + get { return mention_; } + set { + mention_ = value; + } + } + + /// Field number for the "edit_time" field. + public const int EditTimeFieldNumber = 8; + private readonly static ulong EditTimeDefaultValue = 0UL; + + private ulong editTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EditTime { + get { if ((_hasBits0 & 1) != 0) { return editTime_; } else { return EditTimeDefaultValue; } } + set { + _hasBits0 |= 1; + editTime_ = value; + } + } + /// Gets whether the "edit_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEditTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "edit_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEditTime() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ContentChain); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ContentChain other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if(!embed_.Equals(other.embed_)) return false; + if (!object.Equals(Mention, other.Mention)) return false; + if (EditTime != other.EditTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContent) hash ^= Content.GetHashCode(); + hash ^= embed_.GetHashCode(); + if (mention_ != null) hash ^= Mention.GetHashCode(); + if (HasEditTime) hash ^= EditTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContent) { + output.WriteRawTag(42); + output.WriteString(Content); + } + embed_.WriteTo(output, _repeated_embed_codec); + if (mention_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Mention); + } + if (HasEditTime) { + output.WriteRawTag(64); + output.WriteUInt64(EditTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContent) { + output.WriteRawTag(42); + output.WriteString(Content); + } + embed_.WriteTo(ref output, _repeated_embed_codec); + if (mention_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Mention); + } + if (HasEditTime) { + output.WriteRawTag(64); + output.WriteUInt64(EditTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContent) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + size += embed_.CalculateSize(_repeated_embed_codec); + if (mention_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Mention); + } + if (HasEditTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EditTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ContentChain other) { + if (other == null) { + return; + } + if (other.HasContent) { + Content = other.Content; + } + embed_.Add(other.embed_); + if (other.mention_ != null) { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent(); + } + Mention.MergeFrom(other.Mention); + } + if (other.HasEditTime) { + EditTime = other.EditTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 42: { + Content = input.ReadString(); + break; + } + case 50: { + embed_.AddEntriesFrom(input, _repeated_embed_codec); + break; + } + case 58: { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent(); + } + input.ReadMessage(Mention); + break; + } + case 64: { + EditTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 42: { + Content = input.ReadString(); + break; + } + case 50: { + embed_.AddEntriesFrom(ref input, _repeated_embed_codec); + break; + } + case 58: { + if (mention_ == null) { + Mention = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MentionContent(); + } + input.ReadMessage(Mention); + break; + } + case 64: { + EditTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMessage()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessage(StreamMessage other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_ != null ? other.id_.Clone() : null; + author_ = other.author_ != null ? other.author_.Clone() : null; + contentChain_ = other.contentChain_.Clone(); + destroyer_ = other.destroyer_ != null ? other.destroyer_.Clone() : null; + destroyed_ = other.destroyed_; + destroyTime_ = other.destroyTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMessage Clone() { + return new StreamMessage(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "author" field. + public const int AuthorFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription author_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Author { + get { return author_; } + set { + author_ = value; + } + } + + /// Field number for the "content_chain" field. + public const int ContentChainFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_contentChain_codec + = pb::FieldCodec.ForMessage(50, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ContentChain.Parser); + private readonly pbc::RepeatedField contentChain_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ContentChain { + get { return contentChain_; } + } + + /// Field number for the "destroyer" field. + public const int DestroyerFieldNumber = 15; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription destroyer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Destroyer { + get { return destroyer_; } + set { + destroyer_ = value; + } + } + + /// Field number for the "destroyed" field. + public const int DestroyedFieldNumber = 16; + private readonly static bool DestroyedDefaultValue = false; + + private bool destroyed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Destroyed { + get { if ((_hasBits0 & 1) != 0) { return destroyed_; } else { return DestroyedDefaultValue; } } + set { + _hasBits0 |= 1; + destroyed_ = value; + } + } + /// Gets whether the "destroyed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDestroyed { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "destroyed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDestroyed() { + _hasBits0 &= ~1; + } + + /// Field number for the "destroy_time" field. + public const int DestroyTimeFieldNumber = 17; + private readonly static ulong DestroyTimeDefaultValue = 0UL; + + private ulong destroyTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong DestroyTime { + get { if ((_hasBits0 & 2) != 0) { return destroyTime_; } else { return DestroyTimeDefaultValue; } } + set { + _hasBits0 |= 2; + destroyTime_ = value; + } + } + /// Gets whether the "destroy_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDestroyTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "destroy_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDestroyTime() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (!object.Equals(Author, other.Author)) return false; + if(!contentChain_.Equals(other.contentChain_)) return false; + if (!object.Equals(Destroyer, other.Destroyer)) return false; + if (Destroyed != other.Destroyed) return false; + if (DestroyTime != other.DestroyTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (author_ != null) hash ^= Author.GetHashCode(); + hash ^= contentChain_.GetHashCode(); + if (destroyer_ != null) hash ^= Destroyer.GetHashCode(); + if (HasDestroyed) hash ^= Destroyed.GetHashCode(); + if (HasDestroyTime) hash ^= DestroyTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Id); + } + if (author_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Author); + } + contentChain_.WriteTo(output, _repeated_contentChain_codec); + if (destroyer_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Destroyer); + } + if (HasDestroyed) { + output.WriteRawTag(128, 1); + output.WriteBool(Destroyed); + } + if (HasDestroyTime) { + output.WriteRawTag(136, 1); + output.WriteUInt64(DestroyTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Id); + } + if (author_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Author); + } + contentChain_.WriteTo(ref output, _repeated_contentChain_codec); + if (destroyer_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Destroyer); + } + if (HasDestroyed) { + output.WriteRawTag(128, 1); + output.WriteBool(Destroyed); + } + if (HasDestroyTime) { + output.WriteRawTag(136, 1); + output.WriteUInt64(DestroyTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (author_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Author); + } + size += contentChain_.CalculateSize(_repeated_contentChain_codec); + if (destroyer_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Destroyer); + } + if (HasDestroyed) { + size += 2 + 1; + } + if (HasDestroyTime) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(DestroyTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMessage other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + Id.MergeFrom(other.Id); + } + if (other.author_ != null) { + if (author_ == null) { + Author = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Author.MergeFrom(other.Author); + } + contentChain_.Add(other.contentChain_); + if (other.destroyer_ != null) { + if (destroyer_ == null) { + Destroyer = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Destroyer.MergeFrom(other.Destroyer); + } + if (other.HasDestroyed) { + Destroyed = other.Destroyed; + } + if (other.HasDestroyTime) { + DestroyTime = other.DestroyTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(Id); + break; + } + case 34: { + if (author_ == null) { + Author = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Author); + break; + } + case 50: { + contentChain_.AddEntriesFrom(input, _repeated_contentChain_codec); + break; + } + case 122: { + if (destroyer_ == null) { + Destroyer = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Destroyer); + break; + } + case 128: { + Destroyed = input.ReadBool(); + break; + } + case 136: { + DestroyTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(Id); + break; + } + case 34: { + if (author_ == null) { + Author = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Author); + break; + } + case 50: { + contentChain_.AddEntriesFrom(ref input, _repeated_contentChain_codec); + break; + } + case 122: { + if (destroyer_ == null) { + Destroyer = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Destroyer); + break; + } + case 128: { + Destroyed = input.ReadBool(); + break; + } + case 136: { + DestroyTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMention : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMention()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMention() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMention(StreamMention other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + messageId_ = other.messageId_ != null ? other.messageId_.Clone() : null; + author_ = other.author_ != null ? other.author_.Clone() : null; + destroyed_ = other.destroyed_; + mentionId_ = other.mentionId_ != null ? other.mentionId_.Clone() : null; + memberId_ = other.memberId_ != null ? other.memberId_.Clone() : null; + message_ = other.message_ != null ? other.message_.Clone() : null; + clubType_ = other.clubType_ != null ? other.clubType_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMention Clone() { + return new StreamMention(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 2; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "message_id" field. + public const int MessageIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId messageId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId MessageId { + get { return messageId_; } + set { + messageId_ = value; + } + } + + /// Field number for the "author" field. + public const int AuthorFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription author_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription Author { + get { return author_; } + set { + author_ = value; + } + } + + /// Field number for the "destroyed" field. + public const int DestroyedFieldNumber = 5; + private readonly static bool DestroyedDefaultValue = false; + + private bool destroyed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Destroyed { + get { if ((_hasBits0 & 4) != 0) { return destroyed_; } else { return DestroyedDefaultValue; } } + set { + _hasBits0 |= 4; + destroyed_ = value; + } + } + /// Gets whether the "destroyed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDestroyed { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "destroyed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDestroyed() { + _hasBits0 &= ~4; + } + + /// Field number for the "mention_id" field. + public const int MentionIdFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId mentionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId MentionId { + get { return mentionId_; } + set { + mentionId_ = value; + } + } + + /// Field number for the "member_id" field. + public const int MemberIdFieldNumber = 7; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId memberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId MemberId { + get { return memberId_; } + set { + memberId_ = value; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 8; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage message_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage Message { + get { return message_; } + set { + message_ = value; + } + } + + /// Field number for the "club_type" field. + public const int ClubTypeFieldNumber = 9; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType clubType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType ClubType { + get { return clubType_; } + set { + clubType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMention); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMention other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(MessageId, other.MessageId)) return false; + if (!object.Equals(Author, other.Author)) return false; + if (Destroyed != other.Destroyed) return false; + if (!object.Equals(MentionId, other.MentionId)) return false; + if (!object.Equals(MemberId, other.MemberId)) return false; + if (!object.Equals(Message, other.Message)) return false; + if (!object.Equals(ClubType, other.ClubType)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (messageId_ != null) hash ^= MessageId.GetHashCode(); + if (author_ != null) hash ^= Author.GetHashCode(); + if (HasDestroyed) hash ^= Destroyed.GetHashCode(); + if (mentionId_ != null) hash ^= MentionId.GetHashCode(); + if (memberId_ != null) hash ^= MemberId.GetHashCode(); + if (message_ != null) hash ^= Message.GetHashCode(); + if (clubType_ != null) hash ^= ClubType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MessageId); + } + if (author_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Author); + } + if (HasDestroyed) { + output.WriteRawTag(40); + output.WriteBool(Destroyed); + } + if (mentionId_ != null) { + output.WriteRawTag(50); + output.WriteMessage(MentionId); + } + if (memberId_ != null) { + output.WriteRawTag(58); + output.WriteMessage(MemberId); + } + if (message_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Message); + } + if (clubType_ != null) { + output.WriteRawTag(74); + output.WriteMessage(ClubType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (messageId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(MessageId); + } + if (author_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Author); + } + if (HasDestroyed) { + output.WriteRawTag(40); + output.WriteBool(Destroyed); + } + if (mentionId_ != null) { + output.WriteRawTag(50); + output.WriteMessage(MentionId); + } + if (memberId_ != null) { + output.WriteRawTag(58); + output.WriteMessage(MemberId); + } + if (message_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Message); + } + if (clubType_ != null) { + output.WriteRawTag(74); + output.WriteMessage(ClubType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (messageId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageId); + } + if (author_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Author); + } + if (HasDestroyed) { + size += 1 + 1; + } + if (mentionId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MentionId); + } + if (memberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId); + } + if (message_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (clubType_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMention other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.messageId_ != null) { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + MessageId.MergeFrom(other.MessageId); + } + if (other.author_ != null) { + if (author_ == null) { + Author = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + Author.MergeFrom(other.Author); + } + if (other.HasDestroyed) { + Destroyed = other.Destroyed; + } + if (other.mentionId_ != null) { + if (mentionId_ == null) { + MentionId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId(); + } + MentionId.MergeFrom(other.MentionId); + } + if (other.memberId_ != null) { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + MemberId.MergeFrom(other.MemberId); + } + if (other.message_ != null) { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + Message.MergeFrom(other.Message); + } + if (other.clubType_ != null) { + if (clubType_ == null) { + ClubType = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + ClubType.MergeFrom(other.ClubType); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 26: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + case 34: { + if (author_ == null) { + Author = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Author); + break; + } + case 40: { + Destroyed = input.ReadBool(); + break; + } + case 50: { + if (mentionId_ == null) { + MentionId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId(); + } + input.ReadMessage(MentionId); + break; + } + case 58: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 66: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + case 74: { + if (clubType_ == null) { + ClubType = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(ClubType); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 26: { + if (messageId_ == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + input.ReadMessage(MessageId); + break; + } + case 34: { + if (author_ == null) { + Author = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberDescription(); + } + input.ReadMessage(Author); + break; + } + case 40: { + Destroyed = input.ReadBool(); + break; + } + case 50: { + if (mentionId_ == null) { + MentionId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId(); + } + input.ReadMessage(MentionId); + break; + } + case 58: { + if (memberId_ == null) { + MemberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(MemberId); + break; + } + case 66: { + if (message_ == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamMessage(); + } + input.ReadMessage(Message); + break; + } + case 74: { + if (clubType_ == null) { + ClubType = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType(); + } + input.ReadMessage(ClubType); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamView : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamView()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamView() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamView(StreamView other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + marker_ = other.marker_ != null ? other.marker_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamView Clone() { + return new StreamView(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 2; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "marker" field. + public const int MarkerFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker marker_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker Marker { + get { return marker_; } + set { + marker_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamView); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamView other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Marker, other.Marker)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (marker_ != null) hash ^= Marker.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (marker_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Marker); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (marker_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Marker); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (marker_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Marker); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamView other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.marker_ != null) { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + Marker.MergeFrom(other.Marker); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 26: { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(Marker); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 26: { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(Marker); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamAdvanceViewTime : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamAdvanceViewTime()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAdvanceViewTime() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAdvanceViewTime(StreamAdvanceViewTime other) : this() { + _hasBits0 = other._hasBits0; + streamId_ = other.streamId_; + viewTime_ = other.viewTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAdvanceViewTime Clone() { + return new StreamAdvanceViewTime(this); + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 1; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 1) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 1; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~1; + } + + /// Field number for the "view_time" field. + public const int ViewTimeFieldNumber = 2; + private readonly static ulong ViewTimeDefaultValue = 0UL; + + private ulong viewTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ViewTime { + get { if ((_hasBits0 & 2) != 0) { return viewTime_; } else { return ViewTimeDefaultValue; } } + set { + _hasBits0 |= 2; + viewTime_ = value; + } + } + /// Gets whether the "view_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasViewTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "view_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearViewTime() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamAdvanceViewTime); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamAdvanceViewTime other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StreamId != other.StreamId) return false; + if (ViewTime != other.ViewTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasViewTime) hash ^= ViewTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasViewTime) { + output.WriteRawTag(16); + output.WriteUInt64(ViewTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasViewTime) { + output.WriteRawTag(16); + output.WriteUInt64(ViewTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasViewTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ViewTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamAdvanceViewTime other) { + if (other == null) { + return; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasViewTime) { + ViewTime = other.ViewTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + ViewTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + ViewTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamEventTime : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamEventTime()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamEventTime() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamEventTime(StreamEventTime other) : this() { + _hasBits0 = other._hasBits0; + streamId_ = other.streamId_; + eventTime_ = other.eventTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamEventTime Clone() { + return new StreamEventTime(this); + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 1; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 1) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 1; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~1; + } + + /// Field number for the "event_time" field. + public const int EventTimeFieldNumber = 2; + private readonly static ulong EventTimeDefaultValue = 0UL; + + private ulong eventTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EventTime { + get { if ((_hasBits0 & 2) != 0) { return eventTime_; } else { return EventTimeDefaultValue; } } + set { + _hasBits0 |= 2; + eventTime_ = value; + } + } + /// Gets whether the "event_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEventTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "event_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEventTime() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamEventTime); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamEventTime other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StreamId != other.StreamId) return false; + if (EventTime != other.EventTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasEventTime) hash ^= EventTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasEventTime) { + output.WriteRawTag(16); + output.WriteUInt64(EventTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + if (HasEventTime) { + output.WriteRawTag(16); + output.WriteUInt64(EventTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasEventTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EventTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamEventTime other) { + if (other == null) { + return; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasEventTime) { + EventTime = other.EventTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + EventTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 16: { + EventTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamMentionView : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamMentionView()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionView() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionView(StreamMentionView other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + marker_ = other.marker_ != null ? other.marker_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamMentionView Clone() { + return new StreamMentionView(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 2; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "marker" field. + public const int MarkerFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker marker_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker Marker { + get { return marker_; } + set { + marker_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamMentionView); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamMentionView other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (!object.Equals(Marker, other.Marker)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (marker_ != null) hash ^= Marker.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (marker_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Marker); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (marker_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Marker); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (marker_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Marker); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamMentionView other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.marker_ != null) { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + Marker.MergeFrom(other.Marker); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 26: { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(Marker); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 26: { + if (marker_ == null) { + Marker = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker(); + } + input.ReadMessage(Marker); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamStateOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamStateOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateOptions(StreamStateOptions other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + subject_ = other.subject_; + access_ = other.access_ != null ? other.access_.Clone() : null; + voiceLevel_ = other.voiceLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateOptions Clone() { + return new StreamStateOptions(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "subject" field. + public const int SubjectFieldNumber = 3; + private readonly static string SubjectDefaultValue = ""; + + private string subject_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_ ?? SubjectDefaultValue; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "subject" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubject { + get { return subject_ != null; } + } + /// Clears the value of the "subject" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubject() { + subject_ = null; + } + + /// Field number for the "access" field. + public const int AccessFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess access_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess Access { + get { return access_; } + set { + access_ = value; + } + } + + /// Field number for the "voice_level" field. + public const int VoiceLevelFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel.VoiceLevelDisabled; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel voiceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevel { + get { if ((_hasBits0 & 1) != 0) { return voiceLevel_; } else { return VoiceLevelDefaultValue; } } + set { + _hasBits0 |= 1; + voiceLevel_ = value; + } + } + /// Gets whether the "voice_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVoiceLevel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "voice_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVoiceLevel() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamStateOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamStateOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Subject != other.Subject) return false; + if (!object.Equals(Access, other.Access)) return false; + if (VoiceLevel != other.VoiceLevel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasSubject) hash ^= Subject.GetHashCode(); + if (access_ != null) hash ^= Access.GetHashCode(); + if (HasVoiceLevel) hash ^= VoiceLevel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(26); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Access); + } + if (HasVoiceLevel) { + output.WriteRawTag(40); + output.WriteEnum((int) VoiceLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(26); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Access); + } + if (HasVoiceLevel) { + output.WriteRawTag(40); + output.WriteEnum((int) VoiceLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasSubject) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + if (access_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Access); + } + if (HasVoiceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VoiceLevel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamStateOptions other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasSubject) { + Subject = other.Subject; + } + if (other.access_ != null) { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + Access.MergeFrom(other.Access); + } + if (other.HasVoiceLevel) { + VoiceLevel = other.VoiceLevel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Subject = input.ReadString(); + break; + } + case 34: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 40: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Subject = input.ReadString(); + break; + } + case 34: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 40: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamStateAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamStateAssignment()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateAssignment(StreamStateAssignment other) : this() { + _hasBits0 = other._hasBits0; + streamId_ = other.streamId_; + attribute_ = other.attribute_.Clone(); + name_ = other.name_; + subject_ = other.subject_; + access_ = other.access_ != null ? other.access_.Clone() : null; + streamSubscriptionRemoved_ = other.streamSubscriptionRemoved_; + voiceLevel_ = other.voiceLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamStateAssignment Clone() { + return new StreamStateAssignment(this); + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 1; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 1) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 1; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~1; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "subject" field. + public const int SubjectFieldNumber = 4; + private readonly static string SubjectDefaultValue = ""; + + private string subject_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_ ?? SubjectDefaultValue; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "subject" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubject { + get { return subject_ != null; } + } + /// Clears the value of the "subject" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubject() { + subject_ = null; + } + + /// Field number for the "access" field. + public const int AccessFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess access_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess Access { + get { return access_; } + set { + access_ = value; + } + } + + /// Field number for the "stream_subscription_removed" field. + public const int StreamSubscriptionRemovedFieldNumber = 6; + private readonly static bool StreamSubscriptionRemovedDefaultValue = false; + + private bool streamSubscriptionRemoved_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool StreamSubscriptionRemoved { + get { if ((_hasBits0 & 2) != 0) { return streamSubscriptionRemoved_; } else { return StreamSubscriptionRemovedDefaultValue; } } + set { + _hasBits0 |= 2; + streamSubscriptionRemoved_ = value; + } + } + /// Gets whether the "stream_subscription_removed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamSubscriptionRemoved { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_subscription_removed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamSubscriptionRemoved() { + _hasBits0 &= ~2; + } + + /// Field number for the "voice_level" field. + public const int VoiceLevelFieldNumber = 7; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel.VoiceLevelDisabled; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel voiceLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel VoiceLevel { + get { if ((_hasBits0 & 4) != 0) { return voiceLevel_; } else { return VoiceLevelDefaultValue; } } + set { + _hasBits0 |= 4; + voiceLevel_ = value; + } + } + /// Gets whether the "voice_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVoiceLevel { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "voice_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVoiceLevel() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamStateAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamStateAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StreamId != other.StreamId) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (Name != other.Name) return false; + if (Subject != other.Subject) return false; + if (!object.Equals(Access, other.Access)) return false; + if (StreamSubscriptionRemoved != other.StreamSubscriptionRemoved) return false; + if (VoiceLevel != other.VoiceLevel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStreamId) hash ^= StreamId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasSubject) hash ^= Subject.GetHashCode(); + if (access_ != null) hash ^= Access.GetHashCode(); + if (HasStreamSubscriptionRemoved) hash ^= StreamSubscriptionRemoved.GetHashCode(); + if (HasVoiceLevel) hash ^= VoiceLevel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(34); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Access); + } + if (HasStreamSubscriptionRemoved) { + output.WriteRawTag(48); + output.WriteBool(StreamSubscriptionRemoved); + } + if (HasVoiceLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) VoiceLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStreamId) { + output.WriteRawTag(8); + output.WriteUInt64(StreamId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasName) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (HasSubject) { + output.WriteRawTag(34); + output.WriteString(Subject); + } + if (access_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Access); + } + if (HasStreamSubscriptionRemoved) { + output.WriteRawTag(48); + output.WriteBool(StreamSubscriptionRemoved); + } + if (HasVoiceLevel) { + output.WriteRawTag(56); + output.WriteEnum((int) VoiceLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasSubject) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + if (access_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Access); + } + if (HasStreamSubscriptionRemoved) { + size += 1 + 1; + } + if (HasVoiceLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VoiceLevel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamStateAssignment other) { + if (other == null) { + return; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + attribute_.Add(other.attribute_); + if (other.HasName) { + Name = other.Name; + } + if (other.HasSubject) { + Subject = other.Subject; + } + if (other.access_ != null) { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + Access.MergeFrom(other.Access); + } + if (other.HasStreamSubscriptionRemoved) { + StreamSubscriptionRemoved = other.StreamSubscriptionRemoved; + } + if (other.HasVoiceLevel) { + VoiceLevel = other.VoiceLevel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Subject = input.ReadString(); + break; + } + case 42: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 48: { + StreamSubscriptionRemoved = input.ReadBool(); + break; + } + case 56: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StreamId = input.ReadUInt64(); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Subject = input.ReadString(); + break; + } + case 42: { + if (access_ == null) { + Access = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamAccess(); + } + input.ReadMessage(Access); + break; + } + case 48: { + StreamSubscriptionRemoved = input.ReadBool(); + break; + } + case 56: { + VoiceLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.StreamVoiceLevel) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamTypingIndicator : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamTypingIndicator()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamTypingIndicator() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamTypingIndicator(StreamTypingIndicator other) : this() { + _hasBits0 = other._hasBits0; + authorId_ = other.authorId_ != null ? other.authorId_.Clone() : null; + indicator_ = other.indicator_; + epoch_ = other.epoch_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamTypingIndicator Clone() { + return new StreamTypingIndicator(this); + } + + /// Field number for the "author_id" field. + public const int AuthorIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId authorId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId AuthorId { + get { return authorId_; } + set { + authorId_ = value; + } + } + + /// Field number for the "indicator" field. + public const int IndicatorFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator IndicatorDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator.TypingStart; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator indicator_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator Indicator { + get { if ((_hasBits0 & 1) != 0) { return indicator_; } else { return IndicatorDefaultValue; } } + set { + _hasBits0 |= 1; + indicator_ = value; + } + } + /// Gets whether the "indicator" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndicator { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "indicator" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndicator() { + _hasBits0 &= ~1; + } + + /// Field number for the "epoch" field. + public const int EpochFieldNumber = 3; + private readonly static ulong EpochDefaultValue = 0UL; + + private ulong epoch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Epoch { + get { if ((_hasBits0 & 2) != 0) { return epoch_; } else { return EpochDefaultValue; } } + set { + _hasBits0 |= 2; + epoch_ = value; + } + } + /// Gets whether the "epoch" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEpoch { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "epoch" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEpoch() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamTypingIndicator); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamTypingIndicator other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AuthorId, other.AuthorId)) return false; + if (Indicator != other.Indicator) return false; + if (Epoch != other.Epoch) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (authorId_ != null) hash ^= AuthorId.GetHashCode(); + if (HasIndicator) hash ^= Indicator.GetHashCode(); + if (HasEpoch) hash ^= Epoch.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (authorId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AuthorId); + } + if (HasIndicator) { + output.WriteRawTag(16); + output.WriteEnum((int) Indicator); + } + if (HasEpoch) { + output.WriteRawTag(24); + output.WriteUInt64(Epoch); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (authorId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AuthorId); + } + if (HasIndicator) { + output.WriteRawTag(16); + output.WriteEnum((int) Indicator); + } + if (HasEpoch) { + output.WriteRawTag(24); + output.WriteUInt64(Epoch); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (authorId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthorId); + } + if (HasIndicator) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Indicator); + } + if (HasEpoch) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Epoch); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamTypingIndicator other) { + if (other == null) { + return; + } + if (other.authorId_ != null) { + if (authorId_ == null) { + AuthorId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + AuthorId.MergeFrom(other.AuthorId); + } + if (other.HasIndicator) { + Indicator = other.Indicator; + } + if (other.HasEpoch) { + Epoch = other.Epoch; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (authorId_ == null) { + AuthorId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AuthorId); + break; + } + case 16: { + Indicator = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator) input.ReadEnum(); + break; + } + case 24: { + Epoch = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (authorId_ == null) { + AuthorId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.MemberId(); + } + input.ReadMessage(AuthorId); + break; + } + case 16: { + Indicator = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator) input.ReadEnum(); + break; + } + case 24: { + Epoch = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubTag.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubTag.cs new file mode 100644 index 0000000000..8d7e59be55 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubTag.cs @@ -0,0 +1,863 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_tag.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_tag.proto + public static partial class ClubTagReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_tag.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubTagReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBiZ3MvbG93L3BiL2NsaWVudC9jbHViX3RhZy5wcm90bxIUYmdzLnByb3Rv", + "Y29sLmNsdWIudjEaIWJncy9sb3cvcGIvY2xpZW50L3JwY190eXBlcy5wcm90", + "byJfCgpUYWdPcHRpb25zEh8KBmFjdGlvbhgBIAEoDUIPgvkrCyoJVGFnQWN0", + "aW9uEjAKA3RhZxgCIAMoCzIjLmJncy5wcm90b2NvbC5jbHViLnYxLlRhZ0lk", + "ZW50aWZpZXIiOAoNVGFnSWRlbnRpZmllchIKCgJpZBgBIAEoDRIbCgR0eXBl", + "GAIgASgNQg2C+SsJKgdUYWdUeXBlImYKDExvY2FsaXplZFRhZxIzCgZ0YWdf", + "aWQYASABKAsyIy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5UYWdJZGVudGlmaWVy", + "EgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkqSgoJVGFnQWN0", + "aW9uEhMKD1RBR19BQ1RJT05fTk9ORRAAEhQKEFRBR19BQ1RJT05fQ0xFQVIQ", + "ARISCg5UQUdfQUNUSU9OX1NFVBACKksKB1RhZ1R5cGUSFAoQVEFHX1RZUEVf", + "SU5WQUxJRBAAEhUKEVRBR19UWVBFX1BMQVRGT1JNEAESEwoPVEFHX1RZUEVf", + "Q1VTVE9NEAJCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagAction), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagType), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagOptions.Parser, new[]{ "Action", "Tag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier.Parser, new[]{ "Id", "Type" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.LocalizedTag), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.LocalizedTag.Parser, new[]{ "TagId", "Name", "Description" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum TagAction { + [pbr::OriginalName("TAG_ACTION_NONE")] None = 0, + [pbr::OriginalName("TAG_ACTION_CLEAR")] Clear = 1, + [pbr::OriginalName("TAG_ACTION_SET")] Set = 2, + } + + public enum TagType { + [pbr::OriginalName("TAG_TYPE_INVALID")] Invalid = 0, + [pbr::OriginalName("TAG_TYPE_PLATFORM")] Platform = 1, + [pbr::OriginalName("TAG_TYPE_CUSTOM")] Custom = 2, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TagOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TagOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TagOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TagOptions(TagOptions other) : this() { + _hasBits0 = other._hasBits0; + action_ = other.action_; + tag_ = other.tag_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TagOptions Clone() { + return new TagOptions(this); + } + + /// Field number for the "action" field. + public const int ActionFieldNumber = 1; + private readonly static uint ActionDefaultValue = 0; + + private uint action_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Action { + get { if ((_hasBits0 & 1) != 0) { return action_; } else { return ActionDefaultValue; } } + set { + _hasBits0 |= 1; + action_ = value; + } + } + /// Gets whether the "action" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAction { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "action" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAction() { + _hasBits0 &= ~1; + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_tag_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier.Parser); + private readonly pbc::RepeatedField tag_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tag { + get { return tag_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TagOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TagOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Action != other.Action) return false; + if(!tag_.Equals(other.tag_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAction) hash ^= Action.GetHashCode(); + hash ^= tag_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAction) { + output.WriteRawTag(8); + output.WriteUInt32(Action); + } + tag_.WriteTo(output, _repeated_tag_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAction) { + output.WriteRawTag(8); + output.WriteUInt32(Action); + } + tag_.WriteTo(ref output, _repeated_tag_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAction) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Action); + } + size += tag_.CalculateSize(_repeated_tag_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TagOptions other) { + if (other == null) { + return; + } + if (other.HasAction) { + Action = other.Action; + } + tag_.Add(other.tag_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Action = input.ReadUInt32(); + break; + } + case 18: { + tag_.AddEntriesFrom(input, _repeated_tag_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Action = input.ReadUInt32(); + break; + } + case 18: { + tag_.AddEntriesFrom(ref input, _repeated_tag_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TagIdentifier : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TagIdentifier()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TagIdentifier() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TagIdentifier(TagIdentifier other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + type_ = other.type_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TagIdentifier Clone() { + return new TagIdentifier(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private readonly static uint TypeDefaultValue = 0; + + private uint type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Type { + get { if ((_hasBits0 & 2) != 0) { return type_; } else { return TypeDefaultValue; } } + set { + _hasBits0 |= 2; + type_ = value; + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TagIdentifier); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TagIdentifier other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasType) { + output.WriteRawTag(16); + output.WriteUInt32(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasType) { + output.WriteRawTag(16); + output.WriteUInt32(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TagIdentifier other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasType) { + Type = other.Type; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 16: { + Type = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 16: { + Type = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LocalizedTag : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LocalizedTag()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LocalizedTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LocalizedTag(LocalizedTag other) : this() { + tagId_ = other.tagId_ != null ? other.tagId_.Clone() : null; + name_ = other.name_; + description_ = other.description_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LocalizedTag Clone() { + return new LocalizedTag(this); + } + + /// Field number for the "tag_id" field. + public const int TagIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier tagId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier TagId { + get { return tagId_; } + set { + tagId_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 3; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LocalizedTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LocalizedTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TagId, other.TagId)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (tagId_ != null) hash ^= TagId.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (tagId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TagId); + } + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (tagId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TagId); + } + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (HasDescription) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (tagId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TagId); + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LocalizedTag other) { + if (other == null) { + return; + } + if (other.tagId_ != null) { + if (tagId_ == null) { + TagId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier(); + } + TagId.MergeFrom(other.TagId); + } + if (other.HasName) { + Name = other.Name; + } + if (other.HasDescription) { + Description = other.Description; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (tagId_ == null) { + TagId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier(); + } + input.ReadMessage(TagId); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (tagId_ == null) { + TagId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.TagIdentifier(); + } + input.ReadMessage(TagId); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubType.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubType.cs new file mode 100644 index 0000000000..1691c57dbe --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubType.cs @@ -0,0 +1,302 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_type.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_type.proto + public static partial class ClubTypeReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_type.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubTypeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFiZ3MvbG93L3BiL2NsaWVudC9jbHViX3R5cGUucHJvdG8SFGJncy5wcm90", + "b2NvbC5jbHViLnYxIi8KDlVuaXF1ZUNsdWJUeXBlEg8KB3Byb2dyYW0YASAB", + "KAcSDAoEbmFtZRgCIAEoCUICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.UniqueClubType.Parser, new[]{ "Program", "Name" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UniqueClubType : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UniqueClubType()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UniqueClubType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UniqueClubType(UniqueClubType other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UniqueClubType Clone() { + return new UniqueClubType(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UniqueClubType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UniqueClubType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + 4; + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UniqueClubType other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasName) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubTypes.cs new file mode 100644 index 0000000000..423e9272c3 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ClubTypes.cs @@ -0,0 +1,56 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/club_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/club_types.proto + public static partial class ClubTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/club_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClubTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiJiZ3MvbG93L3BiL2NsaWVudC9jbHViX3R5cGVzLnByb3RvEhRiZ3MucHJv", + "dG9jb2wuY2x1Yi52MRotYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9tZW1iZXJz", + "aGlwX3R5cGVzLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9jbHViX2VudW0u", + "cHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L2NsdWJfcm9sZS5wcm90bxomYmdz", + "L2xvdy9wYi9jbGllbnQvY2x1Yl9yYW5nZV9zZXQucHJvdG8aIWJncy9sb3cv", + "cGIvY2xpZW50L2NsdWJfY29yZS5wcm90bxojYmdzL2xvdy9wYi9jbGllbnQv", + "Y2x1Yl9tZW1iZXIucHJvdG8aJ2Jncy9sb3cvcGIvY2xpZW50L2NsdWJfaW52", + "aXRhdGlvbi5wcm90bxogYmdzL2xvdy9wYi9jbGllbnQvY2x1Yl9iYW4ucHJv", + "dG8aI2Jncy9sb3cvcGIvY2xpZW50L2NsdWJfc3RyZWFtLnByb3RvGiFiZ3Mv", + "bG93L3BiL2NsaWVudC9jbHViX3R5cGUucHJvdG8aIGJncy9sb3cvcGIvY2xp", + "ZW50L2NsdWJfdGFnLnByb3RvGitiZ3MvbG93L3BiL2NsaWVudC9jbHViX25h", + "bWVfZ2VuZXJhdG9yLnByb3RvGjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xp", + "ZW50L3YyL2F0dHJpYnV0ZV90eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGll", + "bnQvYWNjb3VudF90eXBlcy5wcm90bxooYmdzL2xvdy9wYi9jbGllbnQvZXZl", + "bnRfdmlld190eXBlcy5wcm90bxooYmdzL2xvdy9wYi9jbGllbnQvaW52aXRh", + "dGlvbl90eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGllbnQvbWVzc2FnZV90", + "eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQvZXRzX3R5cGVzLnByb3Rv", + "GiNiZ3MvbG93L3BiL2NsaWVudC92b2ljZV90eXBlcy5wcm90bxohYmdzL2xv", + "dy9wYi9jbGllbnQvcnBjX3R5cGVzLnByb3RvQgJIAVAAUAFQAlADUARQBVAG", + "UAdQCFAJUApQC1AMUA1QDlAPUBBQEVASUBM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMembershipTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubEnumReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRoleReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubRangeSetReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubMemberReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubInvitationReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubBanReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Club.V1.ClubNameGeneratorReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventViewTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EtsTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ConnectionService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ConnectionService.cs new file mode 100644 index 0000000000..37216d6ed8 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ConnectionService.cs @@ -0,0 +1,3624 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/connection_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/connection_service.proto + public static partial class ConnectionServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/connection_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ConnectionServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CipiZ3MvbG93L3BiL2NsaWVudC9jb25uZWN0aW9uX3NlcnZpY2UucHJvdG8S", + "GmJncy5wcm90b2NvbC5jb25uZWN0aW9uLnYxGixiZ3MvbG93L3BiL2NsaWVu", + "dC9jb250ZW50X2hhbmRsZV90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGll", + "bnQvcnBjX3R5cGVzLnByb3RvGihiZ3MvbG93L3BiL2NsaWVudC9zZW1hbnRp", + "Y192ZXJzaW9uLnByb3RvIpUBChRDbGllbnRTZGtWZXJzaW9uSW5mbxIQCghz", + "ZGtfbmFtZRgBIAEoCRIyCgtzZGtfdmVyc2lvbhgCIAEoCzIdLmJncy5wcm90", + "b2NvbC5TZW1hbnRpY1ZlcnNpb24SNwoQcHJvdG9jb2xfdmVyc2lvbhgDIAEo", + "CzIdLmJncy5wcm90b2NvbC5TZW1hbnRpY1ZlcnNpb24iqQIKDkNvbm5lY3RS", + "ZXF1ZXN0EioKCWNsaWVudF9pZBgBIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9j", + "ZXNzSWQSPQoMYmluZF9yZXF1ZXN0GAIgASgLMicuYmdzLnByb3RvY29sLmNv", + "bm5lY3Rpb24udjEuQmluZFJlcXVlc3QSHgoQdXNlX2JpbmRsZXNzX3JwYxgD", + "IAEoCDoEdHJ1ZRJBCg5tZXRlcmluZ19sZXZlbBgEIAEoDjIpLmJncy5wcm90", + "b2NvbC5jb25uZWN0aW9uLnYxLk1ldGVyaW5nTGV2ZWwSSQoPY2xpZW50X3Nk", + "a19pbmZvGAUgASgLMjAuYmdzLnByb3RvY29sLmNvbm5lY3Rpb24udjEuQ2xp", + "ZW50U2RrVmVyc2lvbkluZm8iVwogQ29ubmVjdGlvbk1ldGVyaW5nQ29udGVu", + "dEhhbmRsZXMSMwoOY29udGVudF9oYW5kbGUYASADKAsyGy5iZ3MucHJvdG9j", + "b2wuQ29udGVudEhhbmRsZSLcAwoPQ29ubmVjdFJlc3BvbnNlEioKCXNlcnZl", + "cl9pZBgBIAIoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQSKgoJY2xpZW50", + "X2lkGAIgASgLMhcuYmdzLnByb3RvY29sLlByb2Nlc3NJZBITCgtiaW5kX3Jl", + "c3VsdBgDIAEoDRI/Cg1iaW5kX3Jlc3BvbnNlGAQgASgLMiguYmdzLnByb3Rv", + "Y29sLmNvbm5lY3Rpb24udjEuQmluZFJlc3BvbnNlEloKFGNvbnRlbnRfaGFu", + "ZGxlX2FycmF5GAUgASgLMjwuYmdzLnByb3RvY29sLmNvbm5lY3Rpb24udjEu", + "Q29ubmVjdGlvbk1ldGVyaW5nQ29udGVudEhhbmRsZXMSEwoLc2VydmVyX3Rp", + "bWUYBiABKAQSHwoQdXNlX2JpbmRsZXNzX3JwYxgHIAEoCDoFZmFsc2USYQob", + "YmluYXJ5X2NvbnRlbnRfaGFuZGxlX2FycmF5GAggASgLMjwuYmdzLnByb3Rv", + "Y29sLmNvbm5lY3Rpb24udjEuQ29ubmVjdGlvbk1ldGVyaW5nQ29udGVudEhh", + "bmRsZXMSDAoEY2lpZBgJIAEoCRIYChBjb25uZWN0ZWRfcmVnaW9uGAogASgN", + "IigKDEJvdW5kU2VydmljZRIMCgRoYXNoGAEgAigHEgoKAmlkGAIgAigNIpgC", + "CgtCaW5kUmVxdWVzdBIuCiBkZXByZWNhdGVkX2ltcG9ydGVkX3NlcnZpY2Vf", + "aGFzaBgBIAMoB0IEEAEYARJRChtkZXByZWNhdGVkX2V4cG9ydGVkX3NlcnZp", + "Y2UYAiADKAsyKC5iZ3MucHJvdG9jb2wuY29ubmVjdGlvbi52MS5Cb3VuZFNl", + "cnZpY2VCAhgBEkIKEGV4cG9ydGVkX3NlcnZpY2UYAyADKAsyKC5iZ3MucHJv", + "dG9jb2wuY29ubmVjdGlvbi52MS5Cb3VuZFNlcnZpY2USQgoQaW1wb3J0ZWRf", + "c2VydmljZRgEIAMoCzIoLmJncy5wcm90b2NvbC5jb25uZWN0aW9uLnYxLkJv", + "dW5kU2VydmljZSIxCgxCaW5kUmVzcG9uc2USIQoTaW1wb3J0ZWRfc2Vydmlj", + "ZV9pZBgBIAMoDUIEEAEYASKOAQoLRWNob1JlcXVlc3QSDAoEdGltZRgBIAEo", + "BhIbCgxuZXR3b3JrX29ubHkYAiABKAg6BWZhbHNlEg8KB3BheWxvYWQYAyAB", + "KAwSKAoHZm9yd2FyZBgEIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQS", + "GQoRZm9yd2FyZF9jbGllbnRfaWQYBSABKAkiLQoMRWNob1Jlc3BvbnNlEgwK", + "BHRpbWUYASABKAYSDwoHcGF5bG9hZBgCIAEoDCInChFEaXNjb25uZWN0UmVx", + "dWVzdBISCgplcnJvcl9jb2RlGAEgAigNIjwKFkRpc2Nvbm5lY3ROb3RpZmlj", + "YXRpb24SEgoKZXJyb3JfY29kZRgBIAIoDRIOCgZyZWFzb24YAiABKAkiEAoO", + "RW5jcnlwdFJlcXVlc3QqSgoNTWV0ZXJpbmdMZXZlbBIZChVNRVRFUklOR19M", + "RVZFTF9MRUdBQ1kQABIeChpNRVRFUklOR19MRVZFTF9DQVRFR09SSVpFRBAB", + "MvsFChFDb25uZWN0aW9uU2VydmljZRJqCgdDb25uZWN0EiouYmdzLnByb3Rv", + "Y29sLmNvbm5lY3Rpb24udjEuQ29ubmVjdFJlcXVlc3QaKy5iZ3MucHJvdG9j", + "b2wuY29ubmVjdGlvbi52MS5Db25uZWN0UmVzcG9uc2UiBoL5KwIIARJjCgRC", + "aW5kEicuYmdzLnByb3RvY29sLmNvbm5lY3Rpb24udjEuQmluZFJlcXVlc3Qa", + "KC5iZ3MucHJvdG9jb2wuY29ubmVjdGlvbi52MS5CaW5kUmVzcG9uc2UiCIL5", + "KwQIAlABEmEKBEVjaG8SJy5iZ3MucHJvdG9jb2wuY29ubmVjdGlvbi52MS5F", + "Y2hvUmVxdWVzdBooLmJncy5wcm90b2NvbC5jb25uZWN0aW9uLnYxLkVjaG9S", + "ZXNwb25zZSIGgvkrAggDEmgKD0ZvcmNlRGlzY29ubmVjdBIyLmJncy5wcm90", + "b2NvbC5jb25uZWN0aW9uLnYxLkRpc2Nvbm5lY3ROb3RpZmljYXRpb24aGS5i", + "Z3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIBBJECglLZWVwQWxpdmUS", + "FC5iZ3MucHJvdG9jb2wuTm9EYXRhGhkuYmdzLnByb3RvY29sLk5PX1JFU1BP", + "TlNFIgaC+SsCCAUSVQoHRW5jcnlwdBIqLmJncy5wcm90b2NvbC5jb25uZWN0", + "aW9uLnYxLkVuY3J5cHRSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSII", + "gvkrBAgGUAESZQoRUmVxdWVzdERpc2Nvbm5lY3QSLS5iZ3MucHJvdG9jb2wu", + "Y29ubmVjdGlvbi52MS5EaXNjb25uZWN0UmVxdWVzdBoZLmJncy5wcm90b2Nv", + "bC5OT19SRVNQT05TRSIGgvkrAggHGkSC+Ss4CipibmV0LnByb3RvY29sLmNv", + "bm5lY3Rpb24uQ29ubmVjdGlvblNlcnZpY2UqCmNvbm5lY3Rpb26K+SsECAEQ", + "AUI8ChpiZ3MucHJvdG9jb2wuY29ubmVjdGlvbi52MUIWQ29ubmVjdGlvblNl", + "cnZpY2VQcm90b0gBgAEAiAEB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandleTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersionReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo.Parser, new[]{ "SdkName", "SdkVersion", "ProtocolVersion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectRequest.Parser, new[]{ "ClientId", "BindRequest", "UseBindlessRpc", "MeteringLevel", "ClientSdkInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles.Parser, new[]{ "ContentHandle" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectResponse.Parser, new[]{ "ServerId", "ClientId", "BindResult", "BindResponse", "ContentHandleArray", "ServerTime", "UseBindlessRpc", "BinaryContentHandleArray", "Ciid", "ConnectedRegion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BoundService), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BoundService.Parser, new[]{ "Hash", "Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest.Parser, new[]{ "DeprecatedImportedServiceHash", "DeprecatedExportedService", "ExportedService", "ImportedService" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse.Parser, new[]{ "ImportedServiceId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.EchoRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.EchoRequest.Parser, new[]{ "Time", "NetworkOnly", "Payload", "Forward", "ForwardClientId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.EchoResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.EchoResponse.Parser, new[]{ "Time", "Payload" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.DisconnectRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.DisconnectRequest.Parser, new[]{ "ErrorCode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.DisconnectNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.DisconnectNotification.Parser, new[]{ "ErrorCode", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.EncryptRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.EncryptRequest.Parser, null, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum MeteringLevel { + [pbr::OriginalName("METERING_LEVEL_LEGACY")] Legacy = 0, + [pbr::OriginalName("METERING_LEVEL_CATEGORIZED")] Categorized = 1, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClientSdkVersionInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientSdkVersionInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientSdkVersionInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientSdkVersionInfo(ClientSdkVersionInfo other) : this() { + sdkName_ = other.sdkName_; + sdkVersion_ = other.sdkVersion_ != null ? other.sdkVersion_.Clone() : null; + protocolVersion_ = other.protocolVersion_ != null ? other.protocolVersion_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientSdkVersionInfo Clone() { + return new ClientSdkVersionInfo(this); + } + + /// Field number for the "sdk_name" field. + public const int SdkNameFieldNumber = 1; + private readonly static string SdkNameDefaultValue = ""; + + private string sdkName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SdkName { + get { return sdkName_ ?? SdkNameDefaultValue; } + set { + sdkName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "sdk_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSdkName { + get { return sdkName_ != null; } + } + /// Clears the value of the "sdk_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSdkName() { + sdkName_ = null; + } + + /// Field number for the "sdk_version" field. + public const int SdkVersionFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion sdkVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion SdkVersion { + get { return sdkVersion_; } + set { + sdkVersion_ = value; + } + } + + /// Field number for the "protocol_version" field. + public const int ProtocolVersionFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion protocolVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion ProtocolVersion { + get { return protocolVersion_; } + set { + protocolVersion_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClientSdkVersionInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClientSdkVersionInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SdkName != other.SdkName) return false; + if (!object.Equals(SdkVersion, other.SdkVersion)) return false; + if (!object.Equals(ProtocolVersion, other.ProtocolVersion)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSdkName) hash ^= SdkName.GetHashCode(); + if (sdkVersion_ != null) hash ^= SdkVersion.GetHashCode(); + if (protocolVersion_ != null) hash ^= ProtocolVersion.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSdkName) { + output.WriteRawTag(10); + output.WriteString(SdkName); + } + if (sdkVersion_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SdkVersion); + } + if (protocolVersion_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ProtocolVersion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSdkName) { + output.WriteRawTag(10); + output.WriteString(SdkName); + } + if (sdkVersion_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SdkVersion); + } + if (protocolVersion_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ProtocolVersion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSdkName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SdkName); + } + if (sdkVersion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SdkVersion); + } + if (protocolVersion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtocolVersion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClientSdkVersionInfo other) { + if (other == null) { + return; + } + if (other.HasSdkName) { + SdkName = other.SdkName; + } + if (other.sdkVersion_ != null) { + if (sdkVersion_ == null) { + SdkVersion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion(); + } + SdkVersion.MergeFrom(other.SdkVersion); + } + if (other.protocolVersion_ != null) { + if (protocolVersion_ == null) { + ProtocolVersion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion(); + } + ProtocolVersion.MergeFrom(other.ProtocolVersion); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + SdkName = input.ReadString(); + break; + } + case 18: { + if (sdkVersion_ == null) { + SdkVersion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion(); + } + input.ReadMessage(SdkVersion); + break; + } + case 26: { + if (protocolVersion_ == null) { + ProtocolVersion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion(); + } + input.ReadMessage(ProtocolVersion); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SdkName = input.ReadString(); + break; + } + case 18: { + if (sdkVersion_ == null) { + SdkVersion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion(); + } + input.ReadMessage(SdkVersion); + break; + } + case 26: { + if (protocolVersion_ == null) { + ProtocolVersion = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion(); + } + input.ReadMessage(ProtocolVersion); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConnectRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectRequest(ConnectRequest other) : this() { + _hasBits0 = other._hasBits0; + clientId_ = other.clientId_ != null ? other.clientId_.Clone() : null; + bindRequest_ = other.bindRequest_ != null ? other.bindRequest_.Clone() : null; + useBindlessRpc_ = other.useBindlessRpc_; + meteringLevel_ = other.meteringLevel_; + clientSdkInfo_ = other.clientSdkInfo_ != null ? other.clientSdkInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectRequest Clone() { + return new ConnectRequest(this); + } + + /// Field number for the "client_id" field. + public const int ClientIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId clientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId ClientId { + get { return clientId_; } + set { + clientId_ = value; + } + } + + /// Field number for the "bind_request" field. + public const int BindRequestFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest bindRequest_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest BindRequest { + get { return bindRequest_; } + set { + bindRequest_ = value; + } + } + + /// Field number for the "use_bindless_rpc" field. + public const int UseBindlessRpcFieldNumber = 3; + private readonly static bool UseBindlessRpcDefaultValue = true; + + private bool useBindlessRpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool UseBindlessRpc { + get { if ((_hasBits0 & 1) != 0) { return useBindlessRpc_; } else { return UseBindlessRpcDefaultValue; } } + set { + _hasBits0 |= 1; + useBindlessRpc_ = value; + } + } + /// Gets whether the "use_bindless_rpc" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUseBindlessRpc { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "use_bindless_rpc" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUseBindlessRpc() { + _hasBits0 &= ~1; + } + + /// Field number for the "metering_level" field. + public const int MeteringLevelFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel MeteringLevelDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel.Legacy; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel meteringLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel MeteringLevel { + get { if ((_hasBits0 & 2) != 0) { return meteringLevel_; } else { return MeteringLevelDefaultValue; } } + set { + _hasBits0 |= 2; + meteringLevel_ = value; + } + } + /// Gets whether the "metering_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMeteringLevel { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "metering_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMeteringLevel() { + _hasBits0 &= ~2; + } + + /// Field number for the "client_sdk_info" field. + public const int ClientSdkInfoFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo clientSdkInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo ClientSdkInfo { + get { return clientSdkInfo_; } + set { + clientSdkInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConnectRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ClientId, other.ClientId)) return false; + if (!object.Equals(BindRequest, other.BindRequest)) return false; + if (UseBindlessRpc != other.UseBindlessRpc) return false; + if (MeteringLevel != other.MeteringLevel) return false; + if (!object.Equals(ClientSdkInfo, other.ClientSdkInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (clientId_ != null) hash ^= ClientId.GetHashCode(); + if (bindRequest_ != null) hash ^= BindRequest.GetHashCode(); + if (HasUseBindlessRpc) hash ^= UseBindlessRpc.GetHashCode(); + if (HasMeteringLevel) hash ^= MeteringLevel.GetHashCode(); + if (clientSdkInfo_ != null) hash ^= ClientSdkInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (clientId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClientId); + } + if (bindRequest_ != null) { + output.WriteRawTag(18); + output.WriteMessage(BindRequest); + } + if (HasUseBindlessRpc) { + output.WriteRawTag(24); + output.WriteBool(UseBindlessRpc); + } + if (HasMeteringLevel) { + output.WriteRawTag(32); + output.WriteEnum((int) MeteringLevel); + } + if (clientSdkInfo_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ClientSdkInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (clientId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ClientId); + } + if (bindRequest_ != null) { + output.WriteRawTag(18); + output.WriteMessage(BindRequest); + } + if (HasUseBindlessRpc) { + output.WriteRawTag(24); + output.WriteBool(UseBindlessRpc); + } + if (HasMeteringLevel) { + output.WriteRawTag(32); + output.WriteEnum((int) MeteringLevel); + } + if (clientSdkInfo_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ClientSdkInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (clientId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientId); + } + if (bindRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BindRequest); + } + if (HasUseBindlessRpc) { + size += 1 + 1; + } + if (HasMeteringLevel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MeteringLevel); + } + if (clientSdkInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientSdkInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectRequest other) { + if (other == null) { + return; + } + if (other.clientId_ != null) { + if (clientId_ == null) { + ClientId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + ClientId.MergeFrom(other.ClientId); + } + if (other.bindRequest_ != null) { + if (bindRequest_ == null) { + BindRequest = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest(); + } + BindRequest.MergeFrom(other.BindRequest); + } + if (other.HasUseBindlessRpc) { + UseBindlessRpc = other.UseBindlessRpc; + } + if (other.HasMeteringLevel) { + MeteringLevel = other.MeteringLevel; + } + if (other.clientSdkInfo_ != null) { + if (clientSdkInfo_ == null) { + ClientSdkInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo(); + } + ClientSdkInfo.MergeFrom(other.ClientSdkInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (clientId_ == null) { + ClientId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(ClientId); + break; + } + case 18: { + if (bindRequest_ == null) { + BindRequest = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest(); + } + input.ReadMessage(BindRequest); + break; + } + case 24: { + UseBindlessRpc = input.ReadBool(); + break; + } + case 32: { + MeteringLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel) input.ReadEnum(); + break; + } + case 42: { + if (clientSdkInfo_ == null) { + ClientSdkInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo(); + } + input.ReadMessage(ClientSdkInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (clientId_ == null) { + ClientId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(ClientId); + break; + } + case 18: { + if (bindRequest_ == null) { + BindRequest = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindRequest(); + } + input.ReadMessage(BindRequest); + break; + } + case 24: { + UseBindlessRpc = input.ReadBool(); + break; + } + case 32: { + MeteringLevel = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.MeteringLevel) input.ReadEnum(); + break; + } + case 42: { + if (clientSdkInfo_ == null) { + ClientSdkInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ClientSdkVersionInfo(); + } + input.ReadMessage(ClientSdkInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConnectionMeteringContentHandles : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionMeteringContentHandles()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionMeteringContentHandles() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionMeteringContentHandles(ConnectionMeteringContentHandles other) : this() { + contentHandle_ = other.contentHandle_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionMeteringContentHandles Clone() { + return new ConnectionMeteringContentHandles(this); + } + + /// Field number for the "content_handle" field. + public const int ContentHandleFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_contentHandle_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle.Parser); + private readonly pbc::RepeatedField contentHandle_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ContentHandle { + get { return contentHandle_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConnectionMeteringContentHandles); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectionMeteringContentHandles other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!contentHandle_.Equals(other.contentHandle_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= contentHandle_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + contentHandle_.WriteTo(output, _repeated_contentHandle_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + contentHandle_.WriteTo(ref output, _repeated_contentHandle_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += contentHandle_.CalculateSize(_repeated_contentHandle_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectionMeteringContentHandles other) { + if (other == null) { + return; + } + contentHandle_.Add(other.contentHandle_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + contentHandle_.AddEntriesFrom(input, _repeated_contentHandle_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + contentHandle_.AddEntriesFrom(ref input, _repeated_contentHandle_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConnectResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectResponse(ConnectResponse other) : this() { + _hasBits0 = other._hasBits0; + serverId_ = other.serverId_ != null ? other.serverId_.Clone() : null; + clientId_ = other.clientId_ != null ? other.clientId_.Clone() : null; + bindResult_ = other.bindResult_; + bindResponse_ = other.bindResponse_ != null ? other.bindResponse_.Clone() : null; + contentHandleArray_ = other.contentHandleArray_ != null ? other.contentHandleArray_.Clone() : null; + serverTime_ = other.serverTime_; + useBindlessRpc_ = other.useBindlessRpc_; + binaryContentHandleArray_ = other.binaryContentHandleArray_ != null ? other.binaryContentHandleArray_.Clone() : null; + ciid_ = other.ciid_; + connectedRegion_ = other.connectedRegion_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectResponse Clone() { + return new ConnectResponse(this); + } + + /// Field number for the "server_id" field. + public const int ServerIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId serverId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId ServerId { + get { return serverId_; } + set { + serverId_ = value; + } + } + + /// Field number for the "client_id" field. + public const int ClientIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId clientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId ClientId { + get { return clientId_; } + set { + clientId_ = value; + } + } + + /// Field number for the "bind_result" field. + public const int BindResultFieldNumber = 3; + private readonly static uint BindResultDefaultValue = 0; + + private uint bindResult_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BindResult { + get { if ((_hasBits0 & 1) != 0) { return bindResult_; } else { return BindResultDefaultValue; } } + set { + _hasBits0 |= 1; + bindResult_ = value; + } + } + /// Gets whether the "bind_result" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBindResult { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "bind_result" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBindResult() { + _hasBits0 &= ~1; + } + + /// Field number for the "bind_response" field. + public const int BindResponseFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse bindResponse_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse BindResponse { + get { return bindResponse_; } + set { + bindResponse_ = value; + } + } + + /// Field number for the "content_handle_array" field. + public const int ContentHandleArrayFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles contentHandleArray_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles ContentHandleArray { + get { return contentHandleArray_; } + set { + contentHandleArray_ = value; + } + } + + /// Field number for the "server_time" field. + public const int ServerTimeFieldNumber = 6; + private readonly static ulong ServerTimeDefaultValue = 0UL; + + private ulong serverTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ServerTime { + get { if ((_hasBits0 & 2) != 0) { return serverTime_; } else { return ServerTimeDefaultValue; } } + set { + _hasBits0 |= 2; + serverTime_ = value; + } + } + /// Gets whether the "server_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasServerTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "server_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearServerTime() { + _hasBits0 &= ~2; + } + + /// Field number for the "use_bindless_rpc" field. + public const int UseBindlessRpcFieldNumber = 7; + private readonly static bool UseBindlessRpcDefaultValue = false; + + private bool useBindlessRpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool UseBindlessRpc { + get { if ((_hasBits0 & 4) != 0) { return useBindlessRpc_; } else { return UseBindlessRpcDefaultValue; } } + set { + _hasBits0 |= 4; + useBindlessRpc_ = value; + } + } + /// Gets whether the "use_bindless_rpc" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUseBindlessRpc { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "use_bindless_rpc" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUseBindlessRpc() { + _hasBits0 &= ~4; + } + + /// Field number for the "binary_content_handle_array" field. + public const int BinaryContentHandleArrayFieldNumber = 8; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles binaryContentHandleArray_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles BinaryContentHandleArray { + get { return binaryContentHandleArray_; } + set { + binaryContentHandleArray_ = value; + } + } + + /// Field number for the "ciid" field. + public const int CiidFieldNumber = 9; + private readonly static string CiidDefaultValue = ""; + + private string ciid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ciid { + get { return ciid_ ?? CiidDefaultValue; } + set { + ciid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "ciid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCiid { + get { return ciid_ != null; } + } + /// Clears the value of the "ciid" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCiid() { + ciid_ = null; + } + + /// Field number for the "connected_region" field. + public const int ConnectedRegionFieldNumber = 10; + private readonly static uint ConnectedRegionDefaultValue = 0; + + private uint connectedRegion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ConnectedRegion { + get { if ((_hasBits0 & 8) != 0) { return connectedRegion_; } else { return ConnectedRegionDefaultValue; } } + set { + _hasBits0 |= 8; + connectedRegion_ = value; + } + } + /// Gets whether the "connected_region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasConnectedRegion { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "connected_region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearConnectedRegion() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConnectResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ServerId, other.ServerId)) return false; + if (!object.Equals(ClientId, other.ClientId)) return false; + if (BindResult != other.BindResult) return false; + if (!object.Equals(BindResponse, other.BindResponse)) return false; + if (!object.Equals(ContentHandleArray, other.ContentHandleArray)) return false; + if (ServerTime != other.ServerTime) return false; + if (UseBindlessRpc != other.UseBindlessRpc) return false; + if (!object.Equals(BinaryContentHandleArray, other.BinaryContentHandleArray)) return false; + if (Ciid != other.Ciid) return false; + if (ConnectedRegion != other.ConnectedRegion) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (serverId_ != null) hash ^= ServerId.GetHashCode(); + if (clientId_ != null) hash ^= ClientId.GetHashCode(); + if (HasBindResult) hash ^= BindResult.GetHashCode(); + if (bindResponse_ != null) hash ^= BindResponse.GetHashCode(); + if (contentHandleArray_ != null) hash ^= ContentHandleArray.GetHashCode(); + if (HasServerTime) hash ^= ServerTime.GetHashCode(); + if (HasUseBindlessRpc) hash ^= UseBindlessRpc.GetHashCode(); + if (binaryContentHandleArray_ != null) hash ^= BinaryContentHandleArray.GetHashCode(); + if (HasCiid) hash ^= Ciid.GetHashCode(); + if (HasConnectedRegion) hash ^= ConnectedRegion.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (serverId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ServerId); + } + if (clientId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClientId); + } + if (HasBindResult) { + output.WriteRawTag(24); + output.WriteUInt32(BindResult); + } + if (bindResponse_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BindResponse); + } + if (contentHandleArray_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ContentHandleArray); + } + if (HasServerTime) { + output.WriteRawTag(48); + output.WriteUInt64(ServerTime); + } + if (HasUseBindlessRpc) { + output.WriteRawTag(56); + output.WriteBool(UseBindlessRpc); + } + if (binaryContentHandleArray_ != null) { + output.WriteRawTag(66); + output.WriteMessage(BinaryContentHandleArray); + } + if (HasCiid) { + output.WriteRawTag(74); + output.WriteString(Ciid); + } + if (HasConnectedRegion) { + output.WriteRawTag(80); + output.WriteUInt32(ConnectedRegion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (serverId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ServerId); + } + if (clientId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClientId); + } + if (HasBindResult) { + output.WriteRawTag(24); + output.WriteUInt32(BindResult); + } + if (bindResponse_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BindResponse); + } + if (contentHandleArray_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ContentHandleArray); + } + if (HasServerTime) { + output.WriteRawTag(48); + output.WriteUInt64(ServerTime); + } + if (HasUseBindlessRpc) { + output.WriteRawTag(56); + output.WriteBool(UseBindlessRpc); + } + if (binaryContentHandleArray_ != null) { + output.WriteRawTag(66); + output.WriteMessage(BinaryContentHandleArray); + } + if (HasCiid) { + output.WriteRawTag(74); + output.WriteString(Ciid); + } + if (HasConnectedRegion) { + output.WriteRawTag(80); + output.WriteUInt32(ConnectedRegion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (serverId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ServerId); + } + if (clientId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientId); + } + if (HasBindResult) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BindResult); + } + if (bindResponse_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BindResponse); + } + if (contentHandleArray_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ContentHandleArray); + } + if (HasServerTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ServerTime); + } + if (HasUseBindlessRpc) { + size += 1 + 1; + } + if (binaryContentHandleArray_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BinaryContentHandleArray); + } + if (HasCiid) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Ciid); + } + if (HasConnectedRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ConnectedRegion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectResponse other) { + if (other == null) { + return; + } + if (other.serverId_ != null) { + if (serverId_ == null) { + ServerId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + ServerId.MergeFrom(other.ServerId); + } + if (other.clientId_ != null) { + if (clientId_ == null) { + ClientId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + ClientId.MergeFrom(other.ClientId); + } + if (other.HasBindResult) { + BindResult = other.BindResult; + } + if (other.bindResponse_ != null) { + if (bindResponse_ == null) { + BindResponse = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse(); + } + BindResponse.MergeFrom(other.BindResponse); + } + if (other.contentHandleArray_ != null) { + if (contentHandleArray_ == null) { + ContentHandleArray = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles(); + } + ContentHandleArray.MergeFrom(other.ContentHandleArray); + } + if (other.HasServerTime) { + ServerTime = other.ServerTime; + } + if (other.HasUseBindlessRpc) { + UseBindlessRpc = other.UseBindlessRpc; + } + if (other.binaryContentHandleArray_ != null) { + if (binaryContentHandleArray_ == null) { + BinaryContentHandleArray = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles(); + } + BinaryContentHandleArray.MergeFrom(other.BinaryContentHandleArray); + } + if (other.HasCiid) { + Ciid = other.Ciid; + } + if (other.HasConnectedRegion) { + ConnectedRegion = other.ConnectedRegion; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (serverId_ == null) { + ServerId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(ServerId); + break; + } + case 18: { + if (clientId_ == null) { + ClientId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(ClientId); + break; + } + case 24: { + BindResult = input.ReadUInt32(); + break; + } + case 34: { + if (bindResponse_ == null) { + BindResponse = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse(); + } + input.ReadMessage(BindResponse); + break; + } + case 42: { + if (contentHandleArray_ == null) { + ContentHandleArray = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles(); + } + input.ReadMessage(ContentHandleArray); + break; + } + case 48: { + ServerTime = input.ReadUInt64(); + break; + } + case 56: { + UseBindlessRpc = input.ReadBool(); + break; + } + case 66: { + if (binaryContentHandleArray_ == null) { + BinaryContentHandleArray = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles(); + } + input.ReadMessage(BinaryContentHandleArray); + break; + } + case 74: { + Ciid = input.ReadString(); + break; + } + case 80: { + ConnectedRegion = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (serverId_ == null) { + ServerId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(ServerId); + break; + } + case 18: { + if (clientId_ == null) { + ClientId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(ClientId); + break; + } + case 24: { + BindResult = input.ReadUInt32(); + break; + } + case 34: { + if (bindResponse_ == null) { + BindResponse = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BindResponse(); + } + input.ReadMessage(BindResponse); + break; + } + case 42: { + if (contentHandleArray_ == null) { + ContentHandleArray = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles(); + } + input.ReadMessage(ContentHandleArray); + break; + } + case 48: { + ServerTime = input.ReadUInt64(); + break; + } + case 56: { + UseBindlessRpc = input.ReadBool(); + break; + } + case 66: { + if (binaryContentHandleArray_ == null) { + BinaryContentHandleArray = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionMeteringContentHandles(); + } + input.ReadMessage(BinaryContentHandleArray); + break; + } + case 74: { + Ciid = input.ReadString(); + break; + } + case 80: { + ConnectedRegion = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BoundService : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BoundService()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoundService() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoundService(BoundService other) : this() { + _hasBits0 = other._hasBits0; + hash_ = other.hash_; + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoundService Clone() { + return new BoundService(this); + } + + /// Field number for the "hash" field. + public const int HashFieldNumber = 1; + private readonly static uint HashDefaultValue = 0; + + private uint hash_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Hash { + get { if ((_hasBits0 & 1) != 0) { return hash_; } else { return HashDefaultValue; } } + set { + _hasBits0 |= 1; + hash_ = value; + } + } + /// Gets whether the "hash" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHash { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "hash" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHash() { + _hasBits0 &= ~1; + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 2; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 2; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BoundService); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BoundService other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Hash != other.Hash) return false; + if (Id != other.Id) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasHash) hash ^= Hash.GetHashCode(); + if (HasId) hash ^= Id.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasHash) { + output.WriteRawTag(13); + output.WriteFixed32(Hash); + } + if (HasId) { + output.WriteRawTag(16); + output.WriteUInt32(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasHash) { + output.WriteRawTag(13); + output.WriteFixed32(Hash); + } + if (HasId) { + output.WriteRawTag(16); + output.WriteUInt32(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasHash) { + size += 1 + 4; + } + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BoundService other) { + if (other == null) { + return; + } + if (other.HasHash) { + Hash = other.Hash; + } + if (other.HasId) { + Id = other.Id; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Hash = input.ReadFixed32(); + break; + } + case 16: { + Id = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Hash = input.ReadFixed32(); + break; + } + case 16: { + Id = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BindRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BindRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BindRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BindRequest(BindRequest other) : this() { + deprecatedImportedServiceHash_ = other.deprecatedImportedServiceHash_.Clone(); + deprecatedExportedService_ = other.deprecatedExportedService_.Clone(); + exportedService_ = other.exportedService_.Clone(); + importedService_ = other.importedService_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BindRequest Clone() { + return new BindRequest(this); + } + + /// Field number for the "deprecated_imported_service_hash" field. + public const int DeprecatedImportedServiceHashFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_deprecatedImportedServiceHash_codec + = pb::FieldCodec.ForFixed32(10); + private readonly pbc::RepeatedField deprecatedImportedServiceHash_ = new pbc::RepeatedField(); + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DeprecatedImportedServiceHash { + get { return deprecatedImportedServiceHash_; } + } + + /// Field number for the "deprecated_exported_service" field. + public const int DeprecatedExportedServiceFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_deprecatedExportedService_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BoundService.Parser); + private readonly pbc::RepeatedField deprecatedExportedService_ = new pbc::RepeatedField(); + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DeprecatedExportedService { + get { return deprecatedExportedService_; } + } + + /// Field number for the "exported_service" field. + public const int ExportedServiceFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_exportedService_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BoundService.Parser); + private readonly pbc::RepeatedField exportedService_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExportedService { + get { return exportedService_; } + } + + /// Field number for the "imported_service" field. + public const int ImportedServiceFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_importedService_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.BoundService.Parser); + private readonly pbc::RepeatedField importedService_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ImportedService { + get { return importedService_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BindRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BindRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!deprecatedImportedServiceHash_.Equals(other.deprecatedImportedServiceHash_)) return false; + if(!deprecatedExportedService_.Equals(other.deprecatedExportedService_)) return false; + if(!exportedService_.Equals(other.exportedService_)) return false; + if(!importedService_.Equals(other.importedService_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= deprecatedImportedServiceHash_.GetHashCode(); + hash ^= deprecatedExportedService_.GetHashCode(); + hash ^= exportedService_.GetHashCode(); + hash ^= importedService_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + deprecatedImportedServiceHash_.WriteTo(output, _repeated_deprecatedImportedServiceHash_codec); + deprecatedExportedService_.WriteTo(output, _repeated_deprecatedExportedService_codec); + exportedService_.WriteTo(output, _repeated_exportedService_codec); + importedService_.WriteTo(output, _repeated_importedService_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + deprecatedImportedServiceHash_.WriteTo(ref output, _repeated_deprecatedImportedServiceHash_codec); + deprecatedExportedService_.WriteTo(ref output, _repeated_deprecatedExportedService_codec); + exportedService_.WriteTo(ref output, _repeated_exportedService_codec); + importedService_.WriteTo(ref output, _repeated_importedService_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += deprecatedImportedServiceHash_.CalculateSize(_repeated_deprecatedImportedServiceHash_codec); + size += deprecatedExportedService_.CalculateSize(_repeated_deprecatedExportedService_codec); + size += exportedService_.CalculateSize(_repeated_exportedService_codec); + size += importedService_.CalculateSize(_repeated_importedService_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BindRequest other) { + if (other == null) { + return; + } + deprecatedImportedServiceHash_.Add(other.deprecatedImportedServiceHash_); + deprecatedExportedService_.Add(other.deprecatedExportedService_); + exportedService_.Add(other.exportedService_); + importedService_.Add(other.importedService_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 13: { + deprecatedImportedServiceHash_.AddEntriesFrom(input, _repeated_deprecatedImportedServiceHash_codec); + break; + } + case 18: { + deprecatedExportedService_.AddEntriesFrom(input, _repeated_deprecatedExportedService_codec); + break; + } + case 26: { + exportedService_.AddEntriesFrom(input, _repeated_exportedService_codec); + break; + } + case 34: { + importedService_.AddEntriesFrom(input, _repeated_importedService_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 13: { + deprecatedImportedServiceHash_.AddEntriesFrom(ref input, _repeated_deprecatedImportedServiceHash_codec); + break; + } + case 18: { + deprecatedExportedService_.AddEntriesFrom(ref input, _repeated_deprecatedExportedService_codec); + break; + } + case 26: { + exportedService_.AddEntriesFrom(ref input, _repeated_exportedService_codec); + break; + } + case 34: { + importedService_.AddEntriesFrom(ref input, _repeated_importedService_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BindResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BindResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BindResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BindResponse(BindResponse other) : this() { + importedServiceId_ = other.importedServiceId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BindResponse Clone() { + return new BindResponse(this); + } + + /// Field number for the "imported_service_id" field. + public const int ImportedServiceIdFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_importedServiceId_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField importedServiceId_ = new pbc::RepeatedField(); + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ImportedServiceId { + get { return importedServiceId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BindResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BindResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!importedServiceId_.Equals(other.importedServiceId_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= importedServiceId_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + importedServiceId_.WriteTo(output, _repeated_importedServiceId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + importedServiceId_.WriteTo(ref output, _repeated_importedServiceId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += importedServiceId_.CalculateSize(_repeated_importedServiceId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BindResponse other) { + if (other == null) { + return; + } + importedServiceId_.Add(other.importedServiceId_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + importedServiceId_.AddEntriesFrom(input, _repeated_importedServiceId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + importedServiceId_.AddEntriesFrom(ref input, _repeated_importedServiceId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EchoRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EchoRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EchoRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EchoRequest(EchoRequest other) : this() { + _hasBits0 = other._hasBits0; + time_ = other.time_; + networkOnly_ = other.networkOnly_; + payload_ = other.payload_; + forward_ = other.forward_ != null ? other.forward_.Clone() : null; + forwardClientId_ = other.forwardClientId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EchoRequest Clone() { + return new EchoRequest(this); + } + + /// Field number for the "time" field. + public const int TimeFieldNumber = 1; + private readonly static ulong TimeDefaultValue = 0UL; + + private ulong time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Time { + get { if ((_hasBits0 & 1) != 0) { return time_; } else { return TimeDefaultValue; } } + set { + _hasBits0 |= 1; + time_ = value; + } + } + /// Gets whether the "time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTime() { + _hasBits0 &= ~1; + } + + /// Field number for the "network_only" field. + public const int NetworkOnlyFieldNumber = 2; + private readonly static bool NetworkOnlyDefaultValue = false; + + private bool networkOnly_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NetworkOnly { + get { if ((_hasBits0 & 2) != 0) { return networkOnly_; } else { return NetworkOnlyDefaultValue; } } + set { + _hasBits0 |= 2; + networkOnly_ = value; + } + } + /// Gets whether the "network_only" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNetworkOnly { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "network_only" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNetworkOnly() { + _hasBits0 &= ~2; + } + + /// Field number for the "payload" field. + public const int PayloadFieldNumber = 3; + private readonly static pb::ByteString PayloadDefaultValue = pb::ByteString.Empty; + + private pb::ByteString payload_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Payload { + get { return payload_ ?? PayloadDefaultValue; } + set { + payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "payload" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPayload { + get { return payload_ != null; } + } + /// Clears the value of the "payload" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPayload() { + payload_ = null; + } + + /// Field number for the "forward" field. + public const int ForwardFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId forward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId Forward { + get { return forward_; } + set { + forward_ = value; + } + } + + /// Field number for the "forward_client_id" field. + public const int ForwardClientIdFieldNumber = 5; + private readonly static string ForwardClientIdDefaultValue = ""; + + private string forwardClientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ForwardClientId { + get { return forwardClientId_ ?? ForwardClientIdDefaultValue; } + set { + forwardClientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "forward_client_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasForwardClientId { + get { return forwardClientId_ != null; } + } + /// Clears the value of the "forward_client_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearForwardClientId() { + forwardClientId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EchoRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EchoRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Time != other.Time) return false; + if (NetworkOnly != other.NetworkOnly) return false; + if (Payload != other.Payload) return false; + if (!object.Equals(Forward, other.Forward)) return false; + if (ForwardClientId != other.ForwardClientId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasTime) hash ^= Time.GetHashCode(); + if (HasNetworkOnly) hash ^= NetworkOnly.GetHashCode(); + if (HasPayload) hash ^= Payload.GetHashCode(); + if (forward_ != null) hash ^= Forward.GetHashCode(); + if (HasForwardClientId) hash ^= ForwardClientId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasTime) { + output.WriteRawTag(9); + output.WriteFixed64(Time); + } + if (HasNetworkOnly) { + output.WriteRawTag(16); + output.WriteBool(NetworkOnly); + } + if (HasPayload) { + output.WriteRawTag(26); + output.WriteBytes(Payload); + } + if (forward_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Forward); + } + if (HasForwardClientId) { + output.WriteRawTag(42); + output.WriteString(ForwardClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasTime) { + output.WriteRawTag(9); + output.WriteFixed64(Time); + } + if (HasNetworkOnly) { + output.WriteRawTag(16); + output.WriteBool(NetworkOnly); + } + if (HasPayload) { + output.WriteRawTag(26); + output.WriteBytes(Payload); + } + if (forward_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Forward); + } + if (HasForwardClientId) { + output.WriteRawTag(42); + output.WriteString(ForwardClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasTime) { + size += 1 + 8; + } + if (HasNetworkOnly) { + size += 1 + 1; + } + if (HasPayload) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); + } + if (forward_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Forward); + } + if (HasForwardClientId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ForwardClientId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EchoRequest other) { + if (other == null) { + return; + } + if (other.HasTime) { + Time = other.Time; + } + if (other.HasNetworkOnly) { + NetworkOnly = other.NetworkOnly; + } + if (other.HasPayload) { + Payload = other.Payload; + } + if (other.forward_ != null) { + if (forward_ == null) { + Forward = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + Forward.MergeFrom(other.Forward); + } + if (other.HasForwardClientId) { + ForwardClientId = other.ForwardClientId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Time = input.ReadFixed64(); + break; + } + case 16: { + NetworkOnly = input.ReadBool(); + break; + } + case 26: { + Payload = input.ReadBytes(); + break; + } + case 34: { + if (forward_ == null) { + Forward = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Forward); + break; + } + case 42: { + ForwardClientId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Time = input.ReadFixed64(); + break; + } + case 16: { + NetworkOnly = input.ReadBool(); + break; + } + case 26: { + Payload = input.ReadBytes(); + break; + } + case 34: { + if (forward_ == null) { + Forward = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Forward); + break; + } + case 42: { + ForwardClientId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EchoResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EchoResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EchoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EchoResponse(EchoResponse other) : this() { + _hasBits0 = other._hasBits0; + time_ = other.time_; + payload_ = other.payload_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EchoResponse Clone() { + return new EchoResponse(this); + } + + /// Field number for the "time" field. + public const int TimeFieldNumber = 1; + private readonly static ulong TimeDefaultValue = 0UL; + + private ulong time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Time { + get { if ((_hasBits0 & 1) != 0) { return time_; } else { return TimeDefaultValue; } } + set { + _hasBits0 |= 1; + time_ = value; + } + } + /// Gets whether the "time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTime() { + _hasBits0 &= ~1; + } + + /// Field number for the "payload" field. + public const int PayloadFieldNumber = 2; + private readonly static pb::ByteString PayloadDefaultValue = pb::ByteString.Empty; + + private pb::ByteString payload_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Payload { + get { return payload_ ?? PayloadDefaultValue; } + set { + payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "payload" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPayload { + get { return payload_ != null; } + } + /// Clears the value of the "payload" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPayload() { + payload_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EchoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EchoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Time != other.Time) return false; + if (Payload != other.Payload) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasTime) hash ^= Time.GetHashCode(); + if (HasPayload) hash ^= Payload.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasTime) { + output.WriteRawTag(9); + output.WriteFixed64(Time); + } + if (HasPayload) { + output.WriteRawTag(18); + output.WriteBytes(Payload); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasTime) { + output.WriteRawTag(9); + output.WriteFixed64(Time); + } + if (HasPayload) { + output.WriteRawTag(18); + output.WriteBytes(Payload); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasTime) { + size += 1 + 8; + } + if (HasPayload) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EchoResponse other) { + if (other == null) { + return; + } + if (other.HasTime) { + Time = other.Time; + } + if (other.HasPayload) { + Payload = other.Payload; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Time = input.ReadFixed64(); + break; + } + case 18: { + Payload = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Time = input.ReadFixed64(); + break; + } + case 18: { + Payload = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DisconnectRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DisconnectRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DisconnectRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DisconnectRequest(DisconnectRequest other) : this() { + _hasBits0 = other._hasBits0; + errorCode_ = other.errorCode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DisconnectRequest Clone() { + return new DisconnectRequest(this); + } + + /// Field number for the "error_code" field. + public const int ErrorCodeFieldNumber = 1; + private readonly static uint ErrorCodeDefaultValue = 0; + + private uint errorCode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ErrorCode { + get { if ((_hasBits0 & 1) != 0) { return errorCode_; } else { return ErrorCodeDefaultValue; } } + set { + _hasBits0 |= 1; + errorCode_ = value; + } + } + /// Gets whether the "error_code" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasErrorCode { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "error_code" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearErrorCode() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DisconnectRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DisconnectRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ErrorCode != other.ErrorCode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasErrorCode) hash ^= ErrorCode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasErrorCode) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ErrorCode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DisconnectRequest other) { + if (other == null) { + return; + } + if (other.HasErrorCode) { + ErrorCode = other.ErrorCode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DisconnectNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DisconnectNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DisconnectNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DisconnectNotification(DisconnectNotification other) : this() { + _hasBits0 = other._hasBits0; + errorCode_ = other.errorCode_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DisconnectNotification Clone() { + return new DisconnectNotification(this); + } + + /// Field number for the "error_code" field. + public const int ErrorCodeFieldNumber = 1; + private readonly static uint ErrorCodeDefaultValue = 0; + + private uint errorCode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ErrorCode { + get { if ((_hasBits0 & 1) != 0) { return errorCode_; } else { return ErrorCodeDefaultValue; } } + set { + _hasBits0 |= 1; + errorCode_ = value; + } + } + /// Gets whether the "error_code" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasErrorCode { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "error_code" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearErrorCode() { + _hasBits0 &= ~1; + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 2; + private readonly static string ReasonDefaultValue = ""; + + private string reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Reason { + get { return reason_ ?? ReasonDefaultValue; } + set { + reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return reason_ != null; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + reason_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DisconnectNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DisconnectNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ErrorCode != other.ErrorCode) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasErrorCode) hash ^= ErrorCode.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (HasReason) { + output.WriteRawTag(18); + output.WriteString(Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasErrorCode) { + output.WriteRawTag(8); + output.WriteUInt32(ErrorCode); + } + if (HasReason) { + output.WriteRawTag(18); + output.WriteString(Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasErrorCode) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ErrorCode); + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DisconnectNotification other) { + if (other == null) { + return; + } + if (other.HasErrorCode) { + ErrorCode = other.ErrorCode; + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + case 18: { + Reason = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ErrorCode = input.ReadUInt32(); + break; + } + case 18: { + Reason = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EncryptRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EncryptRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Connection.V1.ConnectionServiceReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EncryptRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EncryptRequest(EncryptRequest other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EncryptRequest Clone() { + return new EncryptRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EncryptRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EncryptRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EncryptRequest other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ContentHandleTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ContentHandleTypes.cs new file mode 100644 index 0000000000..9763210283 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ContentHandleTypes.cs @@ -0,0 +1,663 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/content_handle_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/content_handle_types.proto + public static partial class ContentHandleTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/content_handle_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ContentHandleTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CixiZ3MvbG93L3BiL2NsaWVudC9jb250ZW50X2hhbmRsZV90eXBlcy5wcm90", + "bxIMYmdzLnByb3RvY29sIk8KDUNvbnRlbnRIYW5kbGUSDgoGcmVnaW9uGAEg", + "AigHEg0KBXVzYWdlGAIgAigHEgwKBGhhc2gYAyACKAwSEQoJcHJvdG9fdXJs", + "GAQgASgJIl8KFlRpdGxlSWNvbkNvbnRlbnRIYW5kbGUSEAoIdGl0bGVfaWQY", + "ASABKA0SMwoOY29udGVudF9oYW5kbGUYAiABKAsyGy5iZ3MucHJvdG9jb2wu", + "Q29udGVudEhhbmRsZUIkCgxiZ3MucHJvdG9jb2xCEkNvbnRlbnRIYW5kbGVQ", + "cm90b0gB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle.Parser, new[]{ "Region", "Usage", "Hash", "ProtoUrl" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TitleIconContentHandle), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TitleIconContentHandle.Parser, new[]{ "TitleId", "ContentHandle" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ContentHandle : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ContentHandle()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandleTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentHandle() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentHandle(ContentHandle other) : this() { + _hasBits0 = other._hasBits0; + region_ = other.region_; + usage_ = other.usage_; + hash_ = other.hash_; + protoUrl_ = other.protoUrl_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentHandle Clone() { + return new ContentHandle(this); + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 1; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 1) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 1; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~1; + } + + /// Field number for the "usage" field. + public const int UsageFieldNumber = 2; + private readonly static uint UsageDefaultValue = 0; + + private uint usage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Usage { + get { if ((_hasBits0 & 2) != 0) { return usage_; } else { return UsageDefaultValue; } } + set { + _hasBits0 |= 2; + usage_ = value; + } + } + /// Gets whether the "usage" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUsage { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "usage" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUsage() { + _hasBits0 &= ~2; + } + + /// Field number for the "hash" field. + public const int HashFieldNumber = 3; + private readonly static pb::ByteString HashDefaultValue = pb::ByteString.Empty; + + private pb::ByteString hash_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Hash { + get { return hash_ ?? HashDefaultValue; } + set { + hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "hash" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHash { + get { return hash_ != null; } + } + /// Clears the value of the "hash" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHash() { + hash_ = null; + } + + /// Field number for the "proto_url" field. + public const int ProtoUrlFieldNumber = 4; + private readonly static string ProtoUrlDefaultValue = ""; + + private string protoUrl_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProtoUrl { + get { return protoUrl_ ?? ProtoUrlDefaultValue; } + set { + protoUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "proto_url" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProtoUrl { + get { return protoUrl_ != null; } + } + /// Clears the value of the "proto_url" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProtoUrl() { + protoUrl_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ContentHandle); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ContentHandle other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Region != other.Region) return false; + if (Usage != other.Usage) return false; + if (Hash != other.Hash) return false; + if (ProtoUrl != other.ProtoUrl) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRegion) hash ^= Region.GetHashCode(); + if (HasUsage) hash ^= Usage.GetHashCode(); + if (HasHash) hash ^= Hash.GetHashCode(); + if (HasProtoUrl) hash ^= ProtoUrl.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRegion) { + output.WriteRawTag(13); + output.WriteFixed32(Region); + } + if (HasUsage) { + output.WriteRawTag(21); + output.WriteFixed32(Usage); + } + if (HasHash) { + output.WriteRawTag(26); + output.WriteBytes(Hash); + } + if (HasProtoUrl) { + output.WriteRawTag(34); + output.WriteString(ProtoUrl); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRegion) { + output.WriteRawTag(13); + output.WriteFixed32(Region); + } + if (HasUsage) { + output.WriteRawTag(21); + output.WriteFixed32(Usage); + } + if (HasHash) { + output.WriteRawTag(26); + output.WriteBytes(Hash); + } + if (HasProtoUrl) { + output.WriteRawTag(34); + output.WriteString(ProtoUrl); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRegion) { + size += 1 + 4; + } + if (HasUsage) { + size += 1 + 4; + } + if (HasHash) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Hash); + } + if (HasProtoUrl) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProtoUrl); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ContentHandle other) { + if (other == null) { + return; + } + if (other.HasRegion) { + Region = other.Region; + } + if (other.HasUsage) { + Usage = other.Usage; + } + if (other.HasHash) { + Hash = other.Hash; + } + if (other.HasProtoUrl) { + ProtoUrl = other.ProtoUrl; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Region = input.ReadFixed32(); + break; + } + case 21: { + Usage = input.ReadFixed32(); + break; + } + case 26: { + Hash = input.ReadBytes(); + break; + } + case 34: { + ProtoUrl = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Region = input.ReadFixed32(); + break; + } + case 21: { + Usage = input.ReadFixed32(); + break; + } + case 26: { + Hash = input.ReadBytes(); + break; + } + case 34: { + ProtoUrl = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TitleIconContentHandle : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TitleIconContentHandle()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandleTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TitleIconContentHandle() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TitleIconContentHandle(TitleIconContentHandle other) : this() { + _hasBits0 = other._hasBits0; + titleId_ = other.titleId_; + contentHandle_ = other.contentHandle_ != null ? other.contentHandle_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TitleIconContentHandle Clone() { + return new TitleIconContentHandle(this); + } + + /// Field number for the "title_id" field. + public const int TitleIdFieldNumber = 1; + private readonly static uint TitleIdDefaultValue = 0; + + private uint titleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleId { + get { if ((_hasBits0 & 1) != 0) { return titleId_; } else { return TitleIdDefaultValue; } } + set { + _hasBits0 |= 1; + titleId_ = value; + } + } + /// Gets whether the "title_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTitleId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "title_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTitleId() { + _hasBits0 &= ~1; + } + + /// Field number for the "content_handle" field. + public const int ContentHandleFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle contentHandle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle ContentHandle { + get { return contentHandle_; } + set { + contentHandle_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TitleIconContentHandle); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TitleIconContentHandle other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TitleId != other.TitleId) return false; + if (!object.Equals(ContentHandle, other.ContentHandle)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasTitleId) hash ^= TitleId.GetHashCode(); + if (contentHandle_ != null) hash ^= ContentHandle.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasTitleId) { + output.WriteRawTag(8); + output.WriteUInt32(TitleId); + } + if (contentHandle_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ContentHandle); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasTitleId) { + output.WriteRawTag(8); + output.WriteUInt32(TitleId); + } + if (contentHandle_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ContentHandle); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasTitleId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleId); + } + if (contentHandle_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ContentHandle); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TitleIconContentHandle other) { + if (other == null) { + return; + } + if (other.HasTitleId) { + TitleId = other.TitleId; + } + if (other.contentHandle_ != null) { + if (contentHandle_ == null) { + ContentHandle = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle(); + } + ContentHandle.MergeFrom(other.ContentHandle); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + TitleId = input.ReadUInt32(); + break; + } + case 18: { + if (contentHandle_ == null) { + ContentHandle = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle(); + } + input.ReadMessage(ContentHandle); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + TitleId = input.ReadUInt32(); + break; + } + case 18: { + if (contentHandle_ == null) { + ContentHandle = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandle(); + } + input.ReadMessage(ContentHandle); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EmbedTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EmbedTypes.cs new file mode 100644 index 0000000000..81ee6cddbe --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EmbedTypes.cs @@ -0,0 +1,1373 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/embed_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/embed_types.proto + public static partial class EmbedTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/embed_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EmbedTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNiZ3MvbG93L3BiL2NsaWVudC9lbWJlZF90eXBlcy5wcm90bxIMYmdzLnBy", + "b3RvY29sIjgKCkVtYmVkSW1hZ2USCwoDdXJsGAEgASgJEg0KBXdpZHRoGAIg", + "ASgNEg4KBmhlaWdodBgDIAEoDSIYCghQcm92aWRlchIMCgRuYW1lGAEgASgJ", + "IjsKCUVtYmVkSFRNTBIPCgdjb250ZW50GAEgASgJEg0KBXdpZHRoGAIgASgN", + "Eg4KBmhlaWdodBgDIAEoDSLRAQoJRW1iZWRJbmZvEg0KBXRpdGxlGAEgASgJ", + "EgwKBHR5cGUYAiABKAkSFAoMb3JpZ2luYWxfdXJsGAMgASgJEisKCXRodW1i", + "bmFpbBgEIAEoCzIYLmJncy5wcm90b2NvbC5FbWJlZEltYWdlEigKCHByb3Zp", + "ZGVyGAUgASgLMhYuYmdzLnByb3RvY29sLlByb3ZpZGVyEhMKC2Rlc2NyaXB0", + "aW9uGAYgASgJEiUKBGh0bWwYCCABKAsyFy5iZ3MucHJvdG9jb2wuRW1iZWRI", + "VE1MQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage.Parser, new[]{ "Url", "Width", "Height" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML.Parser, new[]{ "Content", "Width", "Height" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedInfo.Parser, new[]{ "Title", "Type", "OriginalUrl", "Thumbnail", "Provider", "Description", "Html" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EmbedImage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmbedImage()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedImage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedImage(EmbedImage other) : this() { + _hasBits0 = other._hasBits0; + url_ = other.url_; + width_ = other.width_; + height_ = other.height_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedImage Clone() { + return new EmbedImage(this); + } + + /// Field number for the "url" field. + public const int UrlFieldNumber = 1; + private readonly static string UrlDefaultValue = ""; + + private string url_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Url { + get { return url_ ?? UrlDefaultValue; } + set { + url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "url" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUrl { + get { return url_ != null; } + } + /// Clears the value of the "url" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUrl() { + url_ = null; + } + + /// Field number for the "width" field. + public const int WidthFieldNumber = 2; + private readonly static uint WidthDefaultValue = 0; + + private uint width_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Width { + get { if ((_hasBits0 & 1) != 0) { return width_; } else { return WidthDefaultValue; } } + set { + _hasBits0 |= 1; + width_ = value; + } + } + /// Gets whether the "width" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWidth { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "width" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWidth() { + _hasBits0 &= ~1; + } + + /// Field number for the "height" field. + public const int HeightFieldNumber = 3; + private readonly static uint HeightDefaultValue = 0; + + private uint height_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Height { + get { if ((_hasBits0 & 2) != 0) { return height_; } else { return HeightDefaultValue; } } + set { + _hasBits0 |= 2; + height_ = value; + } + } + /// Gets whether the "height" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHeight { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "height" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHeight() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EmbedImage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EmbedImage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Url != other.Url) return false; + if (Width != other.Width) return false; + if (Height != other.Height) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasUrl) hash ^= Url.GetHashCode(); + if (HasWidth) hash ^= Width.GetHashCode(); + if (HasHeight) hash ^= Height.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasUrl) { + output.WriteRawTag(10); + output.WriteString(Url); + } + if (HasWidth) { + output.WriteRawTag(16); + output.WriteUInt32(Width); + } + if (HasHeight) { + output.WriteRawTag(24); + output.WriteUInt32(Height); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasUrl) { + output.WriteRawTag(10); + output.WriteString(Url); + } + if (HasWidth) { + output.WriteRawTag(16); + output.WriteUInt32(Width); + } + if (HasHeight) { + output.WriteRawTag(24); + output.WriteUInt32(Height); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasUrl) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); + } + if (HasWidth) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Width); + } + if (HasHeight) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Height); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EmbedImage other) { + if (other == null) { + return; + } + if (other.HasUrl) { + Url = other.Url; + } + if (other.HasWidth) { + Width = other.Width; + } + if (other.HasHeight) { + Height = other.Height; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Url = input.ReadString(); + break; + } + case 16: { + Width = input.ReadUInt32(); + break; + } + case 24: { + Height = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Url = input.ReadString(); + break; + } + case 16: { + Width = input.ReadUInt32(); + break; + } + case 24: { + Height = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Provider : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Provider()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Provider() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Provider(Provider other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Provider Clone() { + return new Provider(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Provider); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Provider other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasName) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Provider other) { + if (other == null) { + return; + } + if (other.HasName) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EmbedHTML : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmbedHTML()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedHTML() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedHTML(EmbedHTML other) : this() { + _hasBits0 = other._hasBits0; + content_ = other.content_; + width_ = other.width_; + height_ = other.height_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedHTML Clone() { + return new EmbedHTML(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private readonly static string ContentDefaultValue = ""; + + private string content_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_ ?? ContentDefaultValue; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "content" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContent { + get { return content_ != null; } + } + /// Clears the value of the "content" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + content_ = null; + } + + /// Field number for the "width" field. + public const int WidthFieldNumber = 2; + private readonly static uint WidthDefaultValue = 0; + + private uint width_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Width { + get { if ((_hasBits0 & 1) != 0) { return width_; } else { return WidthDefaultValue; } } + set { + _hasBits0 |= 1; + width_ = value; + } + } + /// Gets whether the "width" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWidth { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "width" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWidth() { + _hasBits0 &= ~1; + } + + /// Field number for the "height" field. + public const int HeightFieldNumber = 3; + private readonly static uint HeightDefaultValue = 0; + + private uint height_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Height { + get { if ((_hasBits0 & 2) != 0) { return height_; } else { return HeightDefaultValue; } } + set { + _hasBits0 |= 2; + height_ = value; + } + } + /// Gets whether the "height" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHeight { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "height" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHeight() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EmbedHTML); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EmbedHTML other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (Width != other.Width) return false; + if (Height != other.Height) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContent) hash ^= Content.GetHashCode(); + if (HasWidth) hash ^= Width.GetHashCode(); + if (HasHeight) hash ^= Height.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContent) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (HasWidth) { + output.WriteRawTag(16); + output.WriteUInt32(Width); + } + if (HasHeight) { + output.WriteRawTag(24); + output.WriteUInt32(Height); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContent) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (HasWidth) { + output.WriteRawTag(16); + output.WriteUInt32(Width); + } + if (HasHeight) { + output.WriteRawTag(24); + output.WriteUInt32(Height); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContent) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (HasWidth) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Width); + } + if (HasHeight) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Height); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EmbedHTML other) { + if (other == null) { + return; + } + if (other.HasContent) { + Content = other.Content; + } + if (other.HasWidth) { + Width = other.Width; + } + if (other.HasHeight) { + Height = other.Height; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 16: { + Width = input.ReadUInt32(); + break; + } + case 24: { + Height = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 16: { + Width = input.ReadUInt32(); + break; + } + case 24: { + Height = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EmbedInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmbedInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedInfo(EmbedInfo other) : this() { + title_ = other.title_; + type_ = other.type_; + originalUrl_ = other.originalUrl_; + thumbnail_ = other.thumbnail_ != null ? other.thumbnail_.Clone() : null; + provider_ = other.provider_ != null ? other.provider_.Clone() : null; + description_ = other.description_; + html_ = other.html_ != null ? other.html_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmbedInfo Clone() { + return new EmbedInfo(this); + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 1; + private readonly static string TitleDefaultValue = ""; + + private string title_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_ ?? TitleDefaultValue; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "title" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTitle { + get { return title_ != null; } + } + /// Clears the value of the "title" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTitle() { + title_ = null; + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private readonly static string TypeDefaultValue = ""; + + private string type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_ ?? TypeDefaultValue; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return type_ != null; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + type_ = null; + } + + /// Field number for the "original_url" field. + public const int OriginalUrlFieldNumber = 3; + private readonly static string OriginalUrlDefaultValue = ""; + + private string originalUrl_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OriginalUrl { + get { return originalUrl_ ?? OriginalUrlDefaultValue; } + set { + originalUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "original_url" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOriginalUrl { + get { return originalUrl_ != null; } + } + /// Clears the value of the "original_url" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOriginalUrl() { + originalUrl_ = null; + } + + /// Field number for the "thumbnail" field. + public const int ThumbnailFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage thumbnail_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage Thumbnail { + get { return thumbnail_; } + set { + thumbnail_ = value; + } + } + + /// Field number for the "provider" field. + public const int ProviderFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider provider_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider Provider { + get { return provider_; } + set { + provider_ = value; + } + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 6; + private readonly static string DescriptionDefaultValue = ""; + + private string description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_ ?? DescriptionDefaultValue; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() { + description_ = null; + } + + /// Field number for the "html" field. + public const int HtmlFieldNumber = 8; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML html_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML Html { + get { return html_; } + set { + html_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EmbedInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EmbedInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Title != other.Title) return false; + if (Type != other.Type) return false; + if (OriginalUrl != other.OriginalUrl) return false; + if (!object.Equals(Thumbnail, other.Thumbnail)) return false; + if (!object.Equals(Provider, other.Provider)) return false; + if (Description != other.Description) return false; + if (!object.Equals(Html, other.Html)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasTitle) hash ^= Title.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + if (HasOriginalUrl) hash ^= OriginalUrl.GetHashCode(); + if (thumbnail_ != null) hash ^= Thumbnail.GetHashCode(); + if (provider_ != null) hash ^= Provider.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (html_ != null) hash ^= Html.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasTitle) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (HasType) { + output.WriteRawTag(18); + output.WriteString(Type); + } + if (HasOriginalUrl) { + output.WriteRawTag(26); + output.WriteString(OriginalUrl); + } + if (thumbnail_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Thumbnail); + } + if (provider_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Provider); + } + if (HasDescription) { + output.WriteRawTag(50); + output.WriteString(Description); + } + if (html_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Html); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasTitle) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (HasType) { + output.WriteRawTag(18); + output.WriteString(Type); + } + if (HasOriginalUrl) { + output.WriteRawTag(26); + output.WriteString(OriginalUrl); + } + if (thumbnail_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Thumbnail); + } + if (provider_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Provider); + } + if (HasDescription) { + output.WriteRawTag(50); + output.WriteString(Description); + } + if (html_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Html); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasTitle) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (HasOriginalUrl) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OriginalUrl); + } + if (thumbnail_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Thumbnail); + } + if (provider_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Provider); + } + if (HasDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (html_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Html); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EmbedInfo other) { + if (other == null) { + return; + } + if (other.HasTitle) { + Title = other.Title; + } + if (other.HasType) { + Type = other.Type; + } + if (other.HasOriginalUrl) { + OriginalUrl = other.OriginalUrl; + } + if (other.thumbnail_ != null) { + if (thumbnail_ == null) { + Thumbnail = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage(); + } + Thumbnail.MergeFrom(other.Thumbnail); + } + if (other.provider_ != null) { + if (provider_ == null) { + Provider = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider(); + } + Provider.MergeFrom(other.Provider); + } + if (other.HasDescription) { + Description = other.Description; + } + if (other.html_ != null) { + if (html_ == null) { + Html = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML(); + } + Html.MergeFrom(other.Html); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Title = input.ReadString(); + break; + } + case 18: { + Type = input.ReadString(); + break; + } + case 26: { + OriginalUrl = input.ReadString(); + break; + } + case 34: { + if (thumbnail_ == null) { + Thumbnail = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage(); + } + input.ReadMessage(Thumbnail); + break; + } + case 42: { + if (provider_ == null) { + Provider = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider(); + } + input.ReadMessage(Provider); + break; + } + case 50: { + Description = input.ReadString(); + break; + } + case 66: { + if (html_ == null) { + Html = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML(); + } + input.ReadMessage(Html); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Title = input.ReadString(); + break; + } + case 18: { + Type = input.ReadString(); + break; + } + case 26: { + OriginalUrl = input.ReadString(); + break; + } + case 34: { + if (thumbnail_ == null) { + Thumbnail = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedImage(); + } + input.ReadMessage(Thumbnail); + break; + } + case 42: { + if (provider_ == null) { + Provider = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Provider(); + } + input.ReadMessage(Provider); + break; + } + case 50: { + Description = input.ReadString(); + break; + } + case 66: { + if (html_ == null) { + Html = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EmbedHTML(); + } + input.ReadMessage(Html); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EntityTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EntityTypes.cs new file mode 100644 index 0000000000..c80b1e4723 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EntityTypes.cs @@ -0,0 +1,555 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/entity_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/entity_types.proto + public static partial class EntityTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/entity_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EntityTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiRiZ3MvbG93L3BiL2NsaWVudC9lbnRpdHlfdHlwZXMucHJvdG8SDGJncy5w", + "cm90b2NvbBo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMv", + "ZmllbGRfb3B0aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFs", + "X2V4dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3RvIj0KCEVudGl0eUlk", + "EhQKBGhpZ2gYASACKAZCBoL5KwIIAhITCgNsb3cYAiACKAZCBoL5KwIIAjoG", + "gvkrAggBInsKCElkZW50aXR5EjQKCmFjY291bnRfaWQYASABKAsyFi5iZ3Mu", + "cHJvdG9jb2wuRW50aXR5SWRCCIr5KwQ6AhABEjkKD2dhbWVfYWNjb3VudF9p", + "ZBgCIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZEIIivkrBDoCEAJCHQoM", + "YmdzLnByb3RvY29sQgtFbnRpdHlQcm90b0gB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageOptionsReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId.Parser, new[]{ "High", "Low" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity.Parser, new[]{ "AccountId", "GameAccountId" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EntityId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityId(EntityId other) : this() { + _hasBits0 = other._hasBits0; + high_ = other.high_; + low_ = other.low_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityId Clone() { + return new EntityId(this); + } + + /// Field number for the "high" field. + public const int HighFieldNumber = 1; + private readonly static ulong HighDefaultValue = 0UL; + + private ulong high_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong High { + get { if ((_hasBits0 & 1) != 0) { return high_; } else { return HighDefaultValue; } } + set { + _hasBits0 |= 1; + high_ = value; + } + } + /// Gets whether the "high" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHigh { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "high" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHigh() { + _hasBits0 &= ~1; + } + + /// Field number for the "low" field. + public const int LowFieldNumber = 2; + private readonly static ulong LowDefaultValue = 0UL; + + private ulong low_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Low { + get { if ((_hasBits0 & 2) != 0) { return low_; } else { return LowDefaultValue; } } + set { + _hasBits0 |= 2; + low_ = value; + } + } + /// Gets whether the "low" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLow { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "low" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLow() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EntityId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EntityId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (High != other.High) return false; + if (Low != other.Low) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasHigh) hash ^= High.GetHashCode(); + if (HasLow) hash ^= Low.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasHigh) { + output.WriteRawTag(9); + output.WriteFixed64(High); + } + if (HasLow) { + output.WriteRawTag(17); + output.WriteFixed64(Low); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasHigh) { + output.WriteRawTag(9); + output.WriteFixed64(High); + } + if (HasLow) { + output.WriteRawTag(17); + output.WriteFixed64(Low); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasHigh) { + size += 1 + 8; + } + if (HasLow) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EntityId other) { + if (other == null) { + return; + } + if (other.HasHigh) { + High = other.High; + } + if (other.HasLow) { + Low = other.Low; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + High = input.ReadFixed64(); + break; + } + case 17: { + Low = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + High = input.ReadFixed64(); + break; + } + case 17: { + Low = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Identity : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Identity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Identity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Identity(Identity other) : this() { + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Identity Clone() { + return new Identity(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Identity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Identity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Identity other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EtsTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EtsTypes.cs new file mode 100644 index 0000000000..1a494a9339 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EtsTypes.cs @@ -0,0 +1,303 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/ets_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/ets_types.proto + public static partial class EtsTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/ets_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EtsTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFiZ3MvbG93L3BiL2NsaWVudC9ldHNfdHlwZXMucHJvdG8SDGJncy5wcm90", + "b2NvbCIvCgxUaW1lU2VyaWVzSWQSDQoFZXBvY2gYASABKAQSEAoIcG9zaXRp", + "b24YAiABKARCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TimeSeriesId.Parser, new[]{ "Epoch", "Position" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TimeSeriesId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TimeSeriesId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EtsTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeriesId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeriesId(TimeSeriesId other) : this() { + _hasBits0 = other._hasBits0; + epoch_ = other.epoch_; + position_ = other.position_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeriesId Clone() { + return new TimeSeriesId(this); + } + + /// Field number for the "epoch" field. + public const int EpochFieldNumber = 1; + private readonly static ulong EpochDefaultValue = 0UL; + + private ulong epoch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Epoch { + get { if ((_hasBits0 & 1) != 0) { return epoch_; } else { return EpochDefaultValue; } } + set { + _hasBits0 |= 1; + epoch_ = value; + } + } + /// Gets whether the "epoch" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEpoch { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "epoch" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEpoch() { + _hasBits0 &= ~1; + } + + /// Field number for the "position" field. + public const int PositionFieldNumber = 2; + private readonly static ulong PositionDefaultValue = 0UL; + + private ulong position_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Position { + get { if ((_hasBits0 & 2) != 0) { return position_; } else { return PositionDefaultValue; } } + set { + _hasBits0 |= 2; + position_ = value; + } + } + /// Gets whether the "position" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPosition { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "position" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPosition() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TimeSeriesId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TimeSeriesId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Epoch != other.Epoch) return false; + if (Position != other.Position) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasEpoch) hash ^= Epoch.GetHashCode(); + if (HasPosition) hash ^= Position.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasEpoch) { + output.WriteRawTag(8); + output.WriteUInt64(Epoch); + } + if (HasPosition) { + output.WriteRawTag(16); + output.WriteUInt64(Position); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasEpoch) { + output.WriteRawTag(8); + output.WriteUInt64(Epoch); + } + if (HasPosition) { + output.WriteRawTag(16); + output.WriteUInt64(Position); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasEpoch) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Epoch); + } + if (HasPosition) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Position); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TimeSeriesId other) { + if (other == null) { + return; + } + if (other.HasEpoch) { + Epoch = other.Epoch; + } + if (other.HasPosition) { + Position = other.Position; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Epoch = input.ReadUInt64(); + break; + } + case 16: { + Position = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Epoch = input.ReadUInt64(); + break; + } + case 16: { + Position = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EventViewTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EventViewTypes.cs new file mode 100644 index 0000000000..9b238c19ae --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/EventViewTypes.cs @@ -0,0 +1,679 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/event_view_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/event_view_types.proto + public static partial class EventViewTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/event_view_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EventViewTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihiZ3MvbG93L3BiL2NsaWVudC9ldmVudF92aWV3X3R5cGVzLnByb3RvEgxi", + "Z3MucHJvdG9jb2widwoPR2V0RXZlbnRPcHRpb25zEhIKCmZldGNoX2Zyb20Y", + "ASABKAQSEwoLZmV0Y2hfdW50aWwYAiABKAQSEgoKbWF4X2V2ZW50cxgDIAEo", + "DRInCgVvcmRlchgEIAEoDjIYLmJncy5wcm90b2NvbC5FdmVudE9yZGVyIj8K", + "ClZpZXdNYXJrZXISFgoObGFzdF9yZWFkX3RpbWUYASABKAQSGQoRbGFzdF9t", + "ZXNzYWdlX3RpbWUYAiABKAQqNwoKRXZlbnRPcmRlchIUChBFVkVOVF9ERVND", + "RU5ESU5HEAASEwoPRVZFTlRfQVNDRU5ESU5HEAFCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GetEventOptions.Parser, new[]{ "FetchFrom", "FetchUntil", "MaxEvents", "Order" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ViewMarker.Parser, new[]{ "LastReadTime", "LastMessageTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum EventOrder { + [pbr::OriginalName("EVENT_DESCENDING")] EventDescending = 0, + [pbr::OriginalName("EVENT_ASCENDING")] EventAscending = 1, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetEventOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetEventOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventViewTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEventOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEventOptions(GetEventOptions other) : this() { + _hasBits0 = other._hasBits0; + fetchFrom_ = other.fetchFrom_; + fetchUntil_ = other.fetchUntil_; + maxEvents_ = other.maxEvents_; + order_ = other.order_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEventOptions Clone() { + return new GetEventOptions(this); + } + + /// Field number for the "fetch_from" field. + public const int FetchFromFieldNumber = 1; + private readonly static ulong FetchFromDefaultValue = 0UL; + + private ulong fetchFrom_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong FetchFrom { + get { if ((_hasBits0 & 1) != 0) { return fetchFrom_; } else { return FetchFromDefaultValue; } } + set { + _hasBits0 |= 1; + fetchFrom_ = value; + } + } + /// Gets whether the "fetch_from" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchFrom { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "fetch_from" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchFrom() { + _hasBits0 &= ~1; + } + + /// Field number for the "fetch_until" field. + public const int FetchUntilFieldNumber = 2; + private readonly static ulong FetchUntilDefaultValue = 0UL; + + private ulong fetchUntil_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong FetchUntil { + get { if ((_hasBits0 & 2) != 0) { return fetchUntil_; } else { return FetchUntilDefaultValue; } } + set { + _hasBits0 |= 2; + fetchUntil_ = value; + } + } + /// Gets whether the "fetch_until" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFetchUntil { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "fetch_until" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFetchUntil() { + _hasBits0 &= ~2; + } + + /// Field number for the "max_events" field. + public const int MaxEventsFieldNumber = 3; + private readonly static uint MaxEventsDefaultValue = 0; + + private uint maxEvents_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxEvents { + get { if ((_hasBits0 & 4) != 0) { return maxEvents_; } else { return MaxEventsDefaultValue; } } + set { + _hasBits0 |= 4; + maxEvents_ = value; + } + } + /// Gets whether the "max_events" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxEvents { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "max_events" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxEvents() { + _hasBits0 &= ~4; + } + + /// Field number for the "order" field. + public const int OrderFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder OrderDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder.EventDescending; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder Order { + get { if ((_hasBits0 & 8) != 0) { return order_; } else { return OrderDefaultValue; } } + set { + _hasBits0 |= 8; + order_ = value; + } + } + /// Gets whether the "order" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOrder { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "order" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOrder() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetEventOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetEventOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FetchFrom != other.FetchFrom) return false; + if (FetchUntil != other.FetchUntil) return false; + if (MaxEvents != other.MaxEvents) return false; + if (Order != other.Order) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasFetchFrom) hash ^= FetchFrom.GetHashCode(); + if (HasFetchUntil) hash ^= FetchUntil.GetHashCode(); + if (HasMaxEvents) hash ^= MaxEvents.GetHashCode(); + if (HasOrder) hash ^= Order.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasFetchFrom) { + output.WriteRawTag(8); + output.WriteUInt64(FetchFrom); + } + if (HasFetchUntil) { + output.WriteRawTag(16); + output.WriteUInt64(FetchUntil); + } + if (HasMaxEvents) { + output.WriteRawTag(24); + output.WriteUInt32(MaxEvents); + } + if (HasOrder) { + output.WriteRawTag(32); + output.WriteEnum((int) Order); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasFetchFrom) { + output.WriteRawTag(8); + output.WriteUInt64(FetchFrom); + } + if (HasFetchUntil) { + output.WriteRawTag(16); + output.WriteUInt64(FetchUntil); + } + if (HasMaxEvents) { + output.WriteRawTag(24); + output.WriteUInt32(MaxEvents); + } + if (HasOrder) { + output.WriteRawTag(32); + output.WriteEnum((int) Order); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasFetchFrom) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(FetchFrom); + } + if (HasFetchUntil) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(FetchUntil); + } + if (HasMaxEvents) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxEvents); + } + if (HasOrder) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Order); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetEventOptions other) { + if (other == null) { + return; + } + if (other.HasFetchFrom) { + FetchFrom = other.FetchFrom; + } + if (other.HasFetchUntil) { + FetchUntil = other.FetchUntil; + } + if (other.HasMaxEvents) { + MaxEvents = other.MaxEvents; + } + if (other.HasOrder) { + Order = other.Order; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + FetchFrom = input.ReadUInt64(); + break; + } + case 16: { + FetchUntil = input.ReadUInt64(); + break; + } + case 24: { + MaxEvents = input.ReadUInt32(); + break; + } + case 32: { + Order = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + FetchFrom = input.ReadUInt64(); + break; + } + case 16: { + FetchUntil = input.ReadUInt64(); + break; + } + case 24: { + MaxEvents = input.ReadUInt32(); + break; + } + case 32: { + Order = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventOrder) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ViewMarker : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ViewMarker()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EventViewTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewMarker() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewMarker(ViewMarker other) : this() { + _hasBits0 = other._hasBits0; + lastReadTime_ = other.lastReadTime_; + lastMessageTime_ = other.lastMessageTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewMarker Clone() { + return new ViewMarker(this); + } + + /// Field number for the "last_read_time" field. + public const int LastReadTimeFieldNumber = 1; + private readonly static ulong LastReadTimeDefaultValue = 0UL; + + private ulong lastReadTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LastReadTime { + get { if ((_hasBits0 & 1) != 0) { return lastReadTime_; } else { return LastReadTimeDefaultValue; } } + set { + _hasBits0 |= 1; + lastReadTime_ = value; + } + } + /// Gets whether the "last_read_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLastReadTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "last_read_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLastReadTime() { + _hasBits0 &= ~1; + } + + /// Field number for the "last_message_time" field. + public const int LastMessageTimeFieldNumber = 2; + private readonly static ulong LastMessageTimeDefaultValue = 0UL; + + private ulong lastMessageTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LastMessageTime { + get { if ((_hasBits0 & 2) != 0) { return lastMessageTime_; } else { return LastMessageTimeDefaultValue; } } + set { + _hasBits0 |= 2; + lastMessageTime_ = value; + } + } + /// Gets whether the "last_message_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLastMessageTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "last_message_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLastMessageTime() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ViewMarker); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ViewMarker other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (LastReadTime != other.LastReadTime) return false; + if (LastMessageTime != other.LastMessageTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasLastReadTime) hash ^= LastReadTime.GetHashCode(); + if (HasLastMessageTime) hash ^= LastMessageTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasLastReadTime) { + output.WriteRawTag(8); + output.WriteUInt64(LastReadTime); + } + if (HasLastMessageTime) { + output.WriteRawTag(16); + output.WriteUInt64(LastMessageTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasLastReadTime) { + output.WriteRawTag(8); + output.WriteUInt64(LastReadTime); + } + if (HasLastMessageTime) { + output.WriteRawTag(16); + output.WriteUInt64(LastMessageTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasLastReadTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LastReadTime); + } + if (HasLastMessageTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LastMessageTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ViewMarker other) { + if (other == null) { + return; + } + if (other.HasLastReadTime) { + LastReadTime = other.LastReadTime; + } + if (other.HasLastMessageTime) { + LastMessageTime = other.LastMessageTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + LastReadTime = input.ReadUInt64(); + break; + } + case 16: { + LastMessageTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + LastReadTime = input.ReadUInt64(); + break; + } + case 16: { + LastMessageTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/FriendsService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/FriendsService.cs new file mode 100644 index 0000000000..a9c63edc27 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/FriendsService.cs @@ -0,0 +1,5154 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/friends_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/friends_service.proto + public static partial class FriendsServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/friends_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendsServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CidiZ3MvbG93L3BiL2NsaWVudC9mcmllbmRzX3NlcnZpY2UucHJvdG8SF2Jn", + "cy5wcm90b2NvbC5mcmllbmRzLnYxGidiZ3MvbG93L3BiL2NsaWVudC9hdHRy", + "aWJ1dGVfdHlwZXMucHJvdG8aJGJncy9sb3cvcGIvY2xpZW50L2VudGl0eV90", + "eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGllbnQvZnJpZW5kc190eXBlcy5w", + "cm90bxooYmdzL2xvdy9wYi9jbGllbnQvaW52aXRhdGlvbl90eXBlcy5wcm90", + "bxohYmdzL2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnByb3RvIlcKEFN1YnNj", + "cmliZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyFi5iZ3MucHJvdG9jb2wu", + "RW50aXR5SWRCBoL5KwIgARIRCglvYmplY3RfaWQYAiACKAQiWQoSVW5zdWJz", + "Y3JpYmVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29s", + "LkVudGl0eUlkQgaC+SsCIAESEQoJb2JqZWN0X2lkGAIgASgEIqoBChVTZW5k", + "SW52aXRhdGlvblJlcXVlc3QSNgoOYWdlbnRfaWRlbnRpdHkYASABKAsyFi5i", + "Z3MucHJvdG9jb2wuSWRlbnRpdHlCBoL5KwIgARIpCgl0YXJnZXRfaWQYAiAC", + "KAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSLgoGcGFyYW1zGAMgAigLMh4u", + "YmdzLnByb3RvY29sLkludml0YXRpb25QYXJhbXMiYgoXUmV2b2tlSW52aXRh", + "dGlvblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyFi5iZ3MucHJvdG9jb2wu", + "RW50aXR5SWRCBoL5KwIgARIVCg1pbnZpdGF0aW9uX2lkGAIgASgGIqUBChdB", + "Y2NlcHRJbnZpdGF0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIWLmJn", + "cy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAiABEhUKDWludml0YXRpb25faWQY", + "AyACKAYSQQoHb3B0aW9ucxgEIAEoCzIwLmJncy5wcm90b2NvbC5mcmllbmRz", + "LnYxLkFjY2VwdEludml0YXRpb25PcHRpb25zImMKGERlY2xpbmVJbnZpdGF0", + "aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIWLmJncy5wcm90b2NvbC5F", + "bnRpdHlJZEIGgvkrAiABEhUKDWludml0YXRpb25faWQYAyACKAYiYgoXSWdu", + "b3JlSW52aXRhdGlvblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyFi5iZ3Mu", + "cHJvdG9jb2wuRW50aXR5SWRCBoL5KwIgARIVCg1pbnZpdGF0aW9uX2lkGAMg", + "AigGInIKE1JlbW92ZUZyaWVuZFJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsy", + "Fi5iZ3MucHJvdG9jb2wuRW50aXR5SWRCBoL5KwIgARIpCgl0YXJnZXRfaWQY", + "AiACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQiTwobUmV2b2tlQWxsSW52", + "aXRhdGlvbnNSZXF1ZXN0EjAKCGFnZW50X2lkGAIgASgLMhYuYmdzLnByb3Rv", + "Y29sLkVudGl0eUlkQgaC+SsCEAEicQoSVmlld0ZyaWVuZHNSZXF1ZXN0EjAK", + "CGFnZW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsC", + "IAESKQoJdGFyZ2V0X2lkGAIgAigLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk", + "Ik8KE1ZpZXdGcmllbmRzUmVzcG9uc2USOAoHZnJpZW5kcxgBIAMoCzInLmJn", + "cy5wcm90b2NvbC5mcmllbmRzLnYxLkZyaWVuZE9mRnJpZW5kIqMBChhVcGRh", + "dGVGcmllbmRTdGF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyFi5iZ3Mu", + "cHJvdG9jb2wuRW50aXR5SWRCBoL5KwIgARIpCgl0YXJnZXRfaWQYAiACKAsy", + "Fi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSKgoJYXR0cmlidXRlGAMgAygLMhcu", + "YmdzLnByb3RvY29sLkF0dHJpYnV0ZSJIChRHZXRGcmllbmRMaXN0UmVxdWVz", + "dBIwCghhZ2VudF9pZBgCIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZEIG", + "gvkrAhABIkkKFUdldEZyaWVuZExpc3RSZXNwb25zZRIwCgdmcmllbmRzGAEg", + "AygLMh8uYmdzLnByb3RvY29sLmZyaWVuZHMudjEuRnJpZW5kIpQBChdDcmVh", + "dGVGcmllbmRzaGlwUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIWLmJncy5w", + "cm90b2NvbC5FbnRpdHlJZEIGgvkrAhABEikKCXRhcmdldF9pZBgCIAEoCzIW", + "LmJncy5wcm90b2NvbC5FbnRpdHlJZBIcCgRyb2xlGAMgAygNQg4QAYr5Kwgq", + "BgoECAEQASJxChJGcmllbmROb3RpZmljYXRpb24SLwoGdGFyZ2V0GAEgAigL", + "Mh8uYmdzLnByb3RvY29sLmZyaWVuZHMudjEuRnJpZW5kEioKCmFjY291bnRf", + "aWQYBSABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQihAEKHVVwZGF0ZUZy", + "aWVuZFN0YXRlTm90aWZpY2F0aW9uEjcKDmNoYW5nZWRfZnJpZW5kGAEgAigL", + "Mh8uYmdzLnByb3RvY29sLmZyaWVuZHMudjEuRnJpZW5kEioKCmFjY291bnRf", + "aWQYBSABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQimAEKFkludml0YXRp", + "b25Ob3RpZmljYXRpb24SPwoKaW52aXRhdGlvbhgBIAIoCzIrLmJncy5wcm90", + "b2NvbC5mcmllbmRzLnYxLlJlY2VpdmVkSW52aXRhdGlvbhIRCgZyZWFzb24Y", + "AyABKA06ATASKgoKYWNjb3VudF9pZBgFIAEoCzIWLmJncy5wcm90b2NvbC5F", + "bnRpdHlJZCKKAQofU2VudEludml0YXRpb25BZGRlZE5vdGlmaWNhdGlvbhIq", + "CgphY2NvdW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEjsK", + "Cmludml0YXRpb24YAiABKAsyJy5iZ3MucHJvdG9jb2wuZnJpZW5kcy52MS5T", + "ZW50SW52aXRhdGlvbiJ2CiFTZW50SW52aXRhdGlvblJlbW92ZWROb3RpZmlj", + "YXRpb24SKgoKYWNjb3VudF9pZBgBIAEoCzIWLmJncy5wcm90b2NvbC5FbnRp", + "dHlJZBIVCg1pbnZpdGF0aW9uX2lkGAIgASgGEg4KBnJlYXNvbhgDIAEoDTKX", + "CwoORnJpZW5kc1NlcnZpY2USbAoJU3Vic2NyaWJlEikuYmdzLnByb3RvY29s", + "LmZyaWVuZHMudjEuU3Vic2NyaWJlUmVxdWVzdBoqLmJncy5wcm90b2NvbC5m", + "cmllbmRzLnYxLlN1YnNjcmliZVJlc3BvbnNlIgiC+SsECAEQARJgCg5TZW5k", + "SW52aXRhdGlvbhIuLmJncy5wcm90b2NvbC5mcmllbmRzLnYxLlNlbmRJbnZp", + "dGF0aW9uUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiCIL5KwQIAhAB", + "EmQKEEFjY2VwdEludml0YXRpb24SMC5iZ3MucHJvdG9jb2wuZnJpZW5kcy52", + "MS5BY2NlcHRJbnZpdGF0aW9uUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0Rh", + "dGEiCIL5KwQIAxABEmQKEFJldm9rZUludml0YXRpb24SMC5iZ3MucHJvdG9j", + "b2wuZnJpZW5kcy52MS5SZXZva2VJbnZpdGF0aW9uUmVxdWVzdBoULmJncy5w", + "cm90b2NvbC5Ob0RhdGEiCIL5KwQIBBABEmgKEURlY2xpbmVJbnZpdGF0aW9u", + "EjEuYmdzLnByb3RvY29sLmZyaWVuZHMudjEuRGVjbGluZUludml0YXRpb25S", + "ZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIKgvkrBggFEAFQARJkChBJ", + "Z25vcmVJbnZpdGF0aW9uEjAuYmdzLnByb3RvY29sLmZyaWVuZHMudjEuSWdu", + "b3JlSW52aXRhdGlvblJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgiC", + "+SsECAYQARJcCgxSZW1vdmVGcmllbmQSLC5iZ3MucHJvdG9jb2wuZnJpZW5k", + "cy52MS5SZW1vdmVGcmllbmRSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0", + "YSIIgvkrBAgIEAEScgoLVmlld0ZyaWVuZHMSKy5iZ3MucHJvdG9jb2wuZnJp", + "ZW5kcy52MS5WaWV3RnJpZW5kc1JlcXVlc3QaLC5iZ3MucHJvdG9jb2wuZnJp", + "ZW5kcy52MS5WaWV3RnJpZW5kc1Jlc3BvbnNlIgiC+SsECAkQARJmChFVcGRh", + "dGVGcmllbmRTdGF0ZRIxLmJncy5wcm90b2NvbC5mcmllbmRzLnYxLlVwZGF0", + "ZUZyaWVuZFN0YXRlUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiCIL5", + "KwQIChABEloKC1Vuc3Vic2NyaWJlEisuYmdzLnByb3RvY29sLmZyaWVuZHMu", + "djEuVW5zdWJzY3JpYmVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSII", + "gvkrBAgLEAESagoUUmV2b2tlQWxsSW52aXRhdGlvbnMSNC5iZ3MucHJvdG9j", + "b2wuZnJpZW5kcy52MS5SZXZva2VBbGxJbnZpdGF0aW9uc1JlcXVlc3QaFC5i", + "Z3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCAwSdgoNR2V0RnJpZW5kTGlzdBIt", + "LmJncy5wcm90b2NvbC5mcmllbmRzLnYxLkdldEZyaWVuZExpc3RSZXF1ZXN0", + "Gi4uYmdzLnByb3RvY29sLmZyaWVuZHMudjEuR2V0RnJpZW5kTGlzdFJlc3Bv", + "bnNlIgaC+SsCCA0SYgoQQ3JlYXRlRnJpZW5kc2hpcBIwLmJncy5wcm90b2Nv", + "bC5mcmllbmRzLnYxLkNyZWF0ZUZyaWVuZHNoaXBSZXF1ZXN0GhQuYmdzLnBy", + "b3RvY29sLk5vRGF0YSIGgvkrAggOGjuC+SsxCiRibmV0LnByb3RvY29sLmZy", + "aWVuZHMuRnJpZW5kc1NlcnZpY2UqB2ZyaWVuZHMwAYr5KwIQATLOBgoPRnJp", + "ZW5kc0xpc3RlbmVyEl8KDU9uRnJpZW5kQWRkZWQSKy5iZ3MucHJvdG9jb2wu", + "ZnJpZW5kcy52MS5GcmllbmROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wu", + "Tk9fUkVTUE9OU0UiBoL5KwIIARJhCg9PbkZyaWVuZFJlbW92ZWQSKy5iZ3Mu", + "cHJvdG9jb2wuZnJpZW5kcy52MS5GcmllbmROb3RpZmljYXRpb24aGS5iZ3Mu", + "cHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIAhJvChlPblJlY2VpdmVkSW52", + "aXRhdGlvbkFkZGVkEi8uYmdzLnByb3RvY29sLmZyaWVuZHMudjEuSW52aXRh", + "dGlvbk5vdGlmaWNhdGlvbhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIG", + "gvkrAggDEnEKG09uUmVjZWl2ZWRJbnZpdGF0aW9uUmVtb3ZlZBIvLmJncy5w", + "cm90b2NvbC5mcmllbmRzLnYxLkludml0YXRpb25Ob3RpZmljYXRpb24aGS5i", + "Z3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIBBJ0ChVPblNlbnRJbnZp", + "dGF0aW9uQWRkZWQSOC5iZ3MucHJvdG9jb2wuZnJpZW5kcy52MS5TZW50SW52", + "aXRhdGlvbkFkZGVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JF", + "U1BPTlNFIgaC+SsCCAUSeAoXT25TZW50SW52aXRhdGlvblJlbW92ZWQSOi5i", + "Z3MucHJvdG9jb2wuZnJpZW5kcy52MS5TZW50SW52aXRhdGlvblJlbW92ZWRO", + "b3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwII", + "BhJwChNPblVwZGF0ZUZyaWVuZFN0YXRlEjYuYmdzLnByb3RvY29sLmZyaWVu", + "ZHMudjEuVXBkYXRlRnJpZW5kU3RhdGVOb3RpZmljYXRpb24aGS5iZ3MucHJv", + "dG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIBxoxgvkrJwojYm5ldC5wcm90b2Nv", + "bC5mcmllbmRzLkZyaWVuZHNOb3RpZnk4AYr5KwIIAUI2ChdiZ3MucHJvdG9j", + "b2wuZnJpZW5kcy52MUITRnJpZW5kc1NlcnZpY2VQcm90b0gBgAEAiAEB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SubscribeRequest.Parser, new[]{ "AgentId", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.UnsubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.UnsubscribeRequest.Parser, new[]{ "AgentId", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SendInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SendInvitationRequest.Parser, new[]{ "AgentIdentity", "TargetId", "Params" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.RevokeInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.RevokeInvitationRequest.Parser, new[]{ "AgentId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationRequest.Parser, new[]{ "AgentId", "InvitationId", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.DeclineInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.DeclineInvitationRequest.Parser, new[]{ "AgentId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.IgnoreInvitationRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.IgnoreInvitationRequest.Parser, new[]{ "AgentId", "InvitationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.RemoveFriendRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.RemoveFriendRequest.Parser, new[]{ "AgentId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.RevokeAllInvitationsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.RevokeAllInvitationsRequest.Parser, new[]{ "AgentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ViewFriendsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ViewFriendsRequest.Parser, new[]{ "AgentId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ViewFriendsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ViewFriendsResponse.Parser, new[]{ "Friends" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.UpdateFriendStateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.UpdateFriendStateRequest.Parser, new[]{ "AgentId", "TargetId", "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.GetFriendListRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.GetFriendListRequest.Parser, new[]{ "AgentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.GetFriendListResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.GetFriendListResponse.Parser, new[]{ "Friends" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.CreateFriendshipRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.CreateFriendshipRequest.Parser, new[]{ "AgentId", "TargetId", "Role" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendNotification.Parser, new[]{ "Target", "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.UpdateFriendStateNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.UpdateFriendStateNotification.Parser, new[]{ "ChangedFriend", "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.InvitationNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.InvitationNotification.Parser, new[]{ "Invitation", "Reason", "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitationAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitationAddedNotification.Parser, new[]{ "AccountId", "Invitation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitationRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitationRemovedNotification.Parser, new[]{ "AccountId", "InvitationId", "Reason" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest(SubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest Clone() { + return new SubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 2; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest(UnsubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest Clone() { + return new UnsubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 2; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SendInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationRequest(SendInvitationRequest other) : this() { + agentIdentity_ = other.agentIdentity_ != null ? other.agentIdentity_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + params_ = other.params_ != null ? other.params_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendInvitationRequest Clone() { + return new SendInvitationRequest(this); + } + + /// Field number for the "agent_identity" field. + public const int AgentIdentityFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity agentIdentity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity AgentIdentity { + get { return agentIdentity_; } + set { + agentIdentity_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "params" field. + public const int ParamsFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams params_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams Params { + get { return params_; } + set { + params_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SendInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SendInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentIdentity, other.AgentIdentity)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + if (!object.Equals(Params, other.Params)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentIdentity_ != null) hash ^= AgentIdentity.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (params_ != null) hash ^= Params.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentIdentity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentIdentity); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (params_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Params); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentIdentity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentIdentity); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (params_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Params); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentIdentity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentIdentity); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (params_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Params); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SendInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentIdentity_ != null) { + if (agentIdentity_ == null) { + AgentIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + AgentIdentity.MergeFrom(other.AgentIdentity); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + if (other.params_ != null) { + if (params_ == null) { + Params = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams(); + } + Params.MergeFrom(other.Params); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentIdentity_ == null) { + AgentIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(AgentIdentity); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: { + if (params_ == null) { + Params = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams(); + } + input.ReadMessage(Params); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentIdentity_ == null) { + AgentIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(AgentIdentity); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: { + if (params_ == null) { + Params = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams(); + } + input.ReadMessage(Params); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RevokeInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RevokeInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeInvitationRequest(RevokeInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeInvitationRequest Clone() { + return new RevokeInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 2; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 1) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 1; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RevokeInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RevokeInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(17); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(17); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RevokeInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 17: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 17: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AcceptInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationRequest(AcceptInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + invitationId_ = other.invitationId_; + options_ = other.options_ != null ? other.options_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationRequest Clone() { + return new AcceptInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 1) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 1; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~1; + } + + /// Field number for the "options" field. + public const int OptionsFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions options_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions Options { + get { return options_; } + set { + options_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AcceptInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AcceptInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (InvitationId != other.InvitationId) return false; + if (!object.Equals(Options, other.Options)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (options_ != null) hash ^= Options.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (options_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (options_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Options); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (options_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AcceptInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + if (other.options_ != null) { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions(); + } + Options.MergeFrom(other.Options); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + case 34: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + case 34: { + if (options_ == null) { + Options = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions(); + } + input.ReadMessage(Options); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeclineInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeclineInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineInvitationRequest(DeclineInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeclineInvitationRequest Clone() { + return new DeclineInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 1) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 1; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeclineInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeclineInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeclineInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IgnoreInvitationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IgnoreInvitationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgnoreInvitationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgnoreInvitationRequest(IgnoreInvitationRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + invitationId_ = other.invitationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IgnoreInvitationRequest Clone() { + return new IgnoreInvitationRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 3; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 1) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 1; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IgnoreInvitationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IgnoreInvitationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (InvitationId != other.InvitationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasInvitationId) { + output.WriteRawTag(25); + output.WriteFixed64(InvitationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IgnoreInvitationRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 25: { + InvitationId = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RemoveFriendRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveFriendRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveFriendRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveFriendRequest(RemoveFriendRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveFriendRequest Clone() { + return new RemoveFriendRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RemoveFriendRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RemoveFriendRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RemoveFriendRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RevokeAllInvitationsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RevokeAllInvitationsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeAllInvitationsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeAllInvitationsRequest(RevokeAllInvitationsRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RevokeAllInvitationsRequest Clone() { + return new RevokeAllInvitationsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RevokeAllInvitationsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RevokeAllInvitationsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RevokeAllInvitationsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ViewFriendsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ViewFriendsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewFriendsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewFriendsRequest(ViewFriendsRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewFriendsRequest Clone() { + return new ViewFriendsRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ViewFriendsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ViewFriendsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ViewFriendsRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ViewFriendsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ViewFriendsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewFriendsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewFriendsResponse(ViewFriendsResponse other) : this() { + friends_ = other.friends_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ViewFriendsResponse Clone() { + return new ViewFriendsResponse(this); + } + + /// Field number for the "friends" field. + public const int FriendsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendOfFriend.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Friends { + get { return friends_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ViewFriendsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ViewFriendsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!friends_.Equals(other.friends_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= friends_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + friends_.WriteTo(output, _repeated_friends_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + friends_.WriteTo(ref output, _repeated_friends_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += friends_.CalculateSize(_repeated_friends_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ViewFriendsResponse other) { + if (other == null) { + return; + } + friends_.Add(other.friends_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + friends_.AddEntriesFrom(input, _repeated_friends_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateFriendStateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateFriendStateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFriendStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFriendStateRequest(UpdateFriendStateRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFriendStateRequest Clone() { + return new UpdateFriendStateRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateFriendStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateFriendStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateFriendStateRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFriendListRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendListRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFriendListRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFriendListRequest(GetFriendListRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFriendListRequest Clone() { + return new GetFriendListRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetFriendListRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFriendListRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFriendListRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFriendListResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendListResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFriendListResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFriendListResponse(GetFriendListResponse other) : this() { + friends_ = other.friends_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFriendListResponse Clone() { + return new GetFriendListResponse(this); + } + + /// Field number for the "friends" field. + public const int FriendsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Friends { + get { return friends_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetFriendListResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFriendListResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!friends_.Equals(other.friends_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= friends_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + friends_.WriteTo(output, _repeated_friends_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + friends_.WriteTo(ref output, _repeated_friends_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += friends_.CalculateSize(_repeated_friends_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFriendListResponse other) { + if (other == null) { + return; + } + friends_.Add(other.friends_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + friends_.AddEntriesFrom(input, _repeated_friends_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateFriendshipRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateFriendshipRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateFriendshipRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateFriendshipRequest(CreateFriendshipRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + role_ = other.role_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateFriendshipRequest Clone() { + return new CreateFriendshipRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateFriendshipRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateFriendshipRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + if(!role_.Equals(other.role_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + hash ^= role_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + role_.WriteTo(output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + role_.WriteTo(ref output, _repeated_role_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + size += role_.CalculateSize(_repeated_role_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateFriendshipRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + role_.Add(other.role_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNotification(FriendNotification other) : this() { + target_ = other.target_ != null ? other.target_.Clone() : null; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNotification Clone() { + return new FriendNotification(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend Target { + get { return target_; } + set { + target_ = value; + } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (accountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (accountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendNotification other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend(); + } + Target.MergeFrom(other.Target); + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend(); + } + input.ReadMessage(Target); + break; + } + case 42: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend(); + } + input.ReadMessage(Target); + break; + } + case 42: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateFriendStateNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateFriendStateNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFriendStateNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFriendStateNotification(UpdateFriendStateNotification other) : this() { + changedFriend_ = other.changedFriend_ != null ? other.changedFriend_.Clone() : null; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFriendStateNotification Clone() { + return new UpdateFriendStateNotification(this); + } + + /// Field number for the "changed_friend" field. + public const int ChangedFriendFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend changedFriend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend ChangedFriend { + get { return changedFriend_; } + set { + changedFriend_ = value; + } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateFriendStateNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateFriendStateNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ChangedFriend, other.ChangedFriend)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (changedFriend_ != null) hash ^= ChangedFriend.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (changedFriend_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ChangedFriend); + } + if (accountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (changedFriend_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ChangedFriend); + } + if (accountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (changedFriend_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChangedFriend); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateFriendStateNotification other) { + if (other == null) { + return; + } + if (other.changedFriend_ != null) { + if (changedFriend_ == null) { + ChangedFriend = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend(); + } + ChangedFriend.MergeFrom(other.ChangedFriend); + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (changedFriend_ == null) { + ChangedFriend = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend(); + } + input.ReadMessage(ChangedFriend); + break; + } + case 42: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (changedFriend_ == null) { + ChangedFriend = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend(); + } + input.ReadMessage(ChangedFriend); + break; + } + case 42: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InvitationNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InvitationNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationNotification(InvitationNotification other) : this() { + _hasBits0 = other._hasBits0; + invitation_ = other.invitation_ != null ? other.invitation_.Clone() : null; + reason_ = other.reason_; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationNotification Clone() { + return new InvitationNotification(this); + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation invitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation Invitation { + get { return invitation_; } + set { + invitation_ = value; + } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 3; + private readonly static uint ReasonDefaultValue = 0; + + private uint reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Reason { + get { if ((_hasBits0 & 1) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 1; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~1; + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InvitationNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InvitationNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Invitation, other.Invitation)) return false; + if (Reason != other.Reason) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (invitation_ != null) hash ^= Invitation.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (invitation_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Invitation); + } + if (HasReason) { + output.WriteRawTag(24); + output.WriteUInt32(Reason); + } + if (accountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (invitation_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Invitation); + } + if (HasReason) { + output.WriteRawTag(24); + output.WriteUInt32(Reason); + } + if (accountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (invitation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitation); + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Reason); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InvitationNotification other) { + if (other == null) { + return; + } + if (other.invitation_ != null) { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation(); + } + Invitation.MergeFrom(other.Invitation); + } + if (other.HasReason) { + Reason = other.Reason; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation(); + } + input.ReadMessage(Invitation); + break; + } + case 24: { + Reason = input.ReadUInt32(); + break; + } + case 42: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation(); + } + input.ReadMessage(Invitation); + break; + } + case 24: { + Reason = input.ReadUInt32(); + break; + } + case 42: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SentInvitationAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SentInvitationAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitationAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitationAddedNotification(SentInvitationAddedNotification other) : this() { + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + invitation_ = other.invitation_ != null ? other.invitation_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitationAddedNotification Clone() { + return new SentInvitationAddedNotification(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "invitation" field. + public const int InvitationFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation invitation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation Invitation { + get { return invitation_; } + set { + invitation_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SentInvitationAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SentInvitationAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if (!object.Equals(Invitation, other.Invitation)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (invitation_ != null) hash ^= Invitation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (invitation_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (invitation_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Invitation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (invitation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SentInvitationAddedNotification other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.invitation_ != null) { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation(); + } + Invitation.MergeFrom(other.Invitation); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + if (invitation_ == null) { + Invitation = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation(); + } + input.ReadMessage(Invitation); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SentInvitationRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SentInvitationRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsServiceReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitationRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitationRemovedNotification(SentInvitationRemovedNotification other) : this() { + _hasBits0 = other._hasBits0; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + invitationId_ = other.invitationId_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitationRemovedNotification Clone() { + return new SentInvitationRemovedNotification(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "invitation_id" field. + public const int InvitationIdFieldNumber = 2; + private readonly static ulong InvitationIdDefaultValue = 0UL; + + private ulong invitationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong InvitationId { + get { if ((_hasBits0 & 1) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } } + set { + _hasBits0 |= 1; + invitationId_ = value; + } + } + /// Gets whether the "invitation_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "invitation_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationId() { + _hasBits0 &= ~1; + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 3; + private readonly static uint ReasonDefaultValue = 0; + + private uint reason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Reason { + get { if ((_hasBits0 & 2) != 0) { return reason_; } else { return ReasonDefaultValue; } } + set { + _hasBits0 |= 2; + reason_ = value; + } + } + /// Gets whether the "reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReason { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReason() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SentInvitationRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SentInvitationRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if (InvitationId != other.InvitationId) return false; + if (Reason != other.Reason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (HasInvitationId) hash ^= InvitationId.GetHashCode(); + if (HasReason) hash ^= Reason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (HasInvitationId) { + output.WriteRawTag(17); + output.WriteFixed64(InvitationId); + } + if (HasReason) { + output.WriteRawTag(24); + output.WriteUInt32(Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (HasInvitationId) { + output.WriteRawTag(17); + output.WriteFixed64(InvitationId); + } + if (HasReason) { + output.WriteRawTag(24); + output.WriteUInt32(Reason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (HasInvitationId) { + size += 1 + 8; + } + if (HasReason) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SentInvitationRemovedNotification other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.HasInvitationId) { + InvitationId = other.InvitationId; + } + if (other.HasReason) { + Reason = other.Reason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 17: { + InvitationId = input.ReadFixed64(); + break; + } + case 24: { + Reason = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 17: { + InvitationId = input.ReadFixed64(); + break; + } + case 24: { + Reason = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/FriendsTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/FriendsTypes.cs new file mode 100644 index 0000000000..df93e83b8a --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/FriendsTypes.cs @@ -0,0 +1,3259 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/friends_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/friends_types.proto + public static partial class FriendsTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/friends_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendsTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiViZ3MvbG93L3BiL2NsaWVudC9mcmllbmRzX3R5cGVzLnByb3RvEhdiZ3Mu", + "cHJvdG9jb2wuZnJpZW5kcy52MRo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFs", + "X2V4dGVuc2lvbnMvZmllbGRfb3B0aW9ucy5wcm90bxonYmdzL2xvdy9wYi9j", + "bGllbnQvYXR0cmlidXRlX3R5cGVzLnByb3RvGiRiZ3MvbG93L3BiL2NsaWVu", + "dC9lbnRpdHlfdHlwZXMucHJvdG8aKGJncy9sb3cvcGIvY2xpZW50L2ludml0", + "YXRpb25fdHlwZXMucHJvdG8aImJncy9sb3cvcGIvY2xpZW50L3JvbGVfdHlw", + "ZXMucHJvdG8iuwEKBkZyaWVuZBIqCgphY2NvdW50X2lkGAEgAigLMhYuYmdz", + "LnByb3RvY29sLkVudGl0eUlkEioKCWF0dHJpYnV0ZRgCIAMoCzIXLmJncy5w", + "cm90b2NvbC5BdHRyaWJ1dGUSEAoEcm9sZRgDIAMoDUICEAESEgoKcHJpdmls", + "ZWdlcxgEIAEoBBIcChBhdHRyaWJ1dGVzX2Vwb2NoGAUgASgEQgIYARIVCg1j", + "cmVhdGlvbl90aW1lGAYgASgEIqUBCg5GcmllbmRPZkZyaWVuZBIqCgphY2Nv", + "dW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEhwKBHJvbGUY", + "AyADKA1CDhABivkrCCoGCgQIARABEhIKCnByaXZpbGVnZXMYBCABKAQSGQoJ", + "ZnVsbF9uYW1lGAYgASgJQgaC+SsCCAESGgoKYmF0dGxlX3RhZxgHIAEoCUIG", + "gvkrAggBIu8BChJSZWNlaXZlZEludml0YXRpb24SCgoCaWQYASACKAYSMAoQ", + "aW52aXRlcl9pZGVudGl0eRgCIAIoCzIWLmJncy5wcm90b2NvbC5JZGVudGl0", + "eRIwChBpbnZpdGVlX2lkZW50aXR5GAMgAigLMhYuYmdzLnByb3RvY29sLklk", + "ZW50aXR5EhwKDGludml0ZXJfbmFtZRgEIAEoCUIGgvkrAggBEhwKDGludml0", + "ZWVfbmFtZRgFIAEoCUIGgvkrAggBEhUKDWNyZWF0aW9uX3RpbWUYByABKAQS", + "DwoHcHJvZ3JhbRgJIAEoByoFCGQQkE4izwEKEEZyaWVuZEludml0YXRpb24S", + "HAoEcm9sZRgCIAMoDUIOEAGK+SsIKgYKBAgBEAESKgoJYXR0cmlidXRlGAMg", + "AygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0ZTJxChFmcmllbmRfaW52aXRh", + "dGlvbhIrLmJncy5wcm90b2NvbC5mcmllbmRzLnYxLlJlY2VpdmVkSW52aXRh", + "dGlvbhhnIAEoCzIpLmJncy5wcm90b2NvbC5mcmllbmRzLnYxLkZyaWVuZElu", + "dml0YXRpb24imwEKDlNlbnRJbnZpdGF0aW9uEgoKAmlkGAEgASgGEhsKC3Rh", + "cmdldF9uYW1lGAIgASgJQgaC+SsCCAESDAoEcm9sZRgDIAEoDRIqCglhdHRy", + "aWJ1dGUYBCADKAsyFy5iZ3MucHJvdG9jb2wuQXR0cmlidXRlEhUKDWNyZWF0", + "aW9uX3RpbWUYBSABKAQSDwoHcHJvZ3JhbRgGIAEoByLiAgoWRnJpZW5kSW52", + "aXRhdGlvblBhcmFtcxIcCgx0YXJnZXRfZW1haWwYASABKAlCBoL5KwIIARIh", + "ChF0YXJnZXRfYmF0dGxlX3RhZxgCIAEoCUIGgvkrAggBEhwKBHJvbGUYBiAD", + "KA1CDhABivkrCCoGCgQIARABEioKCWF0dHJpYnV0ZRgIIAMoCzIXLmJncy5w", + "cm90b2NvbC5BdHRyaWJ1dGUSGwoLdGFyZ2V0X25hbWUYCSABKAlCBoL5KwII", + "ARITCgdwcm9ncmFtGAogASgHQgIYARIjChN0YXJnZXRfcGhvbmVfbnVtYmVy", + "GAsgASgJQgaC+SsCCAEyZgoNZnJpZW5kX3BhcmFtcxIeLmJncy5wcm90b2Nv", + "bC5JbnZpdGF0aW9uUGFyYW1zGGcgASgLMi8uYmdzLnByb3RvY29sLmZyaWVu", + "ZHMudjEuRnJpZW5kSW52aXRhdGlvblBhcmFtcyLWAgoRU3Vic2NyaWJlUmVz", + "cG9uc2USFwoLbWF4X2ZyaWVuZHMYASABKA1CAhgBEiQKGG1heF9yZWNlaXZl", + "ZF9pbnZpdGF0aW9ucxgCIAEoDUICGAESIAoUbWF4X3NlbnRfaW52aXRhdGlv", + "bnMYAyABKA1CAhgBEiAKBHJvbGUYBCADKAsyEi5iZ3MucHJvdG9jb2wuUm9s", + "ZRIwCgdmcmllbmRzGAUgAygLMh8uYmdzLnByb3RvY29sLmZyaWVuZHMudjEu", + "RnJpZW5kEkkKFHJlY2VpdmVkX2ludml0YXRpb25zGAcgAygLMisuYmdzLnBy", + "b3RvY29sLmZyaWVuZHMudjEuUmVjZWl2ZWRJbnZpdGF0aW9uEkEKEHNlbnRf", + "aW52aXRhdGlvbnMYCCADKAsyJy5iZ3MucHJvdG9jb2wuZnJpZW5kcy52MS5T", + "ZW50SW52aXRhdGlvbiJGChdBY2NlcHRJbnZpdGF0aW9uT3B0aW9ucxIaCgRy", + "b2xlGAEgASgNQgyK+SsIEgYKBAgAEAISDwoHcHJvZ3JhbRgCIAEoB0IuChdi", + "Z3MucHJvdG9jb2wuZnJpZW5kcy52MUIRRnJpZW5kc1R5cGVzUHJvdG9IAVAA")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend.Parser, new[]{ "AccountId", "Attribute", "Role", "Privileges", "AttributesEpoch", "CreationTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendOfFriend), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendOfFriend.Parser, new[]{ "AccountId", "Role", "Privileges", "FullName", "BattleTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation.Parser, new[]{ "Id", "InviterIdentity", "InviteeIdentity", "InviterName", "InviteeName", "CreationTime", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitation.Parser, new[]{ "Role", "Attribute" }, null, null, new pb::Extension[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitation.Extensions.FriendInvitation }, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation.Parser, new[]{ "Id", "TargetName", "Role", "Attribute", "CreationTime", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitationParams), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitationParams.Parser, new[]{ "TargetEmail", "TargetBattleTag", "Role", "Attribute", "TargetName", "Program", "TargetPhoneNumber" }, null, null, new pb::Extension[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitationParams.Extensions.FriendParams }, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SubscribeResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SubscribeResponse.Parser, new[]{ "MaxFriends", "MaxReceivedInvitations", "MaxSentInvitations", "Role", "Friends", "ReceivedInvitations", "SentInvitations" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.AcceptInvitationOptions.Parser, new[]{ "Role", "Program" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Friend : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Friend()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Friend() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Friend(Friend other) : this() { + _hasBits0 = other._hasBits0; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + attribute_ = other.attribute_.Clone(); + role_ = other.role_.Clone(); + privileges_ = other.privileges_; + attributesEpoch_ = other.attributesEpoch_; + creationTime_ = other.creationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Friend Clone() { + return new Friend(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "privileges" field. + public const int PrivilegesFieldNumber = 4; + private readonly static ulong PrivilegesDefaultValue = 0UL; + + private ulong privileges_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Privileges { + get { if ((_hasBits0 & 1) != 0) { return privileges_; } else { return PrivilegesDefaultValue; } } + set { + _hasBits0 |= 1; + privileges_ = value; + } + } + /// Gets whether the "privileges" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivileges { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privileges" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivileges() { + _hasBits0 &= ~1; + } + + /// Field number for the "attributes_epoch" field. + public const int AttributesEpochFieldNumber = 5; + private readonly static ulong AttributesEpochDefaultValue = 0UL; + + private ulong attributesEpoch_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong AttributesEpoch { + get { if ((_hasBits0 & 2) != 0) { return attributesEpoch_; } else { return AttributesEpochDefaultValue; } } + set { + _hasBits0 |= 2; + attributesEpoch_ = value; + } + } + /// Gets whether the "attributes_epoch" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAttributesEpoch { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "attributes_epoch" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAttributesEpoch() { + _hasBits0 &= ~2; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 6; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 4) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 4; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Friend); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Friend other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if(!role_.Equals(other.role_)) return false; + if (Privileges != other.Privileges) return false; + if (AttributesEpoch != other.AttributesEpoch) return false; + if (CreationTime != other.CreationTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + hash ^= role_.GetHashCode(); + if (HasPrivileges) hash ^= Privileges.GetHashCode(); + if (HasAttributesEpoch) hash ^= AttributesEpoch.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + role_.WriteTo(output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(32); + output.WriteUInt64(Privileges); + } + if (HasAttributesEpoch) { + output.WriteRawTag(40); + output.WriteUInt64(AttributesEpoch); + } + if (HasCreationTime) { + output.WriteRawTag(48); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + role_.WriteTo(ref output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(32); + output.WriteUInt64(Privileges); + } + if (HasAttributesEpoch) { + output.WriteRawTag(40); + output.WriteUInt64(AttributesEpoch); + } + if (HasCreationTime) { + output.WriteRawTag(48); + output.WriteUInt64(CreationTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + size += role_.CalculateSize(_repeated_role_codec); + if (HasPrivileges) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Privileges); + } + if (HasAttributesEpoch) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AttributesEpoch); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Friend other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + attribute_.Add(other.attribute_); + role_.Add(other.role_); + if (other.HasPrivileges) { + Privileges = other.Privileges; + } + if (other.HasAttributesEpoch) { + AttributesEpoch = other.AttributesEpoch; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 32: { + Privileges = input.ReadUInt64(); + break; + } + case 40: { + AttributesEpoch = input.ReadUInt64(); + break; + } + case 48: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 32: { + Privileges = input.ReadUInt64(); + break; + } + case 40: { + AttributesEpoch = input.ReadUInt64(); + break; + } + case 48: { + CreationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendOfFriend : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendOfFriend()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendOfFriend() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendOfFriend(FriendOfFriend other) : this() { + _hasBits0 = other._hasBits0; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + role_ = other.role_.Clone(); + privileges_ = other.privileges_; + fullName_ = other.fullName_; + battleTag_ = other.battleTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendOfFriend Clone() { + return new FriendOfFriend(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "privileges" field. + public const int PrivilegesFieldNumber = 4; + private readonly static ulong PrivilegesDefaultValue = 0UL; + + private ulong privileges_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Privileges { + get { if ((_hasBits0 & 1) != 0) { return privileges_; } else { return PrivilegesDefaultValue; } } + set { + _hasBits0 |= 1; + privileges_ = value; + } + } + /// Gets whether the "privileges" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivileges { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privileges" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivileges() { + _hasBits0 &= ~1; + } + + /// Field number for the "full_name" field. + public const int FullNameFieldNumber = 6; + private readonly static string FullNameDefaultValue = ""; + + private string fullName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FullName { + get { return fullName_ ?? FullNameDefaultValue; } + set { + fullName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "full_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFullName { + get { return fullName_ != null; } + } + /// Clears the value of the "full_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFullName() { + fullName_ = null; + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 7; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendOfFriend); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendOfFriend other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if(!role_.Equals(other.role_)) return false; + if (Privileges != other.Privileges) return false; + if (FullName != other.FullName) return false; + if (BattleTag != other.BattleTag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + hash ^= role_.GetHashCode(); + if (HasPrivileges) hash ^= Privileges.GetHashCode(); + if (HasFullName) hash ^= FullName.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + role_.WriteTo(output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(32); + output.WriteUInt64(Privileges); + } + if (HasFullName) { + output.WriteRawTag(50); + output.WriteString(FullName); + } + if (HasBattleTag) { + output.WriteRawTag(58); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + role_.WriteTo(ref output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(32); + output.WriteUInt64(Privileges); + } + if (HasFullName) { + output.WriteRawTag(50); + output.WriteString(FullName); + } + if (HasBattleTag) { + output.WriteRawTag(58); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + size += role_.CalculateSize(_repeated_role_codec); + if (HasPrivileges) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Privileges); + } + if (HasFullName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FullName); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendOfFriend other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + role_.Add(other.role_); + if (other.HasPrivileges) { + Privileges = other.Privileges; + } + if (other.HasFullName) { + FullName = other.FullName; + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 32: { + Privileges = input.ReadUInt64(); + break; + } + case 50: { + FullName = input.ReadString(); + break; + } + case 58: { + BattleTag = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 32: { + Privileges = input.ReadUInt64(); + break; + } + case 50: { + FullName = input.ReadString(); + break; + } + case 58: { + BattleTag = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReceivedInvitation : pb::IExtendableMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReceivedInvitation()); + private pb::UnknownFieldSet _unknownFields; + private pb::ExtensionSet _extensions; + private pb::ExtensionSet _Extensions { get { return _extensions; } } + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitation(ReceivedInvitation other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + inviterIdentity_ = other.inviterIdentity_ != null ? other.inviterIdentity_.Clone() : null; + inviteeIdentity_ = other.inviteeIdentity_ != null ? other.inviteeIdentity_.Clone() : null; + inviterName_ = other.inviterName_; + inviteeName_ = other.inviteeName_; + creationTime_ = other.creationTime_; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + _extensions = pb::ExtensionSet.Clone(other._extensions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReceivedInvitation Clone() { + return new ReceivedInvitation(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "inviter_identity" field. + public const int InviterIdentityFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity inviterIdentity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity InviterIdentity { + get { return inviterIdentity_; } + set { + inviterIdentity_ = value; + } + } + + /// Field number for the "invitee_identity" field. + public const int InviteeIdentityFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity inviteeIdentity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity InviteeIdentity { + get { return inviteeIdentity_; } + set { + inviteeIdentity_ = value; + } + } + + /// Field number for the "inviter_name" field. + public const int InviterNameFieldNumber = 4; + private readonly static string InviterNameDefaultValue = ""; + + private string inviterName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InviterName { + get { return inviterName_ ?? InviterNameDefaultValue; } + set { + inviterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "inviter_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInviterName { + get { return inviterName_ != null; } + } + /// Clears the value of the "inviter_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInviterName() { + inviterName_ = null; + } + + /// Field number for the "invitee_name" field. + public const int InviteeNameFieldNumber = 5; + private readonly static string InviteeNameDefaultValue = ""; + + private string inviteeName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InviteeName { + get { return inviteeName_ ?? InviteeNameDefaultValue; } + set { + inviteeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "invitee_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInviteeName { + get { return inviteeName_ != null; } + } + /// Clears the value of the "invitee_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInviteeName() { + inviteeName_ = null; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 7; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 2) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 2; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~2; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 9; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 4) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 4; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReceivedInvitation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReceivedInvitation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(InviterIdentity, other.InviterIdentity)) return false; + if (!object.Equals(InviteeIdentity, other.InviteeIdentity)) return false; + if (InviterName != other.InviterName) return false; + if (InviteeName != other.InviteeName) return false; + if (CreationTime != other.CreationTime) return false; + if (Program != other.Program) return false; + if (!Equals(_extensions, other._extensions)) { + return false; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (inviterIdentity_ != null) hash ^= InviterIdentity.GetHashCode(); + if (inviteeIdentity_ != null) hash ^= InviteeIdentity.GetHashCode(); + if (HasInviterName) hash ^= InviterName.GetHashCode(); + if (HasInviteeName) hash ^= InviteeName.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_extensions != null) { + hash ^= _extensions.GetHashCode(); + } + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (inviterIdentity_ != null) { + output.WriteRawTag(18); + output.WriteMessage(InviterIdentity); + } + if (inviteeIdentity_ != null) { + output.WriteRawTag(26); + output.WriteMessage(InviteeIdentity); + } + if (HasInviterName) { + output.WriteRawTag(34); + output.WriteString(InviterName); + } + if (HasInviteeName) { + output.WriteRawTag(42); + output.WriteString(InviteeName); + } + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasProgram) { + output.WriteRawTag(77); + output.WriteFixed32(Program); + } + if (_extensions != null) { + _extensions.WriteTo(output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (inviterIdentity_ != null) { + output.WriteRawTag(18); + output.WriteMessage(InviterIdentity); + } + if (inviteeIdentity_ != null) { + output.WriteRawTag(26); + output.WriteMessage(InviteeIdentity); + } + if (HasInviterName) { + output.WriteRawTag(34); + output.WriteString(InviterName); + } + if (HasInviteeName) { + output.WriteRawTag(42); + output.WriteString(InviteeName); + } + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasProgram) { + output.WriteRawTag(77); + output.WriteFixed32(Program); + } + if (_extensions != null) { + _extensions.WriteTo(ref output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 8; + } + if (inviterIdentity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InviterIdentity); + } + if (inviteeIdentity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InviteeIdentity); + } + if (HasInviterName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InviterName); + } + if (HasInviteeName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InviteeName); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasProgram) { + size += 1 + 4; + } + if (_extensions != null) { + size += _extensions.CalculateSize(); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReceivedInvitation other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.inviterIdentity_ != null) { + if (inviterIdentity_ == null) { + InviterIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + InviterIdentity.MergeFrom(other.InviterIdentity); + } + if (other.inviteeIdentity_ != null) { + if (inviteeIdentity_ == null) { + InviteeIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + InviteeIdentity.MergeFrom(other.InviteeIdentity); + } + if (other.HasInviterName) { + InviterName = other.InviterName; + } + if (other.HasInviteeName) { + InviteeName = other.InviteeName; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasProgram) { + Program = other.Program; + } + pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + } + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + if (inviterIdentity_ == null) { + InviterIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviterIdentity); + break; + } + case 26: { + if (inviteeIdentity_ == null) { + InviteeIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviteeIdentity); + break; + } + case 34: { + InviterName = input.ReadString(); + break; + } + case 42: { + InviteeName = input.ReadString(); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 77: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + } + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + if (inviterIdentity_ == null) { + InviterIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviterIdentity); + break; + } + case 26: { + if (inviteeIdentity_ == null) { + InviteeIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviteeIdentity); + break; + } + case 34: { + InviterName = input.ReadString(); + break; + } + case 42: { + InviteeName = input.ReadString(); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 77: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + public TValue GetExtension(pb::Extension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetOrInitializeExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); + } + public void SetExtension(pb::Extension extension, TValue value) { + pb::ExtensionSet.Set(ref _extensions, extension, value); + } + public bool HasExtension(pb::Extension extension) { + return pb::ExtensionSet.Has(ref _extensions, extension); + } + public void ClearExtension(pb::Extension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + public void ClearExtension(pb::RepeatedExtension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendInvitation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendInvitation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitation(FriendInvitation other) : this() { + role_ = other.role_.Clone(); + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitation Clone() { + return new FriendInvitation(this); + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendInvitation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendInvitation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!role_.Equals(other.role_)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= role_.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + role_.WriteTo(output, _repeated_role_codec); + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + role_.WriteTo(ref output, _repeated_role_codec); + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += role_.CalculateSize(_repeated_role_codec); + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendInvitation other) { + if (other == null) { + return; + } + role_.Add(other.role_); + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: + case 16: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: + case 16: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + #region Extensions + /// Container for extensions for other messages declared in the FriendInvitation message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Extensions { + public static readonly pb::Extension FriendInvitation = + new pb::Extension(103, pb::FieldCodec.ForMessage(826, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitation.Parser)); + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SentInvitation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SentInvitation()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitation(SentInvitation other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + targetName_ = other.targetName_; + role_ = other.role_; + attribute_ = other.attribute_.Clone(); + creationTime_ = other.creationTime_; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentInvitation Clone() { + return new SentInvitation(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "target_name" field. + public const int TargetNameFieldNumber = 2; + private readonly static string TargetNameDefaultValue = ""; + + private string targetName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetName { + get { return targetName_ ?? TargetNameDefaultValue; } + set { + targetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "target_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTargetName { + get { return targetName_ != null; } + } + /// Clears the value of the "target_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTargetName() { + targetName_ = null; + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 3; + private readonly static uint RoleDefaultValue = 0; + + private uint role_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Role { + get { if ((_hasBits0 & 2) != 0) { return role_; } else { return RoleDefaultValue; } } + set { + _hasBits0 |= 2; + role_ = value; + } + } + /// Gets whether the "role" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRole { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "role" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRole() { + _hasBits0 &= ~2; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 5; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 4) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 4; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~4; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 6; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 8) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 8; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SentInvitation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SentInvitation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TargetName != other.TargetName) return false; + if (Role != other.Role) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (CreationTime != other.CreationTime) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasTargetName) hash ^= TargetName.GetHashCode(); + if (HasRole) hash ^= Role.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (HasTargetName) { + output.WriteRawTag(18); + output.WriteString(TargetName); + } + if (HasRole) { + output.WriteRawTag(24); + output.WriteUInt32(Role); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasCreationTime) { + output.WriteRawTag(40); + output.WriteUInt64(CreationTime); + } + if (HasProgram) { + output.WriteRawTag(53); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (HasTargetName) { + output.WriteRawTag(18); + output.WriteString(TargetName); + } + if (HasRole) { + output.WriteRawTag(24); + output.WriteUInt32(Role); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasCreationTime) { + output.WriteRawTag(40); + output.WriteUInt64(CreationTime); + } + if (HasProgram) { + output.WriteRawTag(53); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 8; + } + if (HasTargetName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetName); + } + if (HasRole) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Role); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasProgram) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SentInvitation other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasTargetName) { + TargetName = other.TargetName; + } + if (other.HasRole) { + Role = other.Role; + } + attribute_.Add(other.attribute_); + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + TargetName = input.ReadString(); + break; + } + case 24: { + Role = input.ReadUInt32(); + break; + } + case 34: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 40: { + CreationTime = input.ReadUInt64(); + break; + } + case 53: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + TargetName = input.ReadString(); + break; + } + case 24: { + Role = input.ReadUInt32(); + break; + } + case 34: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 40: { + CreationTime = input.ReadUInt64(); + break; + } + case 53: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendInvitationParams : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendInvitationParams()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitationParams() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitationParams(FriendInvitationParams other) : this() { + _hasBits0 = other._hasBits0; + targetEmail_ = other.targetEmail_; + targetBattleTag_ = other.targetBattleTag_; + role_ = other.role_.Clone(); + attribute_ = other.attribute_.Clone(); + targetName_ = other.targetName_; + program_ = other.program_; + targetPhoneNumber_ = other.targetPhoneNumber_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitationParams Clone() { + return new FriendInvitationParams(this); + } + + /// Field number for the "target_email" field. + public const int TargetEmailFieldNumber = 1; + private readonly static string TargetEmailDefaultValue = ""; + + private string targetEmail_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetEmail { + get { return targetEmail_ ?? TargetEmailDefaultValue; } + set { + targetEmail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "target_email" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTargetEmail { + get { return targetEmail_ != null; } + } + /// Clears the value of the "target_email" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTargetEmail() { + targetEmail_ = null; + } + + /// Field number for the "target_battle_tag" field. + public const int TargetBattleTagFieldNumber = 2; + private readonly static string TargetBattleTagDefaultValue = ""; + + private string targetBattleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetBattleTag { + get { return targetBattleTag_ ?? TargetBattleTagDefaultValue; } + set { + targetBattleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "target_battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTargetBattleTag { + get { return targetBattleTag_ != null; } + } + /// Clears the value of the "target_battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTargetBattleTag() { + targetBattleTag_ = null; + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(50); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(66, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "target_name" field. + public const int TargetNameFieldNumber = 9; + private readonly static string TargetNameDefaultValue = ""; + + private string targetName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetName { + get { return targetName_ ?? TargetNameDefaultValue; } + set { + targetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "target_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTargetName { + get { return targetName_ != null; } + } + /// Clears the value of the "target_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTargetName() { + targetName_ = null; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 10; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "target_phone_number" field. + public const int TargetPhoneNumberFieldNumber = 11; + private readonly static string TargetPhoneNumberDefaultValue = ""; + + private string targetPhoneNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetPhoneNumber { + get { return targetPhoneNumber_ ?? TargetPhoneNumberDefaultValue; } + set { + targetPhoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "target_phone_number" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTargetPhoneNumber { + get { return targetPhoneNumber_ != null; } + } + /// Clears the value of the "target_phone_number" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTargetPhoneNumber() { + targetPhoneNumber_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendInvitationParams); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendInvitationParams other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TargetEmail != other.TargetEmail) return false; + if (TargetBattleTag != other.TargetBattleTag) return false; + if(!role_.Equals(other.role_)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (TargetName != other.TargetName) return false; + if (Program != other.Program) return false; + if (TargetPhoneNumber != other.TargetPhoneNumber) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasTargetEmail) hash ^= TargetEmail.GetHashCode(); + if (HasTargetBattleTag) hash ^= TargetBattleTag.GetHashCode(); + hash ^= role_.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasTargetName) hash ^= TargetName.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasTargetPhoneNumber) hash ^= TargetPhoneNumber.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasTargetEmail) { + output.WriteRawTag(10); + output.WriteString(TargetEmail); + } + if (HasTargetBattleTag) { + output.WriteRawTag(18); + output.WriteString(TargetBattleTag); + } + role_.WriteTo(output, _repeated_role_codec); + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasTargetName) { + output.WriteRawTag(74); + output.WriteString(TargetName); + } + if (HasProgram) { + output.WriteRawTag(85); + output.WriteFixed32(Program); + } + if (HasTargetPhoneNumber) { + output.WriteRawTag(90); + output.WriteString(TargetPhoneNumber); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasTargetEmail) { + output.WriteRawTag(10); + output.WriteString(TargetEmail); + } + if (HasTargetBattleTag) { + output.WriteRawTag(18); + output.WriteString(TargetBattleTag); + } + role_.WriteTo(ref output, _repeated_role_codec); + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasTargetName) { + output.WriteRawTag(74); + output.WriteString(TargetName); + } + if (HasProgram) { + output.WriteRawTag(85); + output.WriteFixed32(Program); + } + if (HasTargetPhoneNumber) { + output.WriteRawTag(90); + output.WriteString(TargetPhoneNumber); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasTargetEmail) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetEmail); + } + if (HasTargetBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetBattleTag); + } + size += role_.CalculateSize(_repeated_role_codec); + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasTargetName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetName); + } + if (HasProgram) { + size += 1 + 4; + } + if (HasTargetPhoneNumber) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetPhoneNumber); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendInvitationParams other) { + if (other == null) { + return; + } + if (other.HasTargetEmail) { + TargetEmail = other.TargetEmail; + } + if (other.HasTargetBattleTag) { + TargetBattleTag = other.TargetBattleTag; + } + role_.Add(other.role_); + attribute_.Add(other.attribute_); + if (other.HasTargetName) { + TargetName = other.TargetName; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasTargetPhoneNumber) { + TargetPhoneNumber = other.TargetPhoneNumber; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + TargetEmail = input.ReadString(); + break; + } + case 18: { + TargetBattleTag = input.ReadString(); + break; + } + case 50: + case 48: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 66: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 74: { + TargetName = input.ReadString(); + break; + } + case 85: { + Program = input.ReadFixed32(); + break; + } + case 90: { + TargetPhoneNumber = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TargetEmail = input.ReadString(); + break; + } + case 18: { + TargetBattleTag = input.ReadString(); + break; + } + case 50: + case 48: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 66: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 74: { + TargetName = input.ReadString(); + break; + } + case 85: { + Program = input.ReadFixed32(); + break; + } + case 90: { + TargetPhoneNumber = input.ReadString(); + break; + } + } + } + } + #endif + + #region Extensions + /// Container for extensions for other messages declared in the FriendInvitationParams message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Extensions { + public static readonly pb::Extension FriendParams = + new pb::Extension(103, pb::FieldCodec.ForMessage(826, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendInvitationParams.Parser)); + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse(SubscribeResponse other) : this() { + _hasBits0 = other._hasBits0; + maxFriends_ = other.maxFriends_; + maxReceivedInvitations_ = other.maxReceivedInvitations_; + maxSentInvitations_ = other.maxSentInvitations_; + role_ = other.role_.Clone(); + friends_ = other.friends_.Clone(); + receivedInvitations_ = other.receivedInvitations_.Clone(); + sentInvitations_ = other.sentInvitations_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse Clone() { + return new SubscribeResponse(this); + } + + /// Field number for the "max_friends" field. + public const int MaxFriendsFieldNumber = 1; + private readonly static uint MaxFriendsDefaultValue = 0; + + private uint maxFriends_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxFriends { + get { if ((_hasBits0 & 1) != 0) { return maxFriends_; } else { return MaxFriendsDefaultValue; } } + set { + _hasBits0 |= 1; + maxFriends_ = value; + } + } + /// Gets whether the "max_friends" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxFriends { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "max_friends" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxFriends() { + _hasBits0 &= ~1; + } + + /// Field number for the "max_received_invitations" field. + public const int MaxReceivedInvitationsFieldNumber = 2; + private readonly static uint MaxReceivedInvitationsDefaultValue = 0; + + private uint maxReceivedInvitations_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxReceivedInvitations { + get { if ((_hasBits0 & 2) != 0) { return maxReceivedInvitations_; } else { return MaxReceivedInvitationsDefaultValue; } } + set { + _hasBits0 |= 2; + maxReceivedInvitations_ = value; + } + } + /// Gets whether the "max_received_invitations" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxReceivedInvitations { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "max_received_invitations" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxReceivedInvitations() { + _hasBits0 &= ~2; + } + + /// Field number for the "max_sent_invitations" field. + public const int MaxSentInvitationsFieldNumber = 3; + private readonly static uint MaxSentInvitationsDefaultValue = 0; + + private uint maxSentInvitations_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxSentInvitations { + get { if ((_hasBits0 & 4) != 0) { return maxSentInvitations_; } else { return MaxSentInvitationsDefaultValue; } } + set { + _hasBits0 |= 4; + maxSentInvitations_ = value; + } + } + /// Gets whether the "max_sent_invitations" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxSentInvitations { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "max_sent_invitations" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxSentInvitations() { + _hasBits0 &= ~4; + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Role.Parser); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "friends" field. + public const int FriendsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(42, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.Friend.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Friends { + get { return friends_; } + } + + /// Field number for the "received_invitations" field. + public const int ReceivedInvitationsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_receivedInvitations_codec + = pb::FieldCodec.ForMessage(58, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.ReceivedInvitation.Parser); + private readonly pbc::RepeatedField receivedInvitations_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ReceivedInvitations { + get { return receivedInvitations_; } + } + + /// Field number for the "sent_invitations" field. + public const int SentInvitationsFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_sentInvitations_codec + = pb::FieldCodec.ForMessage(66, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.SentInvitation.Parser); + private readonly pbc::RepeatedField sentInvitations_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SentInvitations { + get { return sentInvitations_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MaxFriends != other.MaxFriends) return false; + if (MaxReceivedInvitations != other.MaxReceivedInvitations) return false; + if (MaxSentInvitations != other.MaxSentInvitations) return false; + if(!role_.Equals(other.role_)) return false; + if(!friends_.Equals(other.friends_)) return false; + if(!receivedInvitations_.Equals(other.receivedInvitations_)) return false; + if(!sentInvitations_.Equals(other.sentInvitations_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMaxFriends) hash ^= MaxFriends.GetHashCode(); + if (HasMaxReceivedInvitations) hash ^= MaxReceivedInvitations.GetHashCode(); + if (HasMaxSentInvitations) hash ^= MaxSentInvitations.GetHashCode(); + hash ^= role_.GetHashCode(); + hash ^= friends_.GetHashCode(); + hash ^= receivedInvitations_.GetHashCode(); + hash ^= sentInvitations_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMaxFriends) { + output.WriteRawTag(8); + output.WriteUInt32(MaxFriends); + } + if (HasMaxReceivedInvitations) { + output.WriteRawTag(16); + output.WriteUInt32(MaxReceivedInvitations); + } + if (HasMaxSentInvitations) { + output.WriteRawTag(24); + output.WriteUInt32(MaxSentInvitations); + } + role_.WriteTo(output, _repeated_role_codec); + friends_.WriteTo(output, _repeated_friends_codec); + receivedInvitations_.WriteTo(output, _repeated_receivedInvitations_codec); + sentInvitations_.WriteTo(output, _repeated_sentInvitations_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMaxFriends) { + output.WriteRawTag(8); + output.WriteUInt32(MaxFriends); + } + if (HasMaxReceivedInvitations) { + output.WriteRawTag(16); + output.WriteUInt32(MaxReceivedInvitations); + } + if (HasMaxSentInvitations) { + output.WriteRawTag(24); + output.WriteUInt32(MaxSentInvitations); + } + role_.WriteTo(ref output, _repeated_role_codec); + friends_.WriteTo(ref output, _repeated_friends_codec); + receivedInvitations_.WriteTo(ref output, _repeated_receivedInvitations_codec); + sentInvitations_.WriteTo(ref output, _repeated_sentInvitations_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMaxFriends) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxFriends); + } + if (HasMaxReceivedInvitations) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxReceivedInvitations); + } + if (HasMaxSentInvitations) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxSentInvitations); + } + size += role_.CalculateSize(_repeated_role_codec); + size += friends_.CalculateSize(_repeated_friends_codec); + size += receivedInvitations_.CalculateSize(_repeated_receivedInvitations_codec); + size += sentInvitations_.CalculateSize(_repeated_sentInvitations_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeResponse other) { + if (other == null) { + return; + } + if (other.HasMaxFriends) { + MaxFriends = other.MaxFriends; + } + if (other.HasMaxReceivedInvitations) { + MaxReceivedInvitations = other.MaxReceivedInvitations; + } + if (other.HasMaxSentInvitations) { + MaxSentInvitations = other.MaxSentInvitations; + } + role_.Add(other.role_); + friends_.Add(other.friends_); + receivedInvitations_.Add(other.receivedInvitations_); + sentInvitations_.Add(other.sentInvitations_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + MaxFriends = input.ReadUInt32(); + break; + } + case 16: { + MaxReceivedInvitations = input.ReadUInt32(); + break; + } + case 24: { + MaxSentInvitations = input.ReadUInt32(); + break; + } + case 34: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 42: { + friends_.AddEntriesFrom(input, _repeated_friends_codec); + break; + } + case 58: { + receivedInvitations_.AddEntriesFrom(input, _repeated_receivedInvitations_codec); + break; + } + case 66: { + sentInvitations_.AddEntriesFrom(input, _repeated_sentInvitations_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + MaxFriends = input.ReadUInt32(); + break; + } + case 16: { + MaxReceivedInvitations = input.ReadUInt32(); + break; + } + case 24: { + MaxSentInvitations = input.ReadUInt32(); + break; + } + case 34: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 42: { + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); + break; + } + case 58: { + receivedInvitations_.AddEntriesFrom(ref input, _repeated_receivedInvitations_codec); + break; + } + case 66: { + sentInvitations_.AddEntriesFrom(ref input, _repeated_sentInvitations_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AcceptInvitationOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptInvitationOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Friends.V1.FriendsTypesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationOptions(AcceptInvitationOptions other) : this() { + _hasBits0 = other._hasBits0; + role_ = other.role_; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AcceptInvitationOptions Clone() { + return new AcceptInvitationOptions(this); + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 1; + private readonly static uint RoleDefaultValue = 0; + + private uint role_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Role { + get { if ((_hasBits0 & 1) != 0) { return role_; } else { return RoleDefaultValue; } } + set { + _hasBits0 |= 1; + role_ = value; + } + } + /// Gets whether the "role" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRole { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "role" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRole() { + _hasBits0 &= ~1; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 2) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 2; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AcceptInvitationOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AcceptInvitationOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Role != other.Role) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRole) hash ^= Role.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRole) { + output.WriteRawTag(8); + output.WriteUInt32(Role); + } + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRole) { + output.WriteRawTag(8); + output.WriteUInt32(Role); + } + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRole) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Role); + } + if (HasProgram) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AcceptInvitationOptions other) { + if (other == null) { + return; + } + if (other.HasRole) { + Role = other.Role; + } + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Role = input.ReadUInt32(); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Role = input.ReadUInt32(); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/GameUtilitiesService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/GameUtilitiesService.cs new file mode 100644 index 0000000000..c2a5fd7b5a --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/GameUtilitiesService.cs @@ -0,0 +1,2938 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/game_utilities_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/game_utilities_service.proto + public static partial class GameUtilitiesServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/game_utilities_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static GameUtilitiesServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci5iZ3MvbG93L3BiL2NsaWVudC9nYW1lX3V0aWxpdGllc19zZXJ2aWNlLnBy", + "b3RvEh5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEaJ2Jncy9sb3cv", + "cGIvY2xpZW50L2F0dHJpYnV0ZV90eXBlcy5wcm90bxokYmdzL2xvdy9wYi9j", + "bGllbnQvZW50aXR5X3R5cGVzLnByb3RvGixiZ3MvbG93L3BiL2NsaWVudC9n", + "YW1lX3V0aWxpdGllc190eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQv", + "cnBjX3R5cGVzLnByb3RvIvIBCg1DbGllbnRSZXF1ZXN0EioKCWF0dHJpYnV0", + "ZRgBIAMoCzIXLmJncy5wcm90b2NvbC5BdHRyaWJ1dGUSKgoKYWNjb3VudF9p", + "ZBgDIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIvCg9nYW1lX2FjY291", + "bnRfaWQYBCABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSDwoHcHJvZ3Jh", + "bRgFIAEoBxI/CgtjbGllbnRfaW5mbxgGIAEoCzIqLmJncy5wcm90b2NvbC5n", + "YW1lX3V0aWxpdGllcy52MS5DbGllbnRJbmZvOgaC+SsCCAEiPAoOQ2xpZW50", + "UmVzcG9uc2USKgoJYXR0cmlidXRlGAEgAygLMhcuYmdzLnByb3RvY29sLkF0", + "dHJpYnV0ZSJMCg1TZXJ2ZXJSZXF1ZXN0EioKCWF0dHJpYnV0ZRgBIAMoCzIX", + "LmJncy5wcm90b2NvbC5BdHRyaWJ1dGUSDwoHcHJvZ3JhbRgCIAIoByI8Cg5T", + "ZXJ2ZXJSZXNwb25zZRIqCglhdHRyaWJ1dGUYASADKAsyFy5iZ3MucHJvdG9j", + "b2wuQXR0cmlidXRlIqABCh1QcmVzZW5jZUNoYW5uZWxDcmVhdGVkUmVxdWVz", + "dBIiCgJpZBgBIAIoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIvCg9nYW1l", + "X2FjY291bnRfaWQYAyABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSKgoK", + "YWNjb3VudF9pZBgEIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZCJkCh1H", + "YW1lQWNjb3VudE9ubGluZU5vdGlmaWNhdGlvbhIvCg9nYW1lX2FjY291bnRf", + "aWQYASACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSEgoKc2Vzc2lvbl9p", + "ZBgDIAEoCSJlCh5HYW1lQWNjb3VudE9mZmxpbmVOb3RpZmljYXRpb24SLwoP", + "Z2FtZV9hY2NvdW50X2lkGAEgAigLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk", + "EhIKCnNlc3Npb25faWQYAyABKAkiigEKH0dldEFsbFZhbHVlc0ZvckF0dHJp", + "YnV0ZVJlcXVlc3QSJAoNYXR0cmlidXRlX2tleRgBIAEoCUINivkrCSIHCgUI", + "ARCAAhIoCghhZ2VudF9pZBgCIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJ", + "ZBIPCgdwcm9ncmFtGAUgASgHOgaC+SsCCAEiUgogR2V0QWxsVmFsdWVzRm9y", + "QXR0cmlidXRlUmVzcG9uc2USLgoPYXR0cmlidXRlX3ZhbHVlGAEgAygLMhUu", + "YmdzLnByb3RvY29sLlZhcmlhbnQiYQoYUmVnaXN0ZXJVdGlsaXRpZXNSZXF1", + "ZXN0EioKCWF0dHJpYnV0ZRgBIAMoCzIXLmJncy5wcm90b2NvbC5BdHRyaWJ1", + "dGUSGQoHcHJvZ3JhbRgCIAEoB0IIivkrBBICEAAiLgoZUmVnaXN0ZXJVdGls", + "aXRpZXNSZXNwb25zZRIRCgljbGllbnRfaWQYASABKAkiHAoaVW5yZWdpc3Rl", + "clV0aWxpdGllc1JlcXVlc3QyhAkKFEdhbWVVdGlsaXRpZXNTZXJ2aWNlEn0K", + "FFByb2Nlc3NDbGllbnRSZXF1ZXN0Ei0uYmdzLnByb3RvY29sLmdhbWVfdXRp", + "bGl0aWVzLnYxLkNsaWVudFJlcXVlc3QaLi5iZ3MucHJvdG9jb2wuZ2FtZV91", + "dGlsaXRpZXMudjEuQ2xpZW50UmVzcG9uc2UiBoL5KwIIARJ1ChZQcmVzZW5j", + "ZUNoYW5uZWxDcmVhdGVkEj0uYmdzLnByb3RvY29sLmdhbWVfdXRpbGl0aWVz", + "LnYxLlByZXNlbmNlQ2hhbm5lbENyZWF0ZWRSZXF1ZXN0GhQuYmdzLnByb3Rv", + "Y29sLk5vRGF0YSIGgvkrAggCEn0KFFByb2Nlc3NTZXJ2ZXJSZXF1ZXN0Ei0u", + "YmdzLnByb3RvY29sLmdhbWVfdXRpbGl0aWVzLnYxLlNlcnZlclJlcXVlc3Qa", + "Li5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuU2VydmVyUmVzcG9u", + "c2UiBoL5KwIIBhJ6ChNPbkdhbWVBY2NvdW50T25saW5lEj0uYmdzLnByb3Rv", + "Y29sLmdhbWVfdXRpbGl0aWVzLnYxLkdhbWVBY2NvdW50T25saW5lTm90aWZp", + "Y2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BPTlNFIgmIAgGC+SsCCAcS", + "fAoUT25HYW1lQWNjb3VudE9mZmxpbmUSPi5iZ3MucHJvdG9jb2wuZ2FtZV91", + "dGlsaXRpZXMudjEuR2FtZUFjY291bnRPZmZsaW5lTm90aWZpY2F0aW9uGhku", + "YmdzLnByb3RvY29sLk5PX1JFU1BPTlNFIgmIAgGC+SsCCAgSpQEKGEdldEFs", + "bFZhbHVlc0ZvckF0dHJpYnV0ZRI/LmJncy5wcm90b2NvbC5nYW1lX3V0aWxp", + "dGllcy52MS5HZXRBbGxWYWx1ZXNGb3JBdHRyaWJ1dGVSZXF1ZXN0GkAuYmdz", + "LnByb3RvY29sLmdhbWVfdXRpbGl0aWVzLnYxLkdldEFsbFZhbHVlc0ZvckF0", + "dHJpYnV0ZVJlc3BvbnNlIgaC+SsCCAoSkgEKEVJlZ2lzdGVyVXRpbGl0aWVz", + "EjguYmdzLnByb3RvY29sLmdhbWVfdXRpbGl0aWVzLnYxLlJlZ2lzdGVyVXRp", + "bGl0aWVzUmVxdWVzdBo5LmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52", + "MS5SZWdpc3RlclV0aWxpdGllc1Jlc3BvbnNlIgiC+SsECAsQAxJ2ChNVbnJl", + "Z2lzdGVyVXRpbGl0aWVzEjouYmdzLnByb3RvY29sLmdhbWVfdXRpbGl0aWVz", + "LnYxLlVucmVnaXN0ZXJVdGlsaXRpZXNSZXF1ZXN0GhkuYmdzLnByb3RvY29s", + "Lk5PX1JFU1BPTlNFIgiC+SsECAwQAxpIgvkrPAoqYm5ldC5wcm90b2NvbC5n", + "YW1lX3V0aWxpdGllcy5HYW1lVXRpbGl0aWVzKg5nYW1lX3V0aWxpdGllc4r5", + "KwQIARABQkMKHmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52MUIZR2Ft", + "ZVV0aWxpdGllc1NlcnZpY2VQcm90b0gBgAEAiAEB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientRequest.Parser, new[]{ "Attribute", "AccountId", "GameAccountId", "Program", "ClientInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientResponse.Parser, new[]{ "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ServerRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ServerRequest.Parser, new[]{ "Attribute", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ServerResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ServerResponse.Parser, new[]{ "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest.Parser, new[]{ "Id", "GameAccountId", "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification.Parser, new[]{ "GameAccountId", "SessionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification.Parser, new[]{ "GameAccountId", "SessionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest.Parser, new[]{ "AttributeKey", "AgentId", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse.Parser, new[]{ "AttributeValue" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest.Parser, new[]{ "Attribute", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse.Parser, new[]{ "ClientId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest.Parser, null, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClientRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientRequest(ClientRequest other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + program_ = other.program_; + clientInfo_ = other.clientInfo_ != null ? other.clientInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientRequest Clone() { + return new ClientRequest(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 5; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "client_info" field. + public const int ClientInfoFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo clientInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo ClientInfo { + get { return clientInfo_; } + set { + clientInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClientRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClientRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (Program != other.Program) return false; + if (!object.Equals(ClientInfo, other.ClientInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (clientInfo_ != null) hash ^= ClientInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (accountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountId); + } + if (gameAccountId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(GameAccountId); + } + if (HasProgram) { + output.WriteRawTag(45); + output.WriteFixed32(Program); + } + if (clientInfo_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ClientInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (accountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountId); + } + if (gameAccountId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(GameAccountId); + } + if (HasProgram) { + output.WriteRawTag(45); + output.WriteFixed32(Program); + } + if (clientInfo_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ClientInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (HasProgram) { + size += 1 + 4; + } + if (clientInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClientRequest other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.clientInfo_ != null) { + if (clientInfo_ == null) { + ClientInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo(); + } + ClientInfo.MergeFrom(other.ClientInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 26: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 34: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 45: { + Program = input.ReadFixed32(); + break; + } + case 50: { + if (clientInfo_ == null) { + ClientInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo(); + } + input.ReadMessage(ClientInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 26: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 34: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 45: { + Program = input.ReadFixed32(); + break; + } + case 50: { + if (clientInfo_ == null) { + ClientInfo = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo(); + } + input.ReadMessage(ClientInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClientResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientResponse(ClientResponse other) : this() { + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientResponse Clone() { + return new ClientResponse(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClientResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClientResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClientResponse other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ServerRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerRequest(ServerRequest other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerRequest Clone() { + return new ServerRequest(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ServerRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ServerRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasProgram) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ServerRequest other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ServerResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerResponse(ServerResponse other) : this() { + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerResponse Clone() { + return new ServerResponse(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ServerResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ServerResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ServerResponse other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PresenceChannelCreatedRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresenceChannelCreatedRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresenceChannelCreatedRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresenceChannelCreatedRequest(PresenceChannelCreatedRequest other) : this() { + id_ = other.id_ != null ? other.id_.Clone() : null; + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresenceChannelCreatedRequest Clone() { + return new PresenceChannelCreatedRequest(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PresenceChannelCreatedRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PresenceChannelCreatedRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Id, other.Id)) return false; + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (id_ != null) hash ^= Id.GetHashCode(); + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (gameAccountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (id_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Id); + } + if (gameAccountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (id_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id); + } + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PresenceChannelCreatedRequest other) { + if (other == null) { + return; + } + if (other.id_ != null) { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + Id.MergeFrom(other.Id); + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(Id); + break; + } + case 26: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 34: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (id_ == null) { + Id = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(Id); + break; + } + case 26: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 34: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountOnlineNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountOnlineNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountOnlineNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountOnlineNotification(GameAccountOnlineNotification other) : this() { + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + sessionId_ = other.sessionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountOnlineNotification Clone() { + return new GameAccountOnlineNotification(this); + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 3; + private readonly static string SessionIdDefaultValue = ""; + + private string sessionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_ ?? SessionIdDefaultValue; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "session_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSessionId { + get { return sessionId_ != null; } + } + /// Clears the value of the "session_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSessionId() { + sessionId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountOnlineNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountOnlineNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (SessionId != other.SessionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (HasSessionId) hash ^= SessionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountId); + } + if (HasSessionId) { + output.WriteRawTag(26); + output.WriteString(SessionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountId); + } + if (HasSessionId) { + output.WriteRawTag(26); + output.WriteString(SessionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (HasSessionId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountOnlineNotification other) { + if (other == null) { + return; + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.HasSessionId) { + SessionId = other.SessionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + SessionId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + SessionId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GameAccountOfflineNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountOfflineNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountOfflineNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountOfflineNotification(GameAccountOfflineNotification other) : this() { + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + sessionId_ = other.sessionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GameAccountOfflineNotification Clone() { + return new GameAccountOfflineNotification(this); + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 3; + private readonly static string SessionIdDefaultValue = ""; + + private string sessionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_ ?? SessionIdDefaultValue; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "session_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSessionId { + get { return sessionId_ != null; } + } + /// Clears the value of the "session_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSessionId() { + sessionId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GameAccountOfflineNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GameAccountOfflineNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (SessionId != other.SessionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (HasSessionId) hash ^= SessionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (gameAccountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountId); + } + if (HasSessionId) { + output.WriteRawTag(26); + output.WriteString(SessionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (gameAccountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(GameAccountId); + } + if (HasSessionId) { + output.WriteRawTag(26); + output.WriteString(SessionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (HasSessionId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GameAccountOfflineNotification other) { + if (other == null) { + return; + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.HasSessionId) { + SessionId = other.SessionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + SessionId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + SessionId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAllValuesForAttributeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllValuesForAttributeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAllValuesForAttributeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAllValuesForAttributeRequest(GetAllValuesForAttributeRequest other) : this() { + _hasBits0 = other._hasBits0; + attributeKey_ = other.attributeKey_; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAllValuesForAttributeRequest Clone() { + return new GetAllValuesForAttributeRequest(this); + } + + /// Field number for the "attribute_key" field. + public const int AttributeKeyFieldNumber = 1; + private readonly static string AttributeKeyDefaultValue = ""; + + private string attributeKey_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AttributeKey { + get { return attributeKey_ ?? AttributeKeyDefaultValue; } + set { + attributeKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "attribute_key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAttributeKey { + get { return attributeKey_ != null; } + } + /// Clears the value of the "attribute_key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAttributeKey() { + attributeKey_ = null; + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 5; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAllValuesForAttributeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAllValuesForAttributeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AttributeKey != other.AttributeKey) return false; + if (!object.Equals(AgentId, other.AgentId)) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAttributeKey) hash ^= AttributeKey.GetHashCode(); + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAttributeKey) { + output.WriteRawTag(10); + output.WriteString(AttributeKey); + } + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (HasProgram) { + output.WriteRawTag(45); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAttributeKey) { + output.WriteRawTag(10); + output.WriteString(AttributeKey); + } + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (HasProgram) { + output.WriteRawTag(45); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAttributeKey) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeKey); + } + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasProgram) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAllValuesForAttributeRequest other) { + if (other == null) { + return; + } + if (other.HasAttributeKey) { + AttributeKey = other.AttributeKey; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AttributeKey = input.ReadString(); + break; + } + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 45: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AttributeKey = input.ReadString(); + break; + } + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 45: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAllValuesForAttributeResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllValuesForAttributeResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAllValuesForAttributeResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAllValuesForAttributeResponse(GetAllValuesForAttributeResponse other) : this() { + attributeValue_ = other.attributeValue_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAllValuesForAttributeResponse Clone() { + return new GetAllValuesForAttributeResponse(this); + } + + /// Field number for the "attribute_value" field. + public const int AttributeValueFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attributeValue_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant.Parser); + private readonly pbc::RepeatedField attributeValue_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AttributeValue { + get { return attributeValue_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAllValuesForAttributeResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAllValuesForAttributeResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attributeValue_.Equals(other.attributeValue_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attributeValue_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attributeValue_.WriteTo(output, _repeated_attributeValue_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attributeValue_.WriteTo(ref output, _repeated_attributeValue_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attributeValue_.CalculateSize(_repeated_attributeValue_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAllValuesForAttributeResponse other) { + if (other == null) { + return; + } + attributeValue_.Add(other.attributeValue_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attributeValue_.AddEntriesFrom(input, _repeated_attributeValue_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attributeValue_.AddEntriesFrom(ref input, _repeated_attributeValue_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegisterUtilitiesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterUtilitiesRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegisterUtilitiesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegisterUtilitiesRequest(RegisterUtilitiesRequest other) : this() { + _hasBits0 = other._hasBits0; + attribute_ = other.attribute_.Clone(); + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegisterUtilitiesRequest Clone() { + return new RegisterUtilitiesRequest(this); + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RegisterUtilitiesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegisterUtilitiesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!attribute_.Equals(other.attribute_)) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= attribute_.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasProgram) { + output.WriteRawTag(21); + output.WriteFixed32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasProgram) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegisterUtilitiesRequest other) { + if (other == null) { + return; + } + attribute_.Add(other.attribute_); + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 21: { + Program = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegisterUtilitiesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterUtilitiesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegisterUtilitiesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegisterUtilitiesResponse(RegisterUtilitiesResponse other) : this() { + clientId_ = other.clientId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegisterUtilitiesResponse Clone() { + return new RegisterUtilitiesResponse(this); + } + + /// Field number for the "client_id" field. + public const int ClientIdFieldNumber = 1; + private readonly static string ClientIdDefaultValue = ""; + + private string clientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientId { + get { return clientId_ ?? ClientIdDefaultValue; } + set { + clientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientId { + get { return clientId_ != null; } + } + /// Clears the value of the "client_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientId() { + clientId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RegisterUtilitiesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegisterUtilitiesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClientId != other.ClientId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClientId) hash ^= ClientId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClientId) { + output.WriteRawTag(10); + output.WriteString(ClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClientId) { + output.WriteRawTag(10); + output.WriteString(ClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClientId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegisterUtilitiesResponse other) { + if (other == null) { + return; + } + if (other.HasClientId) { + ClientId = other.ClientId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ClientId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ClientId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnregisterUtilitiesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnregisterUtilitiesRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnregisterUtilitiesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnregisterUtilitiesRequest(UnregisterUtilitiesRequest other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnregisterUtilitiesRequest Clone() { + return new UnregisterUtilitiesRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnregisterUtilitiesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnregisterUtilitiesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnregisterUtilitiesRequest other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/GameUtilitiesTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/GameUtilitiesTypes.cs new file mode 100644 index 0000000000..921d2ac101 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/GameUtilitiesTypes.cs @@ -0,0 +1,589 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/game_utilities_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/game_utilities_types.proto + public static partial class GameUtilitiesTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/game_utilities_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static GameUtilitiesTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CixiZ3MvbG93L3BiL2NsaWVudC9nYW1lX3V0aWxpdGllc190eXBlcy5wcm90", + "bxIeYmdzLnByb3RvY29sLmdhbWVfdXRpbGl0aWVzLnYxGidiZ3MvbG93L3Bi", + "L2NsaWVudC9hdHRyaWJ1dGVfdHlwZXMucHJvdG8aJGJncy9sb3cvcGIvY2xp", + "ZW50L2VudGl0eV90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQvcnBj", + "X3R5cGVzLnByb3RvIncKD1BsYXllclZhcmlhYmxlcxIoCghpZGVudGl0eRgB", + "IAIoCzIWLmJncy5wcm90b2NvbC5JZGVudGl0eRIOCgZyYXRpbmcYAiABKAES", + "KgoJYXR0cmlidXRlGAMgAygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0ZSJA", + "CgpDbGllbnRJbmZvEhYKDmNsaWVudF9hZGRyZXNzGAEgASgJEhoKEnByaXZp", + "bGVnZWRfbmV0d29yaxgCIAEoCEI7Ch5iZ3MucHJvdG9jb2wuZ2FtZV91dGls", + "aXRpZXMudjFCF0dhbWVVdGlsaXRpZXNUeXBlc1Byb3RvSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.PlayerVariables), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.PlayerVariables.Parser, new[]{ "Identity", "Rating", "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.ClientInfo.Parser, new[]{ "ClientAddress", "PrivilegedNetwork" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerVariables : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerVariables()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerVariables() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerVariables(PlayerVariables other) : this() { + _hasBits0 = other._hasBits0; + identity_ = other.identity_ != null ? other.identity_.Clone() : null; + rating_ = other.rating_; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerVariables Clone() { + return new PlayerVariables(this); + } + + /// Field number for the "identity" field. + public const int IdentityFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity identity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity Identity { + get { return identity_; } + set { + identity_ = value; + } + } + + /// Field number for the "rating" field. + public const int RatingFieldNumber = 2; + private readonly static double RatingDefaultValue = 0D; + + private double rating_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Rating { + get { if ((_hasBits0 & 1) != 0) { return rating_; } else { return RatingDefaultValue; } } + set { + _hasBits0 |= 1; + rating_ = value; + } + } + /// Gets whether the "rating" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRating { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "rating" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRating() { + _hasBits0 &= ~1; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerVariables); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerVariables other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Identity, other.Identity)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Rating, other.Rating)) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (identity_ != null) hash ^= Identity.GetHashCode(); + if (HasRating) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Rating); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (identity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Identity); + } + if (HasRating) { + output.WriteRawTag(17); + output.WriteDouble(Rating); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (identity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Identity); + } + if (HasRating) { + output.WriteRawTag(17); + output.WriteDouble(Rating); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (identity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Identity); + } + if (HasRating) { + size += 1 + 8; + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerVariables other) { + if (other == null) { + return; + } + if (other.identity_ != null) { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + Identity.MergeFrom(other.Identity); + } + if (other.HasRating) { + Rating = other.Rating; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(Identity); + break; + } + case 17: { + Rating = input.ReadDouble(); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(Identity); + break; + } + case 17: { + Rating = input.ReadDouble(); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClientInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.GameUtilities.V1.GameUtilitiesTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientInfo(ClientInfo other) : this() { + _hasBits0 = other._hasBits0; + clientAddress_ = other.clientAddress_; + privilegedNetwork_ = other.privilegedNetwork_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientInfo Clone() { + return new ClientInfo(this); + } + + /// Field number for the "client_address" field. + public const int ClientAddressFieldNumber = 1; + private readonly static string ClientAddressDefaultValue = ""; + + private string clientAddress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientAddress { + get { return clientAddress_ ?? ClientAddressDefaultValue; } + set { + clientAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_address" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientAddress { + get { return clientAddress_ != null; } + } + /// Clears the value of the "client_address" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientAddress() { + clientAddress_ = null; + } + + /// Field number for the "privileged_network" field. + public const int PrivilegedNetworkFieldNumber = 2; + private readonly static bool PrivilegedNetworkDefaultValue = false; + + private bool privilegedNetwork_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PrivilegedNetwork { + get { if ((_hasBits0 & 1) != 0) { return privilegedNetwork_; } else { return PrivilegedNetworkDefaultValue; } } + set { + _hasBits0 |= 1; + privilegedNetwork_ = value; + } + } + /// Gets whether the "privileged_network" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivilegedNetwork { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privileged_network" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivilegedNetwork() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClientInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClientInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClientAddress != other.ClientAddress) return false; + if (PrivilegedNetwork != other.PrivilegedNetwork) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClientAddress) hash ^= ClientAddress.GetHashCode(); + if (HasPrivilegedNetwork) hash ^= PrivilegedNetwork.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClientAddress) { + output.WriteRawTag(10); + output.WriteString(ClientAddress); + } + if (HasPrivilegedNetwork) { + output.WriteRawTag(16); + output.WriteBool(PrivilegedNetwork); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClientAddress) { + output.WriteRawTag(10); + output.WriteString(ClientAddress); + } + if (HasPrivilegedNetwork) { + output.WriteRawTag(16); + output.WriteBool(PrivilegedNetwork); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClientAddress) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientAddress); + } + if (HasPrivilegedNetwork) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClientInfo other) { + if (other == null) { + return; + } + if (other.HasClientAddress) { + ClientAddress = other.ClientAddress; + } + if (other.HasPrivilegedNetwork) { + PrivilegedNetwork = other.PrivilegedNetwork; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ClientAddress = input.ReadString(); + break; + } + case 16: { + PrivilegedNetwork = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ClientAddress = input.ReadString(); + break; + } + case 16: { + PrivilegedNetwork = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/InvitationTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/InvitationTypes.cs new file mode 100644 index 0000000000..fdaef9532f --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/InvitationTypes.cs @@ -0,0 +1,991 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/invitation_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/invitation_types.proto + public static partial class InvitationTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/invitation_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static InvitationTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihiZ3MvbG93L3BiL2NsaWVudC9pbnZpdGF0aW9uX3R5cGVzLnByb3RvEgxi", + "Z3MucHJvdG9jb2waJGJncy9sb3cvcGIvY2xpZW50L2VudGl0eV90eXBlcy5w", + "cm90bxo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvZmll", + "bGRfb3B0aW9ucy5wcm90byKLAgoKSW52aXRhdGlvbhIKCgJpZBgBIAIoBhIw", + "ChBpbnZpdGVyX2lkZW50aXR5GAIgAigLMhYuYmdzLnByb3RvY29sLklkZW50", + "aXR5EjAKEGludml0ZWVfaWRlbnRpdHkYAyACKAsyFi5iZ3MucHJvdG9jb2wu", + "SWRlbnRpdHkSHAoMaW52aXRlcl9uYW1lGAQgASgJQgaC+SsCCAESHAoMaW52", + "aXRlZV9uYW1lGAUgASgJQgaC+SsCCAESGgoSaW52aXRhdGlvbl9tZXNzYWdl", + "GAYgASgJEhUKDWNyZWF0aW9uX3RpbWUYByABKAQSFwoPZXhwaXJhdGlvbl90", + "aW1lGAggASgEKgUIZBCQTiJSChBJbnZpdGF0aW9uUGFyYW1zEh4KEmludml0", + "YXRpb25fbWVzc2FnZRgBIAEoCUICGAESFwoPZXhwaXJhdGlvbl90aW1lGAIg", + "ASgEKgUIZBCQTiqGAgoXSW52aXRhdGlvblJlbW92ZWRSZWFzb24SJgoiSU5W", + "SVRBVElPTl9SRU1PVkVEX1JFQVNPTl9BQ0NFUFRFRBAAEiYKIklOVklUQVRJ", + "T05fUkVNT1ZFRF9SRUFTT05fREVDTElORUQQARIlCiFJTlZJVEFUSU9OX1JF", + "TU9WRURfUkVBU09OX1JFVk9LRUQQAhIlCiFJTlZJVEFUSU9OX1JFTU9WRURf", + "UkVBU09OX0lHTk9SRUQQAxIlCiFJTlZJVEFUSU9OX1JFTU9WRURfUkVBU09O", + "X0VYUElSRUQQBBImCiJJTlZJVEFUSU9OX1JFTU9WRURfUkVBU09OX0NBTkNF", + "TEVEEAUquAEKF1N1Z2dlc3Rpb25SZW1vdmVkUmVhc29uEiYKIlNVR0dFU1RJ", + "T05fUkVNT1ZFRF9SRUFTT05fQVBQUk9WRUQQABImCiJTVUdHRVNUSU9OX1JF", + "TU9WRURfUkVBU09OX0RFQ0xJTkVEEAESJQohU1VHR0VTVElPTl9SRU1PVkVE", + "X1JFQVNPTl9FWFBJUkVEEAISJgoiU1VHR0VTVElPTl9SRU1PVkVEX1JFQVNP", + "Tl9DQU5DRUxFRBADQiYKDGJncy5wcm90b2NvbEIUSW52aXRhdGlvblR5cGVz", + "UHJvdG9IAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationRemovedReason), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SuggestionRemovedReason), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Invitation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Invitation.Parser, new[]{ "Id", "InviterIdentity", "InviteeIdentity", "InviterName", "InviteeName", "InvitationMessage", "CreationTime", "ExpirationTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationParams.Parser, new[]{ "InvitationMessage", "ExpirationTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum InvitationRemovedReason { + [pbr::OriginalName("INVITATION_REMOVED_REASON_ACCEPTED")] Accepted = 0, + [pbr::OriginalName("INVITATION_REMOVED_REASON_DECLINED")] Declined = 1, + [pbr::OriginalName("INVITATION_REMOVED_REASON_REVOKED")] Revoked = 2, + [pbr::OriginalName("INVITATION_REMOVED_REASON_IGNORED")] Ignored = 3, + [pbr::OriginalName("INVITATION_REMOVED_REASON_EXPIRED")] Expired = 4, + [pbr::OriginalName("INVITATION_REMOVED_REASON_CANCELED")] Canceled = 5, + } + + public enum SuggestionRemovedReason { + [pbr::OriginalName("SUGGESTION_REMOVED_REASON_APPROVED")] Approved = 0, + [pbr::OriginalName("SUGGESTION_REMOVED_REASON_DECLINED")] Declined = 1, + [pbr::OriginalName("SUGGESTION_REMOVED_REASON_EXPIRED")] Expired = 2, + [pbr::OriginalName("SUGGESTION_REMOVED_REASON_CANCELED")] Canceled = 3, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Invitation : pb::IExtendableMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Invitation()); + private pb::UnknownFieldSet _unknownFields; + private pb::ExtensionSet _extensions; + private pb::ExtensionSet _Extensions { get { return _extensions; } } + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Invitation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Invitation(Invitation other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + inviterIdentity_ = other.inviterIdentity_ != null ? other.inviterIdentity_.Clone() : null; + inviteeIdentity_ = other.inviteeIdentity_ != null ? other.inviteeIdentity_.Clone() : null; + inviterName_ = other.inviterName_; + inviteeName_ = other.inviteeName_; + invitationMessage_ = other.invitationMessage_; + creationTime_ = other.creationTime_; + expirationTime_ = other.expirationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + _extensions = pb::ExtensionSet.Clone(other._extensions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Invitation Clone() { + return new Invitation(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static ulong IdDefaultValue = 0UL; + + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "inviter_identity" field. + public const int InviterIdentityFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity inviterIdentity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity InviterIdentity { + get { return inviterIdentity_; } + set { + inviterIdentity_ = value; + } + } + + /// Field number for the "invitee_identity" field. + public const int InviteeIdentityFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity inviteeIdentity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity InviteeIdentity { + get { return inviteeIdentity_; } + set { + inviteeIdentity_ = value; + } + } + + /// Field number for the "inviter_name" field. + public const int InviterNameFieldNumber = 4; + private readonly static string InviterNameDefaultValue = ""; + + private string inviterName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InviterName { + get { return inviterName_ ?? InviterNameDefaultValue; } + set { + inviterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "inviter_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInviterName { + get { return inviterName_ != null; } + } + /// Clears the value of the "inviter_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInviterName() { + inviterName_ = null; + } + + /// Field number for the "invitee_name" field. + public const int InviteeNameFieldNumber = 5; + private readonly static string InviteeNameDefaultValue = ""; + + private string inviteeName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InviteeName { + get { return inviteeName_ ?? InviteeNameDefaultValue; } + set { + inviteeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "invitee_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInviteeName { + get { return inviteeName_ != null; } + } + /// Clears the value of the "invitee_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInviteeName() { + inviteeName_ = null; + } + + /// Field number for the "invitation_message" field. + public const int InvitationMessageFieldNumber = 6; + private readonly static string InvitationMessageDefaultValue = ""; + + private string invitationMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InvitationMessage { + get { return invitationMessage_ ?? InvitationMessageDefaultValue; } + set { + invitationMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "invitation_message" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationMessage { + get { return invitationMessage_ != null; } + } + /// Clears the value of the "invitation_message" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationMessage() { + invitationMessage_ = null; + } + + /// Field number for the "creation_time" field. + public const int CreationTimeFieldNumber = 7; + private readonly static ulong CreationTimeDefaultValue = 0UL; + + private ulong creationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CreationTime { + get { if ((_hasBits0 & 2) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } } + set { + _hasBits0 |= 2; + creationTime_ = value; + } + } + /// Gets whether the "creation_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCreationTime { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "creation_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCreationTime() { + _hasBits0 &= ~2; + } + + /// Field number for the "expiration_time" field. + public const int ExpirationTimeFieldNumber = 8; + private readonly static ulong ExpirationTimeDefaultValue = 0UL; + + private ulong expirationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationTime { + get { if ((_hasBits0 & 4) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } } + set { + _hasBits0 |= 4; + expirationTime_ = value; + } + } + /// Gets whether the "expiration_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationTime { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "expiration_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationTime() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Invitation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Invitation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(InviterIdentity, other.InviterIdentity)) return false; + if (!object.Equals(InviteeIdentity, other.InviteeIdentity)) return false; + if (InviterName != other.InviterName) return false; + if (InviteeName != other.InviteeName) return false; + if (InvitationMessage != other.InvitationMessage) return false; + if (CreationTime != other.CreationTime) return false; + if (ExpirationTime != other.ExpirationTime) return false; + if (!Equals(_extensions, other._extensions)) { + return false; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (inviterIdentity_ != null) hash ^= InviterIdentity.GetHashCode(); + if (inviteeIdentity_ != null) hash ^= InviteeIdentity.GetHashCode(); + if (HasInviterName) hash ^= InviterName.GetHashCode(); + if (HasInviteeName) hash ^= InviteeName.GetHashCode(); + if (HasInvitationMessage) hash ^= InvitationMessage.GetHashCode(); + if (HasCreationTime) hash ^= CreationTime.GetHashCode(); + if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode(); + if (_extensions != null) { + hash ^= _extensions.GetHashCode(); + } + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (inviterIdentity_ != null) { + output.WriteRawTag(18); + output.WriteMessage(InviterIdentity); + } + if (inviteeIdentity_ != null) { + output.WriteRawTag(26); + output.WriteMessage(InviteeIdentity); + } + if (HasInviterName) { + output.WriteRawTag(34); + output.WriteString(InviterName); + } + if (HasInviteeName) { + output.WriteRawTag(42); + output.WriteString(InviteeName); + } + if (HasInvitationMessage) { + output.WriteRawTag(50); + output.WriteString(InvitationMessage); + } + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(64); + output.WriteUInt64(ExpirationTime); + } + if (_extensions != null) { + _extensions.WriteTo(output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(9); + output.WriteFixed64(Id); + } + if (inviterIdentity_ != null) { + output.WriteRawTag(18); + output.WriteMessage(InviterIdentity); + } + if (inviteeIdentity_ != null) { + output.WriteRawTag(26); + output.WriteMessage(InviteeIdentity); + } + if (HasInviterName) { + output.WriteRawTag(34); + output.WriteString(InviterName); + } + if (HasInviteeName) { + output.WriteRawTag(42); + output.WriteString(InviteeName); + } + if (HasInvitationMessage) { + output.WriteRawTag(50); + output.WriteString(InvitationMessage); + } + if (HasCreationTime) { + output.WriteRawTag(56); + output.WriteUInt64(CreationTime); + } + if (HasExpirationTime) { + output.WriteRawTag(64); + output.WriteUInt64(ExpirationTime); + } + if (_extensions != null) { + _extensions.WriteTo(ref output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + 8; + } + if (inviterIdentity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InviterIdentity); + } + if (inviteeIdentity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InviteeIdentity); + } + if (HasInviterName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InviterName); + } + if (HasInviteeName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InviteeName); + } + if (HasInvitationMessage) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InvitationMessage); + } + if (HasCreationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime); + } + if (HasExpirationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime); + } + if (_extensions != null) { + size += _extensions.CalculateSize(); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Invitation other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.inviterIdentity_ != null) { + if (inviterIdentity_ == null) { + InviterIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + InviterIdentity.MergeFrom(other.InviterIdentity); + } + if (other.inviteeIdentity_ != null) { + if (inviteeIdentity_ == null) { + InviteeIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + InviteeIdentity.MergeFrom(other.InviteeIdentity); + } + if (other.HasInviterName) { + InviterName = other.InviterName; + } + if (other.HasInviteeName) { + InviteeName = other.InviteeName; + } + if (other.HasInvitationMessage) { + InvitationMessage = other.InvitationMessage; + } + if (other.HasCreationTime) { + CreationTime = other.CreationTime; + } + if (other.HasExpirationTime) { + ExpirationTime = other.ExpirationTime; + } + pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + } + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + if (inviterIdentity_ == null) { + InviterIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviterIdentity); + break; + } + case 26: { + if (inviteeIdentity_ == null) { + InviteeIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviteeIdentity); + break; + } + case 34: { + InviterName = input.ReadString(); + break; + } + case 42: { + InviteeName = input.ReadString(); + break; + } + case 50: { + InvitationMessage = input.ReadString(); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 64: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + } + break; + case 9: { + Id = input.ReadFixed64(); + break; + } + case 18: { + if (inviterIdentity_ == null) { + InviterIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviterIdentity); + break; + } + case 26: { + if (inviteeIdentity_ == null) { + InviteeIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Identity(); + } + input.ReadMessage(InviteeIdentity); + break; + } + case 34: { + InviterName = input.ReadString(); + break; + } + case 42: { + InviteeName = input.ReadString(); + break; + } + case 50: { + InvitationMessage = input.ReadString(); + break; + } + case 56: { + CreationTime = input.ReadUInt64(); + break; + } + case 64: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + public TValue GetExtension(pb::Extension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetOrInitializeExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); + } + public void SetExtension(pb::Extension extension, TValue value) { + pb::ExtensionSet.Set(ref _extensions, extension, value); + } + public bool HasExtension(pb::Extension extension) { + return pb::ExtensionSet.Has(ref _extensions, extension); + } + public void ClearExtension(pb::Extension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + public void ClearExtension(pb::RepeatedExtension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InvitationParams : pb::IExtendableMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InvitationParams()); + private pb::UnknownFieldSet _unknownFields; + private pb::ExtensionSet _extensions; + private pb::ExtensionSet _Extensions { get { return _extensions; } } + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.InvitationTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationParams() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationParams(InvitationParams other) : this() { + _hasBits0 = other._hasBits0; + invitationMessage_ = other.invitationMessage_; + expirationTime_ = other.expirationTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + _extensions = pb::ExtensionSet.Clone(other._extensions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitationParams Clone() { + return new InvitationParams(this); + } + + /// Field number for the "invitation_message" field. + public const int InvitationMessageFieldNumber = 1; + private readonly static string InvitationMessageDefaultValue = ""; + + private string invitationMessage_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InvitationMessage { + get { return invitationMessage_ ?? InvitationMessageDefaultValue; } + set { + invitationMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "invitation_message" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInvitationMessage { + get { return invitationMessage_ != null; } + } + /// Clears the value of the "invitation_message" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInvitationMessage() { + invitationMessage_ = null; + } + + /// Field number for the "expiration_time" field. + public const int ExpirationTimeFieldNumber = 2; + private readonly static ulong ExpirationTimeDefaultValue = 0UL; + + private ulong expirationTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ExpirationTime { + get { if ((_hasBits0 & 1) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } } + set { + _hasBits0 |= 1; + expirationTime_ = value; + } + } + /// Gets whether the "expiration_time" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirationTime { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "expiration_time" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirationTime() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InvitationParams); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InvitationParams other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (InvitationMessage != other.InvitationMessage) return false; + if (ExpirationTime != other.ExpirationTime) return false; + if (!Equals(_extensions, other._extensions)) { + return false; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasInvitationMessage) hash ^= InvitationMessage.GetHashCode(); + if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode(); + if (_extensions != null) { + hash ^= _extensions.GetHashCode(); + } + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasInvitationMessage) { + output.WriteRawTag(10); + output.WriteString(InvitationMessage); + } + if (HasExpirationTime) { + output.WriteRawTag(16); + output.WriteUInt64(ExpirationTime); + } + if (_extensions != null) { + _extensions.WriteTo(output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasInvitationMessage) { + output.WriteRawTag(10); + output.WriteString(InvitationMessage); + } + if (HasExpirationTime) { + output.WriteRawTag(16); + output.WriteUInt64(ExpirationTime); + } + if (_extensions != null) { + _extensions.WriteTo(ref output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasInvitationMessage) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InvitationMessage); + } + if (HasExpirationTime) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime); + } + if (_extensions != null) { + size += _extensions.CalculateSize(); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InvitationParams other) { + if (other == null) { + return; + } + if (other.HasInvitationMessage) { + InvitationMessage = other.InvitationMessage; + } + if (other.HasExpirationTime) { + ExpirationTime = other.ExpirationTime; + } + pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + } + break; + case 10: { + InvitationMessage = input.ReadString(); + break; + } + case 16: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + } + break; + case 10: { + InvitationMessage = input.ReadString(); + break; + } + case 16: { + ExpirationTime = input.ReadUInt64(); + break; + } + } + } + } + #endif + + public TValue GetExtension(pb::Extension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.Get(ref _extensions, extension); + } + public pbc::RepeatedField GetOrInitializeExtension(pb::RepeatedExtension extension) { + return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); + } + public void SetExtension(pb::Extension extension, TValue value) { + pb::ExtensionSet.Set(ref _extensions, extension, value); + } + public bool HasExtension(pb::Extension extension) { + return pb::ExtensionSet.Has(ref _extensions, extension); + } + public void ClearExtension(pb::Extension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + public void ClearExtension(pb::RepeatedExtension extension) { + pb::ExtensionSet.Clear(ref _extensions, extension); + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/MessageTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/MessageTypes.cs new file mode 100644 index 0000000000..e10765882e --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/MessageTypes.cs @@ -0,0 +1,312 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/message_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/message_types.proto + public static partial class MessageTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/message_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MessageTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiViZ3MvbG93L3BiL2NsaWVudC9tZXNzYWdlX3R5cGVzLnByb3RvEgxiZ3Mu", + "cHJvdG9jb2wiLAoJTWVzc2FnZUlkEg0KBWVwb2NoGAEgASgEEhAKCHBvc2l0", + "aW9uGAIgASgEKjQKD1R5cGluZ0luZGljYXRvchIQCgxUWVBJTkdfU1RBUlQQ", + "ABIPCgtUWVBJTkdfU1RPUBABQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TypingIndicator), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId.Parser, new[]{ "Epoch", "Position" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum TypingIndicator { + [pbr::OriginalName("TYPING_START")] TypingStart = 0, + [pbr::OriginalName("TYPING_STOP")] TypingStop = 1, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MessageId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageId(MessageId other) : this() { + _hasBits0 = other._hasBits0; + epoch_ = other.epoch_; + position_ = other.position_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageId Clone() { + return new MessageId(this); + } + + /// Field number for the "epoch" field. + public const int EpochFieldNumber = 1; + private readonly static ulong EpochDefaultValue = 0UL; + + private ulong epoch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Epoch { + get { if ((_hasBits0 & 1) != 0) { return epoch_; } else { return EpochDefaultValue; } } + set { + _hasBits0 |= 1; + epoch_ = value; + } + } + /// Gets whether the "epoch" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEpoch { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "epoch" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEpoch() { + _hasBits0 &= ~1; + } + + /// Field number for the "position" field. + public const int PositionFieldNumber = 2; + private readonly static ulong PositionDefaultValue = 0UL; + + private ulong position_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Position { + get { if ((_hasBits0 & 2) != 0) { return position_; } else { return PositionDefaultValue; } } + set { + _hasBits0 |= 2; + position_ = value; + } + } + /// Gets whether the "position" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPosition { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "position" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPosition() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MessageId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MessageId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Epoch != other.Epoch) return false; + if (Position != other.Position) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasEpoch) hash ^= Epoch.GetHashCode(); + if (HasPosition) hash ^= Position.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasEpoch) { + output.WriteRawTag(8); + output.WriteUInt64(Epoch); + } + if (HasPosition) { + output.WriteRawTag(16); + output.WriteUInt64(Position); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasEpoch) { + output.WriteRawTag(8); + output.WriteUInt64(Epoch); + } + if (HasPosition) { + output.WriteRawTag(16); + output.WriteUInt64(Position); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasEpoch) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Epoch); + } + if (HasPosition) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Position); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MessageId other) { + if (other == null) { + return; + } + if (other.HasEpoch) { + Epoch = other.Epoch; + } + if (other.HasPosition) { + Position = other.Position; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Epoch = input.ReadUInt64(); + break; + } + case 16: { + Position = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Epoch = input.ReadUInt64(); + break; + } + case 16: { + Position = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/NotificationTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/NotificationTypes.cs new file mode 100644 index 0000000000..489b6c2fd3 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/NotificationTypes.cs @@ -0,0 +1,1406 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/notification_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/notification_types.proto + public static partial class NotificationTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/notification_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static NotificationTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CipiZ3MvbG93L3BiL2NsaWVudC9ub3RpZmljYXRpb25fdHlwZXMucHJvdG8S", + "HGJncy5wcm90b2NvbC5ub3RpZmljYXRpb24udjEaJWJncy9sb3cvcGIvY2xp", + "ZW50L2FjY291bnRfdHlwZXMucHJvdG8aJ2Jncy9sb3cvcGIvY2xpZW50L2F0", + "dHJpYnV0ZV90eXBlcy5wcm90bxokYmdzL2xvdy9wYi9jbGllbnQvZW50aXR5", + "X3R5cGVzLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJv", + "dG8iXgoGVGFyZ2V0Ej4KCGlkZW50aXR5GAEgASgLMiwuYmdzLnByb3RvY29s", + "Lm5vdGlmaWNhdGlvbi52MS5UYXJnZXRJZGVudGl0eRIMCgR0eXBlGAIgASgJ", + "OgaC+SsCEAEihwEKDlRhcmdldElkZW50aXR5EjMKB2FjY291bnQYASABKAsy", + "Ii5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50SWQSQAoMZ2FtZV9h", + "Y2NvdW50GAIgASgLMiouYmdzLnByb3RvY29sLmFjY291bnQudjEuR2FtZUFj", + "Y291bnRIYW5kbGUimgEKDFN1YnNjcmlwdGlvbhI0CgZ0YXJnZXQYASADKAsy", + "JC5iZ3MucHJvdG9jb2wubm90aWZpY2F0aW9uLnYxLlRhcmdldBI1CgpzdWJz", + "Y3JpYmVyGAIgASgLMiEuYmdzLnByb3RvY29sLmFjY291bnQudjEuSWRlbnRp", + "dHkSHQoRZGVsaXZlcnlfcmVxdWlyZWQYAyABKAhCAhgBIpIDCgxOb3RpZmlj", + "YXRpb24SKQoJc2VuZGVyX2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0", + "eUlkEikKCXRhcmdldF9pZBgCIAIoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJ", + "ZBIMCgR0eXBlGAMgAigJEioKCWF0dHJpYnV0ZRgEIAMoCzIXLmJncy5wcm90", + "b2NvbC5BdHRyaWJ1dGUSMQoRc2VuZGVyX2FjY291bnRfaWQYBSABKAsyFi5i", + "Z3MucHJvdG9jb2wuRW50aXR5SWQSMQoRdGFyZ2V0X2FjY291bnRfaWQYBiAB", + "KAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSIQoRc2VuZGVyX2JhdHRsZV90", + "YWcYByABKAlCBoL5KwIIARIhChF0YXJnZXRfYmF0dGxlX3RhZxgIIAEoCUIG", + "gvkrAggBEj4KE2ZvcndhcmRpbmdfaWRlbnRpdHkYCiABKAsyIS5iZ3MucHJv", + "dG9jb2wuYWNjb3VudC52MS5JZGVudGl0eToGgvkrAggBQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Target), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Target.Parser, new[]{ "Identity", "Type" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity.Parser, new[]{ "Account", "GameAccount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Subscription), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Subscription.Parser, new[]{ "Target", "Subscriber", "DeliveryRequired" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Notification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Notification.Parser, new[]{ "SenderId", "TargetId", "Type", "Attribute", "SenderAccountId", "TargetAccountId", "SenderBattleTag", "TargetBattleTag", "ForwardingIdentity" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Target : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Target()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.NotificationTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Target() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Target(Target other) : this() { + identity_ = other.identity_ != null ? other.identity_.Clone() : null; + type_ = other.type_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Target Clone() { + return new Target(this); + } + + /// Field number for the "identity" field. + public const int IdentityFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity identity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity Identity { + get { return identity_; } + set { + identity_ = value; + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private readonly static string TypeDefaultValue = ""; + + private string type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_ ?? TypeDefaultValue; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return type_ != null; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Target); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Target other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Identity, other.Identity)) return false; + if (Type != other.Type) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (identity_ != null) hash ^= Identity.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (identity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Identity); + } + if (HasType) { + output.WriteRawTag(18); + output.WriteString(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (identity_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Identity); + } + if (HasType) { + output.WriteRawTag(18); + output.WriteString(Type); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (identity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Identity); + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Target other) { + if (other == null) { + return; + } + if (other.identity_ != null) { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity(); + } + Identity.MergeFrom(other.Identity); + } + if (other.HasType) { + Type = other.Type; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity(); + } + input.ReadMessage(Identity); + break; + } + case 18: { + Type = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (identity_ == null) { + Identity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.TargetIdentity(); + } + input.ReadMessage(Identity); + break; + } + case 18: { + Type = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TargetIdentity : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TargetIdentity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.NotificationTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TargetIdentity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TargetIdentity(TargetIdentity other) : this() { + account_ = other.account_ != null ? other.account_.Clone() : null; + gameAccount_ = other.gameAccount_ != null ? other.gameAccount_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TargetIdentity Clone() { + return new TargetIdentity(this); + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId account_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId Account { + get { return account_; } + set { + account_ = value; + } + } + + /// Field number for the "game_account" field. + public const int GameAccountFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle gameAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle GameAccount { + get { return gameAccount_; } + set { + gameAccount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TargetIdentity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TargetIdentity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Account, other.Account)) return false; + if (!object.Equals(GameAccount, other.GameAccount)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (account_ != null) hash ^= Account.GetHashCode(); + if (gameAccount_ != null) hash ^= GameAccount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (gameAccount_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (account_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (gameAccount_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (account_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Account); + } + if (gameAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TargetIdentity other) { + if (other == null) { + return; + } + if (other.account_ != null) { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + Account.MergeFrom(other.Account); + } + if (other.gameAccount_ != null) { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + GameAccount.MergeFrom(other.GameAccount); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + case 18: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (account_ == null) { + Account = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(Account); + break; + } + case 18: { + if (gameAccount_ == null) { + GameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(GameAccount); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Subscription : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Subscription()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.NotificationTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Subscription() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Subscription(Subscription other) : this() { + _hasBits0 = other._hasBits0; + target_ = other.target_.Clone(); + subscriber_ = other.subscriber_ != null ? other.subscriber_.Clone() : null; + deliveryRequired_ = other.deliveryRequired_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Subscription Clone() { + return new Subscription(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_target_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.Target.Parser); + private readonly pbc::RepeatedField target_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Target { + get { return target_; } + } + + /// Field number for the "subscriber" field. + public const int SubscriberFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity subscriber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity Subscriber { + get { return subscriber_; } + set { + subscriber_ = value; + } + } + + /// Field number for the "delivery_required" field. + public const int DeliveryRequiredFieldNumber = 3; + private readonly static bool DeliveryRequiredDefaultValue = false; + + private bool deliveryRequired_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DeliveryRequired { + get { if ((_hasBits0 & 1) != 0) { return deliveryRequired_; } else { return DeliveryRequiredDefaultValue; } } + set { + _hasBits0 |= 1; + deliveryRequired_ = value; + } + } + /// Gets whether the "delivery_required" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDeliveryRequired { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "delivery_required" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDeliveryRequired() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Subscription); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Subscription other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!target_.Equals(other.target_)) return false; + if (!object.Equals(Subscriber, other.Subscriber)) return false; + if (DeliveryRequired != other.DeliveryRequired) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= target_.GetHashCode(); + if (subscriber_ != null) hash ^= Subscriber.GetHashCode(); + if (HasDeliveryRequired) hash ^= DeliveryRequired.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + target_.WriteTo(output, _repeated_target_codec); + if (subscriber_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Subscriber); + } + if (HasDeliveryRequired) { + output.WriteRawTag(24); + output.WriteBool(DeliveryRequired); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + target_.WriteTo(ref output, _repeated_target_codec); + if (subscriber_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Subscriber); + } + if (HasDeliveryRequired) { + output.WriteRawTag(24); + output.WriteBool(DeliveryRequired); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += target_.CalculateSize(_repeated_target_codec); + if (subscriber_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Subscriber); + } + if (HasDeliveryRequired) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Subscription other) { + if (other == null) { + return; + } + target_.Add(other.target_); + if (other.subscriber_ != null) { + if (subscriber_ == null) { + Subscriber = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity(); + } + Subscriber.MergeFrom(other.Subscriber); + } + if (other.HasDeliveryRequired) { + DeliveryRequired = other.DeliveryRequired; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + target_.AddEntriesFrom(input, _repeated_target_codec); + break; + } + case 18: { + if (subscriber_ == null) { + Subscriber = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity(); + } + input.ReadMessage(Subscriber); + break; + } + case 24: { + DeliveryRequired = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + target_.AddEntriesFrom(ref input, _repeated_target_codec); + break; + } + case 18: { + if (subscriber_ == null) { + Subscriber = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity(); + } + input.ReadMessage(Subscriber); + break; + } + case 24: { + DeliveryRequired = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Notification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Notification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Notification.V1.NotificationTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Notification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Notification(Notification other) : this() { + senderId_ = other.senderId_ != null ? other.senderId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + type_ = other.type_; + attribute_ = other.attribute_.Clone(); + senderAccountId_ = other.senderAccountId_ != null ? other.senderAccountId_.Clone() : null; + targetAccountId_ = other.targetAccountId_ != null ? other.targetAccountId_.Clone() : null; + senderBattleTag_ = other.senderBattleTag_; + targetBattleTag_ = other.targetBattleTag_; + forwardingIdentity_ = other.forwardingIdentity_ != null ? other.forwardingIdentity_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Notification Clone() { + return new Notification(this); + } + + /// Field number for the "sender_id" field. + public const int SenderIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId senderId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId SenderId { + get { return senderId_; } + set { + senderId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 3; + private readonly static string TypeDefaultValue = ""; + + private string type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_ ?? TypeDefaultValue; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return type_ != null; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + type_ = null; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "sender_account_id" field. + public const int SenderAccountIdFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId senderAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId SenderAccountId { + get { return senderAccountId_; } + set { + senderAccountId_ = value; + } + } + + /// Field number for the "target_account_id" field. + public const int TargetAccountIdFieldNumber = 6; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetAccountId { + get { return targetAccountId_; } + set { + targetAccountId_ = value; + } + } + + /// Field number for the "sender_battle_tag" field. + public const int SenderBattleTagFieldNumber = 7; + private readonly static string SenderBattleTagDefaultValue = ""; + + private string senderBattleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SenderBattleTag { + get { return senderBattleTag_ ?? SenderBattleTagDefaultValue; } + set { + senderBattleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "sender_battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSenderBattleTag { + get { return senderBattleTag_ != null; } + } + /// Clears the value of the "sender_battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSenderBattleTag() { + senderBattleTag_ = null; + } + + /// Field number for the "target_battle_tag" field. + public const int TargetBattleTagFieldNumber = 8; + private readonly static string TargetBattleTagDefaultValue = ""; + + private string targetBattleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetBattleTag { + get { return targetBattleTag_ ?? TargetBattleTagDefaultValue; } + set { + targetBattleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "target_battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTargetBattleTag { + get { return targetBattleTag_ != null; } + } + /// Clears the value of the "target_battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTargetBattleTag() { + targetBattleTag_ = null; + } + + /// Field number for the "forwarding_identity" field. + public const int ForwardingIdentityFieldNumber = 10; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity forwardingIdentity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity ForwardingIdentity { + get { return forwardingIdentity_; } + set { + forwardingIdentity_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Notification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Notification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SenderId, other.SenderId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + if (Type != other.Type) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (!object.Equals(SenderAccountId, other.SenderAccountId)) return false; + if (!object.Equals(TargetAccountId, other.TargetAccountId)) return false; + if (SenderBattleTag != other.SenderBattleTag) return false; + if (TargetBattleTag != other.TargetBattleTag) return false; + if (!object.Equals(ForwardingIdentity, other.ForwardingIdentity)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (senderId_ != null) hash ^= SenderId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (senderAccountId_ != null) hash ^= SenderAccountId.GetHashCode(); + if (targetAccountId_ != null) hash ^= TargetAccountId.GetHashCode(); + if (HasSenderBattleTag) hash ^= SenderBattleTag.GetHashCode(); + if (HasTargetBattleTag) hash ^= TargetBattleTag.GetHashCode(); + if (forwardingIdentity_ != null) hash ^= ForwardingIdentity.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (senderId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SenderId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (HasType) { + output.WriteRawTag(26); + output.WriteString(Type); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (senderAccountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SenderAccountId); + } + if (targetAccountId_ != null) { + output.WriteRawTag(50); + output.WriteMessage(TargetAccountId); + } + if (HasSenderBattleTag) { + output.WriteRawTag(58); + output.WriteString(SenderBattleTag); + } + if (HasTargetBattleTag) { + output.WriteRawTag(66); + output.WriteString(TargetBattleTag); + } + if (forwardingIdentity_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ForwardingIdentity); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (senderId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SenderId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (HasType) { + output.WriteRawTag(26); + output.WriteString(Type); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (senderAccountId_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SenderAccountId); + } + if (targetAccountId_ != null) { + output.WriteRawTag(50); + output.WriteMessage(TargetAccountId); + } + if (HasSenderBattleTag) { + output.WriteRawTag(58); + output.WriteString(SenderBattleTag); + } + if (HasTargetBattleTag) { + output.WriteRawTag(66); + output.WriteString(TargetBattleTag); + } + if (forwardingIdentity_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ForwardingIdentity); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (senderId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SenderId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (senderAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SenderAccountId); + } + if (targetAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetAccountId); + } + if (HasSenderBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderBattleTag); + } + if (HasTargetBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetBattleTag); + } + if (forwardingIdentity_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ForwardingIdentity); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Notification other) { + if (other == null) { + return; + } + if (other.senderId_ != null) { + if (senderId_ == null) { + SenderId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + SenderId.MergeFrom(other.SenderId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + if (other.HasType) { + Type = other.Type; + } + attribute_.Add(other.attribute_); + if (other.senderAccountId_ != null) { + if (senderAccountId_ == null) { + SenderAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + SenderAccountId.MergeFrom(other.SenderAccountId); + } + if (other.targetAccountId_ != null) { + if (targetAccountId_ == null) { + TargetAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetAccountId.MergeFrom(other.TargetAccountId); + } + if (other.HasSenderBattleTag) { + SenderBattleTag = other.SenderBattleTag; + } + if (other.HasTargetBattleTag) { + TargetBattleTag = other.TargetBattleTag; + } + if (other.forwardingIdentity_ != null) { + if (forwardingIdentity_ == null) { + ForwardingIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity(); + } + ForwardingIdentity.MergeFrom(other.ForwardingIdentity); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (senderId_ == null) { + SenderId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(SenderId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: { + Type = input.ReadString(); + break; + } + case 34: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 42: { + if (senderAccountId_ == null) { + SenderAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(SenderAccountId); + break; + } + case 50: { + if (targetAccountId_ == null) { + TargetAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetAccountId); + break; + } + case 58: { + SenderBattleTag = input.ReadString(); + break; + } + case 66: { + TargetBattleTag = input.ReadString(); + break; + } + case 82: { + if (forwardingIdentity_ == null) { + ForwardingIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity(); + } + input.ReadMessage(ForwardingIdentity); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (senderId_ == null) { + SenderId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(SenderId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + case 26: { + Type = input.ReadString(); + break; + } + case 34: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 42: { + if (senderAccountId_ == null) { + SenderAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(SenderAccountId); + break; + } + case 50: { + if (targetAccountId_ == null) { + TargetAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetAccountId); + break; + } + case 58: { + SenderBattleTag = input.ReadString(); + break; + } + case 66: { + TargetBattleTag = input.ReadString(); + break; + } + case 82: { + if (forwardingIdentity_ == null) { + ForwardingIdentity = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.Identity(); + } + input.ReadMessage(ForwardingIdentity); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceListener.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceListener.cs new file mode 100644 index 0000000000..1e51a1a1b0 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceListener.cs @@ -0,0 +1,619 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/presence_listener.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/presence_listener.proto + public static partial class PresenceListenerReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/presence_listener.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PresenceListenerReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiliZ3MvbG93L3BiL2NsaWVudC9wcmVzZW5jZV9saXN0ZW5lci5wcm90bxIY", + "YmdzLnByb3RvY29sLnByZXNlbmNlLnYxGiZiZ3MvbG93L3BiL2NsaWVudC9w", + "cmVzZW5jZV90eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGllbnQvYWNjb3Vu", + "dF90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnBy", + "b3RvIqYBChVTdWJzY3JpYmVOb3RpZmljYXRpb24SOQoNc3Vic2NyaWJlcl9p", + "ZBgBIAEoCzIiLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRJZBI2", + "CgVzdGF0ZRgCIAMoCzInLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5QcmVz", + "ZW5jZVN0YXRlEhoKEnN1YnNjcmliZXJfcHJvZ3JhbRgDIAEoDSKpAQoYU3Rh", + "dGVDaGFuZ2VkTm90aWZpY2F0aW9uEjkKDXN1YnNjcmliZXJfaWQYASABKAsy", + "Ii5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50SWQSNgoFc3RhdGUY", + "AiADKAsyJy5iZ3MucHJvdG9jb2wucHJlc2VuY2UudjEuUHJlc2VuY2VTdGF0", + "ZRIaChJzdWJzY3JpYmVyX3Byb2dyYW0YAyABKA0ynAIKEFByZXNlbmNlTGlz", + "dGVuZXISYwoLT25TdWJzY3JpYmUSLy5iZ3MucHJvdG9jb2wucHJlc2VuY2Uu", + "djEuU3Vic2NyaWJlTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JF", + "U1BPTlNFIgiC+SsECAE4ARJpCg5PblN0YXRlQ2hhbmdlZBIyLmJncy5wcm90", + "b2NvbC5wcmVzZW5jZS52MS5TdGF0ZUNoYW5nZWROb3RpZmljYXRpb24aGS5i", + "Z3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiCIL5KwQIAjgBGjiC+SsuCipibmV0", + "LnByb3RvY29sLnByZXNlbmNlLnYxLlByZXNlbmNlTGlzdGVuZXI4AYr5KwII", + "AUICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeNotification.Parser, new[]{ "SubscriberId", "State", "SubscriberProgram" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.StateChangedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.StateChangedNotification.Parser, new[]{ "SubscriberId", "State", "SubscriberProgram" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceListenerReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeNotification(SubscribeNotification other) : this() { + _hasBits0 = other._hasBits0; + subscriberId_ = other.subscriberId_ != null ? other.subscriberId_.Clone() : null; + state_ = other.state_.Clone(); + subscriberProgram_ = other.subscriberProgram_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeNotification Clone() { + return new SubscribeNotification(this); + } + + /// Field number for the "subscriber_id" field. + public const int SubscriberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId subscriberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId SubscriberId { + get { return subscriberId_; } + set { + subscriberId_ = value; + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_state_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceState.Parser); + private readonly pbc::RepeatedField state_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField State { + get { return state_; } + } + + /// Field number for the "subscriber_program" field. + public const int SubscriberProgramFieldNumber = 3; + private readonly static uint SubscriberProgramDefaultValue = 0; + + private uint subscriberProgram_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SubscriberProgram { + get { if ((_hasBits0 & 1) != 0) { return subscriberProgram_; } else { return SubscriberProgramDefaultValue; } } + set { + _hasBits0 |= 1; + subscriberProgram_ = value; + } + } + /// Gets whether the "subscriber_program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriberProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "subscriber_program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriberProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SubscriberId, other.SubscriberId)) return false; + if(!state_.Equals(other.state_)) return false; + if (SubscriberProgram != other.SubscriberProgram) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (subscriberId_ != null) hash ^= SubscriberId.GetHashCode(); + hash ^= state_.GetHashCode(); + if (HasSubscriberProgram) hash ^= SubscriberProgram.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (subscriberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SubscriberId); + } + state_.WriteTo(output, _repeated_state_codec); + if (HasSubscriberProgram) { + output.WriteRawTag(24); + output.WriteUInt32(SubscriberProgram); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (subscriberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SubscriberId); + } + state_.WriteTo(ref output, _repeated_state_codec); + if (HasSubscriberProgram) { + output.WriteRawTag(24); + output.WriteUInt32(SubscriberProgram); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (subscriberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubscriberId); + } + size += state_.CalculateSize(_repeated_state_codec); + if (HasSubscriberProgram) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SubscriberProgram); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeNotification other) { + if (other == null) { + return; + } + if (other.subscriberId_ != null) { + if (subscriberId_ == null) { + SubscriberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + SubscriberId.MergeFrom(other.SubscriberId); + } + state_.Add(other.state_); + if (other.HasSubscriberProgram) { + SubscriberProgram = other.SubscriberProgram; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (subscriberId_ == null) { + SubscriberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(SubscriberId); + break; + } + case 18: { + state_.AddEntriesFrom(input, _repeated_state_codec); + break; + } + case 24: { + SubscriberProgram = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (subscriberId_ == null) { + SubscriberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(SubscriberId); + break; + } + case 18: { + state_.AddEntriesFrom(ref input, _repeated_state_codec); + break; + } + case 24: { + SubscriberProgram = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StateChangedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StateChangedNotification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceListenerReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateChangedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateChangedNotification(StateChangedNotification other) : this() { + _hasBits0 = other._hasBits0; + subscriberId_ = other.subscriberId_ != null ? other.subscriberId_.Clone() : null; + state_ = other.state_.Clone(); + subscriberProgram_ = other.subscriberProgram_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateChangedNotification Clone() { + return new StateChangedNotification(this); + } + + /// Field number for the "subscriber_id" field. + public const int SubscriberIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId subscriberId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId SubscriberId { + get { return subscriberId_; } + set { + subscriberId_ = value; + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_state_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceState.Parser); + private readonly pbc::RepeatedField state_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField State { + get { return state_; } + } + + /// Field number for the "subscriber_program" field. + public const int SubscriberProgramFieldNumber = 3; + private readonly static uint SubscriberProgramDefaultValue = 0; + + private uint subscriberProgram_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SubscriberProgram { + get { if ((_hasBits0 & 1) != 0) { return subscriberProgram_; } else { return SubscriberProgramDefaultValue; } } + set { + _hasBits0 |= 1; + subscriberProgram_ = value; + } + } + /// Gets whether the "subscriber_program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSubscriberProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "subscriber_program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSubscriberProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StateChangedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StateChangedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SubscriberId, other.SubscriberId)) return false; + if(!state_.Equals(other.state_)) return false; + if (SubscriberProgram != other.SubscriberProgram) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (subscriberId_ != null) hash ^= SubscriberId.GetHashCode(); + hash ^= state_.GetHashCode(); + if (HasSubscriberProgram) hash ^= SubscriberProgram.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (subscriberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SubscriberId); + } + state_.WriteTo(output, _repeated_state_codec); + if (HasSubscriberProgram) { + output.WriteRawTag(24); + output.WriteUInt32(SubscriberProgram); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (subscriberId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SubscriberId); + } + state_.WriteTo(ref output, _repeated_state_codec); + if (HasSubscriberProgram) { + output.WriteRawTag(24); + output.WriteUInt32(SubscriberProgram); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (subscriberId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubscriberId); + } + size += state_.CalculateSize(_repeated_state_codec); + if (HasSubscriberProgram) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SubscriberProgram); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StateChangedNotification other) { + if (other == null) { + return; + } + if (other.subscriberId_ != null) { + if (subscriberId_ == null) { + SubscriberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + SubscriberId.MergeFrom(other.SubscriberId); + } + state_.Add(other.state_); + if (other.HasSubscriberProgram) { + SubscriberProgram = other.SubscriberProgram; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (subscriberId_ == null) { + SubscriberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(SubscriberId); + break; + } + case 18: { + state_.AddEntriesFrom(input, _repeated_state_codec); + break; + } + case 24: { + SubscriberProgram = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (subscriberId_ == null) { + SubscriberId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(SubscriberId); + break; + } + case 18: { + state_.AddEntriesFrom(ref input, _repeated_state_codec); + break; + } + case 24: { + SubscriberProgram = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceService.cs new file mode 100644 index 0000000000..edfa9aaea7 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceService.cs @@ -0,0 +1,2571 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/presence_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/presence_service.proto + public static partial class PresenceServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/presence_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PresenceServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihiZ3MvbG93L3BiL2NsaWVudC9wcmVzZW5jZV9zZXJ2aWNlLnByb3RvEhhi", + "Z3MucHJvdG9jb2wucHJlc2VuY2UudjEaJGJncy9sb3cvcGIvY2xpZW50L2Vu", + "dGl0eV90eXBlcy5wcm90bxomYmdzL2xvdy9wYi9jbGllbnQvcHJlc2VuY2Vf", + "dHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3JwY190eXBlcy5wcm90", + "byLhAQoQU3Vic2NyaWJlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIWLmJn", + "cy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAiABEikKCWVudGl0eV9pZBgCIAIo", + "CzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIRCglvYmplY3RfaWQYAyACKAQS", + "HQoHcHJvZ3JhbRgEIAMoB0IMivkrCCoGCgQIABBkEj4KA2tleRgGIAMoCzIi", + "LmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5GaWVsZEtleUINivkrCSoHCgUI", + "ABD0AyKEAQoSVW5zdWJzY3JpYmVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgL", + "MhYuYmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsCIAESKQoJZW50aXR5X2lk", + "GAIgAigLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEhEKCW9iamVjdF9pZBgD", + "IAEoBCLCAQoNVXBkYXRlUmVxdWVzdBIpCgllbnRpdHlfaWQYASACKAsyFi5i", + "Z3MucHJvdG9jb2wuRW50aXR5SWQSQQoPZmllbGRfb3BlcmF0aW9uGAIgAygL", + "MiguYmdzLnByb3RvY29sLnByZXNlbmNlLnYxLkZpZWxkT3BlcmF0aW9uEhEK", + "CW5vX2NyZWF0ZRgDIAEoCBIwCghhZ2VudF9pZBgEIAEoCzIWLmJncy5wcm90", + "b2NvbC5FbnRpdHlJZEIGgvkrAiABIqoBCgxRdWVyeVJlcXVlc3QSKQoJZW50", + "aXR5X2lkGAEgAigLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEj0KA2tleRgC", + "IAMoCzIiLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5GaWVsZEtleUIMivkr", + "CCoGCgQIABBkEjAKCGFnZW50X2lkGAMgASgLMhYuYmdzLnByb3RvY29sLkVu", + "dGl0eUlkQgaC+SsCIAEiPwoNUXVlcnlSZXNwb25zZRIuCgVmaWVsZBgCIAMo", + "CzIfLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5GaWVsZCL1AQoVQmF0Y2hT", + "dWJzY3JpYmVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMhYuYmdzLnByb3Rv", + "Y29sLkVudGl0eUlkQgaC+SsCIAESOAoJZW50aXR5X2lkGAIgAygLMhYuYmdz", + "LnByb3RvY29sLkVudGl0eUlkQg2K+SsJKgcKBQgBEPoBEh0KB3Byb2dyYW0Y", + "AyADKAdCDIr5KwgqBgoECAAQZBI+CgNrZXkYBCADKAsyIi5iZ3MucHJvdG9j", + "b2wucHJlc2VuY2UudjEuRmllbGRLZXlCDYr5KwkqBwoFCAAQ9AMSEQoJb2Jq", + "ZWN0X2lkGAUgASgEIkwKD1N1YnNjcmliZVJlc3VsdBIpCgllbnRpdHlfaWQY", + "ASABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSDgoGcmVzdWx0GAIgASgN", + "Il0KFkJhdGNoU3Vic2NyaWJlUmVzcG9uc2USQwoQc3Vic2NyaWJlX2ZhaWxl", + "ZBgBIAMoCzIpLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5TdWJzY3JpYmVS", + "ZXN1bHQimAEKF0JhdGNoVW5zdWJzY3JpYmVSZXF1ZXN0EjAKCGFnZW50X2lk", + "GAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsCIAESOAoJZW50", + "aXR5X2lkGAIgAygLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkQg2K+SsJKgcK", + "BQgBEPoBEhEKCW9iamVjdF9pZBgDIAEoBDKvBQoPUHJlc2VuY2VTZXJ2aWNl", + "ElcKCVN1YnNjcmliZRIqLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5TdWJz", + "Y3JpYmVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIIgvkrBAgBEAMS", + "WwoLVW5zdWJzY3JpYmUSLC5iZ3MucHJvdG9jb2wucHJlc2VuY2UudjEuVW5z", + "dWJzY3JpYmVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIIgvkrBAgC", + "EAMSUQoGVXBkYXRlEicuYmdzLnByb3RvY29sLnByZXNlbmNlLnYxLlVwZGF0", + "ZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgiC+SsECAMQAxJiCgVR", + "dWVyeRImLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5RdWVyeVJlcXVlc3Qa", + "Jy5iZ3MucHJvdG9jb2wucHJlc2VuY2UudjEuUXVlcnlSZXNwb25zZSIIgvkr", + "BAgEEAMSfQoOQmF0Y2hTdWJzY3JpYmUSLy5iZ3MucHJvdG9jb2wucHJlc2Vu", + "Y2UudjEuQmF0Y2hTdWJzY3JpYmVSZXF1ZXN0GjAuYmdzLnByb3RvY29sLnBy", + "ZXNlbmNlLnYxLkJhdGNoU3Vic2NyaWJlUmVzcG9uc2UiCIL5KwQICBADEmUK", + "EEJhdGNoVW5zdWJzY3JpYmUSMS5iZ3MucHJvdG9jb2wucHJlc2VuY2UudjEu", + "QmF0Y2hVbnN1YnNjcmliZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRh", + "IgiC+SsECAkQAxpJgvkrPwomYm5ldC5wcm90b2NvbC5wcmVzZW5jZS5QcmVz", + "ZW5jZVNlcnZpY2UqE3ByZXNlbmNlX2FnZ3JlZ2F0b3IwAYr5KwIQAUIFSAGA", + "AQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeRequest.Parser, new[]{ "AgentId", "EntityId", "ObjectId", "Program", "Key" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.UnsubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.UnsubscribeRequest.Parser, new[]{ "AgentId", "EntityId", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.UpdateRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.UpdateRequest.Parser, new[]{ "EntityId", "FieldOperation", "NoCreate", "AgentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.QueryRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.QueryRequest.Parser, new[]{ "EntityId", "Key", "AgentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.QueryResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.QueryResponse.Parser, new[]{ "Field" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.BatchSubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.BatchSubscribeRequest.Parser, new[]{ "AgentId", "EntityId", "Program", "Key", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeResult), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeResult.Parser, new[]{ "EntityId", "Result" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.BatchSubscribeResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.BatchSubscribeResponse.Parser, new[]{ "SubscribeFailed" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.BatchUnsubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.BatchUnsubscribeRequest.Parser, new[]{ "AgentId", "EntityId", "ObjectId" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest(SubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + objectId_ = other.objectId_; + program_ = other.program_.Clone(); + key_ = other.key_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest Clone() { + return new SubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 3; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_program_codec + = pb::FieldCodec.ForFixed32(37); + private readonly pbc::RepeatedField program_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Program { + get { return program_; } + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_key_codec + = pb::FieldCodec.ForMessage(50, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey.Parser); + private readonly pbc::RepeatedField key_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Key { + get { return key_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(EntityId, other.EntityId)) return false; + if (ObjectId != other.ObjectId) return false; + if(!program_.Equals(other.program_)) return false; + if(!key_.Equals(other.key_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + hash ^= program_.GetHashCode(); + hash ^= key_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (entityId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EntityId); + } + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + program_.WriteTo(output, _repeated_program_codec); + key_.WriteTo(output, _repeated_key_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (entityId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EntityId); + } + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + program_.WriteTo(ref output, _repeated_program_codec); + key_.WriteTo(ref output, _repeated_key_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + size += program_.CalculateSize(_repeated_program_codec); + size += key_.CalculateSize(_repeated_key_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + program_.Add(other.program_); + key_.Add(other.key_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + case 34: + case 37: { + program_.AddEntriesFrom(input, _repeated_program_codec); + break; + } + case 50: { + key_.AddEntriesFrom(input, _repeated_key_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + case 34: + case 37: { + program_.AddEntriesFrom(ref input, _repeated_program_codec); + break; + } + case 50: { + key_.AddEntriesFrom(ref input, _repeated_key_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest(UnsubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest Clone() { + return new UnsubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 3; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(EntityId, other.EntityId)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (entityId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EntityId); + } + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (entityId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EntityId); + } + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateRequest(UpdateRequest other) : this() { + _hasBits0 = other._hasBits0; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + fieldOperation_ = other.fieldOperation_.Clone(); + noCreate_ = other.noCreate_; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateRequest Clone() { + return new UpdateRequest(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "field_operation" field. + public const int FieldOperationFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_fieldOperation_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Parser); + private readonly pbc::RepeatedField fieldOperation_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FieldOperation { + get { return fieldOperation_; } + } + + /// Field number for the "no_create" field. + public const int NoCreateFieldNumber = 3; + private readonly static bool NoCreateDefaultValue = false; + + private bool noCreate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NoCreate { + get { if ((_hasBits0 & 1) != 0) { return noCreate_; } else { return NoCreateDefaultValue; } } + set { + _hasBits0 |= 1; + noCreate_ = value; + } + } + /// Gets whether the "no_create" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNoCreate { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "no_create" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNoCreate() { + _hasBits0 &= ~1; + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if(!fieldOperation_.Equals(other.fieldOperation_)) return false; + if (NoCreate != other.NoCreate) return false; + if (!object.Equals(AgentId, other.AgentId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + hash ^= fieldOperation_.GetHashCode(); + if (HasNoCreate) hash ^= NoCreate.GetHashCode(); + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + fieldOperation_.WriteTo(output, _repeated_fieldOperation_codec); + if (HasNoCreate) { + output.WriteRawTag(24); + output.WriteBool(NoCreate); + } + if (agentId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + fieldOperation_.WriteTo(ref output, _repeated_fieldOperation_codec); + if (HasNoCreate) { + output.WriteRawTag(24); + output.WriteBool(NoCreate); + } + if (agentId_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + size += fieldOperation_.CalculateSize(_repeated_fieldOperation_codec); + if (HasNoCreate) { + size += 1 + 1; + } + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateRequest other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + fieldOperation_.Add(other.fieldOperation_); + if (other.HasNoCreate) { + NoCreate = other.NoCreate; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + fieldOperation_.AddEntriesFrom(input, _repeated_fieldOperation_codec); + break; + } + case 24: { + NoCreate = input.ReadBool(); + break; + } + case 34: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + fieldOperation_.AddEntriesFrom(ref input, _repeated_fieldOperation_codec); + break; + } + case 24: { + NoCreate = input.ReadBool(); + break; + } + case 34: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QueryRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QueryRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryRequest(QueryRequest other) : this() { + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + key_ = other.key_.Clone(); + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryRequest Clone() { + return new QueryRequest(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_key_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey.Parser); + private readonly pbc::RepeatedField key_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Key { + get { return key_; } + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QueryRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QueryRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if(!key_.Equals(other.key_)) return false; + if (!object.Equals(AgentId, other.AgentId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + hash ^= key_.GetHashCode(); + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + key_.WriteTo(output, _repeated_key_codec); + if (agentId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + key_.WriteTo(ref output, _repeated_key_codec); + if (agentId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AgentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + size += key_.CalculateSize(_repeated_key_codec); + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryRequest other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + key_.Add(other.key_); + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + key_.AddEntriesFrom(input, _repeated_key_codec); + break; + } + case 26: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + key_.AddEntriesFrom(ref input, _repeated_key_codec); + break; + } + case 26: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QueryResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QueryResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryResponse(QueryResponse other) : this() { + field_ = other.field_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryResponse Clone() { + return new QueryResponse(this); + } + + /// Field number for the "field" field. + public const int FieldFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_field_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field.Parser); + private readonly pbc::RepeatedField field_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Field { + get { return field_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QueryResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QueryResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!field_.Equals(other.field_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= field_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + field_.WriteTo(output, _repeated_field_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + field_.WriteTo(ref output, _repeated_field_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += field_.CalculateSize(_repeated_field_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryResponse other) { + if (other == null) { + return; + } + field_.Add(other.field_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + field_.AddEntriesFrom(input, _repeated_field_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + field_.AddEntriesFrom(ref input, _repeated_field_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BatchSubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BatchSubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchSubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchSubscribeRequest(BatchSubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + entityId_ = other.entityId_.Clone(); + program_ = other.program_.Clone(); + key_ = other.key_.Clone(); + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchSubscribeRequest Clone() { + return new BatchSubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_entityId_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId.Parser); + private readonly pbc::RepeatedField entityId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EntityId { + get { return entityId_; } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_program_codec + = pb::FieldCodec.ForFixed32(29); + private readonly pbc::RepeatedField program_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Program { + get { return program_; } + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_key_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey.Parser); + private readonly pbc::RepeatedField key_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Key { + get { return key_; } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 5; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BatchSubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BatchSubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if(!entityId_.Equals(other.entityId_)) return false; + if(!program_.Equals(other.program_)) return false; + if(!key_.Equals(other.key_)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + hash ^= entityId_.GetHashCode(); + hash ^= program_.GetHashCode(); + hash ^= key_.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + entityId_.WriteTo(output, _repeated_entityId_codec); + program_.WriteTo(output, _repeated_program_codec); + key_.WriteTo(output, _repeated_key_codec); + if (HasObjectId) { + output.WriteRawTag(40); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + entityId_.WriteTo(ref output, _repeated_entityId_codec); + program_.WriteTo(ref output, _repeated_program_codec); + key_.WriteTo(ref output, _repeated_key_codec); + if (HasObjectId) { + output.WriteRawTag(40); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + size += entityId_.CalculateSize(_repeated_entityId_codec); + size += program_.CalculateSize(_repeated_program_codec); + size += key_.CalculateSize(_repeated_key_codec); + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BatchSubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + entityId_.Add(other.entityId_); + program_.Add(other.program_); + key_.Add(other.key_); + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + entityId_.AddEntriesFrom(input, _repeated_entityId_codec); + break; + } + case 26: + case 29: { + program_.AddEntriesFrom(input, _repeated_program_codec); + break; + } + case 34: { + key_.AddEntriesFrom(input, _repeated_key_codec); + break; + } + case 40: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + entityId_.AddEntriesFrom(ref input, _repeated_entityId_codec); + break; + } + case 26: + case 29: { + program_.AddEntriesFrom(ref input, _repeated_program_codec); + break; + } + case 34: { + key_.AddEntriesFrom(ref input, _repeated_key_codec); + break; + } + case 40: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeResult()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResult(SubscribeResult other) : this() { + _hasBits0 = other._hasBits0; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + result_ = other.result_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResult Clone() { + return new SubscribeResult(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "result" field. + public const int ResultFieldNumber = 2; + private readonly static uint ResultDefaultValue = 0; + + private uint result_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Result { + get { if ((_hasBits0 & 1) != 0) { return result_; } else { return ResultDefaultValue; } } + set { + _hasBits0 |= 1; + result_ = value; + } + } + /// Gets whether the "result" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasResult { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "result" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if (Result != other.Result) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (HasResult) hash ^= Result.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (HasResult) { + output.WriteRawTag(16); + output.WriteUInt32(Result); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (HasResult) { + output.WriteRawTag(16); + output.WriteUInt32(Result); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (HasResult) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Result); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeResult other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + if (other.HasResult) { + Result = other.Result; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 16: { + Result = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 16: { + Result = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BatchSubscribeResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BatchSubscribeResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchSubscribeResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchSubscribeResponse(BatchSubscribeResponse other) : this() { + subscribeFailed_ = other.subscribeFailed_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchSubscribeResponse Clone() { + return new BatchSubscribeResponse(this); + } + + /// Field number for the "subscribe_failed" field. + public const int SubscribeFailedFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_subscribeFailed_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.SubscribeResult.Parser); + private readonly pbc::RepeatedField subscribeFailed_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SubscribeFailed { + get { return subscribeFailed_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BatchSubscribeResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BatchSubscribeResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!subscribeFailed_.Equals(other.subscribeFailed_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= subscribeFailed_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + subscribeFailed_.WriteTo(output, _repeated_subscribeFailed_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + subscribeFailed_.WriteTo(ref output, _repeated_subscribeFailed_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += subscribeFailed_.CalculateSize(_repeated_subscribeFailed_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BatchSubscribeResponse other) { + if (other == null) { + return; + } + subscribeFailed_.Add(other.subscribeFailed_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + subscribeFailed_.AddEntriesFrom(input, _repeated_subscribeFailed_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + subscribeFailed_.AddEntriesFrom(ref input, _repeated_subscribeFailed_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BatchUnsubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BatchUnsubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUnsubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUnsubscribeRequest(BatchUnsubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + entityId_ = other.entityId_.Clone(); + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUnsubscribeRequest Clone() { + return new BatchUnsubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_entityId_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId.Parser); + private readonly pbc::RepeatedField entityId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EntityId { + get { return entityId_; } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 3; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BatchUnsubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BatchUnsubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if(!entityId_.Equals(other.entityId_)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + hash ^= entityId_.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + entityId_.WriteTo(output, _repeated_entityId_codec); + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + entityId_.WriteTo(ref output, _repeated_entityId_codec); + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + size += entityId_.CalculateSize(_repeated_entityId_codec); + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BatchUnsubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + entityId_.Add(other.entityId_); + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + entityId_.AddEntriesFrom(input, _repeated_entityId_codec); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + entityId_.AddEntriesFrom(ref input, _repeated_entityId_codec); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceTypes.cs new file mode 100644 index 0000000000..38e61ed644 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/PresenceTypes.cs @@ -0,0 +1,1768 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/presence_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/presence_types.proto + public static partial class PresenceTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/presence_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PresenceTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZiZ3MvbG93L3BiL2NsaWVudC9wcmVzZW5jZV90eXBlcy5wcm90bxIYYmdz", + "LnByb3RvY29sLnByZXNlbmNlLnYxGidiZ3MvbG93L3BiL2NsaWVudC9hdHRy", + "aWJ1dGVfdHlwZXMucHJvdG8aJGJncy9sb3cvcGIvY2xpZW50L2VudGl0eV90", + "eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGllbnQvY2hhbm5lbF90eXBlcy5w", + "cm90byJXChtSaWNoUHJlc2VuY2VMb2NhbGl6YXRpb25LZXkSDwoHcHJvZ3Jh", + "bRgBIAIoBxIOCgZzdHJlYW0YAiACKAcSFwoPbG9jYWxpemF0aW9uX2lkGAMg", + "AigNIkwKCEZpZWxkS2V5Eg8KB3Byb2dyYW0YASACKA0SDQoFZ3JvdXAYAiAC", + "KA0SDQoFZmllbGQYAyACKA0SEQoJdW5pcXVlX2lkGAQgASgEIl4KBUZpZWxk", + "Ei8KA2tleRgBIAIoCzIiLmJncy5wcm90b2NvbC5wcmVzZW5jZS52MS5GaWVs", + "ZEtleRIkCgV2YWx1ZRgCIAIoCzIVLmJncy5wcm90b2NvbC5WYXJpYW50IrUB", + "Cg5GaWVsZE9wZXJhdGlvbhIuCgVmaWVsZBgBIAIoCzIfLmJncy5wcm90b2Nv", + "bC5wcmVzZW5jZS52MS5GaWVsZBJOCglvcGVyYXRpb24YAiABKA4yNi5iZ3Mu", + "cHJvdG9jb2wucHJlc2VuY2UudjEuRmllbGRPcGVyYXRpb24uT3BlcmF0aW9u", + "VHlwZToDU0VUIiMKDU9wZXJhdGlvblR5cGUSBwoDU0VUEAASCQoFQ0xFQVIQ", + "ASJ9Cg1QcmVzZW5jZVN0YXRlEikKCWVudGl0eV9pZBgBIAEoCzIWLmJncy5w", + "cm90b2NvbC5FbnRpdHlJZBJBCg9maWVsZF9vcGVyYXRpb24YAiADKAsyKC5i", + "Z3MucHJvdG9jb2wucHJlc2VuY2UudjEuRmllbGRPcGVyYXRpb24i7gEKDENo", + "YW5uZWxTdGF0ZRIpCgllbnRpdHlfaWQYASABKAsyFi5iZ3MucHJvdG9jb2wu", + "RW50aXR5SWQSQQoPZmllbGRfb3BlcmF0aW9uGAIgAygLMiguYmdzLnByb3Rv", + "Y29sLnByZXNlbmNlLnYxLkZpZWxkT3BlcmF0aW9uEg8KB2hlYWxpbmcYAyAB", + "KAgyXwoIcHJlc2VuY2USJS5iZ3MucHJvdG9jb2wuY2hhbm5lbC52MS5DaGFu", + "bmVsU3RhdGUYZSABKAsyJi5iZ3MucHJvdG9jb2wucHJlc2VuY2UudjEuQ2hh", + "bm5lbFN0YXRlQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.RichPresenceLocalizationKey), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.RichPresenceLocalizationKey.Parser, new[]{ "Program", "Stream", "LocalizationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey.Parser, new[]{ "Program", "Group", "Field", "UniqueId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field.Parser, new[]{ "Key", "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Parser, new[]{ "Field", "Operation" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceState.Parser, new[]{ "EntityId", "FieldOperation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.ChannelState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.ChannelState.Parser, new[]{ "EntityId", "FieldOperation", "Healing" }, null, null, new pb::Extension[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.ChannelState.Extensions.Presence }, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RichPresenceLocalizationKey : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RichPresenceLocalizationKey()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RichPresenceLocalizationKey() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RichPresenceLocalizationKey(RichPresenceLocalizationKey other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + stream_ = other.stream_; + localizationId_ = other.localizationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RichPresenceLocalizationKey Clone() { + return new RichPresenceLocalizationKey(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 2; + private readonly static uint StreamDefaultValue = 0; + + private uint stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Stream { + get { if ((_hasBits0 & 2) != 0) { return stream_; } else { return StreamDefaultValue; } } + set { + _hasBits0 |= 2; + stream_ = value; + } + } + /// Gets whether the "stream" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStream { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStream() { + _hasBits0 &= ~2; + } + + /// Field number for the "localization_id" field. + public const int LocalizationIdFieldNumber = 3; + private readonly static uint LocalizationIdDefaultValue = 0; + + private uint localizationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LocalizationId { + get { if ((_hasBits0 & 4) != 0) { return localizationId_; } else { return LocalizationIdDefaultValue; } } + set { + _hasBits0 |= 4; + localizationId_ = value; + } + } + /// Gets whether the "localization_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocalizationId { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "localization_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocalizationId() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RichPresenceLocalizationKey); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RichPresenceLocalizationKey other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + if (Stream != other.Stream) return false; + if (LocalizationId != other.LocalizationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasStream) hash ^= Stream.GetHashCode(); + if (HasLocalizationId) hash ^= LocalizationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasStream) { + output.WriteRawTag(21); + output.WriteFixed32(Stream); + } + if (HasLocalizationId) { + output.WriteRawTag(24); + output.WriteUInt32(LocalizationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasStream) { + output.WriteRawTag(21); + output.WriteFixed32(Stream); + } + if (HasLocalizationId) { + output.WriteRawTag(24); + output.WriteUInt32(LocalizationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + 4; + } + if (HasStream) { + size += 1 + 4; + } + if (HasLocalizationId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LocalizationId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RichPresenceLocalizationKey other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasStream) { + Stream = other.Stream; + } + if (other.HasLocalizationId) { + LocalizationId = other.LocalizationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 21: { + Stream = input.ReadFixed32(); + break; + } + case 24: { + LocalizationId = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 21: { + Stream = input.ReadFixed32(); + break; + } + case 24: { + LocalizationId = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FieldKey : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FieldKey()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldKey() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldKey(FieldKey other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + group_ = other.group_; + field_ = other.field_; + uniqueId_ = other.uniqueId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldKey Clone() { + return new FieldKey(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "group" field. + public const int GroupFieldNumber = 2; + private readonly static uint GroupDefaultValue = 0; + + private uint group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Group { + get { if ((_hasBits0 & 2) != 0) { return group_; } else { return GroupDefaultValue; } } + set { + _hasBits0 |= 2; + group_ = value; + } + } + /// Gets whether the "group" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGroup { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "group" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroup() { + _hasBits0 &= ~2; + } + + /// Field number for the "field" field. + public const int FieldFieldNumber = 3; + private readonly static uint FieldDefaultValue = 0; + + private uint field_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Field { + get { if ((_hasBits0 & 4) != 0) { return field_; } else { return FieldDefaultValue; } } + set { + _hasBits0 |= 4; + field_ = value; + } + } + /// Gets whether the "field" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasField { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "field" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearField() { + _hasBits0 &= ~4; + } + + /// Field number for the "unique_id" field. + public const int UniqueIdFieldNumber = 4; + private readonly static ulong UniqueIdDefaultValue = 0UL; + + private ulong uniqueId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong UniqueId { + get { if ((_hasBits0 & 8) != 0) { return uniqueId_; } else { return UniqueIdDefaultValue; } } + set { + _hasBits0 |= 8; + uniqueId_ = value; + } + } + /// Gets whether the "unique_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUniqueId { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "unique_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUniqueId() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FieldKey); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FieldKey other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + if (Group != other.Group) return false; + if (Field != other.Field) return false; + if (UniqueId != other.UniqueId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasGroup) hash ^= Group.GetHashCode(); + if (HasField) hash ^= Field.GetHashCode(); + if (HasUniqueId) hash ^= UniqueId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(8); + output.WriteUInt32(Program); + } + if (HasGroup) { + output.WriteRawTag(16); + output.WriteUInt32(Group); + } + if (HasField) { + output.WriteRawTag(24); + output.WriteUInt32(Field); + } + if (HasUniqueId) { + output.WriteRawTag(32); + output.WriteUInt64(UniqueId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(8); + output.WriteUInt32(Program); + } + if (HasGroup) { + output.WriteRawTag(16); + output.WriteUInt32(Group); + } + if (HasField) { + output.WriteRawTag(24); + output.WriteUInt32(Field); + } + if (HasUniqueId) { + output.WriteRawTag(32); + output.WriteUInt64(UniqueId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Program); + } + if (HasGroup) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Group); + } + if (HasField) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Field); + } + if (HasUniqueId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UniqueId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FieldKey other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasGroup) { + Group = other.Group; + } + if (other.HasField) { + Field = other.Field; + } + if (other.HasUniqueId) { + UniqueId = other.UniqueId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Program = input.ReadUInt32(); + break; + } + case 16: { + Group = input.ReadUInt32(); + break; + } + case 24: { + Field = input.ReadUInt32(); + break; + } + case 32: { + UniqueId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Program = input.ReadUInt32(); + break; + } + case 16: { + Group = input.ReadUInt32(); + break; + } + case 24: { + Field = input.ReadUInt32(); + break; + } + case 32: { + UniqueId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Field : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Field()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Field() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Field(Field other) : this() { + key_ = other.key_ != null ? other.key_.Clone() : null; + value_ = other.value_ != null ? other.value_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Field Clone() { + return new Field(this); + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey key_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey Key { + get { return key_; } + set { + key_ = value; + } + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant Value { + get { return value_; } + set { + value_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Field); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Field other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Key, other.Key)) return false; + if (!object.Equals(Value, other.Value)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (key_ != null) hash ^= Key.GetHashCode(); + if (value_ != null) hash ^= Value.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (key_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Key); + } + if (value_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (key_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Key); + } + if (value_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (key_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); + } + if (value_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Field other) { + if (other == null) { + return; + } + if (other.key_ != null) { + if (key_ == null) { + Key = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey(); + } + Key.MergeFrom(other.Key); + } + if (other.value_ != null) { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant(); + } + Value.MergeFrom(other.Value); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (key_ == null) { + Key = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey(); + } + input.ReadMessage(Key); + break; + } + case 18: { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant(); + } + input.ReadMessage(Value); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (key_ == null) { + Key = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldKey(); + } + input.ReadMessage(Key); + break; + } + case 18: { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Variant(); + } + input.ReadMessage(Value); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FieldOperation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FieldOperation()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldOperation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldOperation(FieldOperation other) : this() { + _hasBits0 = other._hasBits0; + field_ = other.field_ != null ? other.field_.Clone() : null; + operation_ = other.operation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldOperation Clone() { + return new FieldOperation(this); + } + + /// Field number for the "field" field. + public const int FieldFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field field_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field Field { + get { return field_; } + set { + field_ = value; + } + } + + /// Field number for the "operation" field. + public const int OperationFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType OperationDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType.Set; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType operation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType Operation { + get { if ((_hasBits0 & 1) != 0) { return operation_; } else { return OperationDefaultValue; } } + set { + _hasBits0 |= 1; + operation_ = value; + } + } + /// Gets whether the "operation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOperation { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "operation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOperation() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FieldOperation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FieldOperation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Field, other.Field)) return false; + if (Operation != other.Operation) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (field_ != null) hash ^= Field.GetHashCode(); + if (HasOperation) hash ^= Operation.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (field_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Field); + } + if (HasOperation) { + output.WriteRawTag(16); + output.WriteEnum((int) Operation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (field_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Field); + } + if (HasOperation) { + output.WriteRawTag(16); + output.WriteEnum((int) Operation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (field_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Field); + } + if (HasOperation) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FieldOperation other) { + if (other == null) { + return; + } + if (other.field_ != null) { + if (field_ == null) { + Field = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field(); + } + Field.MergeFrom(other.Field); + } + if (other.HasOperation) { + Operation = other.Operation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (field_ == null) { + Field = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field(); + } + input.ReadMessage(Field); + break; + } + case 16: { + Operation = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (field_ == null) { + Field = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.Field(); + } + input.ReadMessage(Field); + break; + } + case 16: { + Operation = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Types.OperationType) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the FieldOperation message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum OperationType { + [pbr::OriginalName("SET")] Set = 0, + [pbr::OriginalName("CLEAR")] Clear = 1, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PresenceState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresenceState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresenceState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresenceState(PresenceState other) : this() { + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + fieldOperation_ = other.fieldOperation_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresenceState Clone() { + return new PresenceState(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "field_operation" field. + public const int FieldOperationFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_fieldOperation_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Parser); + private readonly pbc::RepeatedField fieldOperation_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FieldOperation { + get { return fieldOperation_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PresenceState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PresenceState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if(!fieldOperation_.Equals(other.fieldOperation_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + hash ^= fieldOperation_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + fieldOperation_.WriteTo(output, _repeated_fieldOperation_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + fieldOperation_.WriteTo(ref output, _repeated_fieldOperation_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + size += fieldOperation_.CalculateSize(_repeated_fieldOperation_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PresenceState other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + fieldOperation_.Add(other.fieldOperation_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + fieldOperation_.AddEntriesFrom(input, _repeated_fieldOperation_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + fieldOperation_.AddEntriesFrom(ref input, _repeated_fieldOperation_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChannelState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChannelState()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.PresenceTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelState(ChannelState other) : this() { + _hasBits0 = other._hasBits0; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + fieldOperation_ = other.fieldOperation_.Clone(); + healing_ = other.healing_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelState Clone() { + return new ChannelState(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "field_operation" field. + public const int FieldOperationFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_fieldOperation_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.FieldOperation.Parser); + private readonly pbc::RepeatedField fieldOperation_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FieldOperation { + get { return fieldOperation_; } + } + + /// Field number for the "healing" field. + public const int HealingFieldNumber = 3; + private readonly static bool HealingDefaultValue = false; + + private bool healing_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Healing { + get { if ((_hasBits0 & 1) != 0) { return healing_; } else { return HealingDefaultValue; } } + set { + _hasBits0 |= 1; + healing_ = value; + } + } + /// Gets whether the "healing" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHealing { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "healing" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHealing() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChannelState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChannelState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if(!fieldOperation_.Equals(other.fieldOperation_)) return false; + if (Healing != other.Healing) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + hash ^= fieldOperation_.GetHashCode(); + if (HasHealing) hash ^= Healing.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + fieldOperation_.WriteTo(output, _repeated_fieldOperation_codec); + if (HasHealing) { + output.WriteRawTag(24); + output.WriteBool(Healing); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + fieldOperation_.WriteTo(ref output, _repeated_fieldOperation_codec); + if (HasHealing) { + output.WriteRawTag(24); + output.WriteBool(Healing); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + size += fieldOperation_.CalculateSize(_repeated_fieldOperation_codec); + if (HasHealing) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChannelState other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + fieldOperation_.Add(other.fieldOperation_); + if (other.HasHealing) { + Healing = other.Healing; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + fieldOperation_.AddEntriesFrom(input, _repeated_fieldOperation_codec); + break; + } + case 24: { + Healing = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + fieldOperation_.AddEntriesFrom(ref input, _repeated_fieldOperation_codec); + break; + } + case 24: { + Healing = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Extensions + /// Container for extensions for other messages declared in the ChannelState message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Extensions { + public static readonly pb::Extension Presence = + new pb::Extension(101, pb::FieldCodec.ForMessage(810, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Presence.V1.ChannelState.Parser)); + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ProfanityFilterConfig.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ProfanityFilterConfig.cs new file mode 100644 index 0000000000..9fdd268767 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ProfanityFilterConfig.cs @@ -0,0 +1,481 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/profanity_filter_config.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/profanity_filter_config.proto + public static partial class ProfanityFilterConfigReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/profanity_filter_config.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProfanityFilterConfigReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci9iZ3MvbG93L3BiL2NsaWVudC9wcm9mYW5pdHlfZmlsdGVyX2NvbmZpZy5w", + "cm90bxIZYmdzLnByb3RvY29sLnByb2Zhbml0eS52MSIpCgpXb3JkRmlsdGVy", + "EgwKBHR5cGUYASACKAkSDQoFcmVnZXgYAiACKAkiRQoLV29yZEZpbHRlcnMS", + "NgoHZmlsdGVycxgBIAMoCzIlLmJncy5wcm90b2NvbC5wcm9mYW5pdHkudjEu", + "V29yZEZpbHRlckICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.WordFilter), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.WordFilter.Parser, new[]{ "Type", "Regex" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.WordFilters), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.WordFilters.Parser, new[]{ "Filters" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WordFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WordFilter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.ProfanityFilterConfigReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordFilter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordFilter(WordFilter other) : this() { + type_ = other.type_; + regex_ = other.regex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordFilter Clone() { + return new WordFilter(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private readonly static string TypeDefaultValue = ""; + + private string type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_ ?? TypeDefaultValue; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return type_ != null; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + type_ = null; + } + + /// Field number for the "regex" field. + public const int RegexFieldNumber = 2; + private readonly static string RegexDefaultValue = ""; + + private string regex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Regex { + get { return regex_ ?? RegexDefaultValue; } + set { + regex_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "regex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegex { + get { return regex_ != null; } + } + /// Clears the value of the "regex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegex() { + regex_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WordFilter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WordFilter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (Regex != other.Regex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasType) hash ^= Type.GetHashCode(); + if (HasRegex) hash ^= Regex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasType) { + output.WriteRawTag(10); + output.WriteString(Type); + } + if (HasRegex) { + output.WriteRawTag(18); + output.WriteString(Regex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasType) { + output.WriteRawTag(10); + output.WriteString(Type); + } + if (HasRegex) { + output.WriteRawTag(18); + output.WriteString(Regex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (HasRegex) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Regex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WordFilter other) { + if (other == null) { + return; + } + if (other.HasType) { + Type = other.Type; + } + if (other.HasRegex) { + Regex = other.Regex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Type = input.ReadString(); + break; + } + case 18: { + Regex = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Type = input.ReadString(); + break; + } + case 18: { + Regex = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WordFilters : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WordFilters()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.ProfanityFilterConfigReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordFilters() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordFilters(WordFilters other) : this() { + filters_ = other.filters_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordFilters Clone() { + return new WordFilters(this); + } + + /// Field number for the "filters" field. + public const int FiltersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_filters_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Profanity.V1.WordFilter.Parser); + private readonly pbc::RepeatedField filters_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Filters { + get { return filters_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WordFilters); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WordFilters other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!filters_.Equals(other.filters_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= filters_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + filters_.WriteTo(output, _repeated_filters_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + filters_.WriteTo(ref output, _repeated_filters_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += filters_.CalculateSize(_repeated_filters_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WordFilters other) { + if (other == null) { + return; + } + filters_.Add(other.filters_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + filters_.AddEntriesFrom(input, _repeated_filters_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + filters_.AddEntriesFrom(ref input, _repeated_filters_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ReportService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ReportService.cs new file mode 100644 index 0000000000..39746db4e7 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ReportService.cs @@ -0,0 +1,501 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/report_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/report_service.proto + public static partial class ReportServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/report_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ReportServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZiZ3MvbG93L3BiL2NsaWVudC9yZXBvcnRfc2VydmljZS5wcm90bxIWYmdz", + "LnByb3RvY29sLnJlcG9ydC52MRolYmdzL2xvdy9wYi9jbGllbnQvYWNjb3Vu", + "dF90eXBlcy5wcm90bxokYmdzL2xvdy9wYi9jbGllbnQvcmVwb3J0X3R5cGVz", + "LnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8iQwoR", + "U2VuZFJlcG9ydFJlcXVlc3QSLgoGcmVwb3J0GAEgAigLMh4uYmdzLnByb3Rv", + "Y29sLnJlcG9ydC52MS5SZXBvcnQijAEKE1N1Ym1pdFJlcG9ydFJlcXVlc3QS", + "PAoIYWdlbnRfaWQYASABKAsyKi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5H", + "YW1lQWNjb3VudEhhbmRsZRI3CgtyZXBvcnRfdHlwZRgCIAEoCzIiLmJncy5w", + "cm90b2NvbC5yZXBvcnQudjEuUmVwb3J0VHlwZTL5AQoNUmVwb3J0U2Vydmlj", + "ZRJVCgpTZW5kUmVwb3J0EikuYmdzLnByb3RvY29sLnJlcG9ydC52MS5TZW5k", + "UmVwb3J0UmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiBoL5KwIIARJZ", + "CgxTdWJtaXRSZXBvcnQSKy5iZ3MucHJvdG9jb2wucmVwb3J0LnYxLlN1Ym1p", + "dFJlcG9ydFJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCAIa", + "NoL5KywKImJuZXQucHJvdG9jb2wucmVwb3J0LlJlcG9ydFNlcnZpY2UqBnJl", + "cG9ydIr5KwIQAUIFSAGAAQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SendReportRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SendReportRequest.Parser, new[]{ "Report" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SubmitReportRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SubmitReportRequest.Parser, new[]{ "AgentId", "ReportType" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SendReportRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendReportRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendReportRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendReportRequest(SendReportRequest other) : this() { + report_ = other.report_ != null ? other.report_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SendReportRequest Clone() { + return new SendReportRequest(this); + } + + /// Field number for the "report" field. + public const int ReportFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report report_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report Report { + get { return report_; } + set { + report_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SendReportRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SendReportRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Report, other.Report)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (report_ != null) hash ^= Report.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (report_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Report); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (report_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Report); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (report_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Report); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SendReportRequest other) { + if (other == null) { + return; + } + if (other.report_ != null) { + if (report_ == null) { + Report = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report(); + } + Report.MergeFrom(other.Report); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (report_ == null) { + Report = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report(); + } + input.ReadMessage(Report); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (report_ == null) { + Report = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report(); + } + input.ReadMessage(Report); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitReportRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitReportRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitReportRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitReportRequest(SubmitReportRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + reportType_ = other.reportType_ != null ? other.reportType_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitReportRequest Clone() { + return new SubmitReportRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "report_type" field. + public const int ReportTypeFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType reportType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType ReportType { + get { return reportType_; } + set { + reportType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubmitReportRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubmitReportRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(ReportType, other.ReportType)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (reportType_ != null) hash ^= ReportType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (reportType_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ReportType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (reportType_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ReportType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (reportType_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReportType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubmitReportRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.reportType_ != null) { + if (reportType_ == null) { + ReportType = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType(); + } + ReportType.MergeFrom(other.ReportType); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (reportType_ == null) { + ReportType = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType(); + } + input.ReadMessage(ReportType); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (reportType_ == null) { + ReportType = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType(); + } + input.ReadMessage(ReportType); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ReportTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ReportTypes.cs new file mode 100644 index 0000000000..1c9a74dad2 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ReportTypes.cs @@ -0,0 +1,2819 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/report_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/report_types.proto + public static partial class ReportTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/report_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ReportTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiRiZ3MvbG93L3BiL2NsaWVudC9yZXBvcnRfdHlwZXMucHJvdG8SFmJncy5w", + "cm90b2NvbC5yZXBvcnQudjEaJWJncy9sb3cvcGIvY2xpZW50L2FjY291bnRf", + "dHlwZXMucHJvdG8aJ2Jncy9sb3cvcGIvY2xpZW50L2F0dHJpYnV0ZV90eXBl", + "cy5wcm90bxokYmdzL2xvdy9wYi9jbGllbnQvZW50aXR5X3R5cGVzLnByb3Rv", + "GiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8iowQKClJlcG9y", + "dFR5cGUSGAoQdXNlcl9kZXNjcmlwdGlvbhgBIAEoCRI9Cg1jdXN0b21fcmVw", + "b3J0GAogASgLMiQuYmdzLnByb3RvY29sLnJlcG9ydC52MS5DdXN0b21SZXBv", + "cnRIABI5CgtzcGFtX3JlcG9ydBgLIAEoCzIiLmJncy5wcm90b2NvbC5yZXBv", + "cnQudjEuU3BhbVJlcG9ydEgAEkUKEWhhcmFzc21lbnRfcmVwb3J0GAwgASgL", + "MiguYmdzLnByb3RvY29sLnJlcG9ydC52MS5IYXJhc3NtZW50UmVwb3J0SAAS", + "TwoXcmVhbF9saWZlX3RocmVhdF9yZXBvcnQYDSABKAsyLC5iZ3MucHJvdG9j", + "b2wucmVwb3J0LnYxLlJlYWxMaWZlVGhyZWF0UmVwb3J0SAASXwofaW5hcHBy", + "b3ByaWF0ZV9iYXR0bGVfdGFnX3JlcG9ydBgOIAEoCzI0LmJncy5wcm90b2Nv", + "bC5yZXBvcnQudjEuSW5hcHByb3ByaWF0ZUJhdHRsZVRhZ1JlcG9ydEgAEj8K", + "DmhhY2tpbmdfcmVwb3J0GA8gASgLMiUuYmdzLnByb3RvY29sLnJlcG9ydC52", + "MS5IYWNraW5nUmVwb3J0SAASPwoOYm90dGluZ19yZXBvcnQYECABKAsyJS5i", + "Z3MucHJvdG9jb2wucmVwb3J0LnYxLkJvdHRpbmdSZXBvcnRIAEIGCgR0eXBl", + "ImAKDEN1c3RvbVJlcG9ydBIMCgR0eXBlGAEgASgJEhYKCnByb2dyYW1faWQY", + "AiABKAlCAhgBEioKCWF0dHJpYnV0ZRgDIAMoCzIXLmJncy5wcm90b2NvbC5B", + "dHRyaWJ1dGUi1QEKClNwYW1SZXBvcnQSOgoGdGFyZ2V0GAEgASgLMiouYmdz", + "LnByb3RvY29sLmFjY291bnQudjEuR2FtZUFjY291bnRIYW5kbGUSRAoGc291", + "cmNlGAIgASgOMi0uYmdzLnByb3RvY29sLnJlcG9ydC52MS5TcGFtUmVwb3J0", + "LlNwYW1Tb3VyY2U6BU9USEVSIkUKClNwYW1Tb3VyY2USCQoFT1RIRVIQARIV", + "ChFGUklFTkRfSU5WSVRBVElPThACEgsKB1dISVNQRVIQAxIICgRDSEFUEAQi", + "XAoQSGFyYXNzbWVudFJlcG9ydBI6CgZ0YXJnZXQYASABKAsyKi5iZ3MucHJv", + "dG9jb2wuYWNjb3VudC52MS5HYW1lQWNjb3VudEhhbmRsZRIMCgR0ZXh0GAIg", + "ASgJImAKFFJlYWxMaWZlVGhyZWF0UmVwb3J0EjoKBnRhcmdldBgBIAEoCzIq", + "LmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdhbWVBY2NvdW50SGFuZGxlEgwK", + "BHRleHQYAiABKAkidgocSW5hcHByb3ByaWF0ZUJhdHRsZVRhZ1JlcG9ydBI6", + "CgZ0YXJnZXQYASABKAsyKi5iZ3MucHJvdG9jb2wuYWNjb3VudC52MS5HYW1l", + "QWNjb3VudEhhbmRsZRIaCgpiYXR0bGVfdGFnGAIgASgJQgaC+SsCCAEiSwoN", + "SGFja2luZ1JlcG9ydBI6CgZ0YXJnZXQYASABKAsyKi5iZ3MucHJvdG9jb2wu", + "YWNjb3VudC52MS5HYW1lQWNjb3VudEhhbmRsZSJLCg1Cb3R0aW5nUmVwb3J0", + "EjoKBnRhcmdldBgBIAEoCzIqLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkdh", + "bWVBY2NvdW50SGFuZGxlIuUBCgZSZXBvcnQSEwoLcmVwb3J0X3R5cGUYASAC", + "KAkSKgoJYXR0cmlidXRlGAIgAygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0", + "ZRIVCgpyZXBvcnRfcW9zGAMgASgFOgEwEjEKEXJlcG9ydGluZ19hY2NvdW50", + "GAQgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEjYKFnJlcG9ydGluZ19n", + "YW1lX2FjY291bnQYBSABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSGAoQ", + "cmVwb3J0X3RpbWVzdGFtcBgGIAEoBkIFSAGAAQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportType.Parser, new[]{ "UserDescription", "CustomReport", "SpamReport", "HarassmentReport", "RealLifeThreatReport", "InappropriateBattleTagReport", "HackingReport", "BottingReport" }, new[]{ "Type" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport.Parser, new[]{ "Type", "ProgramId", "Attribute" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Parser, new[]{ "Target", "Source" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport.Parser, new[]{ "Target", "Text" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport.Parser, new[]{ "Target", "Text" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport.Parser, new[]{ "Target", "BattleTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport.Parser, new[]{ "Target" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport.Parser, new[]{ "Target" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.Report.Parser, new[]{ "ReportType", "Attribute", "ReportQos", "ReportingAccount", "ReportingGameAccount", "ReportTimestamp" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReportType : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReportType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReportType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReportType(ReportType other) : this() { + userDescription_ = other.userDescription_; + switch (other.TypeCase) { + case TypeOneofCase.CustomReport: + CustomReport = other.CustomReport.Clone(); + break; + case TypeOneofCase.SpamReport: + SpamReport = other.SpamReport.Clone(); + break; + case TypeOneofCase.HarassmentReport: + HarassmentReport = other.HarassmentReport.Clone(); + break; + case TypeOneofCase.RealLifeThreatReport: + RealLifeThreatReport = other.RealLifeThreatReport.Clone(); + break; + case TypeOneofCase.InappropriateBattleTagReport: + InappropriateBattleTagReport = other.InappropriateBattleTagReport.Clone(); + break; + case TypeOneofCase.HackingReport: + HackingReport = other.HackingReport.Clone(); + break; + case TypeOneofCase.BottingReport: + BottingReport = other.BottingReport.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReportType Clone() { + return new ReportType(this); + } + + /// Field number for the "user_description" field. + public const int UserDescriptionFieldNumber = 1; + private readonly static string UserDescriptionDefaultValue = ""; + + private string userDescription_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserDescription { + get { return userDescription_ ?? UserDescriptionDefaultValue; } + set { + userDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "user_description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUserDescription { + get { return userDescription_ != null; } + } + /// Clears the value of the "user_description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUserDescription() { + userDescription_ = null; + } + + /// Field number for the "custom_report" field. + public const int CustomReportFieldNumber = 10; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport CustomReport { + get { return typeCase_ == TypeOneofCase.CustomReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CustomReport; + } + } + + /// Field number for the "spam_report" field. + public const int SpamReportFieldNumber = 11; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport SpamReport { + get { return typeCase_ == TypeOneofCase.SpamReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SpamReport; + } + } + + /// Field number for the "harassment_report" field. + public const int HarassmentReportFieldNumber = 12; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport HarassmentReport { + get { return typeCase_ == TypeOneofCase.HarassmentReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.HarassmentReport; + } + } + + /// Field number for the "real_life_threat_report" field. + public const int RealLifeThreatReportFieldNumber = 13; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport RealLifeThreatReport { + get { return typeCase_ == TypeOneofCase.RealLifeThreatReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.RealLifeThreatReport; + } + } + + /// Field number for the "inappropriate_battle_tag_report" field. + public const int InappropriateBattleTagReportFieldNumber = 14; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport InappropriateBattleTagReport { + get { return typeCase_ == TypeOneofCase.InappropriateBattleTagReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.InappropriateBattleTagReport; + } + } + + /// Field number for the "hacking_report" field. + public const int HackingReportFieldNumber = 15; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport HackingReport { + get { return typeCase_ == TypeOneofCase.HackingReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.HackingReport; + } + } + + /// Field number for the "botting_report" field. + public const int BottingReportFieldNumber = 16; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport BottingReport { + get { return typeCase_ == TypeOneofCase.BottingReport ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.BottingReport; + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + CustomReport = 10, + SpamReport = 11, + HarassmentReport = 12, + RealLifeThreatReport = 13, + InappropriateBattleTagReport = 14, + HackingReport = 15, + BottingReport = 16, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReportType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReportType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserDescription != other.UserDescription) return false; + if (!object.Equals(CustomReport, other.CustomReport)) return false; + if (!object.Equals(SpamReport, other.SpamReport)) return false; + if (!object.Equals(HarassmentReport, other.HarassmentReport)) return false; + if (!object.Equals(RealLifeThreatReport, other.RealLifeThreatReport)) return false; + if (!object.Equals(InappropriateBattleTagReport, other.InappropriateBattleTagReport)) return false; + if (!object.Equals(HackingReport, other.HackingReport)) return false; + if (!object.Equals(BottingReport, other.BottingReport)) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasUserDescription) hash ^= UserDescription.GetHashCode(); + if (typeCase_ == TypeOneofCase.CustomReport) hash ^= CustomReport.GetHashCode(); + if (typeCase_ == TypeOneofCase.SpamReport) hash ^= SpamReport.GetHashCode(); + if (typeCase_ == TypeOneofCase.HarassmentReport) hash ^= HarassmentReport.GetHashCode(); + if (typeCase_ == TypeOneofCase.RealLifeThreatReport) hash ^= RealLifeThreatReport.GetHashCode(); + if (typeCase_ == TypeOneofCase.InappropriateBattleTagReport) hash ^= InappropriateBattleTagReport.GetHashCode(); + if (typeCase_ == TypeOneofCase.HackingReport) hash ^= HackingReport.GetHashCode(); + if (typeCase_ == TypeOneofCase.BottingReport) hash ^= BottingReport.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasUserDescription) { + output.WriteRawTag(10); + output.WriteString(UserDescription); + } + if (typeCase_ == TypeOneofCase.CustomReport) { + output.WriteRawTag(82); + output.WriteMessage(CustomReport); + } + if (typeCase_ == TypeOneofCase.SpamReport) { + output.WriteRawTag(90); + output.WriteMessage(SpamReport); + } + if (typeCase_ == TypeOneofCase.HarassmentReport) { + output.WriteRawTag(98); + output.WriteMessage(HarassmentReport); + } + if (typeCase_ == TypeOneofCase.RealLifeThreatReport) { + output.WriteRawTag(106); + output.WriteMessage(RealLifeThreatReport); + } + if (typeCase_ == TypeOneofCase.InappropriateBattleTagReport) { + output.WriteRawTag(114); + output.WriteMessage(InappropriateBattleTagReport); + } + if (typeCase_ == TypeOneofCase.HackingReport) { + output.WriteRawTag(122); + output.WriteMessage(HackingReport); + } + if (typeCase_ == TypeOneofCase.BottingReport) { + output.WriteRawTag(130, 1); + output.WriteMessage(BottingReport); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasUserDescription) { + output.WriteRawTag(10); + output.WriteString(UserDescription); + } + if (typeCase_ == TypeOneofCase.CustomReport) { + output.WriteRawTag(82); + output.WriteMessage(CustomReport); + } + if (typeCase_ == TypeOneofCase.SpamReport) { + output.WriteRawTag(90); + output.WriteMessage(SpamReport); + } + if (typeCase_ == TypeOneofCase.HarassmentReport) { + output.WriteRawTag(98); + output.WriteMessage(HarassmentReport); + } + if (typeCase_ == TypeOneofCase.RealLifeThreatReport) { + output.WriteRawTag(106); + output.WriteMessage(RealLifeThreatReport); + } + if (typeCase_ == TypeOneofCase.InappropriateBattleTagReport) { + output.WriteRawTag(114); + output.WriteMessage(InappropriateBattleTagReport); + } + if (typeCase_ == TypeOneofCase.HackingReport) { + output.WriteRawTag(122); + output.WriteMessage(HackingReport); + } + if (typeCase_ == TypeOneofCase.BottingReport) { + output.WriteRawTag(130, 1); + output.WriteMessage(BottingReport); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasUserDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserDescription); + } + if (typeCase_ == TypeOneofCase.CustomReport) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CustomReport); + } + if (typeCase_ == TypeOneofCase.SpamReport) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpamReport); + } + if (typeCase_ == TypeOneofCase.HarassmentReport) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HarassmentReport); + } + if (typeCase_ == TypeOneofCase.RealLifeThreatReport) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RealLifeThreatReport); + } + if (typeCase_ == TypeOneofCase.InappropriateBattleTagReport) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InappropriateBattleTagReport); + } + if (typeCase_ == TypeOneofCase.HackingReport) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HackingReport); + } + if (typeCase_ == TypeOneofCase.BottingReport) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(BottingReport); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReportType other) { + if (other == null) { + return; + } + if (other.HasUserDescription) { + UserDescription = other.UserDescription; + } + switch (other.TypeCase) { + case TypeOneofCase.CustomReport: + if (CustomReport == null) { + CustomReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport(); + } + CustomReport.MergeFrom(other.CustomReport); + break; + case TypeOneofCase.SpamReport: + if (SpamReport == null) { + SpamReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport(); + } + SpamReport.MergeFrom(other.SpamReport); + break; + case TypeOneofCase.HarassmentReport: + if (HarassmentReport == null) { + HarassmentReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport(); + } + HarassmentReport.MergeFrom(other.HarassmentReport); + break; + case TypeOneofCase.RealLifeThreatReport: + if (RealLifeThreatReport == null) { + RealLifeThreatReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport(); + } + RealLifeThreatReport.MergeFrom(other.RealLifeThreatReport); + break; + case TypeOneofCase.InappropriateBattleTagReport: + if (InappropriateBattleTagReport == null) { + InappropriateBattleTagReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport(); + } + InappropriateBattleTagReport.MergeFrom(other.InappropriateBattleTagReport); + break; + case TypeOneofCase.HackingReport: + if (HackingReport == null) { + HackingReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport(); + } + HackingReport.MergeFrom(other.HackingReport); + break; + case TypeOneofCase.BottingReport: + if (BottingReport == null) { + BottingReport = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport(); + } + BottingReport.MergeFrom(other.BottingReport); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + UserDescription = input.ReadString(); + break; + } + case 82: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport(); + if (typeCase_ == TypeOneofCase.CustomReport) { + subBuilder.MergeFrom(CustomReport); + } + input.ReadMessage(subBuilder); + CustomReport = subBuilder; + break; + } + case 90: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport(); + if (typeCase_ == TypeOneofCase.SpamReport) { + subBuilder.MergeFrom(SpamReport); + } + input.ReadMessage(subBuilder); + SpamReport = subBuilder; + break; + } + case 98: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport(); + if (typeCase_ == TypeOneofCase.HarassmentReport) { + subBuilder.MergeFrom(HarassmentReport); + } + input.ReadMessage(subBuilder); + HarassmentReport = subBuilder; + break; + } + case 106: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport(); + if (typeCase_ == TypeOneofCase.RealLifeThreatReport) { + subBuilder.MergeFrom(RealLifeThreatReport); + } + input.ReadMessage(subBuilder); + RealLifeThreatReport = subBuilder; + break; + } + case 114: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport(); + if (typeCase_ == TypeOneofCase.InappropriateBattleTagReport) { + subBuilder.MergeFrom(InappropriateBattleTagReport); + } + input.ReadMessage(subBuilder); + InappropriateBattleTagReport = subBuilder; + break; + } + case 122: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport(); + if (typeCase_ == TypeOneofCase.HackingReport) { + subBuilder.MergeFrom(HackingReport); + } + input.ReadMessage(subBuilder); + HackingReport = subBuilder; + break; + } + case 130: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport(); + if (typeCase_ == TypeOneofCase.BottingReport) { + subBuilder.MergeFrom(BottingReport); + } + input.ReadMessage(subBuilder); + BottingReport = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + UserDescription = input.ReadString(); + break; + } + case 82: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.CustomReport(); + if (typeCase_ == TypeOneofCase.CustomReport) { + subBuilder.MergeFrom(CustomReport); + } + input.ReadMessage(subBuilder); + CustomReport = subBuilder; + break; + } + case 90: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport(); + if (typeCase_ == TypeOneofCase.SpamReport) { + subBuilder.MergeFrom(SpamReport); + } + input.ReadMessage(subBuilder); + SpamReport = subBuilder; + break; + } + case 98: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HarassmentReport(); + if (typeCase_ == TypeOneofCase.HarassmentReport) { + subBuilder.MergeFrom(HarassmentReport); + } + input.ReadMessage(subBuilder); + HarassmentReport = subBuilder; + break; + } + case 106: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.RealLifeThreatReport(); + if (typeCase_ == TypeOneofCase.RealLifeThreatReport) { + subBuilder.MergeFrom(RealLifeThreatReport); + } + input.ReadMessage(subBuilder); + RealLifeThreatReport = subBuilder; + break; + } + case 114: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.InappropriateBattleTagReport(); + if (typeCase_ == TypeOneofCase.InappropriateBattleTagReport) { + subBuilder.MergeFrom(InappropriateBattleTagReport); + } + input.ReadMessage(subBuilder); + InappropriateBattleTagReport = subBuilder; + break; + } + case 122: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.HackingReport(); + if (typeCase_ == TypeOneofCase.HackingReport) { + subBuilder.MergeFrom(HackingReport); + } + input.ReadMessage(subBuilder); + HackingReport = subBuilder; + break; + } + case 130: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.BottingReport(); + if (typeCase_ == TypeOneofCase.BottingReport) { + subBuilder.MergeFrom(BottingReport); + } + input.ReadMessage(subBuilder); + BottingReport = subBuilder; + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomReport()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomReport(CustomReport other) : this() { + type_ = other.type_; + programId_ = other.programId_; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomReport Clone() { + return new CustomReport(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private readonly static string TypeDefaultValue = ""; + + private string type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_ ?? TypeDefaultValue; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return type_ != null; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + type_ = null; + } + + /// Field number for the "program_id" field. + public const int ProgramIdFieldNumber = 2; + private readonly static string ProgramIdDefaultValue = ""; + + private string programId_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProgramId { + get { return programId_ ?? ProgramIdDefaultValue; } + set { + programId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "program_id" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgramId { + get { return programId_ != null; } + } + /// Clears the value of the "program_id" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgramId() { + programId_ = null; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(26, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (ProgramId != other.ProgramId) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasType) hash ^= Type.GetHashCode(); + if (HasProgramId) hash ^= ProgramId.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasType) { + output.WriteRawTag(10); + output.WriteString(Type); + } + if (HasProgramId) { + output.WriteRawTag(18); + output.WriteString(ProgramId); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasType) { + output.WriteRawTag(10); + output.WriteString(Type); + } + if (HasProgramId) { + output.WriteRawTag(18); + output.WriteString(ProgramId); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (HasProgramId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProgramId); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomReport other) { + if (other == null) { + return; + } + if (other.HasType) { + Type = other.Type; + } + if (other.HasProgramId) { + ProgramId = other.ProgramId; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Type = input.ReadString(); + break; + } + case 18: { + ProgramId = input.ReadString(); + break; + } + case 26: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Type = input.ReadString(); + break; + } + case 18: { + ProgramId = input.ReadString(); + break; + } + case 26: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpamReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpamReport()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpamReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpamReport(SpamReport other) : this() { + _hasBits0 = other._hasBits0; + target_ = other.target_ != null ? other.target_.Clone() : null; + source_ = other.source_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpamReport Clone() { + return new SpamReport(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Target { + get { return target_; } + set { + target_ = value; + } + } + + /// Field number for the "source" field. + public const int SourceFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource SourceDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource.Other; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource source_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource Source { + get { if ((_hasBits0 & 1) != 0) { return source_; } else { return SourceDefaultValue; } } + set { + _hasBits0 |= 1; + source_ = value; + } + } + /// Gets whether the "source" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSource { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "source" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SpamReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpamReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + if (Source != other.Source) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (HasSource) hash ^= Source.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasSource) { + output.WriteRawTag(16); + output.WriteEnum((int) Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasSource) { + output.WriteRawTag(16); + output.WriteEnum((int) Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (HasSource) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpamReport other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Target.MergeFrom(other.Target); + } + if (other.HasSource) { + Source = other.Source; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 16: { + Source = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 16: { + Source = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.SpamReport.Types.SpamSource) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the SpamReport message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum SpamSource { + [pbr::OriginalName("OTHER")] Other = 1, + [pbr::OriginalName("FRIEND_INVITATION")] FriendInvitation = 2, + [pbr::OriginalName("WHISPER")] Whisper = 3, + [pbr::OriginalName("CHAT")] Chat = 4, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HarassmentReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HarassmentReport()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HarassmentReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HarassmentReport(HarassmentReport other) : this() { + target_ = other.target_ != null ? other.target_.Clone() : null; + text_ = other.text_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HarassmentReport Clone() { + return new HarassmentReport(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Target { + get { return target_; } + set { + target_ = value; + } + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 2; + private readonly static string TextDefaultValue = ""; + + private string text_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_ ?? TextDefaultValue; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "text" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasText { + get { return text_ != null; } + } + /// Clears the value of the "text" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearText() { + text_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as HarassmentReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HarassmentReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + if (Text != other.Text) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (HasText) hash ^= Text.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasText) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasText) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (HasText) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HarassmentReport other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Target.MergeFrom(other.Target); + } + if (other.HasText) { + Text = other.Text; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RealLifeThreatReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RealLifeThreatReport()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RealLifeThreatReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RealLifeThreatReport(RealLifeThreatReport other) : this() { + target_ = other.target_ != null ? other.target_.Clone() : null; + text_ = other.text_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RealLifeThreatReport Clone() { + return new RealLifeThreatReport(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Target { + get { return target_; } + set { + target_ = value; + } + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 2; + private readonly static string TextDefaultValue = ""; + + private string text_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_ ?? TextDefaultValue; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "text" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasText { + get { return text_ != null; } + } + /// Clears the value of the "text" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearText() { + text_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RealLifeThreatReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RealLifeThreatReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + if (Text != other.Text) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (HasText) hash ^= Text.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasText) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasText) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (HasText) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RealLifeThreatReport other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Target.MergeFrom(other.Target); + } + if (other.HasText) { + Text = other.Text; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InappropriateBattleTagReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InappropriateBattleTagReport()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InappropriateBattleTagReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InappropriateBattleTagReport(InappropriateBattleTagReport other) : this() { + target_ = other.target_ != null ? other.target_.Clone() : null; + battleTag_ = other.battleTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InappropriateBattleTagReport Clone() { + return new InappropriateBattleTagReport(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Target { + get { return target_; } + set { + target_ = value; + } + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 2; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InappropriateBattleTagReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InappropriateBattleTagReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + if (BattleTag != other.BattleTag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InappropriateBattleTagReport other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Target.MergeFrom(other.Target); + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HackingReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HackingReport()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HackingReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HackingReport(HackingReport other) : this() { + target_ = other.target_ != null ? other.target_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HackingReport Clone() { + return new HackingReport(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Target { + get { return target_; } + set { + target_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as HackingReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HackingReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HackingReport other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Target.MergeFrom(other.Target); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BottingReport : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BottingReport()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BottingReport() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BottingReport(BottingReport other) : this() { + target_ = other.target_ != null ? other.target_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BottingReport Clone() { + return new BottingReport(this); + } + + /// Field number for the "target" field. + public const int TargetFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle target_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle Target { + get { return target_; } + set { + target_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BottingReport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BottingReport other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Target, other.Target)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (target_ != null) hash ^= Target.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (target_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Target); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (target_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BottingReport other) { + if (other == null) { + return; + } + if (other.target_ != null) { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + Target.MergeFrom(other.Target); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (target_ == null) { + Target = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.GameAccountHandle(); + } + input.ReadMessage(Target); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Report : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Report()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V1.ReportTypesReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Report() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Report(Report other) : this() { + _hasBits0 = other._hasBits0; + reportType_ = other.reportType_; + attribute_ = other.attribute_.Clone(); + reportQos_ = other.reportQos_; + reportingAccount_ = other.reportingAccount_ != null ? other.reportingAccount_.Clone() : null; + reportingGameAccount_ = other.reportingGameAccount_ != null ? other.reportingGameAccount_.Clone() : null; + reportTimestamp_ = other.reportTimestamp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Report Clone() { + return new Report(this); + } + + /// Field number for the "report_type" field. + public const int ReportTypeFieldNumber = 1; + private readonly static string ReportTypeDefaultValue = ""; + + private string reportType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ReportType { + get { return reportType_ ?? ReportTypeDefaultValue; } + set { + reportType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "report_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReportType { + get { return reportType_ != null; } + } + /// Clears the value of the "report_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReportType() { + reportType_ = null; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + /// Field number for the "report_qos" field. + public const int ReportQosFieldNumber = 3; + private readonly static int ReportQosDefaultValue = 0; + + private int reportQos_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReportQos { + get { if ((_hasBits0 & 1) != 0) { return reportQos_; } else { return ReportQosDefaultValue; } } + set { + _hasBits0 |= 1; + reportQos_ = value; + } + } + /// Gets whether the "report_qos" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReportQos { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "report_qos" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReportQos() { + _hasBits0 &= ~1; + } + + /// Field number for the "reporting_account" field. + public const int ReportingAccountFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId reportingAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId ReportingAccount { + get { return reportingAccount_; } + set { + reportingAccount_ = value; + } + } + + /// Field number for the "reporting_game_account" field. + public const int ReportingGameAccountFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId reportingGameAccount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId ReportingGameAccount { + get { return reportingGameAccount_; } + set { + reportingGameAccount_ = value; + } + } + + /// Field number for the "report_timestamp" field. + public const int ReportTimestampFieldNumber = 6; + private readonly static ulong ReportTimestampDefaultValue = 0UL; + + private ulong reportTimestamp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ReportTimestamp { + get { if ((_hasBits0 & 2) != 0) { return reportTimestamp_; } else { return ReportTimestampDefaultValue; } } + set { + _hasBits0 |= 2; + reportTimestamp_ = value; + } + } + /// Gets whether the "report_timestamp" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReportTimestamp { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "report_timestamp" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReportTimestamp() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Report); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Report other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ReportType != other.ReportType) return false; + if(!attribute_.Equals(other.attribute_)) return false; + if (ReportQos != other.ReportQos) return false; + if (!object.Equals(ReportingAccount, other.ReportingAccount)) return false; + if (!object.Equals(ReportingGameAccount, other.ReportingGameAccount)) return false; + if (ReportTimestamp != other.ReportTimestamp) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasReportType) hash ^= ReportType.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (HasReportQos) hash ^= ReportQos.GetHashCode(); + if (reportingAccount_ != null) hash ^= ReportingAccount.GetHashCode(); + if (reportingGameAccount_ != null) hash ^= ReportingGameAccount.GetHashCode(); + if (HasReportTimestamp) hash ^= ReportTimestamp.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasReportType) { + output.WriteRawTag(10); + output.WriteString(ReportType); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (HasReportQos) { + output.WriteRawTag(24); + output.WriteInt32(ReportQos); + } + if (reportingAccount_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ReportingAccount); + } + if (reportingGameAccount_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ReportingGameAccount); + } + if (HasReportTimestamp) { + output.WriteRawTag(49); + output.WriteFixed64(ReportTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasReportType) { + output.WriteRawTag(10); + output.WriteString(ReportType); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (HasReportQos) { + output.WriteRawTag(24); + output.WriteInt32(ReportQos); + } + if (reportingAccount_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ReportingAccount); + } + if (reportingGameAccount_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ReportingGameAccount); + } + if (HasReportTimestamp) { + output.WriteRawTag(49); + output.WriteFixed64(ReportTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasReportType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ReportType); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (HasReportQos) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReportQos); + } + if (reportingAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReportingAccount); + } + if (reportingGameAccount_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReportingGameAccount); + } + if (HasReportTimestamp) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Report other) { + if (other == null) { + return; + } + if (other.HasReportType) { + ReportType = other.ReportType; + } + attribute_.Add(other.attribute_); + if (other.HasReportQos) { + ReportQos = other.ReportQos; + } + if (other.reportingAccount_ != null) { + if (reportingAccount_ == null) { + ReportingAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + ReportingAccount.MergeFrom(other.ReportingAccount); + } + if (other.reportingGameAccount_ != null) { + if (reportingGameAccount_ == null) { + ReportingGameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + ReportingGameAccount.MergeFrom(other.ReportingGameAccount); + } + if (other.HasReportTimestamp) { + ReportTimestamp = other.ReportTimestamp; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ReportType = input.ReadString(); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + case 24: { + ReportQos = input.ReadInt32(); + break; + } + case 34: { + if (reportingAccount_ == null) { + ReportingAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(ReportingAccount); + break; + } + case 42: { + if (reportingGameAccount_ == null) { + ReportingGameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(ReportingGameAccount); + break; + } + case 49: { + ReportTimestamp = input.ReadFixed64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ReportType = input.ReadString(); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + case 24: { + ReportQos = input.ReadInt32(); + break; + } + case 34: { + if (reportingAccount_ == null) { + ReportingAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(ReportingAccount); + break; + } + case 42: { + if (reportingGameAccount_ == null) { + ReportingGameAccount = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(ReportingGameAccount); + break; + } + case 49: { + ReportTimestamp = input.ReadFixed64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ResourceService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ResourceService.cs new file mode 100644 index 0000000000..b261b1c94f --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/ResourceService.cs @@ -0,0 +1,837 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/resource_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/resource_service.proto + public static partial class ResourceServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/resource_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ResourceServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihiZ3MvbG93L3BiL2NsaWVudC9yZXNvdXJjZV9zZXJ2aWNlLnByb3RvEhli", + "Z3MucHJvdG9jb2wucmVzb3VyY2VzLnYxGixiZ3MvbG93L3BiL2NsaWVudC9j", + "b250ZW50X2hhbmRsZV90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQv", + "cnBjX3R5cGVzLnByb3RvIlwKFENvbnRlbnRIYW5kbGVSZXF1ZXN0Eg8KB3By", + "b2dyYW0YASACKAcSDgoGc3RyZWFtGAIgAigHEhsKB3ZlcnNpb24YAyABKAc6", + "CjE3MDE3Mjk2MTk6BoL5KwIQASJNChRHZXRUaXRsZUljb25zUmVxdWVzdBIV", + "Cgl0aXRsZV9pZHMYASADKA1CAhABEg0KBXVzYWdlGAIgASgNEg8KB3ZlcnNp", + "b24YAyABKA0iYQoVR2V0VGl0bGVJY29uc1Jlc3BvbnNlEkgKGnRpdGxlX2lj", + "b25fY29udGVudF9oYW5kbGVzGAEgAygLMiQuYmdzLnByb3RvY29sLlRpdGxl", + "SWNvbkNvbnRlbnRIYW5kbGUysgIKEFJlc291cmNlc1NlcnZpY2USaAoQR2V0", + "Q29udGVudEhhbmRsZRIvLmJncy5wcm90b2NvbC5yZXNvdXJjZXMudjEuQ29u", + "dGVudEhhbmRsZVJlcXVlc3QaGy5iZ3MucHJvdG9jb2wuQ29udGVudEhhbmRs", + "ZSIGgvkrAggBEnoKDUdldFRpdGxlSWNvbnMSLy5iZ3MucHJvdG9jb2wucmVz", + "b3VyY2VzLnYxLkdldFRpdGxlSWNvbnNSZXF1ZXN0GjAuYmdzLnByb3RvY29s", + "LnJlc291cmNlcy52MS5HZXRUaXRsZUljb25zUmVzcG9uc2UiBoL5KwIIAho4", + "gvkrLgohYm5ldC5wcm90b2NvbC5yZXNvdXJjZXMuUmVzb3VyY2VzKglyZXNv", + "dXJjZXOK+SsCEAFCBUgBgAEA")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ContentHandleTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.ContentHandleRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.ContentHandleRequest.Parser, new[]{ "Program", "Stream", "Version" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.GetTitleIconsRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.GetTitleIconsRequest.Parser, new[]{ "TitleIds", "Usage", "Version" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.GetTitleIconsResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.GetTitleIconsResponse.Parser, new[]{ "TitleIconContentHandles" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ContentHandleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ContentHandleRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.ResourceServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentHandleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentHandleRequest(ContentHandleRequest other) : this() { + _hasBits0 = other._hasBits0; + program_ = other.program_; + stream_ = other.stream_; + version_ = other.version_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentHandleRequest Clone() { + return new ContentHandleRequest(this); + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 1; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 2; + private readonly static uint StreamDefaultValue = 0; + + private uint stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Stream { + get { if ((_hasBits0 & 2) != 0) { return stream_; } else { return StreamDefaultValue; } } + set { + _hasBits0 |= 2; + stream_ = value; + } + } + /// Gets whether the "stream" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStream { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStream() { + _hasBits0 &= ~2; + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 3; + private readonly static uint VersionDefaultValue = 1701729619; + + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { if ((_hasBits0 & 4) != 0) { return version_; } else { return VersionDefaultValue; } } + set { + _hasBits0 |= 4; + version_ = value; + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ContentHandleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ContentHandleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Program != other.Program) return false; + if (Stream != other.Stream) return false; + if (Version != other.Version) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasStream) hash ^= Stream.GetHashCode(); + if (HasVersion) hash ^= Version.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasStream) { + output.WriteRawTag(21); + output.WriteFixed32(Stream); + } + if (HasVersion) { + output.WriteRawTag(29); + output.WriteFixed32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasProgram) { + output.WriteRawTag(13); + output.WriteFixed32(Program); + } + if (HasStream) { + output.WriteRawTag(21); + output.WriteFixed32(Stream); + } + if (HasVersion) { + output.WriteRawTag(29); + output.WriteFixed32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasProgram) { + size += 1 + 4; + } + if (HasStream) { + size += 1 + 4; + } + if (HasVersion) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ContentHandleRequest other) { + if (other == null) { + return; + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasStream) { + Stream = other.Stream; + } + if (other.HasVersion) { + Version = other.Version; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 21: { + Stream = input.ReadFixed32(); + break; + } + case 29: { + Version = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Program = input.ReadFixed32(); + break; + } + case 21: { + Stream = input.ReadFixed32(); + break; + } + case 29: { + Version = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetTitleIconsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTitleIconsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.ResourceServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTitleIconsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTitleIconsRequest(GetTitleIconsRequest other) : this() { + _hasBits0 = other._hasBits0; + titleIds_ = other.titleIds_.Clone(); + usage_ = other.usage_; + version_ = other.version_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTitleIconsRequest Clone() { + return new GetTitleIconsRequest(this); + } + + /// Field number for the "title_ids" field. + public const int TitleIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_titleIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField titleIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TitleIds { + get { return titleIds_; } + } + + /// Field number for the "usage" field. + public const int UsageFieldNumber = 2; + private readonly static uint UsageDefaultValue = 0; + + private uint usage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Usage { + get { if ((_hasBits0 & 1) != 0) { return usage_; } else { return UsageDefaultValue; } } + set { + _hasBits0 |= 1; + usage_ = value; + } + } + /// Gets whether the "usage" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUsage { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "usage" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUsage() { + _hasBits0 &= ~1; + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 3; + private readonly static uint VersionDefaultValue = 0; + + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { if ((_hasBits0 & 2) != 0) { return version_; } else { return VersionDefaultValue; } } + set { + _hasBits0 |= 2; + version_ = value; + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetTitleIconsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetTitleIconsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!titleIds_.Equals(other.titleIds_)) return false; + if (Usage != other.Usage) return false; + if (Version != other.Version) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= titleIds_.GetHashCode(); + if (HasUsage) hash ^= Usage.GetHashCode(); + if (HasVersion) hash ^= Version.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + titleIds_.WriteTo(output, _repeated_titleIds_codec); + if (HasUsage) { + output.WriteRawTag(16); + output.WriteUInt32(Usage); + } + if (HasVersion) { + output.WriteRawTag(24); + output.WriteUInt32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + titleIds_.WriteTo(ref output, _repeated_titleIds_codec); + if (HasUsage) { + output.WriteRawTag(16); + output.WriteUInt32(Usage); + } + if (HasVersion) { + output.WriteRawTag(24); + output.WriteUInt32(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += titleIds_.CalculateSize(_repeated_titleIds_codec); + if (HasUsage) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Usage); + } + if (HasVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetTitleIconsRequest other) { + if (other == null) { + return; + } + titleIds_.Add(other.titleIds_); + if (other.HasUsage) { + Usage = other.Usage; + } + if (other.HasVersion) { + Version = other.Version; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + titleIds_.AddEntriesFrom(input, _repeated_titleIds_codec); + break; + } + case 16: { + Usage = input.ReadUInt32(); + break; + } + case 24: { + Version = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + titleIds_.AddEntriesFrom(ref input, _repeated_titleIds_codec); + break; + } + case 16: { + Usage = input.ReadUInt32(); + break; + } + case 24: { + Version = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetTitleIconsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTitleIconsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Resources.V1.ResourceServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTitleIconsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTitleIconsResponse(GetTitleIconsResponse other) : this() { + titleIconContentHandles_ = other.titleIconContentHandles_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetTitleIconsResponse Clone() { + return new GetTitleIconsResponse(this); + } + + /// Field number for the "title_icon_content_handles" field. + public const int TitleIconContentHandlesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_titleIconContentHandles_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.TitleIconContentHandle.Parser); + private readonly pbc::RepeatedField titleIconContentHandles_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TitleIconContentHandles { + get { return titleIconContentHandles_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetTitleIconsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetTitleIconsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!titleIconContentHandles_.Equals(other.titleIconContentHandles_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= titleIconContentHandles_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + titleIconContentHandles_.WriteTo(output, _repeated_titleIconContentHandles_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + titleIconContentHandles_.WriteTo(ref output, _repeated_titleIconContentHandles_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += titleIconContentHandles_.CalculateSize(_repeated_titleIconContentHandles_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetTitleIconsResponse other) { + if (other == null) { + return; + } + titleIconContentHandles_.Add(other.titleIconContentHandles_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + titleIconContentHandles_.AddEntriesFrom(input, _repeated_titleIconContentHandles_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + titleIconContentHandles_.AddEntriesFrom(ref input, _repeated_titleIconContentHandles_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RoleTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RoleTypes.cs new file mode 100644 index 0000000000..51ca26c24a --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RoleTypes.cs @@ -0,0 +1,1051 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/role_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/role_types.proto + public static partial class RoleTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/role_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RoleTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiJiZ3MvbG93L3BiL2NsaWVudC9yb2xlX3R5cGVzLnByb3RvEgxiZ3MucHJv", + "dG9jb2wiwgEKBFJvbGUSCgoCaWQYASACKA0SDAoEbmFtZRgCIAIoCRIRCglw", + "cml2aWxlZ2UYAyADKAkSGwoPYXNzaWduYWJsZV9yb2xlGAQgAygNQgIQARIQ", + "CghyZXF1aXJlZBgFIAEoCBIOCgZ1bmlxdWUYBiABKAgSFwoPcmVsZWdhdGlv", + "bl9yb2xlGAcgASgNEhkKDWtpY2thYmxlX3JvbGUYCSADKA1CAhABEhoKDnJl", + "bW92YWJsZV9yb2xlGAogAygNQgIQASLGAQoJUm9sZVN0YXRlEgwKBG5hbWUY", + "AiABKAkSGwoPYXNzaWduYWJsZV9yb2xlGAQgAygNQgIQARIQCghyZXF1aXJl", + "ZBgFIAEoCBIOCgZ1bmlxdWUYBiABKAgSFwoPcmVsZWdhdGlvbl9yb2xlGAcg", + "ASgNEhkKDWtpY2thYmxlX3JvbGUYCSADKA1CAhABEhoKDnJlbW92YWJsZV9y", + "b2xlGAogAygNQgIQARIcChBtZW50aW9uYWJsZV9yb2xlGAsgAygNQgIQAUIC", + "SAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Role), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Role.Parser, new[]{ "Id", "Name", "Privilege", "AssignableRole", "Required", "Unique", "RelegationRole", "KickableRole", "RemovableRole" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleState.Parser, new[]{ "Name", "AssignableRole", "Required", "Unique", "RelegationRole", "KickableRole", "RemovableRole", "MentionableRole" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Role : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Role()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Role() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Role(Role other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + name_ = other.name_; + privilege_ = other.privilege_.Clone(); + assignableRole_ = other.assignableRole_.Clone(); + required_ = other.required_; + unique_ = other.unique_; + relegationRole_ = other.relegationRole_; + kickableRole_ = other.kickableRole_.Clone(); + removableRole_ = other.removableRole_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Role Clone() { + return new Role(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "privilege" field. + public const int PrivilegeFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_privilege_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField privilege_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Privilege { + get { return privilege_; } + } + + /// Field number for the "assignable_role" field. + public const int AssignableRoleFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_assignableRole_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField assignableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AssignableRole { + get { return assignableRole_; } + } + + /// Field number for the "required" field. + public const int RequiredFieldNumber = 5; + private readonly static bool RequiredDefaultValue = false; + + private bool required_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Required { + get { if ((_hasBits0 & 2) != 0) { return required_; } else { return RequiredDefaultValue; } } + set { + _hasBits0 |= 2; + required_ = value; + } + } + /// Gets whether the "required" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequired { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "required" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequired() { + _hasBits0 &= ~2; + } + + /// Field number for the "unique" field. + public const int UniqueFieldNumber = 6; + private readonly static bool UniqueDefaultValue = false; + + private bool unique_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unique { + get { if ((_hasBits0 & 4) != 0) { return unique_; } else { return UniqueDefaultValue; } } + set { + _hasBits0 |= 4; + unique_ = value; + } + } + /// Gets whether the "unique" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnique { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "unique" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnique() { + _hasBits0 &= ~4; + } + + /// Field number for the "relegation_role" field. + public const int RelegationRoleFieldNumber = 7; + private readonly static uint RelegationRoleDefaultValue = 0; + + private uint relegationRole_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RelegationRole { + get { if ((_hasBits0 & 8) != 0) { return relegationRole_; } else { return RelegationRoleDefaultValue; } } + set { + _hasBits0 |= 8; + relegationRole_ = value; + } + } + /// Gets whether the "relegation_role" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRelegationRole { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "relegation_role" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelegationRole() { + _hasBits0 &= ~8; + } + + /// Field number for the "kickable_role" field. + public const int KickableRoleFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_kickableRole_codec + = pb::FieldCodec.ForUInt32(74); + private readonly pbc::RepeatedField kickableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField KickableRole { + get { return kickableRole_; } + } + + /// Field number for the "removable_role" field. + public const int RemovableRoleFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_removableRole_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField removableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RemovableRole { + get { return removableRole_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Role); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Role other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Name != other.Name) return false; + if(!privilege_.Equals(other.privilege_)) return false; + if(!assignableRole_.Equals(other.assignableRole_)) return false; + if (Required != other.Required) return false; + if (Unique != other.Unique) return false; + if (RelegationRole != other.RelegationRole) return false; + if(!kickableRole_.Equals(other.kickableRole_)) return false; + if(!removableRole_.Equals(other.removableRole_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + hash ^= privilege_.GetHashCode(); + hash ^= assignableRole_.GetHashCode(); + if (HasRequired) hash ^= Required.GetHashCode(); + if (HasUnique) hash ^= Unique.GetHashCode(); + if (HasRelegationRole) hash ^= RelegationRole.GetHashCode(); + hash ^= kickableRole_.GetHashCode(); + hash ^= removableRole_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + privilege_.WriteTo(output, _repeated_privilege_codec); + assignableRole_.WriteTo(output, _repeated_assignableRole_codec); + if (HasRequired) { + output.WriteRawTag(40); + output.WriteBool(Required); + } + if (HasUnique) { + output.WriteRawTag(48); + output.WriteBool(Unique); + } + if (HasRelegationRole) { + output.WriteRawTag(56); + output.WriteUInt32(RelegationRole); + } + kickableRole_.WriteTo(output, _repeated_kickableRole_codec); + removableRole_.WriteTo(output, _repeated_removableRole_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + privilege_.WriteTo(ref output, _repeated_privilege_codec); + assignableRole_.WriteTo(ref output, _repeated_assignableRole_codec); + if (HasRequired) { + output.WriteRawTag(40); + output.WriteBool(Required); + } + if (HasUnique) { + output.WriteRawTag(48); + output.WriteBool(Unique); + } + if (HasRelegationRole) { + output.WriteRawTag(56); + output.WriteUInt32(RelegationRole); + } + kickableRole_.WriteTo(ref output, _repeated_kickableRole_codec); + removableRole_.WriteTo(ref output, _repeated_removableRole_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + size += privilege_.CalculateSize(_repeated_privilege_codec); + size += assignableRole_.CalculateSize(_repeated_assignableRole_codec); + if (HasRequired) { + size += 1 + 1; + } + if (HasUnique) { + size += 1 + 1; + } + if (HasRelegationRole) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RelegationRole); + } + size += kickableRole_.CalculateSize(_repeated_kickableRole_codec); + size += removableRole_.CalculateSize(_repeated_removableRole_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Role other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasName) { + Name = other.Name; + } + privilege_.Add(other.privilege_); + assignableRole_.Add(other.assignableRole_); + if (other.HasRequired) { + Required = other.Required; + } + if (other.HasUnique) { + Unique = other.Unique; + } + if (other.HasRelegationRole) { + RelegationRole = other.RelegationRole; + } + kickableRole_.Add(other.kickableRole_); + removableRole_.Add(other.removableRole_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + privilege_.AddEntriesFrom(input, _repeated_privilege_codec); + break; + } + case 34: + case 32: { + assignableRole_.AddEntriesFrom(input, _repeated_assignableRole_codec); + break; + } + case 40: { + Required = input.ReadBool(); + break; + } + case 48: { + Unique = input.ReadBool(); + break; + } + case 56: { + RelegationRole = input.ReadUInt32(); + break; + } + case 74: + case 72: { + kickableRole_.AddEntriesFrom(input, _repeated_kickableRole_codec); + break; + } + case 82: + case 80: { + removableRole_.AddEntriesFrom(input, _repeated_removableRole_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + privilege_.AddEntriesFrom(ref input, _repeated_privilege_codec); + break; + } + case 34: + case 32: { + assignableRole_.AddEntriesFrom(ref input, _repeated_assignableRole_codec); + break; + } + case 40: { + Required = input.ReadBool(); + break; + } + case 48: { + Unique = input.ReadBool(); + break; + } + case 56: { + RelegationRole = input.ReadUInt32(); + break; + } + case 74: + case 72: { + kickableRole_.AddEntriesFrom(ref input, _repeated_kickableRole_codec); + break; + } + case 82: + case 80: { + removableRole_.AddEntriesFrom(ref input, _repeated_removableRole_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RoleState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoleState()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoleTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleState(RoleState other) : this() { + _hasBits0 = other._hasBits0; + name_ = other.name_; + assignableRole_ = other.assignableRole_.Clone(); + required_ = other.required_; + unique_ = other.unique_; + relegationRole_ = other.relegationRole_; + kickableRole_ = other.kickableRole_.Clone(); + removableRole_ = other.removableRole_.Clone(); + mentionableRole_ = other.mentionableRole_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoleState Clone() { + return new RoleState(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "assignable_role" field. + public const int AssignableRoleFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_assignableRole_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField assignableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AssignableRole { + get { return assignableRole_; } + } + + /// Field number for the "required" field. + public const int RequiredFieldNumber = 5; + private readonly static bool RequiredDefaultValue = false; + + private bool required_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Required { + get { if ((_hasBits0 & 1) != 0) { return required_; } else { return RequiredDefaultValue; } } + set { + _hasBits0 |= 1; + required_ = value; + } + } + /// Gets whether the "required" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequired { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "required" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequired() { + _hasBits0 &= ~1; + } + + /// Field number for the "unique" field. + public const int UniqueFieldNumber = 6; + private readonly static bool UniqueDefaultValue = false; + + private bool unique_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unique { + get { if ((_hasBits0 & 2) != 0) { return unique_; } else { return UniqueDefaultValue; } } + set { + _hasBits0 |= 2; + unique_ = value; + } + } + /// Gets whether the "unique" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnique { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "unique" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnique() { + _hasBits0 &= ~2; + } + + /// Field number for the "relegation_role" field. + public const int RelegationRoleFieldNumber = 7; + private readonly static uint RelegationRoleDefaultValue = 0; + + private uint relegationRole_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RelegationRole { + get { if ((_hasBits0 & 4) != 0) { return relegationRole_; } else { return RelegationRoleDefaultValue; } } + set { + _hasBits0 |= 4; + relegationRole_ = value; + } + } + /// Gets whether the "relegation_role" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRelegationRole { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "relegation_role" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelegationRole() { + _hasBits0 &= ~4; + } + + /// Field number for the "kickable_role" field. + public const int KickableRoleFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_kickableRole_codec + = pb::FieldCodec.ForUInt32(74); + private readonly pbc::RepeatedField kickableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField KickableRole { + get { return kickableRole_; } + } + + /// Field number for the "removable_role" field. + public const int RemovableRoleFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_removableRole_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField removableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RemovableRole { + get { return removableRole_; } + } + + /// Field number for the "mentionable_role" field. + public const int MentionableRoleFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_mentionableRole_codec + = pb::FieldCodec.ForUInt32(90); + private readonly pbc::RepeatedField mentionableRole_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField MentionableRole { + get { return mentionableRole_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RoleState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RoleState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if(!assignableRole_.Equals(other.assignableRole_)) return false; + if (Required != other.Required) return false; + if (Unique != other.Unique) return false; + if (RelegationRole != other.RelegationRole) return false; + if(!kickableRole_.Equals(other.kickableRole_)) return false; + if(!removableRole_.Equals(other.removableRole_)) return false; + if(!mentionableRole_.Equals(other.mentionableRole_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasName) hash ^= Name.GetHashCode(); + hash ^= assignableRole_.GetHashCode(); + if (HasRequired) hash ^= Required.GetHashCode(); + if (HasUnique) hash ^= Unique.GetHashCode(); + if (HasRelegationRole) hash ^= RelegationRole.GetHashCode(); + hash ^= kickableRole_.GetHashCode(); + hash ^= removableRole_.GetHashCode(); + hash ^= mentionableRole_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + assignableRole_.WriteTo(output, _repeated_assignableRole_codec); + if (HasRequired) { + output.WriteRawTag(40); + output.WriteBool(Required); + } + if (HasUnique) { + output.WriteRawTag(48); + output.WriteBool(Unique); + } + if (HasRelegationRole) { + output.WriteRawTag(56); + output.WriteUInt32(RelegationRole); + } + kickableRole_.WriteTo(output, _repeated_kickableRole_codec); + removableRole_.WriteTo(output, _repeated_removableRole_codec); + mentionableRole_.WriteTo(output, _repeated_mentionableRole_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasName) { + output.WriteRawTag(18); + output.WriteString(Name); + } + assignableRole_.WriteTo(ref output, _repeated_assignableRole_codec); + if (HasRequired) { + output.WriteRawTag(40); + output.WriteBool(Required); + } + if (HasUnique) { + output.WriteRawTag(48); + output.WriteBool(Unique); + } + if (HasRelegationRole) { + output.WriteRawTag(56); + output.WriteUInt32(RelegationRole); + } + kickableRole_.WriteTo(ref output, _repeated_kickableRole_codec); + removableRole_.WriteTo(ref output, _repeated_removableRole_codec); + mentionableRole_.WriteTo(ref output, _repeated_mentionableRole_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + size += assignableRole_.CalculateSize(_repeated_assignableRole_codec); + if (HasRequired) { + size += 1 + 1; + } + if (HasUnique) { + size += 1 + 1; + } + if (HasRelegationRole) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RelegationRole); + } + size += kickableRole_.CalculateSize(_repeated_kickableRole_codec); + size += removableRole_.CalculateSize(_repeated_removableRole_codec); + size += mentionableRole_.CalculateSize(_repeated_mentionableRole_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RoleState other) { + if (other == null) { + return; + } + if (other.HasName) { + Name = other.Name; + } + assignableRole_.Add(other.assignableRole_); + if (other.HasRequired) { + Required = other.Required; + } + if (other.HasUnique) { + Unique = other.Unique; + } + if (other.HasRelegationRole) { + RelegationRole = other.RelegationRole; + } + kickableRole_.Add(other.kickableRole_); + removableRole_.Add(other.removableRole_); + mentionableRole_.Add(other.mentionableRole_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + Name = input.ReadString(); + break; + } + case 34: + case 32: { + assignableRole_.AddEntriesFrom(input, _repeated_assignableRole_codec); + break; + } + case 40: { + Required = input.ReadBool(); + break; + } + case 48: { + Unique = input.ReadBool(); + break; + } + case 56: { + RelegationRole = input.ReadUInt32(); + break; + } + case 74: + case 72: { + kickableRole_.AddEntriesFrom(input, _repeated_kickableRole_codec); + break; + } + case 82: + case 80: { + removableRole_.AddEntriesFrom(input, _repeated_removableRole_codec); + break; + } + case 90: + case 88: { + mentionableRole_.AddEntriesFrom(input, _repeated_mentionableRole_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + Name = input.ReadString(); + break; + } + case 34: + case 32: { + assignableRole_.AddEntriesFrom(ref input, _repeated_assignableRole_codec); + break; + } + case 40: { + Required = input.ReadBool(); + break; + } + case 48: { + Unique = input.ReadBool(); + break; + } + case 56: { + RelegationRole = input.ReadUInt32(); + break; + } + case 74: + case 72: { + kickableRole_.AddEntriesFrom(ref input, _repeated_kickableRole_codec); + break; + } + case 82: + case 80: { + removableRole_.AddEntriesFrom(ref input, _repeated_removableRole_codec); + break; + } + case 90: + case 88: { + mentionableRole_.AddEntriesFrom(ref input, _repeated_mentionableRole_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RpcConfig.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RpcConfig.cs new file mode 100644 index 0000000000..bdba485ee9 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RpcConfig.cs @@ -0,0 +1,1384 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/rpc_config.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config { + + /// Holder for reflection information generated from bgs/low/pb/client/rpc_config.proto + public static partial class RpcConfigReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/rpc_config.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RpcConfigReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiJiZ3MvbG93L3BiL2NsaWVudC9ycGNfY29uZmlnLnByb3RvEhNiZ3MucHJv", + "dG9jb2wuY29uZmlnIoIDCg9SUENNZXRob2RDb25maWcSGAoMc2VydmljZV9u", + "YW1lGAEgASgJQgIYARIXCgttZXRob2RfbmFtZRgCIAEoCUICGAESGgoPZml4", + "ZWRfY2FsbF9jb3N0GAMgASgNOgExEhkKEWZpeGVkX3BhY2tldF9zaXplGAQg", + "ASgNEhsKE3ZhcmlhYmxlX211bHRpcGxpZXIYBSABKAISFQoKbXVsdGlwbGll", + "chgGIAEoAjoBMRIYChByYXRlX2xpbWl0X2NvdW50GAcgASgNEhoKEnJhdGVf", + "bGltaXRfc2Vjb25kcxgIIAEoDRIXCg9tYXhfcGFja2V0X3NpemUYCSABKA0S", + "GAoQbWF4X2VuY29kZWRfc2l6ZRgKIAEoDRIPCgd0aW1lb3V0GAsgASgCEhMK", + "C2NhcF9iYWxhbmNlGAwgASgNEhkKEWluY29tZV9wZXJfc2Vjb25kGA0gASgC", + "EhQKDHNlcnZpY2VfaGFzaBgOIAEoDRIRCgltZXRob2RfaWQYDyABKA0iqgEK", + "DlJQQ01ldGVyQ29uZmlnEjQKBm1ldGhvZBgBIAMoCzIkLmJncy5wcm90b2Nv", + "bC5jb25maWcuUlBDTWV0aG9kQ29uZmlnEhwKEWluY29tZV9wZXJfc2Vjb25k", + "GAIgASgNOgExEhcKD2luaXRpYWxfYmFsYW5jZRgDIAEoDRITCgtjYXBfYmFs", + "YW5jZRgEIAEoDRIWCg5zdGFydHVwX3BlcmlvZBgFIAEoAkICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RPCMethodConfig), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RPCMethodConfig.Parser, new[]{ "ServiceName", "MethodName", "FixedCallCost", "FixedPacketSize", "VariableMultiplier", "Multiplier", "RateLimitCount", "RateLimitSeconds", "MaxPacketSize", "MaxEncodedSize", "Timeout", "CapBalance", "IncomePerSecond", "ServiceHash", "MethodId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RPCMeterConfig), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RPCMeterConfig.Parser, new[]{ "Method", "IncomePerSecond", "InitialBalance", "CapBalance", "StartupPeriod" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RPCMethodConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RPCMethodConfig()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RpcConfigReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RPCMethodConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RPCMethodConfig(RPCMethodConfig other) : this() { + _hasBits0 = other._hasBits0; + serviceName_ = other.serviceName_; + methodName_ = other.methodName_; + fixedCallCost_ = other.fixedCallCost_; + fixedPacketSize_ = other.fixedPacketSize_; + variableMultiplier_ = other.variableMultiplier_; + multiplier_ = other.multiplier_; + rateLimitCount_ = other.rateLimitCount_; + rateLimitSeconds_ = other.rateLimitSeconds_; + maxPacketSize_ = other.maxPacketSize_; + maxEncodedSize_ = other.maxEncodedSize_; + timeout_ = other.timeout_; + capBalance_ = other.capBalance_; + incomePerSecond_ = other.incomePerSecond_; + serviceHash_ = other.serviceHash_; + methodId_ = other.methodId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RPCMethodConfig Clone() { + return new RPCMethodConfig(this); + } + + /// Field number for the "service_name" field. + public const int ServiceNameFieldNumber = 1; + private readonly static string ServiceNameDefaultValue = ""; + + private string serviceName_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServiceName { + get { return serviceName_ ?? ServiceNameDefaultValue; } + set { + serviceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "service_name" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasServiceName { + get { return serviceName_ != null; } + } + /// Clears the value of the "service_name" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearServiceName() { + serviceName_ = null; + } + + /// Field number for the "method_name" field. + public const int MethodNameFieldNumber = 2; + private readonly static string MethodNameDefaultValue = ""; + + private string methodName_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MethodName { + get { return methodName_ ?? MethodNameDefaultValue; } + set { + methodName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "method_name" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMethodName { + get { return methodName_ != null; } + } + /// Clears the value of the "method_name" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMethodName() { + methodName_ = null; + } + + /// Field number for the "fixed_call_cost" field. + public const int FixedCallCostFieldNumber = 3; + private readonly static uint FixedCallCostDefaultValue = 1; + + private uint fixedCallCost_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FixedCallCost { + get { if ((_hasBits0 & 1) != 0) { return fixedCallCost_; } else { return FixedCallCostDefaultValue; } } + set { + _hasBits0 |= 1; + fixedCallCost_ = value; + } + } + /// Gets whether the "fixed_call_cost" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFixedCallCost { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "fixed_call_cost" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFixedCallCost() { + _hasBits0 &= ~1; + } + + /// Field number for the "fixed_packet_size" field. + public const int FixedPacketSizeFieldNumber = 4; + private readonly static uint FixedPacketSizeDefaultValue = 0; + + private uint fixedPacketSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FixedPacketSize { + get { if ((_hasBits0 & 2) != 0) { return fixedPacketSize_; } else { return FixedPacketSizeDefaultValue; } } + set { + _hasBits0 |= 2; + fixedPacketSize_ = value; + } + } + /// Gets whether the "fixed_packet_size" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFixedPacketSize { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "fixed_packet_size" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFixedPacketSize() { + _hasBits0 &= ~2; + } + + /// Field number for the "variable_multiplier" field. + public const int VariableMultiplierFieldNumber = 5; + private readonly static float VariableMultiplierDefaultValue = 0F; + + private float variableMultiplier_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float VariableMultiplier { + get { if ((_hasBits0 & 4) != 0) { return variableMultiplier_; } else { return VariableMultiplierDefaultValue; } } + set { + _hasBits0 |= 4; + variableMultiplier_ = value; + } + } + /// Gets whether the "variable_multiplier" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVariableMultiplier { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "variable_multiplier" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVariableMultiplier() { + _hasBits0 &= ~4; + } + + /// Field number for the "multiplier" field. + public const int MultiplierFieldNumber = 6; + private readonly static float MultiplierDefaultValue = 1F; + + private float multiplier_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Multiplier { + get { if ((_hasBits0 & 8) != 0) { return multiplier_; } else { return MultiplierDefaultValue; } } + set { + _hasBits0 |= 8; + multiplier_ = value; + } + } + /// Gets whether the "multiplier" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMultiplier { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "multiplier" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMultiplier() { + _hasBits0 &= ~8; + } + + /// Field number for the "rate_limit_count" field. + public const int RateLimitCountFieldNumber = 7; + private readonly static uint RateLimitCountDefaultValue = 0; + + private uint rateLimitCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RateLimitCount { + get { if ((_hasBits0 & 16) != 0) { return rateLimitCount_; } else { return RateLimitCountDefaultValue; } } + set { + _hasBits0 |= 16; + rateLimitCount_ = value; + } + } + /// Gets whether the "rate_limit_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRateLimitCount { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "rate_limit_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRateLimitCount() { + _hasBits0 &= ~16; + } + + /// Field number for the "rate_limit_seconds" field. + public const int RateLimitSecondsFieldNumber = 8; + private readonly static uint RateLimitSecondsDefaultValue = 0; + + private uint rateLimitSeconds_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RateLimitSeconds { + get { if ((_hasBits0 & 32) != 0) { return rateLimitSeconds_; } else { return RateLimitSecondsDefaultValue; } } + set { + _hasBits0 |= 32; + rateLimitSeconds_ = value; + } + } + /// Gets whether the "rate_limit_seconds" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRateLimitSeconds { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "rate_limit_seconds" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRateLimitSeconds() { + _hasBits0 &= ~32; + } + + /// Field number for the "max_packet_size" field. + public const int MaxPacketSizeFieldNumber = 9; + private readonly static uint MaxPacketSizeDefaultValue = 0; + + private uint maxPacketSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxPacketSize { + get { if ((_hasBits0 & 64) != 0) { return maxPacketSize_; } else { return MaxPacketSizeDefaultValue; } } + set { + _hasBits0 |= 64; + maxPacketSize_ = value; + } + } + /// Gets whether the "max_packet_size" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxPacketSize { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "max_packet_size" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxPacketSize() { + _hasBits0 &= ~64; + } + + /// Field number for the "max_encoded_size" field. + public const int MaxEncodedSizeFieldNumber = 10; + private readonly static uint MaxEncodedSizeDefaultValue = 0; + + private uint maxEncodedSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxEncodedSize { + get { if ((_hasBits0 & 128) != 0) { return maxEncodedSize_; } else { return MaxEncodedSizeDefaultValue; } } + set { + _hasBits0 |= 128; + maxEncodedSize_ = value; + } + } + /// Gets whether the "max_encoded_size" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxEncodedSize { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "max_encoded_size" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxEncodedSize() { + _hasBits0 &= ~128; + } + + /// Field number for the "timeout" field. + public const int TimeoutFieldNumber = 11; + private readonly static float TimeoutDefaultValue = 0F; + + private float timeout_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Timeout { + get { if ((_hasBits0 & 256) != 0) { return timeout_; } else { return TimeoutDefaultValue; } } + set { + _hasBits0 |= 256; + timeout_ = value; + } + } + /// Gets whether the "timeout" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimeout { + get { return (_hasBits0 & 256) != 0; } + } + /// Clears the value of the "timeout" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimeout() { + _hasBits0 &= ~256; + } + + /// Field number for the "cap_balance" field. + public const int CapBalanceFieldNumber = 12; + private readonly static uint CapBalanceDefaultValue = 0; + + private uint capBalance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CapBalance { + get { if ((_hasBits0 & 512) != 0) { return capBalance_; } else { return CapBalanceDefaultValue; } } + set { + _hasBits0 |= 512; + capBalance_ = value; + } + } + /// Gets whether the "cap_balance" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCapBalance { + get { return (_hasBits0 & 512) != 0; } + } + /// Clears the value of the "cap_balance" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCapBalance() { + _hasBits0 &= ~512; + } + + /// Field number for the "income_per_second" field. + public const int IncomePerSecondFieldNumber = 13; + private readonly static float IncomePerSecondDefaultValue = 0F; + + private float incomePerSecond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float IncomePerSecond { + get { if ((_hasBits0 & 1024) != 0) { return incomePerSecond_; } else { return IncomePerSecondDefaultValue; } } + set { + _hasBits0 |= 1024; + incomePerSecond_ = value; + } + } + /// Gets whether the "income_per_second" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIncomePerSecond { + get { return (_hasBits0 & 1024) != 0; } + } + /// Clears the value of the "income_per_second" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIncomePerSecond() { + _hasBits0 &= ~1024; + } + + /// Field number for the "service_hash" field. + public const int ServiceHashFieldNumber = 14; + private readonly static uint ServiceHashDefaultValue = 0; + + private uint serviceHash_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ServiceHash { + get { if ((_hasBits0 & 2048) != 0) { return serviceHash_; } else { return ServiceHashDefaultValue; } } + set { + _hasBits0 |= 2048; + serviceHash_ = value; + } + } + /// Gets whether the "service_hash" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasServiceHash { + get { return (_hasBits0 & 2048) != 0; } + } + /// Clears the value of the "service_hash" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearServiceHash() { + _hasBits0 &= ~2048; + } + + /// Field number for the "method_id" field. + public const int MethodIdFieldNumber = 15; + private readonly static uint MethodIdDefaultValue = 0; + + private uint methodId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MethodId { + get { if ((_hasBits0 & 4096) != 0) { return methodId_; } else { return MethodIdDefaultValue; } } + set { + _hasBits0 |= 4096; + methodId_ = value; + } + } + /// Gets whether the "method_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMethodId { + get { return (_hasBits0 & 4096) != 0; } + } + /// Clears the value of the "method_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMethodId() { + _hasBits0 &= ~4096; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RPCMethodConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RPCMethodConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServiceName != other.ServiceName) return false; + if (MethodName != other.MethodName) return false; + if (FixedCallCost != other.FixedCallCost) return false; + if (FixedPacketSize != other.FixedPacketSize) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VariableMultiplier, other.VariableMultiplier)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Multiplier, other.Multiplier)) return false; + if (RateLimitCount != other.RateLimitCount) return false; + if (RateLimitSeconds != other.RateLimitSeconds) return false; + if (MaxPacketSize != other.MaxPacketSize) return false; + if (MaxEncodedSize != other.MaxEncodedSize) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Timeout, other.Timeout)) return false; + if (CapBalance != other.CapBalance) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(IncomePerSecond, other.IncomePerSecond)) return false; + if (ServiceHash != other.ServiceHash) return false; + if (MethodId != other.MethodId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasServiceName) hash ^= ServiceName.GetHashCode(); + if (HasMethodName) hash ^= MethodName.GetHashCode(); + if (HasFixedCallCost) hash ^= FixedCallCost.GetHashCode(); + if (HasFixedPacketSize) hash ^= FixedPacketSize.GetHashCode(); + if (HasVariableMultiplier) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VariableMultiplier); + if (HasMultiplier) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Multiplier); + if (HasRateLimitCount) hash ^= RateLimitCount.GetHashCode(); + if (HasRateLimitSeconds) hash ^= RateLimitSeconds.GetHashCode(); + if (HasMaxPacketSize) hash ^= MaxPacketSize.GetHashCode(); + if (HasMaxEncodedSize) hash ^= MaxEncodedSize.GetHashCode(); + if (HasTimeout) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Timeout); + if (HasCapBalance) hash ^= CapBalance.GetHashCode(); + if (HasIncomePerSecond) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(IncomePerSecond); + if (HasServiceHash) hash ^= ServiceHash.GetHashCode(); + if (HasMethodId) hash ^= MethodId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasServiceName) { + output.WriteRawTag(10); + output.WriteString(ServiceName); + } + if (HasMethodName) { + output.WriteRawTag(18); + output.WriteString(MethodName); + } + if (HasFixedCallCost) { + output.WriteRawTag(24); + output.WriteUInt32(FixedCallCost); + } + if (HasFixedPacketSize) { + output.WriteRawTag(32); + output.WriteUInt32(FixedPacketSize); + } + if (HasVariableMultiplier) { + output.WriteRawTag(45); + output.WriteFloat(VariableMultiplier); + } + if (HasMultiplier) { + output.WriteRawTag(53); + output.WriteFloat(Multiplier); + } + if (HasRateLimitCount) { + output.WriteRawTag(56); + output.WriteUInt32(RateLimitCount); + } + if (HasRateLimitSeconds) { + output.WriteRawTag(64); + output.WriteUInt32(RateLimitSeconds); + } + if (HasMaxPacketSize) { + output.WriteRawTag(72); + output.WriteUInt32(MaxPacketSize); + } + if (HasMaxEncodedSize) { + output.WriteRawTag(80); + output.WriteUInt32(MaxEncodedSize); + } + if (HasTimeout) { + output.WriteRawTag(93); + output.WriteFloat(Timeout); + } + if (HasCapBalance) { + output.WriteRawTag(96); + output.WriteUInt32(CapBalance); + } + if (HasIncomePerSecond) { + output.WriteRawTag(109); + output.WriteFloat(IncomePerSecond); + } + if (HasServiceHash) { + output.WriteRawTag(112); + output.WriteUInt32(ServiceHash); + } + if (HasMethodId) { + output.WriteRawTag(120); + output.WriteUInt32(MethodId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasServiceName) { + output.WriteRawTag(10); + output.WriteString(ServiceName); + } + if (HasMethodName) { + output.WriteRawTag(18); + output.WriteString(MethodName); + } + if (HasFixedCallCost) { + output.WriteRawTag(24); + output.WriteUInt32(FixedCallCost); + } + if (HasFixedPacketSize) { + output.WriteRawTag(32); + output.WriteUInt32(FixedPacketSize); + } + if (HasVariableMultiplier) { + output.WriteRawTag(45); + output.WriteFloat(VariableMultiplier); + } + if (HasMultiplier) { + output.WriteRawTag(53); + output.WriteFloat(Multiplier); + } + if (HasRateLimitCount) { + output.WriteRawTag(56); + output.WriteUInt32(RateLimitCount); + } + if (HasRateLimitSeconds) { + output.WriteRawTag(64); + output.WriteUInt32(RateLimitSeconds); + } + if (HasMaxPacketSize) { + output.WriteRawTag(72); + output.WriteUInt32(MaxPacketSize); + } + if (HasMaxEncodedSize) { + output.WriteRawTag(80); + output.WriteUInt32(MaxEncodedSize); + } + if (HasTimeout) { + output.WriteRawTag(93); + output.WriteFloat(Timeout); + } + if (HasCapBalance) { + output.WriteRawTag(96); + output.WriteUInt32(CapBalance); + } + if (HasIncomePerSecond) { + output.WriteRawTag(109); + output.WriteFloat(IncomePerSecond); + } + if (HasServiceHash) { + output.WriteRawTag(112); + output.WriteUInt32(ServiceHash); + } + if (HasMethodId) { + output.WriteRawTag(120); + output.WriteUInt32(MethodId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasServiceName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceName); + } + if (HasMethodName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MethodName); + } + if (HasFixedCallCost) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FixedCallCost); + } + if (HasFixedPacketSize) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FixedPacketSize); + } + if (HasVariableMultiplier) { + size += 1 + 4; + } + if (HasMultiplier) { + size += 1 + 4; + } + if (HasRateLimitCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RateLimitCount); + } + if (HasRateLimitSeconds) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RateLimitSeconds); + } + if (HasMaxPacketSize) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxPacketSize); + } + if (HasMaxEncodedSize) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxEncodedSize); + } + if (HasTimeout) { + size += 1 + 4; + } + if (HasCapBalance) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CapBalance); + } + if (HasIncomePerSecond) { + size += 1 + 4; + } + if (HasServiceHash) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServiceHash); + } + if (HasMethodId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MethodId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RPCMethodConfig other) { + if (other == null) { + return; + } + if (other.HasServiceName) { + ServiceName = other.ServiceName; + } + if (other.HasMethodName) { + MethodName = other.MethodName; + } + if (other.HasFixedCallCost) { + FixedCallCost = other.FixedCallCost; + } + if (other.HasFixedPacketSize) { + FixedPacketSize = other.FixedPacketSize; + } + if (other.HasVariableMultiplier) { + VariableMultiplier = other.VariableMultiplier; + } + if (other.HasMultiplier) { + Multiplier = other.Multiplier; + } + if (other.HasRateLimitCount) { + RateLimitCount = other.RateLimitCount; + } + if (other.HasRateLimitSeconds) { + RateLimitSeconds = other.RateLimitSeconds; + } + if (other.HasMaxPacketSize) { + MaxPacketSize = other.MaxPacketSize; + } + if (other.HasMaxEncodedSize) { + MaxEncodedSize = other.MaxEncodedSize; + } + if (other.HasTimeout) { + Timeout = other.Timeout; + } + if (other.HasCapBalance) { + CapBalance = other.CapBalance; + } + if (other.HasIncomePerSecond) { + IncomePerSecond = other.IncomePerSecond; + } + if (other.HasServiceHash) { + ServiceHash = other.ServiceHash; + } + if (other.HasMethodId) { + MethodId = other.MethodId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ServiceName = input.ReadString(); + break; + } + case 18: { + MethodName = input.ReadString(); + break; + } + case 24: { + FixedCallCost = input.ReadUInt32(); + break; + } + case 32: { + FixedPacketSize = input.ReadUInt32(); + break; + } + case 45: { + VariableMultiplier = input.ReadFloat(); + break; + } + case 53: { + Multiplier = input.ReadFloat(); + break; + } + case 56: { + RateLimitCount = input.ReadUInt32(); + break; + } + case 64: { + RateLimitSeconds = input.ReadUInt32(); + break; + } + case 72: { + MaxPacketSize = input.ReadUInt32(); + break; + } + case 80: { + MaxEncodedSize = input.ReadUInt32(); + break; + } + case 93: { + Timeout = input.ReadFloat(); + break; + } + case 96: { + CapBalance = input.ReadUInt32(); + break; + } + case 109: { + IncomePerSecond = input.ReadFloat(); + break; + } + case 112: { + ServiceHash = input.ReadUInt32(); + break; + } + case 120: { + MethodId = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ServiceName = input.ReadString(); + break; + } + case 18: { + MethodName = input.ReadString(); + break; + } + case 24: { + FixedCallCost = input.ReadUInt32(); + break; + } + case 32: { + FixedPacketSize = input.ReadUInt32(); + break; + } + case 45: { + VariableMultiplier = input.ReadFloat(); + break; + } + case 53: { + Multiplier = input.ReadFloat(); + break; + } + case 56: { + RateLimitCount = input.ReadUInt32(); + break; + } + case 64: { + RateLimitSeconds = input.ReadUInt32(); + break; + } + case 72: { + MaxPacketSize = input.ReadUInt32(); + break; + } + case 80: { + MaxEncodedSize = input.ReadUInt32(); + break; + } + case 93: { + Timeout = input.ReadFloat(); + break; + } + case 96: { + CapBalance = input.ReadUInt32(); + break; + } + case 109: { + IncomePerSecond = input.ReadFloat(); + break; + } + case 112: { + ServiceHash = input.ReadUInt32(); + break; + } + case 120: { + MethodId = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RPCMeterConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RPCMeterConfig()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RpcConfigReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RPCMeterConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RPCMeterConfig(RPCMeterConfig other) : this() { + _hasBits0 = other._hasBits0; + method_ = other.method_.Clone(); + incomePerSecond_ = other.incomePerSecond_; + initialBalance_ = other.initialBalance_; + capBalance_ = other.capBalance_; + startupPeriod_ = other.startupPeriod_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RPCMeterConfig Clone() { + return new RPCMeterConfig(this); + } + + /// Field number for the "method" field. + public const int MethodFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_method_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Config.RPCMethodConfig.Parser); + private readonly pbc::RepeatedField method_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Method { + get { return method_; } + } + + /// Field number for the "income_per_second" field. + public const int IncomePerSecondFieldNumber = 2; + private readonly static uint IncomePerSecondDefaultValue = 1; + + private uint incomePerSecond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint IncomePerSecond { + get { if ((_hasBits0 & 1) != 0) { return incomePerSecond_; } else { return IncomePerSecondDefaultValue; } } + set { + _hasBits0 |= 1; + incomePerSecond_ = value; + } + } + /// Gets whether the "income_per_second" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIncomePerSecond { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "income_per_second" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIncomePerSecond() { + _hasBits0 &= ~1; + } + + /// Field number for the "initial_balance" field. + public const int InitialBalanceFieldNumber = 3; + private readonly static uint InitialBalanceDefaultValue = 0; + + private uint initialBalance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint InitialBalance { + get { if ((_hasBits0 & 2) != 0) { return initialBalance_; } else { return InitialBalanceDefaultValue; } } + set { + _hasBits0 |= 2; + initialBalance_ = value; + } + } + /// Gets whether the "initial_balance" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInitialBalance { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "initial_balance" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInitialBalance() { + _hasBits0 &= ~2; + } + + /// Field number for the "cap_balance" field. + public const int CapBalanceFieldNumber = 4; + private readonly static uint CapBalanceDefaultValue = 0; + + private uint capBalance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CapBalance { + get { if ((_hasBits0 & 4) != 0) { return capBalance_; } else { return CapBalanceDefaultValue; } } + set { + _hasBits0 |= 4; + capBalance_ = value; + } + } + /// Gets whether the "cap_balance" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCapBalance { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "cap_balance" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCapBalance() { + _hasBits0 &= ~4; + } + + /// Field number for the "startup_period" field. + public const int StartupPeriodFieldNumber = 5; + private readonly static float StartupPeriodDefaultValue = 0F; + + private float startupPeriod_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float StartupPeriod { + get { if ((_hasBits0 & 8) != 0) { return startupPeriod_; } else { return StartupPeriodDefaultValue; } } + set { + _hasBits0 |= 8; + startupPeriod_ = value; + } + } + /// Gets whether the "startup_period" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStartupPeriod { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "startup_period" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStartupPeriod() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RPCMeterConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RPCMeterConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!method_.Equals(other.method_)) return false; + if (IncomePerSecond != other.IncomePerSecond) return false; + if (InitialBalance != other.InitialBalance) return false; + if (CapBalance != other.CapBalance) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(StartupPeriod, other.StartupPeriod)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= method_.GetHashCode(); + if (HasIncomePerSecond) hash ^= IncomePerSecond.GetHashCode(); + if (HasInitialBalance) hash ^= InitialBalance.GetHashCode(); + if (HasCapBalance) hash ^= CapBalance.GetHashCode(); + if (HasStartupPeriod) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StartupPeriod); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + method_.WriteTo(output, _repeated_method_codec); + if (HasIncomePerSecond) { + output.WriteRawTag(16); + output.WriteUInt32(IncomePerSecond); + } + if (HasInitialBalance) { + output.WriteRawTag(24); + output.WriteUInt32(InitialBalance); + } + if (HasCapBalance) { + output.WriteRawTag(32); + output.WriteUInt32(CapBalance); + } + if (HasStartupPeriod) { + output.WriteRawTag(45); + output.WriteFloat(StartupPeriod); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + method_.WriteTo(ref output, _repeated_method_codec); + if (HasIncomePerSecond) { + output.WriteRawTag(16); + output.WriteUInt32(IncomePerSecond); + } + if (HasInitialBalance) { + output.WriteRawTag(24); + output.WriteUInt32(InitialBalance); + } + if (HasCapBalance) { + output.WriteRawTag(32); + output.WriteUInt32(CapBalance); + } + if (HasStartupPeriod) { + output.WriteRawTag(45); + output.WriteFloat(StartupPeriod); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += method_.CalculateSize(_repeated_method_codec); + if (HasIncomePerSecond) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IncomePerSecond); + } + if (HasInitialBalance) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(InitialBalance); + } + if (HasCapBalance) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CapBalance); + } + if (HasStartupPeriod) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RPCMeterConfig other) { + if (other == null) { + return; + } + method_.Add(other.method_); + if (other.HasIncomePerSecond) { + IncomePerSecond = other.IncomePerSecond; + } + if (other.HasInitialBalance) { + InitialBalance = other.InitialBalance; + } + if (other.HasCapBalance) { + CapBalance = other.CapBalance; + } + if (other.HasStartupPeriod) { + StartupPeriod = other.StartupPeriod; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + method_.AddEntriesFrom(input, _repeated_method_codec); + break; + } + case 16: { + IncomePerSecond = input.ReadUInt32(); + break; + } + case 24: { + InitialBalance = input.ReadUInt32(); + break; + } + case 32: { + CapBalance = input.ReadUInt32(); + break; + } + case 45: { + StartupPeriod = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + method_.AddEntriesFrom(ref input, _repeated_method_codec); + break; + } + case 16: { + IncomePerSecond = input.ReadUInt32(); + break; + } + case 24: { + InitialBalance = input.ReadUInt32(); + break; + } + case 32: { + CapBalance = input.ReadUInt32(); + break; + } + case 45: { + StartupPeriod = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RpcTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RpcTypes.cs new file mode 100644 index 0000000000..64362c7e62 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/RpcTypes.cs @@ -0,0 +1,2852 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/rpc_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/rpc_types.proto + public static partial class RpcTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/rpc_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RpcTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8SDGJncy5wcm90", + "b2NvbBo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvZmll", + "bGRfb3B0aW9ucy5wcm90bxo4YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4", + "dGVuc2lvbnMvbWV0aG9kX29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xp", + "ZW50L2dsb2JhbF9leHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxo5", + "YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvc2VydmljZV9v", + "cHRpb25zLnByb3RvIg0KC05PX1JFU1BPTlNFIigKB0FkZHJlc3MSDwoHYWRk", + "cmVzcxgBIAIoCRIMCgRwb3J0GAIgASgNIjMKCVByb2Nlc3NJZBIXCgVsYWJl", + "bBgBIAIoDUIIivkrBBICEAASDQoFZXBvY2gYAiACKA0iTAoNT2JqZWN0QWRk", + "cmVzcxIlCgRob3N0GAEgAigLMhcuYmdzLnByb3RvY29sLlByb2Nlc3NJZBIU", + "CglvYmplY3RfaWQYAiABKAQ6ATAiCAoGTm9EYXRhInkKCUVycm9ySW5mbxIz", + "Cg5vYmplY3RfYWRkcmVzcxgBIAIoCzIbLmJncy5wcm90b2NvbC5PYmplY3RB", + "ZGRyZXNzEg4KBnN0YXR1cxgCIAIoDRIUCgxzZXJ2aWNlX2hhc2gYAyACKA0S", + "EQoJbWV0aG9kX2lkGAQgAigNIkEKDEZhbm91dFRhcmdldBIRCgljbGllbnRf", + "aWQYASABKAkSCwoDa2V5GAIgASgMEhEKCW9iamVjdF9pZBgDIAEoBCLnAwoG", + "SGVhZGVyEhIKCnNlcnZpY2VfaWQYASACKA0SEQoJbWV0aG9kX2lkGAIgASgN", + "Eg0KBXRva2VuGAMgAigNEhQKCW9iamVjdF9pZBgEIAEoBDoBMBIPCgRzaXpl", + "GAUgASgNOgEwEhEKBnN0YXR1cxgGIAEoDToBMBImCgVlcnJvchgHIAMoCzIX", + "LmJncy5wcm90b2NvbC5FcnJvckluZm8SDwoHdGltZW91dBgIIAEoBBITCgtp", + "c19yZXNwb25zZRgJIAEoCBIwCg9mb3J3YXJkX3RhcmdldHMYCiADKAsyFy5i", + "Z3MucHJvdG9jb2wuUHJvY2Vzc0lkEhQKDHNlcnZpY2VfaGFzaBgLIAEoBxIR", + "CgljbGllbnRfaWQYDSABKAkSMQoNZmFub3V0X3RhcmdldBgOIAMoCzIaLmJn", + "cy5wcm90b2NvbC5GYW5vdXRUYXJnZXQSHwoXY2xpZW50X2lkX2Zhbm91dF90", + "YXJnZXQYDyADKAkSFQoNY2xpZW50X3JlY29yZBgQIAEoDBIXCg9vcmlnaW5h", + "bF9zZW5kZXIYESABKAwSFAoMc2VuZGVyX3Rva2VuGBIgASgNEhQKDHJvdXRl", + "cl9sYWJlbBgTIAEoDRIUCgxlcnJvcl9yZWFzb24YFCABKAlCGgoMYmdzLnBy", + "b3RvY29sQghScGNQcm90b0gBUABQAVACUAM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MethodOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ServiceOptionsReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.NO_RESPONSE), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.NO_RESPONSE.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Address), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Address.Parser, new[]{ "Address_", "Port" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId.Parser, new[]{ "Label", "Epoch" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress.Parser, new[]{ "Host", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.NoData), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.NoData.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ErrorInfo), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ErrorInfo.Parser, new[]{ "ObjectAddress", "Status", "ServiceHash", "MethodId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FanoutTarget), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FanoutTarget.Parser, new[]{ "ClientId", "Key", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Header), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Header.Parser, new[]{ "ServiceId", "MethodId", "Token", "ObjectId", "Size", "Status", "Error", "Timeout", "IsResponse", "ForwardTargets", "ServiceHash", "ClientId", "FanoutTarget", "ClientIdFanoutTarget", "ClientRecord", "OriginalSender", "SenderToken", "RouterLabel", "ErrorReason" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NO_RESPONSE : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NO_RESPONSE()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NO_RESPONSE() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NO_RESPONSE(NO_RESPONSE other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NO_RESPONSE Clone() { + return new NO_RESPONSE(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NO_RESPONSE); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NO_RESPONSE other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NO_RESPONSE other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Address : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser
_parser = new pb::MessageParser
(() => new Address()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser
Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Address() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Address(Address other) : this() { + _hasBits0 = other._hasBits0; + address_ = other.address_; + port_ = other.port_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Address Clone() { + return new Address(this); + } + + /// Field number for the "address" field. + public const int Address_FieldNumber = 1; + private readonly static string Address_DefaultValue = ""; + + private string address_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Address_ { + get { return address_ ?? Address_DefaultValue; } + set { + address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "address" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAddress_ { + get { return address_ != null; } + } + /// Clears the value of the "address" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAddress_() { + address_ = null; + } + + /// Field number for the "port" field. + public const int PortFieldNumber = 2; + private readonly static uint PortDefaultValue = 0; + + private uint port_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Port { + get { if ((_hasBits0 & 1) != 0) { return port_; } else { return PortDefaultValue; } } + set { + _hasBits0 |= 1; + port_ = value; + } + } + /// Gets whether the "port" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPort { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "port" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPort() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Address); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Address other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Address_ != other.Address_) return false; + if (Port != other.Port) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasAddress_) hash ^= Address_.GetHashCode(); + if (HasPort) hash ^= Port.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasAddress_) { + output.WriteRawTag(10); + output.WriteString(Address_); + } + if (HasPort) { + output.WriteRawTag(16); + output.WriteUInt32(Port); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasAddress_) { + output.WriteRawTag(10); + output.WriteString(Address_); + } + if (HasPort) { + output.WriteRawTag(16); + output.WriteUInt32(Port); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasAddress_) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address_); + } + if (HasPort) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Port); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Address other) { + if (other == null) { + return; + } + if (other.HasAddress_) { + Address_ = other.Address_; + } + if (other.HasPort) { + Port = other.Port; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Address_ = input.ReadString(); + break; + } + case 16: { + Port = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Address_ = input.ReadString(); + break; + } + case 16: { + Port = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProcessId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessId(ProcessId other) : this() { + _hasBits0 = other._hasBits0; + label_ = other.label_; + epoch_ = other.epoch_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessId Clone() { + return new ProcessId(this); + } + + /// Field number for the "label" field. + public const int LabelFieldNumber = 1; + private readonly static uint LabelDefaultValue = 0; + + private uint label_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Label { + get { if ((_hasBits0 & 1) != 0) { return label_; } else { return LabelDefaultValue; } } + set { + _hasBits0 |= 1; + label_ = value; + } + } + /// Gets whether the "label" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLabel { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "label" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLabel() { + _hasBits0 &= ~1; + } + + /// Field number for the "epoch" field. + public const int EpochFieldNumber = 2; + private readonly static uint EpochDefaultValue = 0; + + private uint epoch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Epoch { + get { if ((_hasBits0 & 2) != 0) { return epoch_; } else { return EpochDefaultValue; } } + set { + _hasBits0 |= 2; + epoch_ = value; + } + } + /// Gets whether the "epoch" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEpoch { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "epoch" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEpoch() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProcessId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProcessId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Label != other.Label) return false; + if (Epoch != other.Epoch) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasLabel) hash ^= Label.GetHashCode(); + if (HasEpoch) hash ^= Epoch.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasLabel) { + output.WriteRawTag(8); + output.WriteUInt32(Label); + } + if (HasEpoch) { + output.WriteRawTag(16); + output.WriteUInt32(Epoch); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasLabel) { + output.WriteRawTag(8); + output.WriteUInt32(Label); + } + if (HasEpoch) { + output.WriteRawTag(16); + output.WriteUInt32(Epoch); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasLabel) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Label); + } + if (HasEpoch) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Epoch); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProcessId other) { + if (other == null) { + return; + } + if (other.HasLabel) { + Label = other.Label; + } + if (other.HasEpoch) { + Epoch = other.Epoch; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Label = input.ReadUInt32(); + break; + } + case 16: { + Epoch = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Label = input.ReadUInt32(); + break; + } + case 16: { + Epoch = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ObjectAddress : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ObjectAddress()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObjectAddress() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObjectAddress(ObjectAddress other) : this() { + _hasBits0 = other._hasBits0; + host_ = other.host_ != null ? other.host_.Clone() : null; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObjectAddress Clone() { + return new ObjectAddress(this); + } + + /// Field number for the "host" field. + public const int HostFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId host_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId Host { + get { return host_; } + set { + host_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 2; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ObjectAddress); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ObjectAddress other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Host, other.Host)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (host_ != null) hash ^= Host.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (host_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Host); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (host_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Host); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (host_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ObjectAddress other) { + if (other == null) { + return; + } + if (other.host_ != null) { + if (host_ == null) { + Host = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + Host.MergeFrom(other.Host); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (host_ == null) { + Host = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Host); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (host_ == null) { + Host = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Host); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NoData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NoData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoData(NoData other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoData Clone() { + return new NoData(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NoData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NoData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NoData other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ErrorInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ErrorInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ErrorInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ErrorInfo(ErrorInfo other) : this() { + _hasBits0 = other._hasBits0; + objectAddress_ = other.objectAddress_ != null ? other.objectAddress_.Clone() : null; + status_ = other.status_; + serviceHash_ = other.serviceHash_; + methodId_ = other.methodId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ErrorInfo Clone() { + return new ErrorInfo(this); + } + + /// Field number for the "object_address" field. + public const int ObjectAddressFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress objectAddress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress ObjectAddress { + get { return objectAddress_; } + set { + objectAddress_ = value; + } + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 2; + private readonly static uint StatusDefaultValue = 0; + + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { if ((_hasBits0 & 1) != 0) { return status_; } else { return StatusDefaultValue; } } + set { + _hasBits0 |= 1; + status_ = value; + } + } + /// Gets whether the "status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStatus { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStatus() { + _hasBits0 &= ~1; + } + + /// Field number for the "service_hash" field. + public const int ServiceHashFieldNumber = 3; + private readonly static uint ServiceHashDefaultValue = 0; + + private uint serviceHash_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ServiceHash { + get { if ((_hasBits0 & 2) != 0) { return serviceHash_; } else { return ServiceHashDefaultValue; } } + set { + _hasBits0 |= 2; + serviceHash_ = value; + } + } + /// Gets whether the "service_hash" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasServiceHash { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "service_hash" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearServiceHash() { + _hasBits0 &= ~2; + } + + /// Field number for the "method_id" field. + public const int MethodIdFieldNumber = 4; + private readonly static uint MethodIdDefaultValue = 0; + + private uint methodId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MethodId { + get { if ((_hasBits0 & 4) != 0) { return methodId_; } else { return MethodIdDefaultValue; } } + set { + _hasBits0 |= 4; + methodId_ = value; + } + } + /// Gets whether the "method_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMethodId { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "method_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMethodId() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ErrorInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ErrorInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ObjectAddress, other.ObjectAddress)) return false; + if (Status != other.Status) return false; + if (ServiceHash != other.ServiceHash) return false; + if (MethodId != other.MethodId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (objectAddress_ != null) hash ^= ObjectAddress.GetHashCode(); + if (HasStatus) hash ^= Status.GetHashCode(); + if (HasServiceHash) hash ^= ServiceHash.GetHashCode(); + if (HasMethodId) hash ^= MethodId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (objectAddress_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ObjectAddress); + } + if (HasStatus) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (HasServiceHash) { + output.WriteRawTag(24); + output.WriteUInt32(ServiceHash); + } + if (HasMethodId) { + output.WriteRawTag(32); + output.WriteUInt32(MethodId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (objectAddress_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ObjectAddress); + } + if (HasStatus) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (HasServiceHash) { + output.WriteRawTag(24); + output.WriteUInt32(ServiceHash); + } + if (HasMethodId) { + output.WriteRawTag(32); + output.WriteUInt32(MethodId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (objectAddress_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObjectAddress); + } + if (HasStatus) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (HasServiceHash) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServiceHash); + } + if (HasMethodId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MethodId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ErrorInfo other) { + if (other == null) { + return; + } + if (other.objectAddress_ != null) { + if (objectAddress_ == null) { + ObjectAddress = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress(); + } + ObjectAddress.MergeFrom(other.ObjectAddress); + } + if (other.HasStatus) { + Status = other.Status; + } + if (other.HasServiceHash) { + ServiceHash = other.ServiceHash; + } + if (other.HasMethodId) { + MethodId = other.MethodId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (objectAddress_ == null) { + ObjectAddress = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress(); + } + input.ReadMessage(ObjectAddress); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 24: { + ServiceHash = input.ReadUInt32(); + break; + } + case 32: { + MethodId = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (objectAddress_ == null) { + ObjectAddress = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ObjectAddress(); + } + input.ReadMessage(ObjectAddress); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 24: { + ServiceHash = input.ReadUInt32(); + break; + } + case 32: { + MethodId = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FanoutTarget : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FanoutTarget()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FanoutTarget() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FanoutTarget(FanoutTarget other) : this() { + _hasBits0 = other._hasBits0; + clientId_ = other.clientId_; + key_ = other.key_; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FanoutTarget Clone() { + return new FanoutTarget(this); + } + + /// Field number for the "client_id" field. + public const int ClientIdFieldNumber = 1; + private readonly static string ClientIdDefaultValue = ""; + + private string clientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientId { + get { return clientId_ ?? ClientIdDefaultValue; } + set { + clientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientId { + get { return clientId_ != null; } + } + /// Clears the value of the "client_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientId() { + clientId_ = null; + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 2; + private readonly static pb::ByteString KeyDefaultValue = pb::ByteString.Empty; + + private pb::ByteString key_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Key { + get { return key_ ?? KeyDefaultValue; } + set { + key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasKey { + get { return key_ != null; } + } + /// Clears the value of the "key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearKey() { + key_ = null; + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 3; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FanoutTarget); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FanoutTarget other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClientId != other.ClientId) return false; + if (Key != other.Key) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClientId) hash ^= ClientId.GetHashCode(); + if (HasKey) hash ^= Key.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClientId) { + output.WriteRawTag(10); + output.WriteString(ClientId); + } + if (HasKey) { + output.WriteRawTag(18); + output.WriteBytes(Key); + } + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClientId) { + output.WriteRawTag(10); + output.WriteString(ClientId); + } + if (HasKey) { + output.WriteRawTag(18); + output.WriteBytes(Key); + } + if (HasObjectId) { + output.WriteRawTag(24); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClientId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId); + } + if (HasKey) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Key); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FanoutTarget other) { + if (other == null) { + return; + } + if (other.HasClientId) { + ClientId = other.ClientId; + } + if (other.HasKey) { + Key = other.Key; + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ClientId = input.ReadString(); + break; + } + case 18: { + Key = input.ReadBytes(); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ClientId = input.ReadString(); + break; + } + case 18: { + Key = input.ReadBytes(); + break; + } + case 24: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Header : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser
_parser = new pb::MessageParser
(() => new Header()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser
Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Header() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Header(Header other) : this() { + _hasBits0 = other._hasBits0; + serviceId_ = other.serviceId_; + methodId_ = other.methodId_; + token_ = other.token_; + objectId_ = other.objectId_; + size_ = other.size_; + status_ = other.status_; + error_ = other.error_.Clone(); + timeout_ = other.timeout_; + isResponse_ = other.isResponse_; + forwardTargets_ = other.forwardTargets_.Clone(); + serviceHash_ = other.serviceHash_; + clientId_ = other.clientId_; + fanoutTarget_ = other.fanoutTarget_.Clone(); + clientIdFanoutTarget_ = other.clientIdFanoutTarget_.Clone(); + clientRecord_ = other.clientRecord_; + originalSender_ = other.originalSender_; + senderToken_ = other.senderToken_; + routerLabel_ = other.routerLabel_; + errorReason_ = other.errorReason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Header Clone() { + return new Header(this); + } + + /// Field number for the "service_id" field. + public const int ServiceIdFieldNumber = 1; + private readonly static uint ServiceIdDefaultValue = 0; + + private uint serviceId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ServiceId { + get { if ((_hasBits0 & 1) != 0) { return serviceId_; } else { return ServiceIdDefaultValue; } } + set { + _hasBits0 |= 1; + serviceId_ = value; + } + } + /// Gets whether the "service_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasServiceId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "service_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearServiceId() { + _hasBits0 &= ~1; + } + + /// Field number for the "method_id" field. + public const int MethodIdFieldNumber = 2; + private readonly static uint MethodIdDefaultValue = 0; + + private uint methodId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MethodId { + get { if ((_hasBits0 & 2) != 0) { return methodId_; } else { return MethodIdDefaultValue; } } + set { + _hasBits0 |= 2; + methodId_ = value; + } + } + /// Gets whether the "method_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMethodId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "method_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMethodId() { + _hasBits0 &= ~2; + } + + /// Field number for the "token" field. + public const int TokenFieldNumber = 3; + private readonly static uint TokenDefaultValue = 0; + + private uint token_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Token { + get { if ((_hasBits0 & 4) != 0) { return token_; } else { return TokenDefaultValue; } } + set { + _hasBits0 |= 4; + token_ = value; + } + } + /// Gets whether the "token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasToken { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "token" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearToken() { + _hasBits0 &= ~4; + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 4; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 8) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 8; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~8; + } + + /// Field number for the "size" field. + public const int SizeFieldNumber = 5; + private readonly static uint SizeDefaultValue = 0; + + private uint size_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Size { + get { if ((_hasBits0 & 16) != 0) { return size_; } else { return SizeDefaultValue; } } + set { + _hasBits0 |= 16; + size_ = value; + } + } + /// Gets whether the "size" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSize { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "size" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSize() { + _hasBits0 &= ~16; + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 6; + private readonly static uint StatusDefaultValue = 0; + + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { if ((_hasBits0 & 32) != 0) { return status_; } else { return StatusDefaultValue; } } + set { + _hasBits0 |= 32; + status_ = value; + } + } + /// Gets whether the "status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStatus { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStatus() { + _hasBits0 &= ~32; + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_error_codec + = pb::FieldCodec.ForMessage(58, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ErrorInfo.Parser); + private readonly pbc::RepeatedField error_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Error { + get { return error_; } + } + + /// Field number for the "timeout" field. + public const int TimeoutFieldNumber = 8; + private readonly static ulong TimeoutDefaultValue = 0UL; + + private ulong timeout_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Timeout { + get { if ((_hasBits0 & 64) != 0) { return timeout_; } else { return TimeoutDefaultValue; } } + set { + _hasBits0 |= 64; + timeout_ = value; + } + } + /// Gets whether the "timeout" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimeout { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "timeout" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimeout() { + _hasBits0 &= ~64; + } + + /// Field number for the "is_response" field. + public const int IsResponseFieldNumber = 9; + private readonly static bool IsResponseDefaultValue = false; + + private bool isResponse_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsResponse { + get { if ((_hasBits0 & 128) != 0) { return isResponse_; } else { return IsResponseDefaultValue; } } + set { + _hasBits0 |= 128; + isResponse_ = value; + } + } + /// Gets whether the "is_response" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsResponse { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "is_response" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsResponse() { + _hasBits0 &= ~128; + } + + /// Field number for the "forward_targets" field. + public const int ForwardTargetsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_forwardTargets_codec + = pb::FieldCodec.ForMessage(82, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId.Parser); + private readonly pbc::RepeatedField forwardTargets_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ForwardTargets { + get { return forwardTargets_; } + } + + /// Field number for the "service_hash" field. + public const int ServiceHashFieldNumber = 11; + private readonly static uint ServiceHashDefaultValue = 0; + + private uint serviceHash_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ServiceHash { + get { if ((_hasBits0 & 256) != 0) { return serviceHash_; } else { return ServiceHashDefaultValue; } } + set { + _hasBits0 |= 256; + serviceHash_ = value; + } + } + /// Gets whether the "service_hash" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasServiceHash { + get { return (_hasBits0 & 256) != 0; } + } + /// Clears the value of the "service_hash" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearServiceHash() { + _hasBits0 &= ~256; + } + + /// Field number for the "client_id" field. + public const int ClientIdFieldNumber = 13; + private readonly static string ClientIdDefaultValue = ""; + + private string clientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientId { + get { return clientId_ ?? ClientIdDefaultValue; } + set { + clientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientId { + get { return clientId_ != null; } + } + /// Clears the value of the "client_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientId() { + clientId_ = null; + } + + /// Field number for the "fanout_target" field. + public const int FanoutTargetFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_fanoutTarget_codec + = pb::FieldCodec.ForMessage(114, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FanoutTarget.Parser); + private readonly pbc::RepeatedField fanoutTarget_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FanoutTarget { + get { return fanoutTarget_; } + } + + /// Field number for the "client_id_fanout_target" field. + public const int ClientIdFanoutTargetFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_clientIdFanoutTarget_codec + = pb::FieldCodec.ForString(122); + private readonly pbc::RepeatedField clientIdFanoutTarget_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ClientIdFanoutTarget { + get { return clientIdFanoutTarget_; } + } + + /// Field number for the "client_record" field. + public const int ClientRecordFieldNumber = 16; + private readonly static pb::ByteString ClientRecordDefaultValue = pb::ByteString.Empty; + + private pb::ByteString clientRecord_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString ClientRecord { + get { return clientRecord_ ?? ClientRecordDefaultValue; } + set { + clientRecord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "client_record" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientRecord { + get { return clientRecord_ != null; } + } + /// Clears the value of the "client_record" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientRecord() { + clientRecord_ = null; + } + + /// Field number for the "original_sender" field. + public const int OriginalSenderFieldNumber = 17; + private readonly static pb::ByteString OriginalSenderDefaultValue = pb::ByteString.Empty; + + private pb::ByteString originalSender_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString OriginalSender { + get { return originalSender_ ?? OriginalSenderDefaultValue; } + set { + originalSender_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "original_sender" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOriginalSender { + get { return originalSender_ != null; } + } + /// Clears the value of the "original_sender" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOriginalSender() { + originalSender_ = null; + } + + /// Field number for the "sender_token" field. + public const int SenderTokenFieldNumber = 18; + private readonly static uint SenderTokenDefaultValue = 0; + + private uint senderToken_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SenderToken { + get { if ((_hasBits0 & 512) != 0) { return senderToken_; } else { return SenderTokenDefaultValue; } } + set { + _hasBits0 |= 512; + senderToken_ = value; + } + } + /// Gets whether the "sender_token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSenderToken { + get { return (_hasBits0 & 512) != 0; } + } + /// Clears the value of the "sender_token" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSenderToken() { + _hasBits0 &= ~512; + } + + /// Field number for the "router_label" field. + public const int RouterLabelFieldNumber = 19; + private readonly static uint RouterLabelDefaultValue = 0; + + private uint routerLabel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RouterLabel { + get { if ((_hasBits0 & 1024) != 0) { return routerLabel_; } else { return RouterLabelDefaultValue; } } + set { + _hasBits0 |= 1024; + routerLabel_ = value; + } + } + /// Gets whether the "router_label" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRouterLabel { + get { return (_hasBits0 & 1024) != 0; } + } + /// Clears the value of the "router_label" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRouterLabel() { + _hasBits0 &= ~1024; + } + + /// Field number for the "error_reason" field. + public const int ErrorReasonFieldNumber = 20; + private readonly static string ErrorReasonDefaultValue = ""; + + private string errorReason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ErrorReason { + get { return errorReason_ ?? ErrorReasonDefaultValue; } + set { + errorReason_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "error_reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasErrorReason { + get { return errorReason_ != null; } + } + /// Clears the value of the "error_reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearErrorReason() { + errorReason_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Header); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Header other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServiceId != other.ServiceId) return false; + if (MethodId != other.MethodId) return false; + if (Token != other.Token) return false; + if (ObjectId != other.ObjectId) return false; + if (Size != other.Size) return false; + if (Status != other.Status) return false; + if(!error_.Equals(other.error_)) return false; + if (Timeout != other.Timeout) return false; + if (IsResponse != other.IsResponse) return false; + if(!forwardTargets_.Equals(other.forwardTargets_)) return false; + if (ServiceHash != other.ServiceHash) return false; + if (ClientId != other.ClientId) return false; + if(!fanoutTarget_.Equals(other.fanoutTarget_)) return false; + if(!clientIdFanoutTarget_.Equals(other.clientIdFanoutTarget_)) return false; + if (ClientRecord != other.ClientRecord) return false; + if (OriginalSender != other.OriginalSender) return false; + if (SenderToken != other.SenderToken) return false; + if (RouterLabel != other.RouterLabel) return false; + if (ErrorReason != other.ErrorReason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasServiceId) hash ^= ServiceId.GetHashCode(); + if (HasMethodId) hash ^= MethodId.GetHashCode(); + if (HasToken) hash ^= Token.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (HasSize) hash ^= Size.GetHashCode(); + if (HasStatus) hash ^= Status.GetHashCode(); + hash ^= error_.GetHashCode(); + if (HasTimeout) hash ^= Timeout.GetHashCode(); + if (HasIsResponse) hash ^= IsResponse.GetHashCode(); + hash ^= forwardTargets_.GetHashCode(); + if (HasServiceHash) hash ^= ServiceHash.GetHashCode(); + if (HasClientId) hash ^= ClientId.GetHashCode(); + hash ^= fanoutTarget_.GetHashCode(); + hash ^= clientIdFanoutTarget_.GetHashCode(); + if (HasClientRecord) hash ^= ClientRecord.GetHashCode(); + if (HasOriginalSender) hash ^= OriginalSender.GetHashCode(); + if (HasSenderToken) hash ^= SenderToken.GetHashCode(); + if (HasRouterLabel) hash ^= RouterLabel.GetHashCode(); + if (HasErrorReason) hash ^= ErrorReason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasServiceId) { + output.WriteRawTag(8); + output.WriteUInt32(ServiceId); + } + if (HasMethodId) { + output.WriteRawTag(16); + output.WriteUInt32(MethodId); + } + if (HasToken) { + output.WriteRawTag(24); + output.WriteUInt32(Token); + } + if (HasObjectId) { + output.WriteRawTag(32); + output.WriteUInt64(ObjectId); + } + if (HasSize) { + output.WriteRawTag(40); + output.WriteUInt32(Size); + } + if (HasStatus) { + output.WriteRawTag(48); + output.WriteUInt32(Status); + } + error_.WriteTo(output, _repeated_error_codec); + if (HasTimeout) { + output.WriteRawTag(64); + output.WriteUInt64(Timeout); + } + if (HasIsResponse) { + output.WriteRawTag(72); + output.WriteBool(IsResponse); + } + forwardTargets_.WriteTo(output, _repeated_forwardTargets_codec); + if (HasServiceHash) { + output.WriteRawTag(93); + output.WriteFixed32(ServiceHash); + } + if (HasClientId) { + output.WriteRawTag(106); + output.WriteString(ClientId); + } + fanoutTarget_.WriteTo(output, _repeated_fanoutTarget_codec); + clientIdFanoutTarget_.WriteTo(output, _repeated_clientIdFanoutTarget_codec); + if (HasClientRecord) { + output.WriteRawTag(130, 1); + output.WriteBytes(ClientRecord); + } + if (HasOriginalSender) { + output.WriteRawTag(138, 1); + output.WriteBytes(OriginalSender); + } + if (HasSenderToken) { + output.WriteRawTag(144, 1); + output.WriteUInt32(SenderToken); + } + if (HasRouterLabel) { + output.WriteRawTag(152, 1); + output.WriteUInt32(RouterLabel); + } + if (HasErrorReason) { + output.WriteRawTag(162, 1); + output.WriteString(ErrorReason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasServiceId) { + output.WriteRawTag(8); + output.WriteUInt32(ServiceId); + } + if (HasMethodId) { + output.WriteRawTag(16); + output.WriteUInt32(MethodId); + } + if (HasToken) { + output.WriteRawTag(24); + output.WriteUInt32(Token); + } + if (HasObjectId) { + output.WriteRawTag(32); + output.WriteUInt64(ObjectId); + } + if (HasSize) { + output.WriteRawTag(40); + output.WriteUInt32(Size); + } + if (HasStatus) { + output.WriteRawTag(48); + output.WriteUInt32(Status); + } + error_.WriteTo(ref output, _repeated_error_codec); + if (HasTimeout) { + output.WriteRawTag(64); + output.WriteUInt64(Timeout); + } + if (HasIsResponse) { + output.WriteRawTag(72); + output.WriteBool(IsResponse); + } + forwardTargets_.WriteTo(ref output, _repeated_forwardTargets_codec); + if (HasServiceHash) { + output.WriteRawTag(93); + output.WriteFixed32(ServiceHash); + } + if (HasClientId) { + output.WriteRawTag(106); + output.WriteString(ClientId); + } + fanoutTarget_.WriteTo(ref output, _repeated_fanoutTarget_codec); + clientIdFanoutTarget_.WriteTo(ref output, _repeated_clientIdFanoutTarget_codec); + if (HasClientRecord) { + output.WriteRawTag(130, 1); + output.WriteBytes(ClientRecord); + } + if (HasOriginalSender) { + output.WriteRawTag(138, 1); + output.WriteBytes(OriginalSender); + } + if (HasSenderToken) { + output.WriteRawTag(144, 1); + output.WriteUInt32(SenderToken); + } + if (HasRouterLabel) { + output.WriteRawTag(152, 1); + output.WriteUInt32(RouterLabel); + } + if (HasErrorReason) { + output.WriteRawTag(162, 1); + output.WriteString(ErrorReason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasServiceId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServiceId); + } + if (HasMethodId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MethodId); + } + if (HasToken) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Token); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (HasSize) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Size); + } + if (HasStatus) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + size += error_.CalculateSize(_repeated_error_codec); + if (HasTimeout) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timeout); + } + if (HasIsResponse) { + size += 1 + 1; + } + size += forwardTargets_.CalculateSize(_repeated_forwardTargets_codec); + if (HasServiceHash) { + size += 1 + 4; + } + if (HasClientId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId); + } + size += fanoutTarget_.CalculateSize(_repeated_fanoutTarget_codec); + size += clientIdFanoutTarget_.CalculateSize(_repeated_clientIdFanoutTarget_codec); + if (HasClientRecord) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(ClientRecord); + } + if (HasOriginalSender) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(OriginalSender); + } + if (HasSenderToken) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(SenderToken); + } + if (HasRouterLabel) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RouterLabel); + } + if (HasErrorReason) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ErrorReason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Header other) { + if (other == null) { + return; + } + if (other.HasServiceId) { + ServiceId = other.ServiceId; + } + if (other.HasMethodId) { + MethodId = other.MethodId; + } + if (other.HasToken) { + Token = other.Token; + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + if (other.HasSize) { + Size = other.Size; + } + if (other.HasStatus) { + Status = other.Status; + } + error_.Add(other.error_); + if (other.HasTimeout) { + Timeout = other.Timeout; + } + if (other.HasIsResponse) { + IsResponse = other.IsResponse; + } + forwardTargets_.Add(other.forwardTargets_); + if (other.HasServiceHash) { + ServiceHash = other.ServiceHash; + } + if (other.HasClientId) { + ClientId = other.ClientId; + } + fanoutTarget_.Add(other.fanoutTarget_); + clientIdFanoutTarget_.Add(other.clientIdFanoutTarget_); + if (other.HasClientRecord) { + ClientRecord = other.ClientRecord; + } + if (other.HasOriginalSender) { + OriginalSender = other.OriginalSender; + } + if (other.HasSenderToken) { + SenderToken = other.SenderToken; + } + if (other.HasRouterLabel) { + RouterLabel = other.RouterLabel; + } + if (other.HasErrorReason) { + ErrorReason = other.ErrorReason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ServiceId = input.ReadUInt32(); + break; + } + case 16: { + MethodId = input.ReadUInt32(); + break; + } + case 24: { + Token = input.ReadUInt32(); + break; + } + case 32: { + ObjectId = input.ReadUInt64(); + break; + } + case 40: { + Size = input.ReadUInt32(); + break; + } + case 48: { + Status = input.ReadUInt32(); + break; + } + case 58: { + error_.AddEntriesFrom(input, _repeated_error_codec); + break; + } + case 64: { + Timeout = input.ReadUInt64(); + break; + } + case 72: { + IsResponse = input.ReadBool(); + break; + } + case 82: { + forwardTargets_.AddEntriesFrom(input, _repeated_forwardTargets_codec); + break; + } + case 93: { + ServiceHash = input.ReadFixed32(); + break; + } + case 106: { + ClientId = input.ReadString(); + break; + } + case 114: { + fanoutTarget_.AddEntriesFrom(input, _repeated_fanoutTarget_codec); + break; + } + case 122: { + clientIdFanoutTarget_.AddEntriesFrom(input, _repeated_clientIdFanoutTarget_codec); + break; + } + case 130: { + ClientRecord = input.ReadBytes(); + break; + } + case 138: { + OriginalSender = input.ReadBytes(); + break; + } + case 144: { + SenderToken = input.ReadUInt32(); + break; + } + case 152: { + RouterLabel = input.ReadUInt32(); + break; + } + case 162: { + ErrorReason = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ServiceId = input.ReadUInt32(); + break; + } + case 16: { + MethodId = input.ReadUInt32(); + break; + } + case 24: { + Token = input.ReadUInt32(); + break; + } + case 32: { + ObjectId = input.ReadUInt64(); + break; + } + case 40: { + Size = input.ReadUInt32(); + break; + } + case 48: { + Status = input.ReadUInt32(); + break; + } + case 58: { + error_.AddEntriesFrom(ref input, _repeated_error_codec); + break; + } + case 64: { + Timeout = input.ReadUInt64(); + break; + } + case 72: { + IsResponse = input.ReadBool(); + break; + } + case 82: { + forwardTargets_.AddEntriesFrom(ref input, _repeated_forwardTargets_codec); + break; + } + case 93: { + ServiceHash = input.ReadFixed32(); + break; + } + case 106: { + ClientId = input.ReadString(); + break; + } + case 114: { + fanoutTarget_.AddEntriesFrom(ref input, _repeated_fanoutTarget_codec); + break; + } + case 122: { + clientIdFanoutTarget_.AddEntriesFrom(ref input, _repeated_clientIdFanoutTarget_codec); + break; + } + case 130: { + ClientRecord = input.ReadBytes(); + break; + } + case 138: { + OriginalSender = input.ReadBytes(); + break; + } + case 144: { + SenderToken = input.ReadUInt32(); + break; + } + case 152: { + RouterLabel = input.ReadUInt32(); + break; + } + case 162: { + ErrorReason = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/SemanticVersion.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/SemanticVersion.cs new file mode 100644 index 0000000000..828bf1f7b1 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/SemanticVersion.cs @@ -0,0 +1,407 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/semantic_version.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/semantic_version.proto + public static partial class SemanticVersionReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/semantic_version.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SemanticVersionReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihiZ3MvbG93L3BiL2NsaWVudC9zZW1hbnRpY192ZXJzaW9uLnByb3RvEgxi", + "Z3MucHJvdG9jb2wibgoPU2VtYW50aWNWZXJzaW9uEhUKDW1ham9yX3ZlcnNp", + "b24YASABKA0SFQoNbWlub3JfdmVyc2lvbhgCIAEoDRIVCg1wYXRjaF92ZXJz", + "aW9uGAMgASgNEhYKDnZlcnNpb25fc3RyaW5nGAQgASgJQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersion.Parser, new[]{ "MajorVersion", "MinorVersion", "PatchVersion", "VersionString" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SemanticVersion : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SemanticVersion()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SemanticVersionReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SemanticVersion() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SemanticVersion(SemanticVersion other) : this() { + _hasBits0 = other._hasBits0; + majorVersion_ = other.majorVersion_; + minorVersion_ = other.minorVersion_; + patchVersion_ = other.patchVersion_; + versionString_ = other.versionString_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SemanticVersion Clone() { + return new SemanticVersion(this); + } + + /// Field number for the "major_version" field. + public const int MajorVersionFieldNumber = 1; + private readonly static uint MajorVersionDefaultValue = 0; + + private uint majorVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MajorVersion { + get { if ((_hasBits0 & 1) != 0) { return majorVersion_; } else { return MajorVersionDefaultValue; } } + set { + _hasBits0 |= 1; + majorVersion_ = value; + } + } + /// Gets whether the "major_version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMajorVersion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "major_version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMajorVersion() { + _hasBits0 &= ~1; + } + + /// Field number for the "minor_version" field. + public const int MinorVersionFieldNumber = 2; + private readonly static uint MinorVersionDefaultValue = 0; + + private uint minorVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinorVersion { + get { if ((_hasBits0 & 2) != 0) { return minorVersion_; } else { return MinorVersionDefaultValue; } } + set { + _hasBits0 |= 2; + minorVersion_ = value; + } + } + /// Gets whether the "minor_version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinorVersion { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "minor_version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinorVersion() { + _hasBits0 &= ~2; + } + + /// Field number for the "patch_version" field. + public const int PatchVersionFieldNumber = 3; + private readonly static uint PatchVersionDefaultValue = 0; + + private uint patchVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PatchVersion { + get { if ((_hasBits0 & 4) != 0) { return patchVersion_; } else { return PatchVersionDefaultValue; } } + set { + _hasBits0 |= 4; + patchVersion_ = value; + } + } + /// Gets whether the "patch_version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPatchVersion { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "patch_version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPatchVersion() { + _hasBits0 &= ~4; + } + + /// Field number for the "version_string" field. + public const int VersionStringFieldNumber = 4; + private readonly static string VersionStringDefaultValue = ""; + + private string versionString_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string VersionString { + get { return versionString_ ?? VersionStringDefaultValue; } + set { + versionString_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "version_string" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersionString { + get { return versionString_ != null; } + } + /// Clears the value of the "version_string" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersionString() { + versionString_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SemanticVersion); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SemanticVersion other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MajorVersion != other.MajorVersion) return false; + if (MinorVersion != other.MinorVersion) return false; + if (PatchVersion != other.PatchVersion) return false; + if (VersionString != other.VersionString) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMajorVersion) hash ^= MajorVersion.GetHashCode(); + if (HasMinorVersion) hash ^= MinorVersion.GetHashCode(); + if (HasPatchVersion) hash ^= PatchVersion.GetHashCode(); + if (HasVersionString) hash ^= VersionString.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMajorVersion) { + output.WriteRawTag(8); + output.WriteUInt32(MajorVersion); + } + if (HasMinorVersion) { + output.WriteRawTag(16); + output.WriteUInt32(MinorVersion); + } + if (HasPatchVersion) { + output.WriteRawTag(24); + output.WriteUInt32(PatchVersion); + } + if (HasVersionString) { + output.WriteRawTag(34); + output.WriteString(VersionString); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMajorVersion) { + output.WriteRawTag(8); + output.WriteUInt32(MajorVersion); + } + if (HasMinorVersion) { + output.WriteRawTag(16); + output.WriteUInt32(MinorVersion); + } + if (HasPatchVersion) { + output.WriteRawTag(24); + output.WriteUInt32(PatchVersion); + } + if (HasVersionString) { + output.WriteRawTag(34); + output.WriteString(VersionString); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMajorVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MajorVersion); + } + if (HasMinorVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinorVersion); + } + if (HasPatchVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatchVersion); + } + if (HasVersionString) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(VersionString); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SemanticVersion other) { + if (other == null) { + return; + } + if (other.HasMajorVersion) { + MajorVersion = other.MajorVersion; + } + if (other.HasMinorVersion) { + MinorVersion = other.MinorVersion; + } + if (other.HasPatchVersion) { + PatchVersion = other.PatchVersion; + } + if (other.HasVersionString) { + VersionString = other.VersionString; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + MajorVersion = input.ReadUInt32(); + break; + } + case 16: { + MinorVersion = input.ReadUInt32(); + break; + } + case 24: { + PatchVersion = input.ReadUInt32(); + break; + } + case 34: { + VersionString = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + MajorVersion = input.ReadUInt32(); + break; + } + case 16: { + MinorVersion = input.ReadUInt32(); + break; + } + case 24: { + PatchVersion = input.ReadUInt32(); + break; + } + case 34: { + VersionString = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/UserManagerService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/UserManagerService.cs new file mode 100644 index 0000000000..0d343d8d69 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/UserManagerService.cs @@ -0,0 +1,2792 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/user_manager_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/user_manager_service.proto + public static partial class UserManagerServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/user_manager_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserManagerServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CixiZ3MvbG93L3BiL2NsaWVudC91c2VyX21hbmFnZXJfc2VydmljZS5wcm90", + "bxIcYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MRoqYmdzL2xvdy9wYi9j", + "bGllbnQvdXNlcl9tYW5hZ2VyX3R5cGVzLnByb3RvGiRiZ3MvbG93L3BiL2Ns", + "aWVudC9lbnRpdHlfdHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3Jw", + "Y190eXBlcy5wcm90byJXChBTdWJzY3JpYmVSZXF1ZXN0EjAKCGFnZW50X2lk", + "GAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsCIAESEQoJb2Jq", + "ZWN0X2lkGAIgAigEIp0BChFTdWJzY3JpYmVSZXNwb25zZRJECg9ibG9ja2Vk", + "X3BsYXllcnMYASADKAsyKy5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYx", + "LkJsb2NrZWRQbGF5ZXISQgoOcmVjZW50X3BsYXllcnMYAiADKAsyKi5iZ3Mu", + "cHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlJlY2VudFBsYXllciJZChJVbnN1", + "YnNjcmliZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyFi5iZ3MucHJvdG9j", + "b2wuRW50aXR5SWRCBoL5KwIgARIRCglvYmplY3RfaWQYAiABKAQirwEKF0Fk", + "ZFJlY2VudFBsYXllcnNSZXF1ZXN0EkkKB3BsYXllcnMYASADKAsyKi5iZ3Mu", + "cHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlJlY2VudFBsYXllckIMivkrCCoG", + "CgQIARAUEjAKCGFnZW50X2lkGAIgASgLMhYuYmdzLnByb3RvY29sLkVudGl0", + "eUlkQgaC+SsCIAESDwoHcHJvZ3JhbRgDIAEoDToGgvkrAhABIl4KGUNsZWFy", + "UmVjZW50UGxheWVyc1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyFi5iZ3Mu", + "cHJvdG9jb2wuRW50aXR5SWRCBoL5KwIgARIPCgdwcm9ncmFtGAIgASgNInkK", + "EkJsb2NrUGxheWVyUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIWLmJncy5w", + "cm90b2NvbC5FbnRpdHlJZEIGgvkrAiABEikKCXRhcmdldF9pZBgCIAIoCzIW", + "LmJncy5wcm90b2NvbC5FbnRpdHlJZDoGgvkrAhABInsKFFVuYmxvY2tQbGF5", + "ZXJSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVu", + "dGl0eUlkQgaC+SsCIAESKQoJdGFyZ2V0X2lkGAIgAigLMhYuYmdzLnByb3Rv", + "Y29sLkVudGl0eUlkOgaC+SsCEAEiugEKHkJsb2NrZWRQbGF5ZXJBZGRlZE5v", + "dGlmaWNhdGlvbhI7CgZwbGF5ZXIYASACKAsyKy5iZ3MucHJvdG9jb2wudXNl", + "cl9tYW5hZ2VyLnYxLkJsb2NrZWRQbGF5ZXISLwoPZ2FtZV9hY2NvdW50X2lk", + "GAIgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEioKCmFjY291bnRfaWQY", + "AyABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQivAEKIEJsb2NrZWRQbGF5", + "ZXJSZW1vdmVkTm90aWZpY2F0aW9uEjsKBnBsYXllchgBIAIoCzIrLmJncy5w", + "cm90b2NvbC51c2VyX21hbmFnZXIudjEuQmxvY2tlZFBsYXllchIvCg9nYW1l", + "X2FjY291bnRfaWQYAiABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSKgoK", + "YWNjb3VudF9pZBgDIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZCJcCh5S", + "ZWNlbnRQbGF5ZXJzQWRkZWROb3RpZmljYXRpb24SOgoGcGxheWVyGAEgAygL", + "MiouYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5SZWNlbnRQbGF5ZXIi", + "XgogUmVjZW50UGxheWVyc1JlbW92ZWROb3RpZmljYXRpb24SOgoGcGxheWVy", + "GAEgAygLMiouYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5SZWNlbnRQ", + "bGF5ZXIytQYKElVzZXJNYW5hZ2VyU2VydmljZRJ0CglTdWJzY3JpYmUSLi5i", + "Z3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlN1YnNjcmliZVJlcXVlc3Qa", + "Ly5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlN1YnNjcmliZVJlc3Bv", + "bnNlIgaC+SsCCAESZwoQQWRkUmVjZW50UGxheWVycxI1LmJncy5wcm90b2Nv", + "bC51c2VyX21hbmFnZXIudjEuQWRkUmVjZW50UGxheWVyc1JlcXVlc3QaFC5i", + "Z3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCAoSawoSQ2xlYXJSZWNlbnRQbGF5", + "ZXJzEjcuYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5DbGVhclJlY2Vu", + "dFBsYXllcnNSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAggL", + "El0KC0Jsb2NrUGxheWVyEjAuYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52", + "MS5CbG9ja1BsYXllclJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC", + "+SsCCBQSYQoNVW5ibG9ja1BsYXllchIyLmJncy5wcm90b2NvbC51c2VyX21h", + "bmFnZXIudjEuVW5ibG9ja1BsYXllclJlcXVlc3QaFC5iZ3MucHJvdG9jb2wu", + "Tm9EYXRhIgaC+SsCCBUSZwoVQmxvY2tQbGF5ZXJGb3JTZXNzaW9uEjAuYmdz", + "LnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5CbG9ja1BsYXllclJlcXVlc3Qa", + "FC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCCgSXQoLVW5zdWJzY3JpYmUS", + "MC5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlVuc3Vic2NyaWJlUmVx", + "dWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiBoL5KwIIMxpJgvkrPwotYm5l", + "dC5wcm90b2NvbC51c2VyX21hbmFnZXIuVXNlck1hbmFnZXJTZXJ2aWNlKgx1", + "c2VyX21hbmFnZXIwAYr5KwIQATK9BAoTVXNlck1hbmFnZXJMaXN0ZW5lchJ3", + "ChRPbkJsb2NrZWRQbGF5ZXJBZGRlZBI8LmJncy5wcm90b2NvbC51c2VyX21h", + "bmFnZXIudjEuQmxvY2tlZFBsYXllckFkZGVkTm90aWZpY2F0aW9uGhkuYmdz", + "LnByb3RvY29sLk5PX1JFU1BPTlNFIgaC+SsCCAESewoWT25CbG9ja2VkUGxh", + "eWVyUmVtb3ZlZBI+LmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuQmxv", + "Y2tlZFBsYXllclJlbW92ZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wu", + "Tk9fUkVTUE9OU0UiBoL5KwIIAhJ3ChRPblJlY2VudFBsYXllcnNBZGRlZBI8", + "LmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuUmVjZW50UGxheWVyc0Fk", + "ZGVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BPTlNFIgaC", + "+SsCCAsSewoWT25SZWNlbnRQbGF5ZXJzUmVtb3ZlZBI+LmJncy5wcm90b2Nv", + "bC51c2VyX21hbmFnZXIudjEuUmVjZW50UGxheWVyc1JlbW92ZWROb3RpZmlj", + "YXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIDBo6gvkr", + "MAosYm5ldC5wcm90b2NvbC51c2VyX21hbmFnZXIuVXNlck1hbmFnZXJOb3Rp", + "Znk4AYr5KwIIAUIFSAGAAQA=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.SubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.SubscribeRequest.Parser, new[]{ "AgentId", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.SubscribeResponse), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.SubscribeResponse.Parser, new[]{ "BlockedPlayers", "RecentPlayers" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UnsubscribeRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UnsubscribeRequest.Parser, new[]{ "AgentId", "ObjectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.AddRecentPlayersRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.AddRecentPlayersRequest.Parser, new[]{ "Players", "AgentId", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.ClearRecentPlayersRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.ClearRecentPlayersRequest.Parser, new[]{ "AgentId", "Program" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockPlayerRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockPlayerRequest.Parser, new[]{ "AgentId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UnblockPlayerRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UnblockPlayerRequest.Parser, new[]{ "AgentId", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayerAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayerAddedNotification.Parser, new[]{ "Player", "GameAccountId", "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayerRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayerRemovedNotification.Parser, new[]{ "Player", "GameAccountId", "AccountId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayersAddedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayersAddedNotification.Parser, new[]{ "Player" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayersRemovedNotification), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayersRemovedNotification.Parser, new[]{ "Player" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest(SubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeRequest Clone() { + return new SubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 2; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubscribeResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse(SubscribeResponse other) : this() { + blockedPlayers_ = other.blockedPlayers_.Clone(); + recentPlayers_ = other.recentPlayers_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubscribeResponse Clone() { + return new SubscribeResponse(this); + } + + /// Field number for the "blocked_players" field. + public const int BlockedPlayersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_blockedPlayers_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer.Parser); + private readonly pbc::RepeatedField blockedPlayers_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlockedPlayers { + get { return blockedPlayers_; } + } + + /// Field number for the "recent_players" field. + public const int RecentPlayersFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_recentPlayers_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); + private readonly pbc::RepeatedField recentPlayers_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RecentPlayers { + get { return recentPlayers_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubscribeResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubscribeResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!blockedPlayers_.Equals(other.blockedPlayers_)) return false; + if(!recentPlayers_.Equals(other.recentPlayers_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= blockedPlayers_.GetHashCode(); + hash ^= recentPlayers_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + blockedPlayers_.WriteTo(output, _repeated_blockedPlayers_codec); + recentPlayers_.WriteTo(output, _repeated_recentPlayers_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + blockedPlayers_.WriteTo(ref output, _repeated_blockedPlayers_codec); + recentPlayers_.WriteTo(ref output, _repeated_recentPlayers_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += blockedPlayers_.CalculateSize(_repeated_blockedPlayers_codec); + size += recentPlayers_.CalculateSize(_repeated_recentPlayers_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubscribeResponse other) { + if (other == null) { + return; + } + blockedPlayers_.Add(other.blockedPlayers_); + recentPlayers_.Add(other.recentPlayers_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + blockedPlayers_.AddEntriesFrom(input, _repeated_blockedPlayers_codec); + break; + } + case 18: { + recentPlayers_.AddEntriesFrom(input, _repeated_recentPlayers_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + blockedPlayers_.AddEntriesFrom(ref input, _repeated_blockedPlayers_codec); + break; + } + case 18: { + recentPlayers_.AddEntriesFrom(ref input, _repeated_recentPlayers_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsubscribeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest(UnsubscribeRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + objectId_ = other.objectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsubscribeRequest Clone() { + return new UnsubscribeRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "object_id" field. + public const int ObjectIdFieldNumber = 2; + private readonly static ulong ObjectIdDefaultValue = 0UL; + + private ulong objectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ObjectId { + get { if ((_hasBits0 & 1) != 0) { return objectId_; } else { return ObjectIdDefaultValue; } } + set { + _hasBits0 |= 1; + objectId_ = value; + } + } + /// Gets whether the "object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObjectId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectId() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsubscribeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsubscribeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (ObjectId != other.ObjectId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasObjectId) hash ^= ObjectId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasObjectId) { + output.WriteRawTag(16); + output.WriteUInt64(ObjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasObjectId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ObjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsubscribeRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasObjectId) { + ObjectId = other.ObjectId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + ObjectId = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddRecentPlayersRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddRecentPlayersRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddRecentPlayersRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddRecentPlayersRequest(AddRecentPlayersRequest other) : this() { + _hasBits0 = other._hasBits0; + players_ = other.players_.Clone(); + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddRecentPlayersRequest Clone() { + return new AddRecentPlayersRequest(this); + } + + /// Field number for the "players" field. + public const int PlayersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_players_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); + private readonly pbc::RepeatedField players_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Players { + get { return players_; } + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 3; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AddRecentPlayersRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AddRecentPlayersRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!players_.Equals(other.players_)) return false; + if (!object.Equals(AgentId, other.AgentId)) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= players_.GetHashCode(); + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + players_.WriteTo(output, _repeated_players_codec); + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (HasProgram) { + output.WriteRawTag(24); + output.WriteUInt32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + players_.WriteTo(ref output, _repeated_players_codec); + if (agentId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AgentId); + } + if (HasProgram) { + output.WriteRawTag(24); + output.WriteUInt32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += players_.CalculateSize(_repeated_players_codec); + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasProgram) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Program); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AddRecentPlayersRequest other) { + if (other == null) { + return; + } + players_.Add(other.players_); + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + players_.AddEntriesFrom(input, _repeated_players_codec); + break; + } + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + Program = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + players_.AddEntriesFrom(ref input, _repeated_players_codec); + break; + } + case 18: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 24: { + Program = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClearRecentPlayersRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClearRecentPlayersRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearRecentPlayersRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearRecentPlayersRequest(ClearRecentPlayersRequest other) : this() { + _hasBits0 = other._hasBits0; + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + program_ = other.program_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearRecentPlayersRequest Clone() { + return new ClearRecentPlayersRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static uint ProgramDefaultValue = 0; + + private uint program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Program { + get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } } + set { + _hasBits0 |= 1; + program_ = value; + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClearRecentPlayersRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClearRecentPlayersRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (Program != other.Program) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasProgram) { + output.WriteRawTag(16); + output.WriteUInt32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasProgram) { + output.WriteRawTag(16); + output.WriteUInt32(Program); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasProgram) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Program); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClearRecentPlayersRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasProgram) { + Program = other.Program; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + Program = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 16: { + Program = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BlockPlayerRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockPlayerRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockPlayerRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockPlayerRequest(BlockPlayerRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockPlayerRequest Clone() { + return new BlockPlayerRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BlockPlayerRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BlockPlayerRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BlockPlayerRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnblockPlayerRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnblockPlayerRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnblockPlayerRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnblockPlayerRequest(UnblockPlayerRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnblockPlayerRequest Clone() { + return new UnblockPlayerRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnblockPlayerRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnblockPlayerRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (!object.Equals(TargetId, other.TargetId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (targetId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(TargetId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnblockPlayerRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + TargetId.MergeFrom(other.TargetId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(TargetId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BlockedPlayerAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockedPlayerAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayerAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayerAddedNotification(BlockedPlayerAddedNotification other) : this() { + player_ = other.player_ != null ? other.player_.Clone() : null; + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayerAddedNotification Clone() { + return new BlockedPlayerAddedNotification(this); + } + + /// Field number for the "player" field. + public const int PlayerFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer player_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer Player { + get { return player_; } + set { + player_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BlockedPlayerAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BlockedPlayerAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Player, other.Player)) return false; + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (player_ != null) hash ^= Player.GetHashCode(); + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (player_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Player); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (player_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Player); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (player_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player); + } + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BlockedPlayerAddedNotification other) { + if (other == null) { + return; + } + if (other.player_ != null) { + if (player_ == null) { + Player = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer(); + } + Player.MergeFrom(other.Player); + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (player_ == null) { + Player = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer(); + } + input.ReadMessage(Player); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (player_ == null) { + Player = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer(); + } + input.ReadMessage(Player); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BlockedPlayerRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockedPlayerRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayerRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayerRemovedNotification(BlockedPlayerRemovedNotification other) : this() { + player_ = other.player_ != null ? other.player_.Clone() : null; + gameAccountId_ = other.gameAccountId_ != null ? other.gameAccountId_.Clone() : null; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayerRemovedNotification Clone() { + return new BlockedPlayerRemovedNotification(this); + } + + /// Field number for the "player" field. + public const int PlayerFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer player_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer Player { + get { return player_; } + set { + player_ = value; + } + } + + /// Field number for the "game_account_id" field. + public const int GameAccountIdFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId gameAccountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId GameAccountId { + get { return gameAccountId_; } + set { + gameAccountId_ = value; + } + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 3; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BlockedPlayerRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BlockedPlayerRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Player, other.Player)) return false; + if (!object.Equals(GameAccountId, other.GameAccountId)) return false; + if (!object.Equals(AccountId, other.AccountId)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (player_ != null) hash ^= Player.GetHashCode(); + if (gameAccountId_ != null) hash ^= GameAccountId.GetHashCode(); + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (player_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Player); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (player_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Player); + } + if (gameAccountId_ != null) { + output.WriteRawTag(18); + output.WriteMessage(GameAccountId); + } + if (accountId_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AccountId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (player_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player); + } + if (gameAccountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); + } + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BlockedPlayerRemovedNotification other) { + if (other == null) { + return; + } + if (other.player_ != null) { + if (player_ == null) { + Player = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer(); + } + Player.MergeFrom(other.Player); + } + if (other.gameAccountId_ != null) { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + GameAccountId.MergeFrom(other.GameAccountId); + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (player_ == null) { + Player = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer(); + } + input.ReadMessage(Player); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (player_ == null) { + Player = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer(); + } + input.ReadMessage(Player); + break; + } + case 18: { + if (gameAccountId_ == null) { + GameAccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(GameAccountId); + break; + } + case 26: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RecentPlayersAddedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecentPlayersAddedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayersAddedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayersAddedNotification(RecentPlayersAddedNotification other) : this() { + player_ = other.player_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayersAddedNotification Clone() { + return new RecentPlayersAddedNotification(this); + } + + /// Field number for the "player" field. + public const int PlayerFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_player_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); + private readonly pbc::RepeatedField player_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Player { + get { return player_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RecentPlayersAddedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RecentPlayersAddedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!player_.Equals(other.player_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= player_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + player_.WriteTo(output, _repeated_player_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + player_.WriteTo(ref output, _repeated_player_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += player_.CalculateSize(_repeated_player_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RecentPlayersAddedNotification other) { + if (other == null) { + return; + } + player_.Add(other.player_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + player_.AddEntriesFrom(input, _repeated_player_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + player_.AddEntriesFrom(ref input, _repeated_player_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RecentPlayersRemovedNotification : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecentPlayersRemovedNotification()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayersRemovedNotification() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayersRemovedNotification(RecentPlayersRemovedNotification other) : this() { + player_ = other.player_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayersRemovedNotification Clone() { + return new RecentPlayersRemovedNotification(this); + } + + /// Field number for the "player" field. + public const int PlayerFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_player_codec + = pb::FieldCodec.ForMessage(10, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); + private readonly pbc::RepeatedField player_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Player { + get { return player_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RecentPlayersRemovedNotification); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RecentPlayersRemovedNotification other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!player_.Equals(other.player_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= player_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + player_.WriteTo(output, _repeated_player_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + player_.WriteTo(ref output, _repeated_player_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += player_.CalculateSize(_repeated_player_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RecentPlayersRemovedNotification other) { + if (other == null) { + return; + } + player_.Add(other.player_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + player_.AddEntriesFrom(input, _repeated_player_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + player_.AddEntriesFrom(ref input, _repeated_player_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/UserManagerTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/UserManagerTypes.cs new file mode 100644 index 0000000000..e0a3635fd1 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/UserManagerTypes.cs @@ -0,0 +1,772 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/user_manager_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/user_manager_types.proto + public static partial class UserManagerTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/user_manager_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserManagerTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CipiZ3MvbG93L3BiL2NsaWVudC91c2VyX21hbmFnZXJfdHlwZXMucHJvdG8S", + "HGJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEaN2Jncy9sb3cvcGIvY2xp", + "ZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8aJGJn", + "cy9sb3cvcGIvY2xpZW50L2VudGl0eV90eXBlcy5wcm90bxonYmdzL2xvdy9w", + "Yi9jbGllbnQvYXR0cmlidXRlX3R5cGVzLnByb3RvIqUBCgxSZWNlbnRQbGF5", + "ZXISKQoJZW50aXR5X2lkGAEgAigLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk", + "Eg8KB3Byb2dyYW0YAiABKAkSGAoQdGltZXN0YW1wX3BsYXllZBgDIAEoBhIr", + "CgphdHRyaWJ1dGVzGAQgAygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0ZRIS", + "Cgdjb3VudGVyGAYgASgHOgEwIoEBCg1CbG9ja2VkUGxheWVyEioKCmFjY291", + "bnRfaWQYASACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSGgoKYmF0dGxl", + "X3RhZxgCIAEoCUIGgvkrAggBEhAKBHJvbGUYAyADKA1CAhgBEhYKCnByaXZp", + "bGVnZXMYBCABKARCAhgBQgJIAVAA")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.AttributeTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayer), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.RecentPlayer.Parser, new[]{ "EntityId", "Program", "TimestampPlayed", "Attributes", "Counter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.BlockedPlayer.Parser, new[]{ "AccountId", "BattleTag", "Role", "Privileges" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RecentPlayer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecentPlayer()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayer(RecentPlayer other) : this() { + _hasBits0 = other._hasBits0; + entityId_ = other.entityId_ != null ? other.entityId_.Clone() : null; + program_ = other.program_; + timestampPlayed_ = other.timestampPlayed_; + attributes_ = other.attributes_.Clone(); + counter_ = other.counter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecentPlayer Clone() { + return new RecentPlayer(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId EntityId { + get { return entityId_; } + set { + entityId_ = value; + } + } + + /// Field number for the "program" field. + public const int ProgramFieldNumber = 2; + private readonly static string ProgramDefaultValue = ""; + + private string program_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Program { + get { return program_ ?? ProgramDefaultValue; } + set { + program_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "program" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasProgram { + get { return program_ != null; } + } + /// Clears the value of the "program" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearProgram() { + program_ = null; + } + + /// Field number for the "timestamp_played" field. + public const int TimestampPlayedFieldNumber = 3; + private readonly static ulong TimestampPlayedDefaultValue = 0UL; + + private ulong timestampPlayed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong TimestampPlayed { + get { if ((_hasBits0 & 1) != 0) { return timestampPlayed_; } else { return TimestampPlayedDefaultValue; } } + set { + _hasBits0 |= 1; + timestampPlayed_ = value; + } + } + /// Gets whether the "timestamp_played" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimestampPlayed { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "timestamp_played" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimestampPlayed() { + _hasBits0 &= ~1; + } + + /// Field number for the "attributes" field. + public const int AttributesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_attributes_codec + = pb::FieldCodec.ForMessage(34, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Attribute.Parser); + private readonly pbc::RepeatedField attributes_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attributes { + get { return attributes_; } + } + + /// Field number for the "counter" field. + public const int CounterFieldNumber = 6; + private readonly static uint CounterDefaultValue = 0; + + private uint counter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Counter { + get { if ((_hasBits0 & 2) != 0) { return counter_; } else { return CounterDefaultValue; } } + set { + _hasBits0 |= 2; + counter_ = value; + } + } + /// Gets whether the "counter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCounter { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "counter" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCounter() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RecentPlayer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RecentPlayer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EntityId, other.EntityId)) return false; + if (Program != other.Program) return false; + if (TimestampPlayed != other.TimestampPlayed) return false; + if(!attributes_.Equals(other.attributes_)) return false; + if (Counter != other.Counter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (entityId_ != null) hash ^= EntityId.GetHashCode(); + if (HasProgram) hash ^= Program.GetHashCode(); + if (HasTimestampPlayed) hash ^= TimestampPlayed.GetHashCode(); + hash ^= attributes_.GetHashCode(); + if (HasCounter) hash ^= Counter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (HasProgram) { + output.WriteRawTag(18); + output.WriteString(Program); + } + if (HasTimestampPlayed) { + output.WriteRawTag(25); + output.WriteFixed64(TimestampPlayed); + } + attributes_.WriteTo(output, _repeated_attributes_codec); + if (HasCounter) { + output.WriteRawTag(53); + output.WriteFixed32(Counter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entityId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EntityId); + } + if (HasProgram) { + output.WriteRawTag(18); + output.WriteString(Program); + } + if (HasTimestampPlayed) { + output.WriteRawTag(25); + output.WriteFixed64(TimestampPlayed); + } + attributes_.WriteTo(ref output, _repeated_attributes_codec); + if (HasCounter) { + output.WriteRawTag(53); + output.WriteFixed32(Counter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (entityId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (HasProgram) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Program); + } + if (HasTimestampPlayed) { + size += 1 + 8; + } + size += attributes_.CalculateSize(_repeated_attributes_codec); + if (HasCounter) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RecentPlayer other) { + if (other == null) { + return; + } + if (other.entityId_ != null) { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + EntityId.MergeFrom(other.EntityId); + } + if (other.HasProgram) { + Program = other.Program; + } + if (other.HasTimestampPlayed) { + TimestampPlayed = other.TimestampPlayed; + } + attributes_.Add(other.attributes_); + if (other.HasCounter) { + Counter = other.Counter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + Program = input.ReadString(); + break; + } + case 25: { + TimestampPlayed = input.ReadFixed64(); + break; + } + case 34: { + attributes_.AddEntriesFrom(input, _repeated_attributes_codec); + break; + } + case 53: { + Counter = input.ReadFixed32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entityId_ == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(EntityId); + break; + } + case 18: { + Program = input.ReadString(); + break; + } + case 25: { + TimestampPlayed = input.ReadFixed64(); + break; + } + case 34: { + attributes_.AddEntriesFrom(ref input, _repeated_attributes_codec); + break; + } + case 53: { + Counter = input.ReadFixed32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BlockedPlayer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockedPlayer()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UserManager.V1.UserManagerTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayer(BlockedPlayer other) : this() { + _hasBits0 = other._hasBits0; + accountId_ = other.accountId_ != null ? other.accountId_.Clone() : null; + battleTag_ = other.battleTag_; + role_ = other.role_.Clone(); + privileges_ = other.privileges_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlockedPlayer Clone() { + return new BlockedPlayer(this); + } + + /// Field number for the "account_id" field. + public const int AccountIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId accountId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId AccountId { + get { return accountId_; } + set { + accountId_ = value; + } + } + + /// Field number for the "battle_tag" field. + public const int BattleTagFieldNumber = 2; + private readonly static string BattleTagDefaultValue = ""; + + private string battleTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleTag { + get { return battleTag_ ?? BattleTagDefaultValue; } + set { + battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "battle_tag" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBattleTag { + get { return battleTag_ != null; } + } + /// Clears the value of the "battle_tag" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBattleTag() { + battleTag_ = null; + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_role_codec + = pb::FieldCodec.ForUInt32(24); + private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Role { + get { return role_; } + } + + /// Field number for the "privileges" field. + public const int PrivilegesFieldNumber = 4; + private readonly static ulong PrivilegesDefaultValue = 0UL; + + private ulong privileges_; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Privileges { + get { if ((_hasBits0 & 1) != 0) { return privileges_; } else { return PrivilegesDefaultValue; } } + set { + _hasBits0 |= 1; + privileges_ = value; + } + } + /// Gets whether the "privileges" field is set + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPrivileges { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "privileges" field + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrivileges() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BlockedPlayer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BlockedPlayer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AccountId, other.AccountId)) return false; + if (BattleTag != other.BattleTag) return false; + if(!role_.Equals(other.role_)) return false; + if (Privileges != other.Privileges) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (accountId_ != null) hash ^= AccountId.GetHashCode(); + if (HasBattleTag) hash ^= BattleTag.GetHashCode(); + hash ^= role_.GetHashCode(); + if (HasPrivileges) hash ^= Privileges.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + role_.WriteTo(output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(32); + output.WriteUInt64(Privileges); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (accountId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AccountId); + } + if (HasBattleTag) { + output.WriteRawTag(18); + output.WriteString(BattleTag); + } + role_.WriteTo(ref output, _repeated_role_codec); + if (HasPrivileges) { + output.WriteRawTag(32); + output.WriteUInt64(Privileges); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (accountId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); + } + if (HasBattleTag) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag); + } + size += role_.CalculateSize(_repeated_role_codec); + if (HasPrivileges) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Privileges); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BlockedPlayer other) { + if (other == null) { + return; + } + if (other.accountId_ != null) { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + AccountId.MergeFrom(other.AccountId); + } + if (other.HasBattleTag) { + BattleTag = other.BattleTag; + } + role_.Add(other.role_); + if (other.HasPrivileges) { + Privileges = other.Privileges; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(input, _repeated_role_codec); + break; + } + case 32: { + Privileges = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (accountId_ == null) { + AccountId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityId(); + } + input.ReadMessage(AccountId); + break; + } + case 18: { + BattleTag = input.ReadString(); + break; + } + case 26: + case 24: { + role_.AddEntriesFrom(ref input, _repeated_role_codec); + break; + } + case 32: { + Privileges = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/VoiceTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/VoiceTypes.cs new file mode 100644 index 0000000000..d829ddf238 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/VoiceTypes.cs @@ -0,0 +1,485 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/voice_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/voice_types.proto + public static partial class VoiceTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/voice_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VoiceTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNiZ3MvbG93L3BiL2NsaWVudC92b2ljZV90eXBlcy5wcm90bxIMYmdzLnBy", + "b3RvY29sIqQBChBWb2ljZUNyZWRlbnRpYWxzEhAKCHZvaWNlX2lkGAEgASgJ", + "Eg0KBXRva2VuGAIgASgJEgsKA3VybBgDIAEoCRIuCglqb2luX3R5cGUYBCAB", + "KA4yGy5iZ3MucHJvdG9jb2wuVm9pY2VKb2luVHlwZRIyCgttdXRlX3JlYXNv", + "bhgFIAEoDjIdLmJncy5wcm90b2NvbC5Wb2ljZU11dGVSZWFzb24qPAoNVm9p", + "Y2VKb2luVHlwZRIVChFWT0lDRV9KT0lOX05PUk1BTBAAEhQKEFZPSUNFX0pP", + "SU5fTVVURUQQASqjAQoPVm9pY2VNdXRlUmVhc29uEhoKFlZPSUNFX01VVEVf", + "UkVBU09OX05PTkUQABIyCi5WT0lDRV9NVVRFX1JFQVNPTl9QQVJFTlRBTF9D", + "T05UUk9MX0xJU1RFTl9PTkxZEAESHwobVk9JQ0VfTVVURV9SRUFTT05fUkVR", + "VUVTVEVEEAISHwobVk9JQ0VfTVVURV9SRUFTT05fU1FVRUxDSEVEEAMqRAoU", + "Vm9pY2VQcm92aWRlclZlcnNpb24SFQoRVk9JQ0VfUFJPVklERVJfVjQQABIV", + "ChFWT0lDRV9QUk9WSURFUl9WNRABQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceProviderVersion), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceCredentials.Parser, new[]{ "VoiceId", "Token", "Url", "JoinType", "MuteReason" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum VoiceJoinType { + [pbr::OriginalName("VOICE_JOIN_NORMAL")] VoiceJoinNormal = 0, + [pbr::OriginalName("VOICE_JOIN_MUTED")] VoiceJoinMuted = 1, + } + + public enum VoiceMuteReason { + [pbr::OriginalName("VOICE_MUTE_REASON_NONE")] None = 0, + [pbr::OriginalName("VOICE_MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY")] ParentalControlListenOnly = 1, + [pbr::OriginalName("VOICE_MUTE_REASON_REQUESTED")] Requested = 2, + [pbr::OriginalName("VOICE_MUTE_REASON_SQUELCHED")] Squelched = 3, + } + + public enum VoiceProviderVersion { + [pbr::OriginalName("VOICE_PROVIDER_V4")] VoiceProviderV4 = 0, + [pbr::OriginalName("VOICE_PROVIDER_V5")] VoiceProviderV5 = 1, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VoiceCredentials : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VoiceCredentials()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VoiceCredentials() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VoiceCredentials(VoiceCredentials other) : this() { + _hasBits0 = other._hasBits0; + voiceId_ = other.voiceId_; + token_ = other.token_; + url_ = other.url_; + joinType_ = other.joinType_; + muteReason_ = other.muteReason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VoiceCredentials Clone() { + return new VoiceCredentials(this); + } + + /// Field number for the "voice_id" field. + public const int VoiceIdFieldNumber = 1; + private readonly static string VoiceIdDefaultValue = ""; + + private string voiceId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string VoiceId { + get { return voiceId_ ?? VoiceIdDefaultValue; } + set { + voiceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "voice_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVoiceId { + get { return voiceId_ != null; } + } + /// Clears the value of the "voice_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVoiceId() { + voiceId_ = null; + } + + /// Field number for the "token" field. + public const int TokenFieldNumber = 2; + private readonly static string TokenDefaultValue = ""; + + private string token_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_ ?? TokenDefaultValue; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasToken { + get { return token_ != null; } + } + /// Clears the value of the "token" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearToken() { + token_ = null; + } + + /// Field number for the "url" field. + public const int UrlFieldNumber = 3; + private readonly static string UrlDefaultValue = ""; + + private string url_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Url { + get { return url_ ?? UrlDefaultValue; } + set { + url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "url" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUrl { + get { return url_ != null; } + } + /// Clears the value of the "url" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUrl() { + url_ = null; + } + + /// Field number for the "join_type" field. + public const int JoinTypeFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType JoinTypeDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType.VoiceJoinNormal; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType joinType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType JoinType { + get { if ((_hasBits0 & 1) != 0) { return joinType_; } else { return JoinTypeDefaultValue; } } + set { + _hasBits0 |= 1; + joinType_ = value; + } + } + /// Gets whether the "join_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasJoinType { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "join_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearJoinType() { + _hasBits0 &= ~1; + } + + /// Field number for the "mute_reason" field. + public const int MuteReasonFieldNumber = 5; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason MuteReasonDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason muteReason_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason MuteReason { + get { if ((_hasBits0 & 2) != 0) { return muteReason_; } else { return MuteReasonDefaultValue; } } + set { + _hasBits0 |= 2; + muteReason_ = value; + } + } + /// Gets whether the "mute_reason" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMuteReason { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "mute_reason" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMuteReason() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VoiceCredentials); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VoiceCredentials other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (VoiceId != other.VoiceId) return false; + if (Token != other.Token) return false; + if (Url != other.Url) return false; + if (JoinType != other.JoinType) return false; + if (MuteReason != other.MuteReason) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasVoiceId) hash ^= VoiceId.GetHashCode(); + if (HasToken) hash ^= Token.GetHashCode(); + if (HasUrl) hash ^= Url.GetHashCode(); + if (HasJoinType) hash ^= JoinType.GetHashCode(); + if (HasMuteReason) hash ^= MuteReason.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasVoiceId) { + output.WriteRawTag(10); + output.WriteString(VoiceId); + } + if (HasToken) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (HasUrl) { + output.WriteRawTag(26); + output.WriteString(Url); + } + if (HasJoinType) { + output.WriteRawTag(32); + output.WriteEnum((int) JoinType); + } + if (HasMuteReason) { + output.WriteRawTag(40); + output.WriteEnum((int) MuteReason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasVoiceId) { + output.WriteRawTag(10); + output.WriteString(VoiceId); + } + if (HasToken) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (HasUrl) { + output.WriteRawTag(26); + output.WriteString(Url); + } + if (HasJoinType) { + output.WriteRawTag(32); + output.WriteEnum((int) JoinType); + } + if (HasMuteReason) { + output.WriteRawTag(40); + output.WriteEnum((int) MuteReason); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasVoiceId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(VoiceId); + } + if (HasToken) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (HasUrl) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); + } + if (HasJoinType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) JoinType); + } + if (HasMuteReason) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MuteReason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VoiceCredentials other) { + if (other == null) { + return; + } + if (other.HasVoiceId) { + VoiceId = other.VoiceId; + } + if (other.HasToken) { + Token = other.Token; + } + if (other.HasUrl) { + Url = other.Url; + } + if (other.HasJoinType) { + JoinType = other.JoinType; + } + if (other.HasMuteReason) { + MuteReason = other.MuteReason; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + VoiceId = input.ReadString(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 26: { + Url = input.ReadString(); + break; + } + case 32: { + JoinType = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType) input.ReadEnum(); + break; + } + case 40: { + MuteReason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + VoiceId = input.ReadString(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 26: { + Url = input.ReadString(); + break; + } + case 32: { + JoinType = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceJoinType) input.ReadEnum(); + break; + } + case 40: { + MuteReason = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.VoiceMuteReason) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v1/ChannelId.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v1/ChannelId.cs new file mode 100644 index 0000000000..ce826a16b4 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v1/ChannelId.cs @@ -0,0 +1,403 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/api/client/v1/channel_id.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1 { + + /// Holder for reflection information generated from bgs/low/pb/client/api/client/v1/channel_id.proto + public static partial class ChannelIdReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/api/client/v1/channel_id.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ChannelIdReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjBiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NoYW5uZWxfaWQu", + "cHJvdG8SF2Jncy5wcm90b2NvbC5jaGFubmVsLnYxGiFiZ3MvbG93L3BiL2Ns", + "aWVudC9ycGNfdHlwZXMucHJvdG8iZAoJQ2hhbm5lbElkEgwKBHR5cGUYASAB", + "KA0SJQoEaG9zdBgCIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQSCgoC", + "aWQYAyABKAcSDgoGcmVnaW9uGAQgASgNOgaC+SsCCAFCAkgB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelId), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelId.Parser, new[]{ "Type", "Host", "Id", "Region" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChannelId : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChannelId()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Channel.V1.ChannelIdReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelId() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelId(ChannelId other) : this() { + _hasBits0 = other._hasBits0; + type_ = other.type_; + host_ = other.host_ != null ? other.host_.Clone() : null; + id_ = other.id_; + region_ = other.region_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelId Clone() { + return new ChannelId(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private readonly static uint TypeDefaultValue = 0; + + private uint type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Type { + get { if ((_hasBits0 & 1) != 0) { return type_; } else { return TypeDefaultValue; } } + set { + _hasBits0 |= 1; + type_ = value; + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + _hasBits0 &= ~1; + } + + /// Field number for the "host" field. + public const int HostFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId host_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId Host { + get { return host_; } + set { + host_ = value; + } + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 3; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 2; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~2; + } + + /// Field number for the "region" field. + public const int RegionFieldNumber = 4; + private readonly static uint RegionDefaultValue = 0; + + private uint region_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Region { + get { if ((_hasBits0 & 4) != 0) { return region_; } else { return RegionDefaultValue; } } + set { + _hasBits0 |= 4; + region_ = value; + } + } + /// Gets whether the "region" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRegion { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "region" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRegion() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChannelId); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChannelId other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (!object.Equals(Host, other.Host)) return false; + if (Id != other.Id) return false; + if (Region != other.Region) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasType) hash ^= Type.GetHashCode(); + if (host_ != null) hash ^= Host.GetHashCode(); + if (HasId) hash ^= Id.GetHashCode(); + if (HasRegion) hash ^= Region.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasType) { + output.WriteRawTag(8); + output.WriteUInt32(Type); + } + if (host_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Host); + } + if (HasId) { + output.WriteRawTag(29); + output.WriteFixed32(Id); + } + if (HasRegion) { + output.WriteRawTag(32); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasType) { + output.WriteRawTag(8); + output.WriteUInt32(Type); + } + if (host_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Host); + } + if (HasId) { + output.WriteRawTag(29); + output.WriteFixed32(Id); + } + if (HasRegion) { + output.WriteRawTag(32); + output.WriteUInt32(Region); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type); + } + if (host_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host); + } + if (HasId) { + size += 1 + 4; + } + if (HasRegion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChannelId other) { + if (other == null) { + return; + } + if (other.HasType) { + Type = other.Type; + } + if (other.host_ != null) { + if (host_ == null) { + Host = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + Host.MergeFrom(other.Host); + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasRegion) { + Region = other.Region; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Type = input.ReadUInt32(); + break; + } + case 18: { + if (host_ == null) { + Host = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Host); + break; + } + case 29: { + Id = input.ReadFixed32(); + break; + } + case 32: { + Region = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Type = input.ReadUInt32(); + break; + } + case 18: { + if (host_ == null) { + Host = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ProcessId(); + } + input.ReadMessage(Host); + break; + } + case 29: { + Id = input.ReadFixed32(); + break; + } + case 32: { + Region = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/AttributeTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/AttributeTypes.cs new file mode 100644 index 0000000000..136d836027 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/AttributeTypes.cs @@ -0,0 +1,1057 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/api/client/v2/attribute_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2 { + + /// Holder for reflection information generated from bgs/low/pb/client/api/client/v2/attribute_types.proto + public static partial class AttributeTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/api/client/v2/attribute_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AttributeTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL2F0dHJpYnV0ZV90", + "eXBlcy5wcm90bxIPYmdzLnByb3RvY29sLnYyIpcBCgdWYXJpYW50EhQKCmJv", + "b2xfdmFsdWUYASABKAhIABITCglpbnRfdmFsdWUYAiABKANIABIVCgtmbG9h", + "dF92YWx1ZRgDIAEoAUgAEhYKDHN0cmluZ192YWx1ZRgEIAEoCUgAEhQKCmJs", + "b2JfdmFsdWUYBSABKAxIABIUCgp1aW50X3ZhbHVlGAYgASgESABCBgoEdHlw", + "ZSJCCglBdHRyaWJ1dGUSDAoEbmFtZRgBIAEoCRInCgV2YWx1ZRgCIAEoCzIY", + "LmJncy5wcm90b2NvbC52Mi5WYXJpYW50ItABCg9BdHRyaWJ1dGVGaWx0ZXIS", + "NgoCb3AYASABKA4yKi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlRmlsdGVy", + "Lk9wZXJhdGlvbhItCglhdHRyaWJ1dGUYAiADKAsyGi5iZ3MucHJvdG9jb2wu", + "djIuQXR0cmlidXRlIlYKCU9wZXJhdGlvbhIOCgpNQVRDSF9OT05FEAASDQoJ", + "TUFUQ0hfQU5ZEAESDQoJTUFUQ0hfQUxMEAISGwoXTUFUQ0hfQUxMX01PU1Rf", + "U1BFQ0lGSUMQA0ICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant.Parser, new[]{ "BoolValue", "IntValue", "FloatValue", "StringValue", "BlobValue", "UintValue" }, new[]{ "Type" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser, new[]{ "Name", "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Parser, new[]{ "Op", "Attribute" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation) }, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Variant : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Variant()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Variant() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Variant(Variant other) : this() { + switch (other.TypeCase) { + case TypeOneofCase.BoolValue: + BoolValue = other.BoolValue; + break; + case TypeOneofCase.IntValue: + IntValue = other.IntValue; + break; + case TypeOneofCase.FloatValue: + FloatValue = other.FloatValue; + break; + case TypeOneofCase.StringValue: + StringValue = other.StringValue; + break; + case TypeOneofCase.BlobValue: + BlobValue = other.BlobValue; + break; + case TypeOneofCase.UintValue: + UintValue = other.UintValue; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Variant Clone() { + return new Variant(this); + } + + /// Field number for the "bool_value" field. + public const int BoolValueFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolValue { + get { return HasBoolValue ? (bool) type_ : false; } + set { + type_ = value; + typeCase_ = TypeOneofCase.BoolValue; + } + } + /// Gets whether the "bool_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolValue { + get { return typeCase_ == TypeOneofCase.BoolValue; } + } + /// Clears the value of the oneof if it's currently set to "bool_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolValue() { + if (HasBoolValue) { + ClearType(); + } + } + + /// Field number for the "int_value" field. + public const int IntValueFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long IntValue { + get { return HasIntValue ? (long) type_ : 0L; } + set { + type_ = value; + typeCase_ = TypeOneofCase.IntValue; + } + } + /// Gets whether the "int_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIntValue { + get { return typeCase_ == TypeOneofCase.IntValue; } + } + /// Clears the value of the oneof if it's currently set to "int_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIntValue() { + if (HasIntValue) { + ClearType(); + } + } + + /// Field number for the "float_value" field. + public const int FloatValueFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double FloatValue { + get { return HasFloatValue ? (double) type_ : 0D; } + set { + type_ = value; + typeCase_ = TypeOneofCase.FloatValue; + } + } + /// Gets whether the "float_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFloatValue { + get { return typeCase_ == TypeOneofCase.FloatValue; } + } + /// Clears the value of the oneof if it's currently set to "float_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFloatValue() { + if (HasFloatValue) { + ClearType(); + } + } + + /// Field number for the "string_value" field. + public const int StringValueFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StringValue { + get { return HasStringValue ? (string) type_ : ""; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + typeCase_ = TypeOneofCase.StringValue; + } + } + /// Gets whether the "string_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStringValue { + get { return typeCase_ == TypeOneofCase.StringValue; } + } + /// Clears the value of the oneof if it's currently set to "string_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStringValue() { + if (HasStringValue) { + ClearType(); + } + } + + /// Field number for the "blob_value" field. + public const int BlobValueFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString BlobValue { + get { return HasBlobValue ? (pb::ByteString) type_ : pb::ByteString.Empty; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + typeCase_ = TypeOneofCase.BlobValue; + } + } + /// Gets whether the "blob_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBlobValue { + get { return typeCase_ == TypeOneofCase.BlobValue; } + } + /// Clears the value of the oneof if it's currently set to "blob_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBlobValue() { + if (HasBlobValue) { + ClearType(); + } + } + + /// Field number for the "uint_value" field. + public const int UintValueFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong UintValue { + get { return HasUintValue ? (ulong) type_ : 0UL; } + set { + type_ = value; + typeCase_ = TypeOneofCase.UintValue; + } + } + /// Gets whether the "uint_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUintValue { + get { return typeCase_ == TypeOneofCase.UintValue; } + } + /// Clears the value of the oneof if it's currently set to "uint_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUintValue() { + if (HasUintValue) { + ClearType(); + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + BoolValue = 1, + IntValue = 2, + FloatValue = 3, + StringValue = 4, + BlobValue = 5, + UintValue = 6, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Variant); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Variant other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BoolValue != other.BoolValue) return false; + if (IntValue != other.IntValue) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FloatValue, other.FloatValue)) return false; + if (StringValue != other.StringValue) return false; + if (BlobValue != other.BlobValue) return false; + if (UintValue != other.UintValue) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasBoolValue) hash ^= BoolValue.GetHashCode(); + if (HasIntValue) hash ^= IntValue.GetHashCode(); + if (HasFloatValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FloatValue); + if (HasStringValue) hash ^= StringValue.GetHashCode(); + if (HasBlobValue) hash ^= BlobValue.GetHashCode(); + if (HasUintValue) hash ^= UintValue.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasBoolValue) { + output.WriteRawTag(8); + output.WriteBool(BoolValue); + } + if (HasIntValue) { + output.WriteRawTag(16); + output.WriteInt64(IntValue); + } + if (HasFloatValue) { + output.WriteRawTag(25); + output.WriteDouble(FloatValue); + } + if (HasStringValue) { + output.WriteRawTag(34); + output.WriteString(StringValue); + } + if (HasBlobValue) { + output.WriteRawTag(42); + output.WriteBytes(BlobValue); + } + if (HasUintValue) { + output.WriteRawTag(48); + output.WriteUInt64(UintValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasBoolValue) { + output.WriteRawTag(8); + output.WriteBool(BoolValue); + } + if (HasIntValue) { + output.WriteRawTag(16); + output.WriteInt64(IntValue); + } + if (HasFloatValue) { + output.WriteRawTag(25); + output.WriteDouble(FloatValue); + } + if (HasStringValue) { + output.WriteRawTag(34); + output.WriteString(StringValue); + } + if (HasBlobValue) { + output.WriteRawTag(42); + output.WriteBytes(BlobValue); + } + if (HasUintValue) { + output.WriteRawTag(48); + output.WriteUInt64(UintValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasBoolValue) { + size += 1 + 1; + } + if (HasIntValue) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntValue); + } + if (HasFloatValue) { + size += 1 + 8; + } + if (HasStringValue) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue); + } + if (HasBlobValue) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(BlobValue); + } + if (HasUintValue) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UintValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Variant other) { + if (other == null) { + return; + } + switch (other.TypeCase) { + case TypeOneofCase.BoolValue: + BoolValue = other.BoolValue; + break; + case TypeOneofCase.IntValue: + IntValue = other.IntValue; + break; + case TypeOneofCase.FloatValue: + FloatValue = other.FloatValue; + break; + case TypeOneofCase.StringValue: + StringValue = other.StringValue; + break; + case TypeOneofCase.BlobValue: + BlobValue = other.BlobValue; + break; + case TypeOneofCase.UintValue: + UintValue = other.UintValue; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + BoolValue = input.ReadBool(); + break; + } + case 16: { + IntValue = input.ReadInt64(); + break; + } + case 25: { + FloatValue = input.ReadDouble(); + break; + } + case 34: { + StringValue = input.ReadString(); + break; + } + case 42: { + BlobValue = input.ReadBytes(); + break; + } + case 48: { + UintValue = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + BoolValue = input.ReadBool(); + break; + } + case 16: { + IntValue = input.ReadInt64(); + break; + } + case 25: { + FloatValue = input.ReadDouble(); + break; + } + case 34: { + StringValue = input.ReadString(); + break; + } + case 42: { + BlobValue = input.ReadBytes(); + break; + } + case 48: { + UintValue = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Attribute : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Attribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute(Attribute other) : this() { + name_ = other.name_; + value_ = other.value_ != null ? other.value_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute Clone() { + return new Attribute(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private readonly static string NameDefaultValue = ""; + + private string name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 2; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant Value { + get { return value_; } + set { + value_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Attribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Attribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(Value, other.Value)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasName) hash ^= Name.GetHashCode(); + if (value_ != null) hash ^= Value.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (value_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (value_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (value_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Attribute other) { + if (other == null) { + return; + } + if (other.HasName) { + Name = other.Name; + } + if (other.value_ != null) { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant(); + } + Value.MergeFrom(other.Value); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant(); + } + input.ReadMessage(Value); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (value_ == null) { + Value = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Variant(); + } + input.ReadMessage(Value); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AttributeFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AttributeFilter()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeFilter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeFilter(AttributeFilter other) : this() { + _hasBits0 = other._hasBits0; + op_ = other.op_; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeFilter Clone() { + return new AttributeFilter(this); + } + + /// Field number for the "op" field. + public const int OpFieldNumber = 1; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation OpDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation.MatchNone; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation op_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation Op { + get { if ((_hasBits0 & 1) != 0) { return op_; } else { return OpDefaultValue; } } + set { + _hasBits0 |= 1; + op_ = value; + } + } + /// Gets whether the "op" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOp { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "op" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOp() { + _hasBits0 &= ~1; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(18, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AttributeFilter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AttributeFilter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Op != other.Op) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasOp) hash ^= Op.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasOp) { + output.WriteRawTag(8); + output.WriteEnum((int) Op); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasOp) { + output.WriteRawTag(8); + output.WriteEnum((int) Op); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasOp) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Op); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AttributeFilter other) { + if (other == null) { + return; + } + if (other.HasOp) { + Op = other.Op; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Op = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation) input.ReadEnum(); + break; + } + case 18: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Op = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeFilter.Types.Operation) input.ReadEnum(); + break; + } + case 18: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AttributeFilter message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum Operation { + [pbr::OriginalName("MATCH_NONE")] MatchNone = 0, + [pbr::OriginalName("MATCH_ANY")] MatchAny = 1, + [pbr::OriginalName("MATCH_ALL")] MatchAll = 2, + [pbr::OriginalName("MATCH_ALL_MOST_SPECIFIC")] MatchAllMostSpecific = 3, + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/ReportService.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/ReportService.cs new file mode 100644 index 0000000000..a180b3c90d --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/ReportService.cs @@ -0,0 +1,493 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/api/client/v2/report_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2 { + + /// Holder for reflection information generated from bgs/low/pb/client/api/client/v2/report_service.proto + public static partial class ReportServiceReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/api/client/v2/report_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ReportServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjRiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL3JlcG9ydF9zZXJ2", + "aWNlLnByb3RvEhZiZ3MucHJvdG9jb2wucmVwb3J0LnYyGiViZ3MvbG93L3Bi", + "L2NsaWVudC9hY2NvdW50X3R5cGVzLnByb3RvGjJiZ3MvbG93L3BiL2NsaWVu", + "dC9hcGkvY2xpZW50L3YyL3JlcG9ydF90eXBlcy5wcm90bxohYmdzL2xvdy9w", + "Yi9jbGllbnQvcnBjX3R5cGVzLnByb3RvIrACChNTdWJtaXRSZXBvcnRSZXF1", + "ZXN0EjQKCGFnZW50X2lkGAEgASgLMiIuYmdzLnByb3RvY29sLmFjY291bnQu", + "djEuQWNjb3VudElkEhgKEHVzZXJfZGVzY3JpcHRpb24YAiABKAkSOwoMdXNl", + "cl9vcHRpb25zGAogASgLMiMuYmdzLnByb3RvY29sLnJlcG9ydC52Mi5Vc2Vy", + "T3B0aW9uc0gAEjsKDGNsdWJfb3B0aW9ucxgLIAEoCzIjLmJncy5wcm90b2Nv", + "bC5yZXBvcnQudjIuQ2x1Yk9wdGlvbnNIABI/Cg5lbnRpdHlfb3B0aW9ucxgU", + "IAEoCzIlLmJncy5wcm90b2NvbC5yZXBvcnQudjIuRW50aXR5T3B0aW9uc0gA", + "OgaC+SsCCAFCBgoEdHlwZTLCAQoNUmVwb3J0U2VydmljZRJ0CgxTdWJtaXRS", + "ZXBvcnQSKy5iZ3MucHJvdG9jb2wucmVwb3J0LnYyLlN1Ym1pdFJlcG9ydFJl", + "cXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIiGC+SsdCAFCGVJlc29sdmVT", + "dWJtaXRSZXBvcnRSZWdpb24aO4L5KzEKJWJuZXQucHJvdG9jb2wucmVwb3J0", + "LnYyLlJlcG9ydFNlcnZpY2UqBnJlcG9ydEgBivkrAhABQgVIAYABAA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RpcTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.SubmitReportRequest), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.SubmitReportRequest.Parser, new[]{ "AgentId", "UserDescription", "UserOptions", "ClubOptions", "EntityOptions" }, new[]{ "Type" }, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitReportRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitReportRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitReportRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitReportRequest(SubmitReportRequest other) : this() { + agentId_ = other.agentId_ != null ? other.agentId_.Clone() : null; + userDescription_ = other.userDescription_; + switch (other.TypeCase) { + case TypeOneofCase.UserOptions: + UserOptions = other.UserOptions.Clone(); + break; + case TypeOneofCase.ClubOptions: + ClubOptions = other.ClubOptions.Clone(); + break; + case TypeOneofCase.EntityOptions: + EntityOptions = other.EntityOptions.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitReportRequest Clone() { + return new SubmitReportRequest(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId agentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId AgentId { + get { return agentId_; } + set { + agentId_ = value; + } + } + + /// Field number for the "user_description" field. + public const int UserDescriptionFieldNumber = 2; + private readonly static string UserDescriptionDefaultValue = ""; + + private string userDescription_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserDescription { + get { return userDescription_ ?? UserDescriptionDefaultValue; } + set { + userDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "user_description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUserDescription { + get { return userDescription_ != null; } + } + /// Clears the value of the "user_description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUserDescription() { + userDescription_ = null; + } + + /// Field number for the "user_options" field. + public const int UserOptionsFieldNumber = 10; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions UserOptions { + get { return typeCase_ == TypeOneofCase.UserOptions ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UserOptions; + } + } + + /// Field number for the "club_options" field. + public const int ClubOptionsFieldNumber = 11; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions ClubOptions { + get { return typeCase_ == TypeOneofCase.ClubOptions ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ClubOptions; + } + } + + /// Field number for the "entity_options" field. + public const int EntityOptionsFieldNumber = 20; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions EntityOptions { + get { return typeCase_ == TypeOneofCase.EntityOptions ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.EntityOptions; + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + UserOptions = 10, + ClubOptions = 11, + EntityOptions = 20, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SubmitReportRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubmitReportRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentId, other.AgentId)) return false; + if (UserDescription != other.UserDescription) return false; + if (!object.Equals(UserOptions, other.UserOptions)) return false; + if (!object.Equals(ClubOptions, other.ClubOptions)) return false; + if (!object.Equals(EntityOptions, other.EntityOptions)) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentId_ != null) hash ^= AgentId.GetHashCode(); + if (HasUserDescription) hash ^= UserDescription.GetHashCode(); + if (typeCase_ == TypeOneofCase.UserOptions) hash ^= UserOptions.GetHashCode(); + if (typeCase_ == TypeOneofCase.ClubOptions) hash ^= ClubOptions.GetHashCode(); + if (typeCase_ == TypeOneofCase.EntityOptions) hash ^= EntityOptions.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasUserDescription) { + output.WriteRawTag(18); + output.WriteString(UserDescription); + } + if (typeCase_ == TypeOneofCase.UserOptions) { + output.WriteRawTag(82); + output.WriteMessage(UserOptions); + } + if (typeCase_ == TypeOneofCase.ClubOptions) { + output.WriteRawTag(90); + output.WriteMessage(ClubOptions); + } + if (typeCase_ == TypeOneofCase.EntityOptions) { + output.WriteRawTag(162, 1); + output.WriteMessage(EntityOptions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentId); + } + if (HasUserDescription) { + output.WriteRawTag(18); + output.WriteString(UserDescription); + } + if (typeCase_ == TypeOneofCase.UserOptions) { + output.WriteRawTag(82); + output.WriteMessage(UserOptions); + } + if (typeCase_ == TypeOneofCase.ClubOptions) { + output.WriteRawTag(90); + output.WriteMessage(ClubOptions); + } + if (typeCase_ == TypeOneofCase.EntityOptions) { + output.WriteRawTag(162, 1); + output.WriteMessage(EntityOptions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); + } + if (HasUserDescription) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserDescription); + } + if (typeCase_ == TypeOneofCase.UserOptions) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserOptions); + } + if (typeCase_ == TypeOneofCase.ClubOptions) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubOptions); + } + if (typeCase_ == TypeOneofCase.EntityOptions) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(EntityOptions); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubmitReportRequest other) { + if (other == null) { + return; + } + if (other.agentId_ != null) { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + AgentId.MergeFrom(other.AgentId); + } + if (other.HasUserDescription) { + UserDescription = other.UserDescription; + } + switch (other.TypeCase) { + case TypeOneofCase.UserOptions: + if (UserOptions == null) { + UserOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions(); + } + UserOptions.MergeFrom(other.UserOptions); + break; + case TypeOneofCase.ClubOptions: + if (ClubOptions == null) { + ClubOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions(); + } + ClubOptions.MergeFrom(other.ClubOptions); + break; + case TypeOneofCase.EntityOptions: + if (EntityOptions == null) { + EntityOptions = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions(); + } + EntityOptions.MergeFrom(other.EntityOptions); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + UserDescription = input.ReadString(); + break; + } + case 82: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions(); + if (typeCase_ == TypeOneofCase.UserOptions) { + subBuilder.MergeFrom(UserOptions); + } + input.ReadMessage(subBuilder); + UserOptions = subBuilder; + break; + } + case 90: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions(); + if (typeCase_ == TypeOneofCase.ClubOptions) { + subBuilder.MergeFrom(ClubOptions); + } + input.ReadMessage(subBuilder); + ClubOptions = subBuilder; + break; + } + case 162: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions(); + if (typeCase_ == TypeOneofCase.EntityOptions) { + subBuilder.MergeFrom(EntityOptions); + } + input.ReadMessage(subBuilder); + EntityOptions = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentId_ == null) { + AgentId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(AgentId); + break; + } + case 18: { + UserDescription = input.ReadString(); + break; + } + case 82: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions(); + if (typeCase_ == TypeOneofCase.UserOptions) { + subBuilder.MergeFrom(UserOptions); + } + input.ReadMessage(subBuilder); + UserOptions = subBuilder; + break; + } + case 90: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions(); + if (typeCase_ == TypeOneofCase.ClubOptions) { + subBuilder.MergeFrom(ClubOptions); + } + input.ReadMessage(subBuilder); + ClubOptions = subBuilder; + break; + } + case 162: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions(); + if (typeCase_ == TypeOneofCase.EntityOptions) { + subBuilder.MergeFrom(EntityOptions); + } + input.ReadMessage(subBuilder); + EntityOptions = subBuilder; + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/ReportTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/ReportTypes.cs new file mode 100644 index 0000000000..604af789b7 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/api/client/v2/ReportTypes.cs @@ -0,0 +1,1383 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/api/client/v2/report_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2 { + + /// Holder for reflection information generated from bgs/low/pb/client/api/client/v2/report_types.proto + public static partial class ReportTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/api/client/v2/report_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ReportTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjJiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL3JlcG9ydF90eXBl", + "cy5wcm90bxIWYmdzLnByb3RvY29sLnJlcG9ydC52Mho1YmdzL2xvdy9wYi9j", + "bGllbnQvYXBpL2NsaWVudC92Mi9hdHRyaWJ1dGVfdHlwZXMucHJvdG8aJWJn", + "cy9sb3cvcGIvY2xpZW50L2FjY291bnRfdHlwZXMucHJvdG8aJWJncy9sb3cv", + "cGIvY2xpZW50L21lc3NhZ2VfdHlwZXMucHJvdG8aN2Jncy9sb3cvcGIvY2xp", + "ZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8iQwoK", + "UmVwb3J0SXRlbRItCgptZXNzYWdlX2lkGAEgASgLMhcuYmdzLnByb3RvY29s", + "Lk1lc3NhZ2VJZEgAQgYKBHR5cGUi2wEKC1VzZXJPcHRpb25zEjUKCXRhcmdl", + "dF9pZBgBIAEoCzIiLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRJ", + "ZBIvCgR0eXBlGAIgASgOMiEuYmdzLnByb3RvY29sLnJlcG9ydC52Mi5Jc3N1", + "ZVR5cGUSMgoGc291cmNlGAMgASgOMiIuYmdzLnByb3RvY29sLnJlcG9ydC52", + "Mi5Vc2VyU291cmNlEjAKBGl0ZW0YBCABKAsyIi5iZ3MucHJvdG9jb2wucmVw", + "b3J0LnYyLlJlcG9ydEl0ZW0iyAEKC0NsdWJPcHRpb25zEg8KB2NsdWJfaWQY", + "ASABKAQSEQoJc3RyZWFtX2lkGAIgASgEEi8KBHR5cGUYAyABKA4yIS5iZ3Mu", + "cHJvdG9jb2wucmVwb3J0LnYyLklzc3VlVHlwZRIyCgZzb3VyY2UYBCABKA4y", + "Ii5iZ3MucHJvdG9jb2wucmVwb3J0LnYyLkNsdWJTb3VyY2USMAoEaXRlbRgF", + "IAEoCzIiLmJncy5wcm90b2NvbC5yZXBvcnQudjIuUmVwb3J0SXRlbSKDAQoN", + "RW50aXR5T3B0aW9ucxIgCgllbnRpdHlfaWQYASABKAlCDYr5KwkiBwoFCAEQ", + "yAESIQoLZW50aXR5X3R5cGUYAiABKAlCDIr5KwgiBgoECAEQZBItCglhdHRy", + "aWJ1dGUYBSADKAsyGi5iZ3MucHJvdG9jb2wudjIuQXR0cmlidXRlKo0BCglJ", + "c3N1ZVR5cGUSEwoPSVNTVUVfVFlQRV9TUEFNEAASGQoVSVNTVUVfVFlQRV9I", + "QVJBU1NNRU5UEAESIAocSVNTVUVfVFlQRV9PRkZFTlNJVkVfQ09OVEVOVBAD", + "EhYKEklTU1VFX1RZUEVfSEFDS0lORxAEEhYKEklTU1VFX1RZUEVfQk9UVElO", + "RxAFKsEBCgpVc2VyU291cmNlEhUKEVVTRVJfU09VUkNFX09USEVSEAASFwoT", + "VVNFUl9TT1VSQ0VfV0hJU1BFUhABEhcKE1VTRVJfU09VUkNFX1BST0ZJTEUQ", + "AhIaChZVU0VSX1NPVVJDRV9CQVRUTEVfVEFHEAMSFAoQVVNFUl9TT1VSQ0Vf", + "Q0hBVBAEEiEKHVVTRVJfU09VUkNFX0ZSSUVORF9JTlZJVEFUSU9OEAUSFQoR", + "VVNFUl9TT1VSQ0VfVk9JQ0UQBirxAQoKQ2x1YlNvdXJjZRIUChBDTFVCX1NP", + "VVJDRV9OT05FEAASFwoTQ0xVQl9TT1VSQ0VfTUVTU0FHRRABEhkKFUNMVUJf", + "U09VUkNFX0NMVUJfTkFNRRACEhsKF0NMVUJfU09VUkNFX1NUUkVBTV9OQU1F", + "EAMSGQoVQ0xVQl9TT1VSQ0VfQlJPQURDQVNUEAQSHwobQ0xVQl9TT1VSQ0Vf", + "Q0xVQl9TSE9SVF9OQU1FEAUSIAocQ0xVQl9TT1VSQ0VfQ0xVQl9ERVNDUklQ", + "VElPThAGEh4KGkNMVUJfU09VUkNFX1NUUkVBTV9TVUJKRUNUEAdCBUgBgAEA")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageTypesReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource), typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem.Parser, new[]{ "MessageId" }, new[]{ "Type" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserOptions.Parser, new[]{ "TargetId", "Type", "Source", "Item" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubOptions.Parser, new[]{ "ClubId", "StreamId", "Type", "Source", "Item" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.EntityOptions.Parser, new[]{ "EntityId", "EntityType", "Attribute" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum IssueType { + [pbr::OriginalName("ISSUE_TYPE_SPAM")] Spam = 0, + [pbr::OriginalName("ISSUE_TYPE_HARASSMENT")] Harassment = 1, + [pbr::OriginalName("ISSUE_TYPE_OFFENSIVE_CONTENT")] OffensiveContent = 3, + [pbr::OriginalName("ISSUE_TYPE_HACKING")] Hacking = 4, + [pbr::OriginalName("ISSUE_TYPE_BOTTING")] Botting = 5, + } + + public enum UserSource { + [pbr::OriginalName("USER_SOURCE_OTHER")] Other = 0, + [pbr::OriginalName("USER_SOURCE_WHISPER")] Whisper = 1, + [pbr::OriginalName("USER_SOURCE_PROFILE")] Profile = 2, + [pbr::OriginalName("USER_SOURCE_BATTLE_TAG")] BattleTag = 3, + [pbr::OriginalName("USER_SOURCE_CHAT")] Chat = 4, + [pbr::OriginalName("USER_SOURCE_FRIEND_INVITATION")] FriendInvitation = 5, + [pbr::OriginalName("USER_SOURCE_VOICE")] Voice = 6, + } + + public enum ClubSource { + [pbr::OriginalName("CLUB_SOURCE_NONE")] None = 0, + [pbr::OriginalName("CLUB_SOURCE_MESSAGE")] Message = 1, + [pbr::OriginalName("CLUB_SOURCE_CLUB_NAME")] ClubName = 2, + [pbr::OriginalName("CLUB_SOURCE_STREAM_NAME")] StreamName = 3, + [pbr::OriginalName("CLUB_SOURCE_BROADCAST")] Broadcast = 4, + [pbr::OriginalName("CLUB_SOURCE_CLUB_SHORT_NAME")] ClubShortName = 5, + [pbr::OriginalName("CLUB_SOURCE_CLUB_DESCRIPTION")] ClubDescription = 6, + [pbr::OriginalName("CLUB_SOURCE_STREAM_SUBJECT")] StreamSubject = 7, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReportItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReportItem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportTypesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReportItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReportItem(ReportItem other) : this() { + switch (other.TypeCase) { + case TypeOneofCase.MessageId: + MessageId = other.MessageId.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReportItem Clone() { + return new ReportItem(this); + } + + /// Field number for the "message_id" field. + public const int MessageIdFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId MessageId { + get { return typeCase_ == TypeOneofCase.MessageId ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.MessageId; + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + MessageId = 1, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReportItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReportItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MessageId, other.MessageId)) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (typeCase_ == TypeOneofCase.MessageId) hash ^= MessageId.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (typeCase_ == TypeOneofCase.MessageId) { + output.WriteRawTag(10); + output.WriteMessage(MessageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (typeCase_ == TypeOneofCase.MessageId) { + output.WriteRawTag(10); + output.WriteMessage(MessageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (typeCase_ == TypeOneofCase.MessageId) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReportItem other) { + if (other == null) { + return; + } + switch (other.TypeCase) { + case TypeOneofCase.MessageId: + if (MessageId == null) { + MessageId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + } + MessageId.MergeFrom(other.MessageId); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + if (typeCase_ == TypeOneofCase.MessageId) { + subBuilder.MergeFrom(MessageId); + } + input.ReadMessage(subBuilder); + MessageId = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageId(); + if (typeCase_ == TypeOneofCase.MessageId) { + subBuilder.MergeFrom(MessageId); + } + input.ReadMessage(subBuilder); + MessageId = subBuilder; + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UserOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportTypesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOptions(UserOptions other) : this() { + _hasBits0 = other._hasBits0; + targetId_ = other.targetId_ != null ? other.targetId_.Clone() : null; + type_ = other.type_; + source_ = other.source_; + item_ = other.item_ != null ? other.item_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOptions Clone() { + return new UserOptions(this); + } + + /// Field number for the "target_id" field. + public const int TargetIdFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId targetId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId TargetId { + get { return targetId_; } + set { + targetId_ = value; + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType TypeDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType.Spam; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType Type { + get { if ((_hasBits0 & 1) != 0) { return type_; } else { return TypeDefaultValue; } } + set { + _hasBits0 |= 1; + type_ = value; + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + _hasBits0 &= ~1; + } + + /// Field number for the "source" field. + public const int SourceFieldNumber = 3; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource SourceDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource.Other; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource source_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource Source { + get { if ((_hasBits0 & 2) != 0) { return source_; } else { return SourceDefaultValue; } } + set { + _hasBits0 |= 2; + source_ = value; + } + } + /// Gets whether the "source" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSource { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "source" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + _hasBits0 &= ~2; + } + + /// Field number for the "item" field. + public const int ItemFieldNumber = 4; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem item_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem Item { + get { return item_; } + set { + item_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TargetId, other.TargetId)) return false; + if (Type != other.Type) return false; + if (Source != other.Source) return false; + if (!object.Equals(Item, other.Item)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (targetId_ != null) hash ^= TargetId.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + if (HasSource) hash ^= Source.GetHashCode(); + if (item_ != null) hash ^= Item.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (HasType) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + if (HasSource) { + output.WriteRawTag(24); + output.WriteEnum((int) Source); + } + if (item_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Item); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (targetId_ != null) { + output.WriteRawTag(10); + output.WriteMessage(TargetId); + } + if (HasType) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + if (HasSource) { + output.WriteRawTag(24); + output.WriteEnum((int) Source); + } + if (item_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Item); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (targetId_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (HasSource) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); + } + if (item_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Item); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserOptions other) { + if (other == null) { + return; + } + if (other.targetId_ != null) { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + TargetId.MergeFrom(other.TargetId); + } + if (other.HasType) { + Type = other.Type; + } + if (other.HasSource) { + Source = other.Source; + } + if (other.item_ != null) { + if (item_ == null) { + Item = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem(); + } + Item.MergeFrom(other.Item); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(TargetId); + break; + } + case 16: { + Type = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType) input.ReadEnum(); + break; + } + case 24: { + Source = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource) input.ReadEnum(); + break; + } + case 34: { + if (item_ == null) { + Item = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem(); + } + input.ReadMessage(Item); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (targetId_ == null) { + TargetId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Account.V1.AccountId(); + } + input.ReadMessage(TargetId); + break; + } + case 16: { + Type = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType) input.ReadEnum(); + break; + } + case 24: { + Source = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.UserSource) input.ReadEnum(); + break; + } + case 34: { + if (item_ == null) { + Item = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem(); + } + input.ReadMessage(Item); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClubOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportTypesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubOptions(ClubOptions other) : this() { + _hasBits0 = other._hasBits0; + clubId_ = other.clubId_; + streamId_ = other.streamId_; + type_ = other.type_; + source_ = other.source_; + item_ = other.item_ != null ? other.item_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClubOptions Clone() { + return new ClubOptions(this); + } + + /// Field number for the "club_id" field. + public const int ClubIdFieldNumber = 1; + private readonly static ulong ClubIdDefaultValue = 0UL; + + private ulong clubId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ClubId { + get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } } + set { + _hasBits0 |= 1; + clubId_ = value; + } + } + /// Gets whether the "club_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClubId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "club_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClubId() { + _hasBits0 &= ~1; + } + + /// Field number for the "stream_id" field. + public const int StreamIdFieldNumber = 2; + private readonly static ulong StreamIdDefaultValue = 0UL; + + private ulong streamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StreamId { + get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } } + set { + _hasBits0 |= 2; + streamId_ = value; + } + } + /// Gets whether the "stream_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStreamId { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "stream_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStreamId() { + _hasBits0 &= ~2; + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 3; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType TypeDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType.Spam; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType Type { + get { if ((_hasBits0 & 4) != 0) { return type_; } else { return TypeDefaultValue; } } + set { + _hasBits0 |= 4; + type_ = value; + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + _hasBits0 &= ~4; + } + + /// Field number for the "source" field. + public const int SourceFieldNumber = 4; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource SourceDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource.None; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource source_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource Source { + get { if ((_hasBits0 & 8) != 0) { return source_; } else { return SourceDefaultValue; } } + set { + _hasBits0 |= 8; + source_ = value; + } + } + /// Gets whether the "source" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSource { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "source" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + _hasBits0 &= ~8; + } + + /// Field number for the "item" field. + public const int ItemFieldNumber = 5; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem item_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem Item { + get { return item_; } + set { + item_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClubOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClubOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ClubId != other.ClubId) return false; + if (StreamId != other.StreamId) return false; + if (Type != other.Type) return false; + if (Source != other.Source) return false; + if (!object.Equals(Item, other.Item)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasClubId) hash ^= ClubId.GetHashCode(); + if (HasStreamId) hash ^= StreamId.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + if (HasSource) hash ^= Source.GetHashCode(); + if (item_ != null) hash ^= Item.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (HasType) { + output.WriteRawTag(24); + output.WriteEnum((int) Type); + } + if (HasSource) { + output.WriteRawTag(32); + output.WriteEnum((int) Source); + } + if (item_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Item); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasClubId) { + output.WriteRawTag(8); + output.WriteUInt64(ClubId); + } + if (HasStreamId) { + output.WriteRawTag(16); + output.WriteUInt64(StreamId); + } + if (HasType) { + output.WriteRawTag(24); + output.WriteEnum((int) Type); + } + if (HasSource) { + output.WriteRawTag(32); + output.WriteEnum((int) Source); + } + if (item_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Item); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasClubId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId); + } + if (HasStreamId) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId); + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (HasSource) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); + } + if (item_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Item); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClubOptions other) { + if (other == null) { + return; + } + if (other.HasClubId) { + ClubId = other.ClubId; + } + if (other.HasStreamId) { + StreamId = other.StreamId; + } + if (other.HasType) { + Type = other.Type; + } + if (other.HasSource) { + Source = other.Source; + } + if (other.item_ != null) { + if (item_ == null) { + Item = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem(); + } + Item.MergeFrom(other.Item); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 24: { + Type = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType) input.ReadEnum(); + break; + } + case 32: { + Source = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource) input.ReadEnum(); + break; + } + case 42: { + if (item_ == null) { + Item = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem(); + } + input.ReadMessage(Item); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ClubId = input.ReadUInt64(); + break; + } + case 16: { + StreamId = input.ReadUInt64(); + break; + } + case 24: { + Type = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.IssueType) input.ReadEnum(); + break; + } + case 32: { + Source = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ClubSource) input.ReadEnum(); + break; + } + case 42: { + if (item_ == null) { + Item = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportItem(); + } + input.ReadMessage(Item); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EntityOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.Report.V2.ReportTypesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityOptions(EntityOptions other) : this() { + entityId_ = other.entityId_; + entityType_ = other.entityType_; + attribute_ = other.attribute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityOptions Clone() { + return new EntityOptions(this); + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 1; + private readonly static string EntityIdDefaultValue = ""; + + private string entityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EntityId { + get { return entityId_ ?? EntityIdDefaultValue; } + set { + entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "entity_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEntityId { + get { return entityId_ != null; } + } + /// Clears the value of the "entity_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEntityId() { + entityId_ = null; + } + + /// Field number for the "entity_type" field. + public const int EntityTypeFieldNumber = 2; + private readonly static string EntityTypeDefaultValue = ""; + + private string entityType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EntityType { + get { return entityType_ ?? EntityTypeDefaultValue; } + set { + entityType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "entity_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEntityType { + get { return entityType_ != null; } + } + /// Clears the value of the "entity_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEntityType() { + entityType_ = null; + } + + /// Field number for the "attribute" field. + public const int AttributeFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_attribute_codec + = pb::FieldCodec.ForMessage(42, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.V2.Attribute.Parser); + private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attribute { + get { return attribute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EntityOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EntityOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EntityId != other.EntityId) return false; + if (EntityType != other.EntityType) return false; + if(!attribute_.Equals(other.attribute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasEntityId) hash ^= EntityId.GetHashCode(); + if (HasEntityType) hash ^= EntityType.GetHashCode(); + hash ^= attribute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasEntityId) { + output.WriteRawTag(10); + output.WriteString(EntityId); + } + if (HasEntityType) { + output.WriteRawTag(18); + output.WriteString(EntityType); + } + attribute_.WriteTo(output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasEntityId) { + output.WriteRawTag(10); + output.WriteString(EntityId); + } + if (HasEntityType) { + output.WriteRawTag(18); + output.WriteString(EntityType); + } + attribute_.WriteTo(ref output, _repeated_attribute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasEntityId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); + } + if (HasEntityType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityType); + } + size += attribute_.CalculateSize(_repeated_attribute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EntityOptions other) { + if (other == null) { + return; + } + if (other.HasEntityId) { + EntityId = other.EntityId; + } + if (other.HasEntityType) { + EntityType = other.EntityType; + } + attribute_.Add(other.attribute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + EntityId = input.ReadString(); + break; + } + case 18: { + EntityType = input.ReadString(); + break; + } + case 42: { + attribute_.AddEntriesFrom(input, _repeated_attribute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + EntityId = input.ReadString(); + break; + } + case 18: { + EntityType = input.ReadString(); + break; + } + case 42: { + attribute_.AddEntriesFrom(ref input, _repeated_attribute_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/club_listener.proto b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/club_listener.proto new file mode 100644 index 0000000000..f048a8a47e --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/club_listener.proto @@ -0,0 +1,121 @@ +syntax = "proto2"; + +import public "bgs/low/pb/client/club_notification.proto"; +package bgs.protocol.club.v1; + +option optimize_for = CODE_SIZE; +option cc_generic_services = false; + +service ClubListener { + option (.bgs.protocol.service_options) = { + descriptor_name: "bnet.protocol.club.v1.ClubListener" + }; + option (.bgs.protocol.sdk_service_options) = { + inbound: true + }; + rpc OnSubscribe(.bgs.protocol.club.v1.SubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 1 + }; + } + rpc OnUnsubscribe(.bgs.protocol.club.v1.UnsubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 2 + }; + } + rpc OnStateChanged(.bgs.protocol.club.v1.StateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 3 + }; + } + rpc OnSettingsChanged(.bgs.protocol.club.v1.SettingsChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 4 + }; + } + rpc OnMemberAdded(.bgs.protocol.club.v1.MemberAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 30 + }; + } + rpc OnMemberRemoved(.bgs.protocol.club.v1.MemberRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 31 + }; + } + rpc OnMemberStateChanged(.bgs.protocol.club.v1.MemberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 32 + }; + } + rpc OnSubscriberStateChanged(.bgs.protocol.club.v1.SubscriberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 33 + }; + } + rpc OnMemberRoleChanged(.bgs.protocol.club.v1.MemberRoleChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 34 + }; + } + rpc OnInvitationAdded(.bgs.protocol.club.v1.InvitationAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 50 + }; + } + rpc OnInvitationRemoved(.bgs.protocol.club.v1.InvitationRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 51 + }; + } + rpc OnSuggestionAdded(.bgs.protocol.club.v1.SuggestionAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 70 + }; + } + rpc OnSuggestionRemoved(.bgs.protocol.club.v1.SuggestionRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 71 + }; + } + rpc OnStreamAdded(.bgs.protocol.club.v1.StreamAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 100 + }; + } + rpc OnStreamRemoved(.bgs.protocol.club.v1.StreamRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 101 + }; + } + rpc OnStreamStateChanged(.bgs.protocol.club.v1.StreamStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 102 + }; + } + rpc OnStreamMessageAdded(.bgs.protocol.club.v1.StreamMessageAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 150 + }; + } + rpc OnStreamMessageUpdated(.bgs.protocol.club.v1.StreamMessageUpdatedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 152 + }; + } + rpc OnStreamTypingIndicator(.bgs.protocol.club.v1.StreamTypingIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 153 + }; + } + rpc OnStreamUnreadIndicator(.bgs.protocol.club.v1.StreamUnreadIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 154 + }; + } + rpc OnStreamAdvanceViewTime(.bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 155 + }; + } +} diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/club_service.proto b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/club_service.proto new file mode 100644 index 0000000000..215eb0dd5c --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/club_service.proto @@ -0,0 +1,293 @@ +syntax = "proto2"; + +import public "bgs/low/pb/client/club_request.proto"; +package bgs.protocol.club.v1; + +option optimize_for = CODE_SIZE; +option cc_generic_services = false; + +service ClubService { + option (.bgs.protocol.service_options) = { + descriptor_name: "bnet.protocol.club.v1.ClubService" + shard_name: "club" + }; + option (.bgs.protocol.sdk_service_options) = { + outbound: true + use_client_id: true + }; + rpc Subscribe(.bgs.protocol.club.v1.SubscribeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 1 + }; + } + rpc Unsubscribe(.bgs.protocol.club.v1.UnsubscribeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 2 + }; + } + rpc Create(.bgs.protocol.club.v1.CreateRequest) returns (.bgs.protocol.club.v1.CreateResponse) { + option (.bgs.protocol.method_options) = { + id: 3 + }; + } + rpc Destroy(.bgs.protocol.club.v1.DestroyRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 4 + }; + } + rpc GetDescription(.bgs.protocol.club.v1.GetDescriptionRequest) returns (.bgs.protocol.club.v1.GetDescriptionResponse) { + option (.bgs.protocol.method_options) = { + id: 5 + }; + } + rpc GetClubType(.bgs.protocol.club.v1.GetClubTypeRequest) returns (.bgs.protocol.club.v1.GetClubTypeResponse) { + option (.bgs.protocol.method_options) = { + id: 6 + }; + } + rpc UpdateClubState(.bgs.protocol.club.v1.UpdateClubStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 7 + }; + } + rpc UpdateClubSettings(.bgs.protocol.club.v1.UpdateClubSettingsRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 8 + }; + } + rpc Join(.bgs.protocol.club.v1.JoinRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 30 + }; + } + rpc Leave(.bgs.protocol.club.v1.LeaveRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 31 + }; + } + rpc Kick(.bgs.protocol.club.v1.KickRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 32 + }; + } + rpc GetMember(.bgs.protocol.club.v1.GetMemberRequest) returns (.bgs.protocol.club.v1.GetMemberResponse) { + option (.bgs.protocol.method_options) = { + id: 33 + }; + } + rpc GetMembers(.bgs.protocol.club.v1.GetMembersRequest) returns (.bgs.protocol.club.v1.GetMembersResponse) { + option (.bgs.protocol.method_options) = { + id: 34 + }; + } + rpc UpdateMemberState(.bgs.protocol.club.v1.UpdateMemberStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 35 + }; + } + rpc UpdateSubscriberState(.bgs.protocol.club.v1.UpdateSubscriberStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 36 + }; + } + rpc AssignRole(.bgs.protocol.club.v1.AssignRoleRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 37 + }; + } + rpc UnassignRole(.bgs.protocol.club.v1.UnassignRoleRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 38 + }; + } + rpc SendInvitation(.bgs.protocol.club.v1.SendInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 50 + }; + } + rpc AcceptInvitation(.bgs.protocol.club.v1.AcceptInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 51 + }; + } + rpc DeclineInvitation(.bgs.protocol.club.v1.DeclineInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 52 + }; + } + rpc RevokeInvitation(.bgs.protocol.club.v1.RevokeInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 53 + }; + } + rpc GetInvitation(.bgs.protocol.club.v1.GetInvitationRequest) returns (.bgs.protocol.club.v1.GetInvitationResponse) { + option (.bgs.protocol.method_options) = { + id: 54 + }; + } + rpc GetInvitations(.bgs.protocol.club.v1.GetInvitationsRequest) returns (.bgs.protocol.club.v1.GetInvitationsResponse) { + option (.bgs.protocol.method_options) = { + id: 55 + }; + } + rpc SendSuggestion(.bgs.protocol.club.v1.SendSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 60 + }; + } + rpc AcceptSuggestion(.bgs.protocol.club.v1.AcceptSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 61 + }; + } + rpc DeclineSuggestion(.bgs.protocol.club.v1.DeclineSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 62 + }; + } + rpc GetSuggestion(.bgs.protocol.club.v1.GetSuggestionRequest) returns (.bgs.protocol.club.v1.GetSuggestionResponse) { + option (.bgs.protocol.method_options) = { + id: 63 + }; + } + rpc GetSuggestions(.bgs.protocol.club.v1.GetSuggestionsRequest) returns (.bgs.protocol.club.v1.GetSuggestionsResponse) { + option (.bgs.protocol.method_options) = { + id: 64 + }; + } + rpc CreateTicket(.bgs.protocol.club.v1.CreateTicketRequest) returns (.bgs.protocol.club.v1.CreateTicketResponse) { + option (.bgs.protocol.method_options) = { + id: 70 + }; + } + rpc DestroyTicket(.bgs.protocol.club.v1.DestroyTicketRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 71 + }; + } + rpc RedeemTicket(.bgs.protocol.club.v1.RedeemTicketRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 72 + }; + } + rpc GetTicket(.bgs.protocol.club.v1.GetTicketRequest) returns (.bgs.protocol.club.v1.GetTicketResponse) { + option (.bgs.protocol.method_options) = { + id: 73 + }; + } + rpc GetTickets(.bgs.protocol.club.v1.GetTicketsRequest) returns (.bgs.protocol.club.v1.GetTicketsResponse) { + option (.bgs.protocol.method_options) = { + id: 74 + }; + } + rpc AddBan(.bgs.protocol.club.v1.AddBanRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 80 + }; + } + rpc RemoveBan(.bgs.protocol.club.v1.RemoveBanRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 81 + }; + } + rpc GetBan(.bgs.protocol.club.v1.GetBanRequest) returns (.bgs.protocol.club.v1.GetBanResponse) { + option (.bgs.protocol.method_options) = { + id: 82 + }; + } + rpc GetBans(.bgs.protocol.club.v1.GetBansRequest) returns (.bgs.protocol.club.v1.GetBansResponse) { + option (.bgs.protocol.method_options) = { + id: 83 + }; + } + rpc SubscribeStream(.bgs.protocol.club.v1.SubscribeStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 100 + }; + } + rpc UnsubscribeStream(.bgs.protocol.club.v1.UnsubscribeStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 101 + }; + } + rpc CreateStream(.bgs.protocol.club.v1.CreateStreamRequest) returns (.bgs.protocol.club.v1.CreateStreamResponse) { + option (.bgs.protocol.method_options) = { + id: 102 + }; + } + rpc DestroyStream(.bgs.protocol.club.v1.DestroyStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 103 + }; + } + rpc GetStream(.bgs.protocol.club.v1.GetStreamRequest) returns (.bgs.protocol.club.v1.GetStreamResponse) { + option (.bgs.protocol.method_options) = { + id: 104 + }; + } + rpc GetStreams(.bgs.protocol.club.v1.GetStreamsRequest) returns (.bgs.protocol.club.v1.GetStreamsResponse) { + option (.bgs.protocol.method_options) = { + id: 105 + }; + } + rpc UpdateStreamState(.bgs.protocol.club.v1.UpdateStreamStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 106 + }; + } + rpc SetStreamFocus(.bgs.protocol.club.v1.SetStreamFocusRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 107 + }; + } + rpc GetStreamVoiceToken(.bgs.protocol.club.v1.GetStreamVoiceTokenRequest) returns (.bgs.protocol.club.v1.GetStreamVoiceTokenResponse) { + option (.bgs.protocol.method_options) = { + id: 108 + }; + } + rpc KickFromStreamVoice(.bgs.protocol.club.v1.KickFromStreamVoiceRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 109 + }; + } + rpc CreateMessage(.bgs.protocol.club.v1.CreateMessageRequest) returns (.bgs.protocol.club.v1.CreateMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 150 + }; + } + rpc DestroyMessage(.bgs.protocol.club.v1.DestroyMessageRequest) returns (.bgs.protocol.club.v1.DestroyMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 151 + }; + } + rpc EditMessage(.bgs.protocol.club.v1.EditMessageRequest) returns (.bgs.protocol.club.v1.EditMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 152 + }; + } + rpc SetMessagePinned(.bgs.protocol.club.v1.SetMessagePinnedRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 153 + }; + } + rpc SetTypingIndicator(.bgs.protocol.club.v1.SetTypingIndicatorRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 154 + }; + } + rpc AdvanceStreamViewTime(.bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 155 + }; + } + rpc GetStreamHistory(.bgs.protocol.club.v1.GetStreamHistoryRequest) returns (.bgs.protocol.club.v1.GetStreamHistoryResponse) { + option (.bgs.protocol.method_options) = { + id: 156 + }; + } + rpc GetStreamMessage(.bgs.protocol.club.v1.GetStreamMessageRequest) returns (.bgs.protocol.club.v1.GetStreamMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 157 + }; + } +} diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/FieldOptions.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/FieldOptions.cs new file mode 100644 index 0000000000..82f00307c2 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/FieldOptions.cs @@ -0,0 +1,3116 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/field_options.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/field_options.proto + public static partial class FieldOptionsReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/field_options.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FieldOptionsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9maWVsZF9v", + "cHRpb25zLnByb3RvEgxiZ3MucHJvdG9jb2waIGdvb2dsZS9wcm90b2J1Zi9k", + "ZXNjcmlwdG9yLnByb3RvGi9iZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0", + "ZW5zaW9ucy9yYW5nZS5wcm90byKSAQoPQkdTRmllbGRPcHRpb25zEiQKA2xv", + "ZxgBIAEoDjIXLmJncy5wcm90b2NvbC5Mb2dPcHRpb24SEQoJc2hhcmRfa2V5", + "GAIgASgIEhIKCmZhbm91dF9rZXkYAyABKAgSGwoTY2xpZW50X2luc3RhbmNl", + "X2tleRgEIAEoCBIVCg1yZWFsaXplZF9lbnVtGAUgASgJIuEDChBGaWVsZFJl", + "c3RyaWN0aW9uEjYKBnNpZ25lZBgBIAEoCzIkLmJncy5wcm90b2NvbC5TaWdu", + "ZWRGaWVsZFJlc3RyaWN0aW9uSAASOgoIdW5zaWduZWQYAiABKAsyJi5iZ3Mu", + "cHJvdG9jb2wuVW5zaWduZWRGaWVsZFJlc3RyaWN0aW9uSAASNAoFZmxvYXQY", + "AyABKAsyIy5iZ3MucHJvdG9jb2wuRmxvYXRGaWVsZFJlc3RyaWN0aW9uSAAS", + "NgoGc3RyaW5nGAQgASgLMiQuYmdzLnByb3RvY29sLlN0cmluZ0ZpZWxkUmVz", + "dHJpY3Rpb25IABI6CghyZXBlYXRlZBgFIAEoCzImLmJncy5wcm90b2NvbC5S", + "ZXBlYXRlZEZpZWxkUmVzdHJpY3Rpb25IABI4CgdtZXNzYWdlGAYgASgLMiUu", + "YmdzLnByb3RvY29sLk1lc3NhZ2VGaWVsZFJlc3RyaWN0aW9uSAASNgoJZW50", + "aXR5X2lkGAcgASgLMiEuYmdzLnByb3RvY29sLkVudGl0eUlkUmVzdHJpY3Rp", + "b25IABI1CgVieXRlcxgIIAEoCzIkLmJncy5wcm90b2NvbC5TdHJpbmdGaWVs", + "ZFJlc3RyaWN0aW9uSABCBgoEdHlwZSKxAwoYUmVwZWF0ZWRGaWVsZFJlc3Ry", + "aWN0aW9uEiwKBHNpemUYASABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJ", + "bnRSYW5nZRIOCgZ1bmlxdWUYAiABKAgSNgoGc2lnbmVkGAMgASgLMiQuYmdz", + "LnByb3RvY29sLlNpZ25lZEZpZWxkUmVzdHJpY3Rpb25IABI6Cgh1bnNpZ25l", + "ZBgEIAEoCzImLmJncy5wcm90b2NvbC5VbnNpZ25lZEZpZWxkUmVzdHJpY3Rp", + "b25IABI0CgVmbG9hdBgFIAEoCzIjLmJncy5wcm90b2NvbC5GbG9hdEZpZWxk", + "UmVzdHJpY3Rpb25IABI2CgZzdHJpbmcYBiABKAsyJC5iZ3MucHJvdG9jb2wu", + "U3RyaW5nRmllbGRSZXN0cmljdGlvbkgAEjYKCWVudGl0eV9pZBgHIAEoCzIh", + "LmJncy5wcm90b2NvbC5FbnRpdHlJZFJlc3RyaWN0aW9uSAASNQoFYnl0ZXMY", + "CCABKAsyJC5iZ3MucHJvdG9jb2wuU3RyaW5nRmllbGRSZXN0cmljdGlvbkgA", + "QgYKBHR5cGUiVwoWU2lnbmVkRmllbGRSZXN0cmljdGlvbhIsCgZsaW1pdHMY", + "ASABKAsyHC5iZ3MucHJvdG9jb2wuU2lnbmVkSW50UmFuZ2USDwoHZXhjbHVk", + "ZRgCIAMoEiJbChhVbnNpZ25lZEZpZWxkUmVzdHJpY3Rpb24SLgoGbGltaXRz", + "GAEgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2USDwoHZXhj", + "bHVkZRgCIAMoBCJSChVGbG9hdEZpZWxkUmVzdHJpY3Rpb24SKAoGbGltaXRz", + "GAEgASgLMhguYmdzLnByb3RvY29sLkZsb2F0UmFuZ2USDwoHZXhjbHVkZRgC", + "IAMoAiJXChZTdHJpbmdGaWVsZFJlc3RyaWN0aW9uEiwKBHNpemUYASABKAsy", + "Hi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRIPCgdleGNsdWRlGAIg", + "AygJIsIBChNFbnRpdHlJZFJlc3RyaWN0aW9uEg4KBm5lZWRlZBgBIAEoCBI0", + "CgRraW5kGAIgASgOMiYuYmdzLnByb3RvY29sLkVudGl0eUlkUmVzdHJpY3Rp", + "b24uS2luZCJlCgRLaW5kEgcKA0FOWRAAEgsKB0FDQ09VTlQQARIQCgxHQU1F", + "X0FDQ09VTlQQAhIbChdBQ0NPVU5UX09SX0dBTUVfQUNDT1VOVBADEgsKB1NF", + "UlZJQ0UQBBILCgdDSEFOTkVMEAUiKQoXTWVzc2FnZUZpZWxkUmVzdHJpY3Rp", + "b24SDgoGbmVlZGVkGAEgASgIKiAKCUxvZ09wdGlvbhIKCgZISURERU4QARIH", + "CgNIRVgQAjpVCg1maWVsZF9vcHRpb25zEh0uZ29vZ2xlLnByb3RvYnVmLkZp", + "ZWxkT3B0aW9ucxiQvwUgASgLMh0uYmdzLnByb3RvY29sLkJHU0ZpZWxkT3B0", + "aW9uczpOCgV2YWxpZBIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY", + "kb8FIAEoCzIeLmJncy5wcm90b2NvbC5GaWVsZFJlc3RyaWN0aW9uQiMKDGJn", + "cy5wcm90b2NvbEIRRmllbGRPcHRpb25zUHJvdG9IAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RangeReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption), }, new pb::Extension[] { FieldOptionsExtensions.FieldOptions_, FieldOptionsExtensions.Valid }, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSFieldOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSFieldOptions.Parser, new[]{ "Log", "ShardKey", "FanoutKey", "ClientInstanceKey", "RealizedEnum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldRestriction.Parser, new[]{ "Signed", "Unsigned", "Float", "String", "Repeated", "Message", "EntityId", "Bytes" }, new[]{ "Type" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction.Parser, new[]{ "Size", "Unique", "Signed", "Unsigned", "Float", "String", "EntityId", "Bytes" }, new[]{ "Type" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction.Parser, new[]{ "Limits", "Exclude" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction.Parser, new[]{ "Limits", "Exclude" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction.Parser, new[]{ "Limits", "Exclude" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction.Parser, new[]{ "Size", "Exclude" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Parser, new[]{ "Needed", "Kind" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction.Parser, new[]{ "Needed" }, null, null, null, null) + })); + } + #endregion + + } + /// Holder for extension identifiers generated from the top level of bgs/low/pb/client/global_extensions/field_options.proto + public static partial class FieldOptionsExtensions { + public static readonly pb::Extension FieldOptions_ = + new pb::Extension(90000, pb::FieldCodec.ForMessage(720002, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSFieldOptions.Parser)); + public static readonly pb::Extension Valid = + new pb::Extension(90001, pb::FieldCodec.ForMessage(720010, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldRestriction.Parser)); + } + + #region Enums + public enum LogOption { + [pbr::OriginalName("HIDDEN")] Hidden = 1, + [pbr::OriginalName("HEX")] Hex = 2, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BGSFieldOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BGSFieldOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSFieldOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSFieldOptions(BGSFieldOptions other) : this() { + _hasBits0 = other._hasBits0; + log_ = other.log_; + shardKey_ = other.shardKey_; + fanoutKey_ = other.fanoutKey_; + clientInstanceKey_ = other.clientInstanceKey_; + realizedEnum_ = other.realizedEnum_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSFieldOptions Clone() { + return new BGSFieldOptions(this); + } + + /// Field number for the "log" field. + public const int LogFieldNumber = 1; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption LogDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption.Hidden; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption log_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption Log { + get { if ((_hasBits0 & 1) != 0) { return log_; } else { return LogDefaultValue; } } + set { + _hasBits0 |= 1; + log_ = value; + } + } + /// Gets whether the "log" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLog { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "log" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLog() { + _hasBits0 &= ~1; + } + + /// Field number for the "shard_key" field. + public const int ShardKeyFieldNumber = 2; + private readonly static bool ShardKeyDefaultValue = false; + + private bool shardKey_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ShardKey { + get { if ((_hasBits0 & 2) != 0) { return shardKey_; } else { return ShardKeyDefaultValue; } } + set { + _hasBits0 |= 2; + shardKey_ = value; + } + } + /// Gets whether the "shard_key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShardKey { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "shard_key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShardKey() { + _hasBits0 &= ~2; + } + + /// Field number for the "fanout_key" field. + public const int FanoutKeyFieldNumber = 3; + private readonly static bool FanoutKeyDefaultValue = false; + + private bool fanoutKey_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FanoutKey { + get { if ((_hasBits0 & 4) != 0) { return fanoutKey_; } else { return FanoutKeyDefaultValue; } } + set { + _hasBits0 |= 4; + fanoutKey_ = value; + } + } + /// Gets whether the "fanout_key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFanoutKey { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "fanout_key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFanoutKey() { + _hasBits0 &= ~4; + } + + /// Field number for the "client_instance_key" field. + public const int ClientInstanceKeyFieldNumber = 4; + private readonly static bool ClientInstanceKeyDefaultValue = false; + + private bool clientInstanceKey_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ClientInstanceKey { + get { if ((_hasBits0 & 8) != 0) { return clientInstanceKey_; } else { return ClientInstanceKeyDefaultValue; } } + set { + _hasBits0 |= 8; + clientInstanceKey_ = value; + } + } + /// Gets whether the "client_instance_key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientInstanceKey { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "client_instance_key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientInstanceKey() { + _hasBits0 &= ~8; + } + + /// Field number for the "realized_enum" field. + public const int RealizedEnumFieldNumber = 5; + private readonly static string RealizedEnumDefaultValue = ""; + + private string realizedEnum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RealizedEnum { + get { return realizedEnum_ ?? RealizedEnumDefaultValue; } + set { + realizedEnum_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "realized_enum" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRealizedEnum { + get { return realizedEnum_ != null; } + } + /// Clears the value of the "realized_enum" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRealizedEnum() { + realizedEnum_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BGSFieldOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BGSFieldOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Log != other.Log) return false; + if (ShardKey != other.ShardKey) return false; + if (FanoutKey != other.FanoutKey) return false; + if (ClientInstanceKey != other.ClientInstanceKey) return false; + if (RealizedEnum != other.RealizedEnum) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasLog) hash ^= Log.GetHashCode(); + if (HasShardKey) hash ^= ShardKey.GetHashCode(); + if (HasFanoutKey) hash ^= FanoutKey.GetHashCode(); + if (HasClientInstanceKey) hash ^= ClientInstanceKey.GetHashCode(); + if (HasRealizedEnum) hash ^= RealizedEnum.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasLog) { + output.WriteRawTag(8); + output.WriteEnum((int) Log); + } + if (HasShardKey) { + output.WriteRawTag(16); + output.WriteBool(ShardKey); + } + if (HasFanoutKey) { + output.WriteRawTag(24); + output.WriteBool(FanoutKey); + } + if (HasClientInstanceKey) { + output.WriteRawTag(32); + output.WriteBool(ClientInstanceKey); + } + if (HasRealizedEnum) { + output.WriteRawTag(42); + output.WriteString(RealizedEnum); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasLog) { + output.WriteRawTag(8); + output.WriteEnum((int) Log); + } + if (HasShardKey) { + output.WriteRawTag(16); + output.WriteBool(ShardKey); + } + if (HasFanoutKey) { + output.WriteRawTag(24); + output.WriteBool(FanoutKey); + } + if (HasClientInstanceKey) { + output.WriteRawTag(32); + output.WriteBool(ClientInstanceKey); + } + if (HasRealizedEnum) { + output.WriteRawTag(42); + output.WriteString(RealizedEnum); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasLog) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Log); + } + if (HasShardKey) { + size += 1 + 1; + } + if (HasFanoutKey) { + size += 1 + 1; + } + if (HasClientInstanceKey) { + size += 1 + 1; + } + if (HasRealizedEnum) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RealizedEnum); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BGSFieldOptions other) { + if (other == null) { + return; + } + if (other.HasLog) { + Log = other.Log; + } + if (other.HasShardKey) { + ShardKey = other.ShardKey; + } + if (other.HasFanoutKey) { + FanoutKey = other.FanoutKey; + } + if (other.HasClientInstanceKey) { + ClientInstanceKey = other.ClientInstanceKey; + } + if (other.HasRealizedEnum) { + RealizedEnum = other.RealizedEnum; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Log = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption) input.ReadEnum(); + break; + } + case 16: { + ShardKey = input.ReadBool(); + break; + } + case 24: { + FanoutKey = input.ReadBool(); + break; + } + case 32: { + ClientInstanceKey = input.ReadBool(); + break; + } + case 42: { + RealizedEnum = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Log = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.LogOption) input.ReadEnum(); + break; + } + case 16: { + ShardKey = input.ReadBool(); + break; + } + case 24: { + FanoutKey = input.ReadBool(); + break; + } + case 32: { + ClientInstanceKey = input.ReadBool(); + break; + } + case 42: { + RealizedEnum = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldRestriction(FieldRestriction other) : this() { + switch (other.TypeCase) { + case TypeOneofCase.Signed: + Signed = other.Signed.Clone(); + break; + case TypeOneofCase.Unsigned: + Unsigned = other.Unsigned.Clone(); + break; + case TypeOneofCase.Float: + Float = other.Float.Clone(); + break; + case TypeOneofCase.String: + String = other.String.Clone(); + break; + case TypeOneofCase.Repeated: + Repeated = other.Repeated.Clone(); + break; + case TypeOneofCase.Message: + Message = other.Message.Clone(); + break; + case TypeOneofCase.EntityId: + EntityId = other.EntityId.Clone(); + break; + case TypeOneofCase.Bytes: + Bytes = other.Bytes.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FieldRestriction Clone() { + return new FieldRestriction(this); + } + + /// Field number for the "signed" field. + public const int SignedFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction Signed { + get { return typeCase_ == TypeOneofCase.Signed ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Signed; + } + } + + /// Field number for the "unsigned" field. + public const int UnsignedFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction Unsigned { + get { return typeCase_ == TypeOneofCase.Unsigned ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Unsigned; + } + } + + /// Field number for the "float" field. + public const int FloatFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction Float { + get { return typeCase_ == TypeOneofCase.Float ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Float; + } + } + + /// Field number for the "string" field. + public const int StringFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction String { + get { return typeCase_ == TypeOneofCase.String ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.String; + } + } + + /// Field number for the "repeated" field. + public const int RepeatedFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction Repeated { + get { return typeCase_ == TypeOneofCase.Repeated ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Repeated; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction Message { + get { return typeCase_ == TypeOneofCase.Message ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Message; + } + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 7; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction EntityId { + get { return typeCase_ == TypeOneofCase.EntityId ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.EntityId; + } + } + + /// Field number for the "bytes" field. + public const int BytesFieldNumber = 8; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction Bytes { + get { return typeCase_ == TypeOneofCase.Bytes ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Bytes; + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + Signed = 1, + Unsigned = 2, + Float = 3, + String = 4, + Repeated = 5, + Message = 6, + EntityId = 7, + Bytes = 8, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Signed, other.Signed)) return false; + if (!object.Equals(Unsigned, other.Unsigned)) return false; + if (!object.Equals(Float, other.Float)) return false; + if (!object.Equals(String, other.String)) return false; + if (!object.Equals(Repeated, other.Repeated)) return false; + if (!object.Equals(Message, other.Message)) return false; + if (!object.Equals(EntityId, other.EntityId)) return false; + if (!object.Equals(Bytes, other.Bytes)) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (typeCase_ == TypeOneofCase.Signed) hash ^= Signed.GetHashCode(); + if (typeCase_ == TypeOneofCase.Unsigned) hash ^= Unsigned.GetHashCode(); + if (typeCase_ == TypeOneofCase.Float) hash ^= Float.GetHashCode(); + if (typeCase_ == TypeOneofCase.String) hash ^= String.GetHashCode(); + if (typeCase_ == TypeOneofCase.Repeated) hash ^= Repeated.GetHashCode(); + if (typeCase_ == TypeOneofCase.Message) hash ^= Message.GetHashCode(); + if (typeCase_ == TypeOneofCase.EntityId) hash ^= EntityId.GetHashCode(); + if (typeCase_ == TypeOneofCase.Bytes) hash ^= Bytes.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (typeCase_ == TypeOneofCase.Signed) { + output.WriteRawTag(10); + output.WriteMessage(Signed); + } + if (typeCase_ == TypeOneofCase.Unsigned) { + output.WriteRawTag(18); + output.WriteMessage(Unsigned); + } + if (typeCase_ == TypeOneofCase.Float) { + output.WriteRawTag(26); + output.WriteMessage(Float); + } + if (typeCase_ == TypeOneofCase.String) { + output.WriteRawTag(34); + output.WriteMessage(String); + } + if (typeCase_ == TypeOneofCase.Repeated) { + output.WriteRawTag(42); + output.WriteMessage(Repeated); + } + if (typeCase_ == TypeOneofCase.Message) { + output.WriteRawTag(50); + output.WriteMessage(Message); + } + if (typeCase_ == TypeOneofCase.EntityId) { + output.WriteRawTag(58); + output.WriteMessage(EntityId); + } + if (typeCase_ == TypeOneofCase.Bytes) { + output.WriteRawTag(66); + output.WriteMessage(Bytes); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (typeCase_ == TypeOneofCase.Signed) { + output.WriteRawTag(10); + output.WriteMessage(Signed); + } + if (typeCase_ == TypeOneofCase.Unsigned) { + output.WriteRawTag(18); + output.WriteMessage(Unsigned); + } + if (typeCase_ == TypeOneofCase.Float) { + output.WriteRawTag(26); + output.WriteMessage(Float); + } + if (typeCase_ == TypeOneofCase.String) { + output.WriteRawTag(34); + output.WriteMessage(String); + } + if (typeCase_ == TypeOneofCase.Repeated) { + output.WriteRawTag(42); + output.WriteMessage(Repeated); + } + if (typeCase_ == TypeOneofCase.Message) { + output.WriteRawTag(50); + output.WriteMessage(Message); + } + if (typeCase_ == TypeOneofCase.EntityId) { + output.WriteRawTag(58); + output.WriteMessage(EntityId); + } + if (typeCase_ == TypeOneofCase.Bytes) { + output.WriteRawTag(66); + output.WriteMessage(Bytes); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (typeCase_ == TypeOneofCase.Signed) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Signed); + } + if (typeCase_ == TypeOneofCase.Unsigned) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unsigned); + } + if (typeCase_ == TypeOneofCase.Float) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Float); + } + if (typeCase_ == TypeOneofCase.String) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(String); + } + if (typeCase_ == TypeOneofCase.Repeated) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Repeated); + } + if (typeCase_ == TypeOneofCase.Message) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); + } + if (typeCase_ == TypeOneofCase.EntityId) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (typeCase_ == TypeOneofCase.Bytes) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bytes); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FieldRestriction other) { + if (other == null) { + return; + } + switch (other.TypeCase) { + case TypeOneofCase.Signed: + if (Signed == null) { + Signed = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction(); + } + Signed.MergeFrom(other.Signed); + break; + case TypeOneofCase.Unsigned: + if (Unsigned == null) { + Unsigned = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction(); + } + Unsigned.MergeFrom(other.Unsigned); + break; + case TypeOneofCase.Float: + if (Float == null) { + Float = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction(); + } + Float.MergeFrom(other.Float); + break; + case TypeOneofCase.String: + if (String == null) { + String = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + } + String.MergeFrom(other.String); + break; + case TypeOneofCase.Repeated: + if (Repeated == null) { + Repeated = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction(); + } + Repeated.MergeFrom(other.Repeated); + break; + case TypeOneofCase.Message: + if (Message == null) { + Message = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction(); + } + Message.MergeFrom(other.Message); + break; + case TypeOneofCase.EntityId: + if (EntityId == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction(); + } + EntityId.MergeFrom(other.EntityId); + break; + case TypeOneofCase.Bytes: + if (Bytes == null) { + Bytes = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + } + Bytes.MergeFrom(other.Bytes); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Signed) { + subBuilder.MergeFrom(Signed); + } + input.ReadMessage(subBuilder); + Signed = subBuilder; + break; + } + case 18: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Unsigned) { + subBuilder.MergeFrom(Unsigned); + } + input.ReadMessage(subBuilder); + Unsigned = subBuilder; + break; + } + case 26: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction(); + if (typeCase_ == TypeOneofCase.Float) { + subBuilder.MergeFrom(Float); + } + input.ReadMessage(subBuilder); + Float = subBuilder; + break; + } + case 34: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.String) { + subBuilder.MergeFrom(String); + } + input.ReadMessage(subBuilder); + String = subBuilder; + break; + } + case 42: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Repeated) { + subBuilder.MergeFrom(Repeated); + } + input.ReadMessage(subBuilder); + Repeated = subBuilder; + break; + } + case 50: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction(); + if (typeCase_ == TypeOneofCase.Message) { + subBuilder.MergeFrom(Message); + } + input.ReadMessage(subBuilder); + Message = subBuilder; + break; + } + case 58: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction(); + if (typeCase_ == TypeOneofCase.EntityId) { + subBuilder.MergeFrom(EntityId); + } + input.ReadMessage(subBuilder); + EntityId = subBuilder; + break; + } + case 66: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.Bytes) { + subBuilder.MergeFrom(Bytes); + } + input.ReadMessage(subBuilder); + Bytes = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Signed) { + subBuilder.MergeFrom(Signed); + } + input.ReadMessage(subBuilder); + Signed = subBuilder; + break; + } + case 18: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Unsigned) { + subBuilder.MergeFrom(Unsigned); + } + input.ReadMessage(subBuilder); + Unsigned = subBuilder; + break; + } + case 26: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction(); + if (typeCase_ == TypeOneofCase.Float) { + subBuilder.MergeFrom(Float); + } + input.ReadMessage(subBuilder); + Float = subBuilder; + break; + } + case 34: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.String) { + subBuilder.MergeFrom(String); + } + input.ReadMessage(subBuilder); + String = subBuilder; + break; + } + case 42: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RepeatedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Repeated) { + subBuilder.MergeFrom(Repeated); + } + input.ReadMessage(subBuilder); + Repeated = subBuilder; + break; + } + case 50: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageFieldRestriction(); + if (typeCase_ == TypeOneofCase.Message) { + subBuilder.MergeFrom(Message); + } + input.ReadMessage(subBuilder); + Message = subBuilder; + break; + } + case 58: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction(); + if (typeCase_ == TypeOneofCase.EntityId) { + subBuilder.MergeFrom(EntityId); + } + input.ReadMessage(subBuilder); + EntityId = subBuilder; + break; + } + case 66: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.Bytes) { + subBuilder.MergeFrom(Bytes); + } + input.ReadMessage(subBuilder); + Bytes = subBuilder; + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RepeatedFieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RepeatedFieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RepeatedFieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RepeatedFieldRestriction(RepeatedFieldRestriction other) : this() { + _hasBits0 = other._hasBits0; + size_ = other.size_ != null ? other.size_.Clone() : null; + unique_ = other.unique_; + switch (other.TypeCase) { + case TypeOneofCase.Signed: + Signed = other.Signed.Clone(); + break; + case TypeOneofCase.Unsigned: + Unsigned = other.Unsigned.Clone(); + break; + case TypeOneofCase.Float: + Float = other.Float.Clone(); + break; + case TypeOneofCase.String: + String = other.String.Clone(); + break; + case TypeOneofCase.EntityId: + EntityId = other.EntityId.Clone(); + break; + case TypeOneofCase.Bytes: + Bytes = other.Bytes.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RepeatedFieldRestriction Clone() { + return new RepeatedFieldRestriction(this); + } + + /// Field number for the "size" field. + public const int SizeFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange size_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Size { + get { return size_; } + set { + size_ = value; + } + } + + /// Field number for the "unique" field. + public const int UniqueFieldNumber = 2; + private readonly static bool UniqueDefaultValue = false; + + private bool unique_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unique { + get { if ((_hasBits0 & 1) != 0) { return unique_; } else { return UniqueDefaultValue; } } + set { + _hasBits0 |= 1; + unique_ = value; + } + } + /// Gets whether the "unique" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnique { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "unique" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnique() { + _hasBits0 &= ~1; + } + + /// Field number for the "signed" field. + public const int SignedFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction Signed { + get { return typeCase_ == TypeOneofCase.Signed ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Signed; + } + } + + /// Field number for the "unsigned" field. + public const int UnsignedFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction Unsigned { + get { return typeCase_ == TypeOneofCase.Unsigned ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Unsigned; + } + } + + /// Field number for the "float" field. + public const int FloatFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction Float { + get { return typeCase_ == TypeOneofCase.Float ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Float; + } + } + + /// Field number for the "string" field. + public const int StringFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction String { + get { return typeCase_ == TypeOneofCase.String ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.String; + } + } + + /// Field number for the "entity_id" field. + public const int EntityIdFieldNumber = 7; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction EntityId { + get { return typeCase_ == TypeOneofCase.EntityId ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.EntityId; + } + } + + /// Field number for the "bytes" field. + public const int BytesFieldNumber = 8; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction Bytes { + get { return typeCase_ == TypeOneofCase.Bytes ? (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Bytes; + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + Signed = 3, + Unsigned = 4, + Float = 5, + String = 6, + EntityId = 7, + Bytes = 8, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RepeatedFieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RepeatedFieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Size, other.Size)) return false; + if (Unique != other.Unique) return false; + if (!object.Equals(Signed, other.Signed)) return false; + if (!object.Equals(Unsigned, other.Unsigned)) return false; + if (!object.Equals(Float, other.Float)) return false; + if (!object.Equals(String, other.String)) return false; + if (!object.Equals(EntityId, other.EntityId)) return false; + if (!object.Equals(Bytes, other.Bytes)) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (size_ != null) hash ^= Size.GetHashCode(); + if (HasUnique) hash ^= Unique.GetHashCode(); + if (typeCase_ == TypeOneofCase.Signed) hash ^= Signed.GetHashCode(); + if (typeCase_ == TypeOneofCase.Unsigned) hash ^= Unsigned.GetHashCode(); + if (typeCase_ == TypeOneofCase.Float) hash ^= Float.GetHashCode(); + if (typeCase_ == TypeOneofCase.String) hash ^= String.GetHashCode(); + if (typeCase_ == TypeOneofCase.EntityId) hash ^= EntityId.GetHashCode(); + if (typeCase_ == TypeOneofCase.Bytes) hash ^= Bytes.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (size_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Size); + } + if (HasUnique) { + output.WriteRawTag(16); + output.WriteBool(Unique); + } + if (typeCase_ == TypeOneofCase.Signed) { + output.WriteRawTag(26); + output.WriteMessage(Signed); + } + if (typeCase_ == TypeOneofCase.Unsigned) { + output.WriteRawTag(34); + output.WriteMessage(Unsigned); + } + if (typeCase_ == TypeOneofCase.Float) { + output.WriteRawTag(42); + output.WriteMessage(Float); + } + if (typeCase_ == TypeOneofCase.String) { + output.WriteRawTag(50); + output.WriteMessage(String); + } + if (typeCase_ == TypeOneofCase.EntityId) { + output.WriteRawTag(58); + output.WriteMessage(EntityId); + } + if (typeCase_ == TypeOneofCase.Bytes) { + output.WriteRawTag(66); + output.WriteMessage(Bytes); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (size_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Size); + } + if (HasUnique) { + output.WriteRawTag(16); + output.WriteBool(Unique); + } + if (typeCase_ == TypeOneofCase.Signed) { + output.WriteRawTag(26); + output.WriteMessage(Signed); + } + if (typeCase_ == TypeOneofCase.Unsigned) { + output.WriteRawTag(34); + output.WriteMessage(Unsigned); + } + if (typeCase_ == TypeOneofCase.Float) { + output.WriteRawTag(42); + output.WriteMessage(Float); + } + if (typeCase_ == TypeOneofCase.String) { + output.WriteRawTag(50); + output.WriteMessage(String); + } + if (typeCase_ == TypeOneofCase.EntityId) { + output.WriteRawTag(58); + output.WriteMessage(EntityId); + } + if (typeCase_ == TypeOneofCase.Bytes) { + output.WriteRawTag(66); + output.WriteMessage(Bytes); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (size_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Size); + } + if (HasUnique) { + size += 1 + 1; + } + if (typeCase_ == TypeOneofCase.Signed) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Signed); + } + if (typeCase_ == TypeOneofCase.Unsigned) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unsigned); + } + if (typeCase_ == TypeOneofCase.Float) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Float); + } + if (typeCase_ == TypeOneofCase.String) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(String); + } + if (typeCase_ == TypeOneofCase.EntityId) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityId); + } + if (typeCase_ == TypeOneofCase.Bytes) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bytes); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RepeatedFieldRestriction other) { + if (other == null) { + return; + } + if (other.size_ != null) { + if (size_ == null) { + Size = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Size.MergeFrom(other.Size); + } + if (other.HasUnique) { + Unique = other.Unique; + } + switch (other.TypeCase) { + case TypeOneofCase.Signed: + if (Signed == null) { + Signed = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction(); + } + Signed.MergeFrom(other.Signed); + break; + case TypeOneofCase.Unsigned: + if (Unsigned == null) { + Unsigned = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction(); + } + Unsigned.MergeFrom(other.Unsigned); + break; + case TypeOneofCase.Float: + if (Float == null) { + Float = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction(); + } + Float.MergeFrom(other.Float); + break; + case TypeOneofCase.String: + if (String == null) { + String = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + } + String.MergeFrom(other.String); + break; + case TypeOneofCase.EntityId: + if (EntityId == null) { + EntityId = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction(); + } + EntityId.MergeFrom(other.EntityId); + break; + case TypeOneofCase.Bytes: + if (Bytes == null) { + Bytes = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + } + Bytes.MergeFrom(other.Bytes); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (size_ == null) { + Size = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Size); + break; + } + case 16: { + Unique = input.ReadBool(); + break; + } + case 26: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Signed) { + subBuilder.MergeFrom(Signed); + } + input.ReadMessage(subBuilder); + Signed = subBuilder; + break; + } + case 34: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Unsigned) { + subBuilder.MergeFrom(Unsigned); + } + input.ReadMessage(subBuilder); + Unsigned = subBuilder; + break; + } + case 42: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction(); + if (typeCase_ == TypeOneofCase.Float) { + subBuilder.MergeFrom(Float); + } + input.ReadMessage(subBuilder); + Float = subBuilder; + break; + } + case 50: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.String) { + subBuilder.MergeFrom(String); + } + input.ReadMessage(subBuilder); + String = subBuilder; + break; + } + case 58: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction(); + if (typeCase_ == TypeOneofCase.EntityId) { + subBuilder.MergeFrom(EntityId); + } + input.ReadMessage(subBuilder); + EntityId = subBuilder; + break; + } + case 66: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.Bytes) { + subBuilder.MergeFrom(Bytes); + } + input.ReadMessage(subBuilder); + Bytes = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (size_ == null) { + Size = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Size); + break; + } + case 16: { + Unique = input.ReadBool(); + break; + } + case 26: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Signed) { + subBuilder.MergeFrom(Signed); + } + input.ReadMessage(subBuilder); + Signed = subBuilder; + break; + } + case 34: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedFieldRestriction(); + if (typeCase_ == TypeOneofCase.Unsigned) { + subBuilder.MergeFrom(Unsigned); + } + input.ReadMessage(subBuilder); + Unsigned = subBuilder; + break; + } + case 42: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatFieldRestriction(); + if (typeCase_ == TypeOneofCase.Float) { + subBuilder.MergeFrom(Float); + } + input.ReadMessage(subBuilder); + Float = subBuilder; + break; + } + case 50: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.String) { + subBuilder.MergeFrom(String); + } + input.ReadMessage(subBuilder); + String = subBuilder; + break; + } + case 58: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction(); + if (typeCase_ == TypeOneofCase.EntityId) { + subBuilder.MergeFrom(EntityId); + } + input.ReadMessage(subBuilder); + EntityId = subBuilder; + break; + } + case 66: { + WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction subBuilder = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.StringFieldRestriction(); + if (typeCase_ == TypeOneofCase.Bytes) { + subBuilder.MergeFrom(Bytes); + } + input.ReadMessage(subBuilder); + Bytes = subBuilder; + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SignedFieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignedFieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignedFieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignedFieldRestriction(SignedFieldRestriction other) : this() { + limits_ = other.limits_ != null ? other.limits_.Clone() : null; + exclude_ = other.exclude_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignedFieldRestriction Clone() { + return new SignedFieldRestriction(this); + } + + /// Field number for the "limits" field. + public const int LimitsFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange limits_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange Limits { + get { return limits_; } + set { + limits_ = value; + } + } + + /// Field number for the "exclude" field. + public const int ExcludeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_exclude_codec + = pb::FieldCodec.ForSInt64(16); + private readonly pbc::RepeatedField exclude_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Exclude { + get { return exclude_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SignedFieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SignedFieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Limits, other.Limits)) return false; + if(!exclude_.Equals(other.exclude_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (limits_ != null) hash ^= Limits.GetHashCode(); + hash ^= exclude_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (limits_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Limits); + } + exclude_.WriteTo(output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (limits_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Limits); + } + exclude_.WriteTo(ref output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (limits_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Limits); + } + size += exclude_.CalculateSize(_repeated_exclude_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SignedFieldRestriction other) { + if (other == null) { + return; + } + if (other.limits_ != null) { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange(); + } + Limits.MergeFrom(other.Limits); + } + exclude_.Add(other.exclude_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange(); + } + input.ReadMessage(Limits); + break; + } + case 18: + case 16: { + exclude_.AddEntriesFrom(input, _repeated_exclude_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange(); + } + input.ReadMessage(Limits); + break; + } + case 18: + case 16: { + exclude_.AddEntriesFrom(ref input, _repeated_exclude_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsignedFieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsignedFieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsignedFieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsignedFieldRestriction(UnsignedFieldRestriction other) : this() { + limits_ = other.limits_ != null ? other.limits_.Clone() : null; + exclude_ = other.exclude_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsignedFieldRestriction Clone() { + return new UnsignedFieldRestriction(this); + } + + /// Field number for the "limits" field. + public const int LimitsFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange limits_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Limits { + get { return limits_; } + set { + limits_ = value; + } + } + + /// Field number for the "exclude" field. + public const int ExcludeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_exclude_codec + = pb::FieldCodec.ForUInt64(16); + private readonly pbc::RepeatedField exclude_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Exclude { + get { return exclude_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsignedFieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsignedFieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Limits, other.Limits)) return false; + if(!exclude_.Equals(other.exclude_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (limits_ != null) hash ^= Limits.GetHashCode(); + hash ^= exclude_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (limits_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Limits); + } + exclude_.WriteTo(output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (limits_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Limits); + } + exclude_.WriteTo(ref output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (limits_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Limits); + } + size += exclude_.CalculateSize(_repeated_exclude_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsignedFieldRestriction other) { + if (other == null) { + return; + } + if (other.limits_ != null) { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Limits.MergeFrom(other.Limits); + } + exclude_.Add(other.exclude_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Limits); + break; + } + case 18: + case 16: { + exclude_.AddEntriesFrom(input, _repeated_exclude_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Limits); + break; + } + case 18: + case 16: { + exclude_.AddEntriesFrom(ref input, _repeated_exclude_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FloatFieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FloatFieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloatFieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloatFieldRestriction(FloatFieldRestriction other) : this() { + limits_ = other.limits_ != null ? other.limits_.Clone() : null; + exclude_ = other.exclude_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloatFieldRestriction Clone() { + return new FloatFieldRestriction(this); + } + + /// Field number for the "limits" field. + public const int LimitsFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange limits_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange Limits { + get { return limits_; } + set { + limits_ = value; + } + } + + /// Field number for the "exclude" field. + public const int ExcludeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_exclude_codec + = pb::FieldCodec.ForFloat(21); + private readonly pbc::RepeatedField exclude_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Exclude { + get { return exclude_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FloatFieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FloatFieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Limits, other.Limits)) return false; + if(!exclude_.Equals(other.exclude_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (limits_ != null) hash ^= Limits.GetHashCode(); + hash ^= exclude_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (limits_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Limits); + } + exclude_.WriteTo(output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (limits_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Limits); + } + exclude_.WriteTo(ref output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (limits_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Limits); + } + size += exclude_.CalculateSize(_repeated_exclude_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FloatFieldRestriction other) { + if (other == null) { + return; + } + if (other.limits_ != null) { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange(); + } + Limits.MergeFrom(other.Limits); + } + exclude_.Add(other.exclude_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange(); + } + input.ReadMessage(Limits); + break; + } + case 18: + case 21: { + exclude_.AddEntriesFrom(input, _repeated_exclude_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (limits_ == null) { + Limits = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange(); + } + input.ReadMessage(Limits); + break; + } + case 18: + case 21: { + exclude_.AddEntriesFrom(ref input, _repeated_exclude_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StringFieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StringFieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringFieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringFieldRestriction(StringFieldRestriction other) : this() { + size_ = other.size_ != null ? other.size_.Clone() : null; + exclude_ = other.exclude_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringFieldRestriction Clone() { + return new StringFieldRestriction(this); + } + + /// Field number for the "size" field. + public const int SizeFieldNumber = 1; + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange size_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange Size { + get { return size_; } + set { + size_ = value; + } + } + + /// Field number for the "exclude" field. + public const int ExcludeFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_exclude_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField exclude_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Exclude { + get { return exclude_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StringFieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StringFieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Size, other.Size)) return false; + if(!exclude_.Equals(other.exclude_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (size_ != null) hash ^= Size.GetHashCode(); + hash ^= exclude_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (size_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Size); + } + exclude_.WriteTo(output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (size_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Size); + } + exclude_.WriteTo(ref output, _repeated_exclude_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (size_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Size); + } + size += exclude_.CalculateSize(_repeated_exclude_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StringFieldRestriction other) { + if (other == null) { + return; + } + if (other.size_ != null) { + if (size_ == null) { + Size = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + Size.MergeFrom(other.Size); + } + exclude_.Add(other.exclude_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (size_ == null) { + Size = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Size); + break; + } + case 18: { + exclude_.AddEntriesFrom(input, _repeated_exclude_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (size_ == null) { + Size = new WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange(); + } + input.ReadMessage(Size); + break; + } + case 18: { + exclude_.AddEntriesFrom(ref input, _repeated_exclude_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EntityIdRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityIdRestriction()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityIdRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityIdRestriction(EntityIdRestriction other) : this() { + _hasBits0 = other._hasBits0; + needed_ = other.needed_; + kind_ = other.kind_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityIdRestriction Clone() { + return new EntityIdRestriction(this); + } + + /// Field number for the "needed" field. + public const int NeededFieldNumber = 1; + private readonly static bool NeededDefaultValue = false; + + private bool needed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Needed { + get { if ((_hasBits0 & 1) != 0) { return needed_; } else { return NeededDefaultValue; } } + set { + _hasBits0 |= 1; + needed_ = value; + } + } + /// Gets whether the "needed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNeeded { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "needed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNeeded() { + _hasBits0 &= ~1; + } + + /// Field number for the "kind" field. + public const int KindFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind KindDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind.Any; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind kind_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind Kind { + get { if ((_hasBits0 & 2) != 0) { return kind_; } else { return KindDefaultValue; } } + set { + _hasBits0 |= 2; + kind_ = value; + } + } + /// Gets whether the "kind" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasKind { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "kind" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearKind() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EntityIdRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EntityIdRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Needed != other.Needed) return false; + if (Kind != other.Kind) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNeeded) hash ^= Needed.GetHashCode(); + if (HasKind) hash ^= Kind.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNeeded) { + output.WriteRawTag(8); + output.WriteBool(Needed); + } + if (HasKind) { + output.WriteRawTag(16); + output.WriteEnum((int) Kind); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNeeded) { + output.WriteRawTag(8); + output.WriteBool(Needed); + } + if (HasKind) { + output.WriteRawTag(16); + output.WriteEnum((int) Kind); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNeeded) { + size += 1 + 1; + } + if (HasKind) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EntityIdRestriction other) { + if (other == null) { + return; + } + if (other.HasNeeded) { + Needed = other.Needed; + } + if (other.HasKind) { + Kind = other.Kind; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Needed = input.ReadBool(); + break; + } + case 16: { + Kind = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Needed = input.ReadBool(); + break; + } + case 16: { + Kind = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.EntityIdRestriction.Types.Kind) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the EntityIdRestriction message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum Kind { + [pbr::OriginalName("ANY")] Any = 0, + [pbr::OriginalName("ACCOUNT")] Account = 1, + [pbr::OriginalName("GAME_ACCOUNT")] GameAccount = 2, + [pbr::OriginalName("ACCOUNT_OR_GAME_ACCOUNT")] AccountOrGameAccount = 3, + [pbr::OriginalName("SERVICE")] Service = 4, + [pbr::OriginalName("CHANNEL")] Channel = 5, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MessageFieldRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageFieldRestriction()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageFieldRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageFieldRestriction(MessageFieldRestriction other) : this() { + _hasBits0 = other._hasBits0; + needed_ = other.needed_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageFieldRestriction Clone() { + return new MessageFieldRestriction(this); + } + + /// Field number for the "needed" field. + public const int NeededFieldNumber = 1; + private readonly static bool NeededDefaultValue = false; + + private bool needed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Needed { + get { if ((_hasBits0 & 1) != 0) { return needed_; } else { return NeededDefaultValue; } } + set { + _hasBits0 |= 1; + needed_ = value; + } + } + /// Gets whether the "needed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNeeded { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "needed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNeeded() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MessageFieldRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MessageFieldRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Needed != other.Needed) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNeeded) hash ^= Needed.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNeeded) { + output.WriteRawTag(8); + output.WriteBool(Needed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNeeded) { + output.WriteRawTag(8); + output.WriteBool(Needed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNeeded) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MessageFieldRestriction other) { + if (other == null) { + return; + } + if (other.HasNeeded) { + Needed = other.Needed; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Needed = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Needed = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/MessageOptions.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/MessageOptions.cs new file mode 100644 index 0000000000..2bd7495fef --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/MessageOptions.cs @@ -0,0 +1,313 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/message_options.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/message_options.proto + public static partial class MessageOptionsReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/message_options.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MessageOptionsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXNzYWdl", + "X29wdGlvbnMucHJvdG8SDGJncy5wcm90b2NvbBogZ29vZ2xlL3Byb3RvYnVm", + "L2Rlc2NyaXB0b3IucHJvdG8iSgoRQkdTTWVzc2FnZU9wdGlvbnMSGwoTY3Vz", + "dG9tX3NlbGVjdF9zaGFyZBgBIAEoCBIYChBjdXN0b21fdmFsaWRhdG9yGAIg", + "ASgIOlsKD21lc3NhZ2Vfb3B0aW9ucxIfLmdvb2dsZS5wcm90b2J1Zi5NZXNz", + "YWdlT3B0aW9ucxiQvwUgASgLMh8uYmdzLnByb3RvY29sLkJHU01lc3NhZ2VP", + "cHRpb25zQiUKDGJncy5wcm90b2NvbEITTWVzc2FnZU9wdGlvbnNQcm90b0gB")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, new pb::Extension[] { MessageOptionsExtensions.MessageOptions_ }, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSMessageOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSMessageOptions.Parser, new[]{ "CustomSelectShard", "CustomValidator" }, null, null, null, null) + })); + } + #endregion + + } + /// Holder for extension identifiers generated from the top level of bgs/low/pb/client/global_extensions/message_options.proto + public static partial class MessageOptionsExtensions { + public static readonly pb::Extension MessageOptions_ = + new pb::Extension(90000, pb::FieldCodec.ForMessage(720002, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSMessageOptions.Parser)); + } + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BGSMessageOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BGSMessageOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MessageOptionsReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSMessageOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSMessageOptions(BGSMessageOptions other) : this() { + _hasBits0 = other._hasBits0; + customSelectShard_ = other.customSelectShard_; + customValidator_ = other.customValidator_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSMessageOptions Clone() { + return new BGSMessageOptions(this); + } + + /// Field number for the "custom_select_shard" field. + public const int CustomSelectShardFieldNumber = 1; + private readonly static bool CustomSelectShardDefaultValue = false; + + private bool customSelectShard_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CustomSelectShard { + get { if ((_hasBits0 & 1) != 0) { return customSelectShard_; } else { return CustomSelectShardDefaultValue; } } + set { + _hasBits0 |= 1; + customSelectShard_ = value; + } + } + /// Gets whether the "custom_select_shard" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCustomSelectShard { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "custom_select_shard" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCustomSelectShard() { + _hasBits0 &= ~1; + } + + /// Field number for the "custom_validator" field. + public const int CustomValidatorFieldNumber = 2; + private readonly static bool CustomValidatorDefaultValue = false; + + private bool customValidator_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CustomValidator { + get { if ((_hasBits0 & 2) != 0) { return customValidator_; } else { return CustomValidatorDefaultValue; } } + set { + _hasBits0 |= 2; + customValidator_ = value; + } + } + /// Gets whether the "custom_validator" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCustomValidator { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "custom_validator" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCustomValidator() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BGSMessageOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BGSMessageOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CustomSelectShard != other.CustomSelectShard) return false; + if (CustomValidator != other.CustomValidator) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCustomSelectShard) hash ^= CustomSelectShard.GetHashCode(); + if (HasCustomValidator) hash ^= CustomValidator.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCustomSelectShard) { + output.WriteRawTag(8); + output.WriteBool(CustomSelectShard); + } + if (HasCustomValidator) { + output.WriteRawTag(16); + output.WriteBool(CustomValidator); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCustomSelectShard) { + output.WriteRawTag(8); + output.WriteBool(CustomSelectShard); + } + if (HasCustomValidator) { + output.WriteRawTag(16); + output.WriteBool(CustomValidator); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCustomSelectShard) { + size += 1 + 1; + } + if (HasCustomValidator) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BGSMessageOptions other) { + if (other == null) { + return; + } + if (other.HasCustomSelectShard) { + CustomSelectShard = other.CustomSelectShard; + } + if (other.HasCustomValidator) { + CustomValidator = other.CustomValidator; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CustomSelectShard = input.ReadBool(); + break; + } + case 16: { + CustomValidator = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CustomSelectShard = input.ReadBool(); + break; + } + case 16: { + CustomValidator = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/MethodOptions.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/MethodOptions.cs new file mode 100644 index 0000000000..f8b93dfbc8 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/MethodOptions.cs @@ -0,0 +1,840 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/method_options.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/method_options.proto + public static partial class MethodOptionsReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/method_options.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MethodOptionsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjhiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rf", + "b3B0aW9ucy5wcm90bxIMYmdzLnByb3RvY29sGiBnb29nbGUvcHJvdG9idWYv", + "ZGVzY3JpcHRvci5wcm90bxoxYmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4", + "dGVuc2lvbnMvcm91dGluZy5wcm90bxo/YmdzL2xvdy9wYi9jbGllbnQvZ2xv", + "YmFsX2V4dGVuc2lvbnMvcmVnaXN0ZXJfbWV0aG9kX3R5cGVzLnByb3RvIqwD", + "ChBCR1NNZXRob2RPcHRpb25zEgoKAmlkGAEgASgNEkgKF2NsaWVudF9pZGVu", + "dGl0eV9yb3V0aW5nGAIgASgOMicuYmdzLnByb3RvY29sLkNsaWVudElkZW50", + "aXR5Um91dGluZ1R5cGUSFQoNZW5hYmxlX2Zhbm91dBgDIAEoCBIhChlsZWdh", + "Y3lfZmFub3V0X3JlcGxhY2VtZW50GAQgASgJEhMKC2ZvcndhcmRfa2V5GAUg", + "ASgJEhIKCmlkZW1wb3RlbnQYBiABKAgSJgoeaGFuZGxlX2Rlc3RpbmF0aW9u", + "X3VucmVhY2hhYmxlGAcgASgIEh4KFmN1c3RvbV9yZWdpb25fcmVzb2x2ZXIY", + "CCABKAkSHwoXZXhwbGljaXRfcmVnaW9uX3JvdXRpbmcYCSABKAgSEAoIb2Jz", + "b2xldGUYCiABKAgSRAoUY2xpZW50X3JlZ2lzdGVyX3R5cGUYCyABKA4yJi5i", + "Z3MucHJvdG9jb2wuQ2xpZW50UmVnaXN0ZXJNZXRob2RUeXBlEh4KFmZvcndh", + "cmRfa2V5X3Byb3RvX2ZpbGUYDCABKAk6WAoObWV0aG9kX29wdGlvbnMSHi5n", + "b29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiQvwUgASgLMh4uYmdzLnBy", + "b3RvY29sLkJHU01ldGhvZE9wdGlvbnNCJAoMYmdzLnByb3RvY29sQhJNZXRo", + "b2RPcHRpb25zUHJvdG9IAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RoutingReflection.Descriptor, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RegisterMethodTypesReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, new pb::Extension[] { MethodOptionsExtensions.MethodOptions_ }, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSMethodOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSMethodOptions.Parser, new[]{ "Id", "ClientIdentityRouting", "EnableFanout", "LegacyFanoutReplacement", "ForwardKey", "Idempotent", "HandleDestinationUnreachable", "CustomRegionResolver", "ExplicitRegionRouting", "Obsolete", "ClientRegisterType", "ForwardKeyProtoFile" }, null, null, null, null) + })); + } + #endregion + + } + /// Holder for extension identifiers generated from the top level of bgs/low/pb/client/global_extensions/method_options.proto + public static partial class MethodOptionsExtensions { + public static readonly pb::Extension MethodOptions_ = + new pb::Extension(90000, pb::FieldCodec.ForMessage(720002, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSMethodOptions.Parser)); + } + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BGSMethodOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BGSMethodOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.MethodOptionsReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSMethodOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSMethodOptions(BGSMethodOptions other) : this() { + _hasBits0 = other._hasBits0; + id_ = other.id_; + clientIdentityRouting_ = other.clientIdentityRouting_; + enableFanout_ = other.enableFanout_; + legacyFanoutReplacement_ = other.legacyFanoutReplacement_; + forwardKey_ = other.forwardKey_; + idempotent_ = other.idempotent_; + handleDestinationUnreachable_ = other.handleDestinationUnreachable_; + customRegionResolver_ = other.customRegionResolver_; + explicitRegionRouting_ = other.explicitRegionRouting_; + obsolete_ = other.obsolete_; + clientRegisterType_ = other.clientRegisterType_; + forwardKeyProtoFile_ = other.forwardKeyProtoFile_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSMethodOptions Clone() { + return new BGSMethodOptions(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + _hasBits0 &= ~1; + } + + /// Field number for the "client_identity_routing" field. + public const int ClientIdentityRoutingFieldNumber = 2; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType ClientIdentityRoutingDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType.ClientIdentityRoutingDisabled; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType clientIdentityRouting_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType ClientIdentityRouting { + get { if ((_hasBits0 & 2) != 0) { return clientIdentityRouting_; } else { return ClientIdentityRoutingDefaultValue; } } + set { + _hasBits0 |= 2; + clientIdentityRouting_ = value; + } + } + /// Gets whether the "client_identity_routing" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientIdentityRouting { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "client_identity_routing" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientIdentityRouting() { + _hasBits0 &= ~2; + } + + /// Field number for the "enable_fanout" field. + public const int EnableFanoutFieldNumber = 3; + private readonly static bool EnableFanoutDefaultValue = false; + + private bool enableFanout_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableFanout { + get { if ((_hasBits0 & 4) != 0) { return enableFanout_; } else { return EnableFanoutDefaultValue; } } + set { + _hasBits0 |= 4; + enableFanout_ = value; + } + } + /// Gets whether the "enable_fanout" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEnableFanout { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "enable_fanout" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEnableFanout() { + _hasBits0 &= ~4; + } + + /// Field number for the "legacy_fanout_replacement" field. + public const int LegacyFanoutReplacementFieldNumber = 4; + private readonly static string LegacyFanoutReplacementDefaultValue = ""; + + private string legacyFanoutReplacement_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LegacyFanoutReplacement { + get { return legacyFanoutReplacement_ ?? LegacyFanoutReplacementDefaultValue; } + set { + legacyFanoutReplacement_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "legacy_fanout_replacement" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLegacyFanoutReplacement { + get { return legacyFanoutReplacement_ != null; } + } + /// Clears the value of the "legacy_fanout_replacement" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLegacyFanoutReplacement() { + legacyFanoutReplacement_ = null; + } + + /// Field number for the "forward_key" field. + public const int ForwardKeyFieldNumber = 5; + private readonly static string ForwardKeyDefaultValue = ""; + + private string forwardKey_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ForwardKey { + get { return forwardKey_ ?? ForwardKeyDefaultValue; } + set { + forwardKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "forward_key" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasForwardKey { + get { return forwardKey_ != null; } + } + /// Clears the value of the "forward_key" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearForwardKey() { + forwardKey_ = null; + } + + /// Field number for the "idempotent" field. + public const int IdempotentFieldNumber = 6; + private readonly static bool IdempotentDefaultValue = false; + + private bool idempotent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Idempotent { + get { if ((_hasBits0 & 8) != 0) { return idempotent_; } else { return IdempotentDefaultValue; } } + set { + _hasBits0 |= 8; + idempotent_ = value; + } + } + /// Gets whether the "idempotent" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIdempotent { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "idempotent" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIdempotent() { + _hasBits0 &= ~8; + } + + /// Field number for the "handle_destination_unreachable" field. + public const int HandleDestinationUnreachableFieldNumber = 7; + private readonly static bool HandleDestinationUnreachableDefaultValue = false; + + private bool handleDestinationUnreachable_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HandleDestinationUnreachable { + get { if ((_hasBits0 & 16) != 0) { return handleDestinationUnreachable_; } else { return HandleDestinationUnreachableDefaultValue; } } + set { + _hasBits0 |= 16; + handleDestinationUnreachable_ = value; + } + } + /// Gets whether the "handle_destination_unreachable" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHandleDestinationUnreachable { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "handle_destination_unreachable" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHandleDestinationUnreachable() { + _hasBits0 &= ~16; + } + + /// Field number for the "custom_region_resolver" field. + public const int CustomRegionResolverFieldNumber = 8; + private readonly static string CustomRegionResolverDefaultValue = ""; + + private string customRegionResolver_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CustomRegionResolver { + get { return customRegionResolver_ ?? CustomRegionResolverDefaultValue; } + set { + customRegionResolver_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "custom_region_resolver" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCustomRegionResolver { + get { return customRegionResolver_ != null; } + } + /// Clears the value of the "custom_region_resolver" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCustomRegionResolver() { + customRegionResolver_ = null; + } + + /// Field number for the "explicit_region_routing" field. + public const int ExplicitRegionRoutingFieldNumber = 9; + private readonly static bool ExplicitRegionRoutingDefaultValue = false; + + private bool explicitRegionRouting_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ExplicitRegionRouting { + get { if ((_hasBits0 & 32) != 0) { return explicitRegionRouting_; } else { return ExplicitRegionRoutingDefaultValue; } } + set { + _hasBits0 |= 32; + explicitRegionRouting_ = value; + } + } + /// Gets whether the "explicit_region_routing" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExplicitRegionRouting { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "explicit_region_routing" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExplicitRegionRouting() { + _hasBits0 &= ~32; + } + + /// Field number for the "obsolete" field. + public const int ObsoleteFieldNumber = 10; + private readonly static bool ObsoleteDefaultValue = false; + + private bool obsolete_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Obsolete { + get { if ((_hasBits0 & 64) != 0) { return obsolete_; } else { return ObsoleteDefaultValue; } } + set { + _hasBits0 |= 64; + obsolete_ = value; + } + } + /// Gets whether the "obsolete" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasObsolete { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "obsolete" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObsolete() { + _hasBits0 &= ~64; + } + + /// Field number for the "client_register_type" field. + public const int ClientRegisterTypeFieldNumber = 11; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType ClientRegisterTypeDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType.RegisterClientNone; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType clientRegisterType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType ClientRegisterType { + get { if ((_hasBits0 & 128) != 0) { return clientRegisterType_; } else { return ClientRegisterTypeDefaultValue; } } + set { + _hasBits0 |= 128; + clientRegisterType_ = value; + } + } + /// Gets whether the "client_register_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClientRegisterType { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "client_register_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClientRegisterType() { + _hasBits0 &= ~128; + } + + /// Field number for the "forward_key_proto_file" field. + public const int ForwardKeyProtoFileFieldNumber = 12; + private readonly static string ForwardKeyProtoFileDefaultValue = ""; + + private string forwardKeyProtoFile_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ForwardKeyProtoFile { + get { return forwardKeyProtoFile_ ?? ForwardKeyProtoFileDefaultValue; } + set { + forwardKeyProtoFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "forward_key_proto_file" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasForwardKeyProtoFile { + get { return forwardKeyProtoFile_ != null; } + } + /// Clears the value of the "forward_key_proto_file" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearForwardKeyProtoFile() { + forwardKeyProtoFile_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BGSMethodOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BGSMethodOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ClientIdentityRouting != other.ClientIdentityRouting) return false; + if (EnableFanout != other.EnableFanout) return false; + if (LegacyFanoutReplacement != other.LegacyFanoutReplacement) return false; + if (ForwardKey != other.ForwardKey) return false; + if (Idempotent != other.Idempotent) return false; + if (HandleDestinationUnreachable != other.HandleDestinationUnreachable) return false; + if (CustomRegionResolver != other.CustomRegionResolver) return false; + if (ExplicitRegionRouting != other.ExplicitRegionRouting) return false; + if (Obsolete != other.Obsolete) return false; + if (ClientRegisterType != other.ClientRegisterType) return false; + if (ForwardKeyProtoFile != other.ForwardKeyProtoFile) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (HasClientIdentityRouting) hash ^= ClientIdentityRouting.GetHashCode(); + if (HasEnableFanout) hash ^= EnableFanout.GetHashCode(); + if (HasLegacyFanoutReplacement) hash ^= LegacyFanoutReplacement.GetHashCode(); + if (HasForwardKey) hash ^= ForwardKey.GetHashCode(); + if (HasIdempotent) hash ^= Idempotent.GetHashCode(); + if (HasHandleDestinationUnreachable) hash ^= HandleDestinationUnreachable.GetHashCode(); + if (HasCustomRegionResolver) hash ^= CustomRegionResolver.GetHashCode(); + if (HasExplicitRegionRouting) hash ^= ExplicitRegionRouting.GetHashCode(); + if (HasObsolete) hash ^= Obsolete.GetHashCode(); + if (HasClientRegisterType) hash ^= ClientRegisterType.GetHashCode(); + if (HasForwardKeyProtoFile) hash ^= ForwardKeyProtoFile.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasClientIdentityRouting) { + output.WriteRawTag(16); + output.WriteEnum((int) ClientIdentityRouting); + } + if (HasEnableFanout) { + output.WriteRawTag(24); + output.WriteBool(EnableFanout); + } + if (HasLegacyFanoutReplacement) { + output.WriteRawTag(34); + output.WriteString(LegacyFanoutReplacement); + } + if (HasForwardKey) { + output.WriteRawTag(42); + output.WriteString(ForwardKey); + } + if (HasIdempotent) { + output.WriteRawTag(48); + output.WriteBool(Idempotent); + } + if (HasHandleDestinationUnreachable) { + output.WriteRawTag(56); + output.WriteBool(HandleDestinationUnreachable); + } + if (HasCustomRegionResolver) { + output.WriteRawTag(66); + output.WriteString(CustomRegionResolver); + } + if (HasExplicitRegionRouting) { + output.WriteRawTag(72); + output.WriteBool(ExplicitRegionRouting); + } + if (HasObsolete) { + output.WriteRawTag(80); + output.WriteBool(Obsolete); + } + if (HasClientRegisterType) { + output.WriteRawTag(88); + output.WriteEnum((int) ClientRegisterType); + } + if (HasForwardKeyProtoFile) { + output.WriteRawTag(98); + output.WriteString(ForwardKeyProtoFile); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (HasClientIdentityRouting) { + output.WriteRawTag(16); + output.WriteEnum((int) ClientIdentityRouting); + } + if (HasEnableFanout) { + output.WriteRawTag(24); + output.WriteBool(EnableFanout); + } + if (HasLegacyFanoutReplacement) { + output.WriteRawTag(34); + output.WriteString(LegacyFanoutReplacement); + } + if (HasForwardKey) { + output.WriteRawTag(42); + output.WriteString(ForwardKey); + } + if (HasIdempotent) { + output.WriteRawTag(48); + output.WriteBool(Idempotent); + } + if (HasHandleDestinationUnreachable) { + output.WriteRawTag(56); + output.WriteBool(HandleDestinationUnreachable); + } + if (HasCustomRegionResolver) { + output.WriteRawTag(66); + output.WriteString(CustomRegionResolver); + } + if (HasExplicitRegionRouting) { + output.WriteRawTag(72); + output.WriteBool(ExplicitRegionRouting); + } + if (HasObsolete) { + output.WriteRawTag(80); + output.WriteBool(Obsolete); + } + if (HasClientRegisterType) { + output.WriteRawTag(88); + output.WriteEnum((int) ClientRegisterType); + } + if (HasForwardKeyProtoFile) { + output.WriteRawTag(98); + output.WriteString(ForwardKeyProtoFile); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (HasClientIdentityRouting) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ClientIdentityRouting); + } + if (HasEnableFanout) { + size += 1 + 1; + } + if (HasLegacyFanoutReplacement) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LegacyFanoutReplacement); + } + if (HasForwardKey) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ForwardKey); + } + if (HasIdempotent) { + size += 1 + 1; + } + if (HasHandleDestinationUnreachable) { + size += 1 + 1; + } + if (HasCustomRegionResolver) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CustomRegionResolver); + } + if (HasExplicitRegionRouting) { + size += 1 + 1; + } + if (HasObsolete) { + size += 1 + 1; + } + if (HasClientRegisterType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ClientRegisterType); + } + if (HasForwardKeyProtoFile) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ForwardKeyProtoFile); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BGSMethodOptions other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + if (other.HasClientIdentityRouting) { + ClientIdentityRouting = other.ClientIdentityRouting; + } + if (other.HasEnableFanout) { + EnableFanout = other.EnableFanout; + } + if (other.HasLegacyFanoutReplacement) { + LegacyFanoutReplacement = other.LegacyFanoutReplacement; + } + if (other.HasForwardKey) { + ForwardKey = other.ForwardKey; + } + if (other.HasIdempotent) { + Idempotent = other.Idempotent; + } + if (other.HasHandleDestinationUnreachable) { + HandleDestinationUnreachable = other.HandleDestinationUnreachable; + } + if (other.HasCustomRegionResolver) { + CustomRegionResolver = other.CustomRegionResolver; + } + if (other.HasExplicitRegionRouting) { + ExplicitRegionRouting = other.ExplicitRegionRouting; + } + if (other.HasObsolete) { + Obsolete = other.Obsolete; + } + if (other.HasClientRegisterType) { + ClientRegisterType = other.ClientRegisterType; + } + if (other.HasForwardKeyProtoFile) { + ForwardKeyProtoFile = other.ForwardKeyProtoFile; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 16: { + ClientIdentityRouting = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType) input.ReadEnum(); + break; + } + case 24: { + EnableFanout = input.ReadBool(); + break; + } + case 34: { + LegacyFanoutReplacement = input.ReadString(); + break; + } + case 42: { + ForwardKey = input.ReadString(); + break; + } + case 48: { + Idempotent = input.ReadBool(); + break; + } + case 56: { + HandleDestinationUnreachable = input.ReadBool(); + break; + } + case 66: { + CustomRegionResolver = input.ReadString(); + break; + } + case 72: { + ExplicitRegionRouting = input.ReadBool(); + break; + } + case 80: { + Obsolete = input.ReadBool(); + break; + } + case 88: { + ClientRegisterType = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType) input.ReadEnum(); + break; + } + case 98: { + ForwardKeyProtoFile = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt32(); + break; + } + case 16: { + ClientIdentityRouting = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType) input.ReadEnum(); + break; + } + case 24: { + EnableFanout = input.ReadBool(); + break; + } + case 34: { + LegacyFanoutReplacement = input.ReadString(); + break; + } + case 42: { + ForwardKey = input.ReadString(); + break; + } + case 48: { + Idempotent = input.ReadBool(); + break; + } + case 56: { + HandleDestinationUnreachable = input.ReadBool(); + break; + } + case 66: { + CustomRegionResolver = input.ReadString(); + break; + } + case 72: { + ExplicitRegionRouting = input.ReadBool(); + break; + } + case 80: { + Obsolete = input.ReadBool(); + break; + } + case 88: { + ClientRegisterType = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType) input.ReadEnum(); + break; + } + case 98: { + ForwardKeyProtoFile = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/Range.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/Range.cs new file mode 100644 index 0000000000..4af09a4e28 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/Range.cs @@ -0,0 +1,825 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/range.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/range.proto + public static partial class RangeReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/range.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RangeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci9iZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9yYW5nZS5w", + "cm90bxIMYmdzLnByb3RvY29sIiwKEFVuc2lnbmVkSW50UmFuZ2USCwoDbWlu", + "GAEgASgEEgsKA21heBgCIAEoBCIqCg5TaWduZWRJbnRSYW5nZRILCgNtaW4Y", + "ASABKAMSCwoDbWF4GAIgASgDIiYKCkZsb2F0UmFuZ2USCwoDbWluGAEgASgC", + "EgsKA21heBgCIAEoAkICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.UnsignedIntRange.Parser, new[]{ "Min", "Max" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SignedIntRange.Parser, new[]{ "Min", "Max" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.FloatRange.Parser, new[]{ "Min", "Max" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsignedIntRange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsignedIntRange()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RangeReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsignedIntRange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsignedIntRange(UnsignedIntRange other) : this() { + _hasBits0 = other._hasBits0; + min_ = other.min_; + max_ = other.max_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsignedIntRange Clone() { + return new UnsignedIntRange(this); + } + + /// Field number for the "min" field. + public const int MinFieldNumber = 1; + private readonly static ulong MinDefaultValue = 0UL; + + private ulong min_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Min { + get { if ((_hasBits0 & 1) != 0) { return min_; } else { return MinDefaultValue; } } + set { + _hasBits0 |= 1; + min_ = value; + } + } + /// Gets whether the "min" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMin { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "min" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMin() { + _hasBits0 &= ~1; + } + + /// Field number for the "max" field. + public const int MaxFieldNumber = 2; + private readonly static ulong MaxDefaultValue = 0UL; + + private ulong max_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Max { + get { if ((_hasBits0 & 2) != 0) { return max_; } else { return MaxDefaultValue; } } + set { + _hasBits0 |= 2; + max_ = value; + } + } + /// Gets whether the "max" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMax { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "max" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMax() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsignedIntRange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsignedIntRange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Min != other.Min) return false; + if (Max != other.Max) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMin) hash ^= Min.GetHashCode(); + if (HasMax) hash ^= Max.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMin) { + output.WriteRawTag(8); + output.WriteUInt64(Min); + } + if (HasMax) { + output.WriteRawTag(16); + output.WriteUInt64(Max); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMin) { + output.WriteRawTag(8); + output.WriteUInt64(Min); + } + if (HasMax) { + output.WriteRawTag(16); + output.WriteUInt64(Max); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMin) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Min); + } + if (HasMax) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Max); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsignedIntRange other) { + if (other == null) { + return; + } + if (other.HasMin) { + Min = other.Min; + } + if (other.HasMax) { + Max = other.Max; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Min = input.ReadUInt64(); + break; + } + case 16: { + Max = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Min = input.ReadUInt64(); + break; + } + case 16: { + Max = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SignedIntRange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignedIntRange()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RangeReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignedIntRange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignedIntRange(SignedIntRange other) : this() { + _hasBits0 = other._hasBits0; + min_ = other.min_; + max_ = other.max_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignedIntRange Clone() { + return new SignedIntRange(this); + } + + /// Field number for the "min" field. + public const int MinFieldNumber = 1; + private readonly static long MinDefaultValue = 0L; + + private long min_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Min { + get { if ((_hasBits0 & 1) != 0) { return min_; } else { return MinDefaultValue; } } + set { + _hasBits0 |= 1; + min_ = value; + } + } + /// Gets whether the "min" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMin { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "min" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMin() { + _hasBits0 &= ~1; + } + + /// Field number for the "max" field. + public const int MaxFieldNumber = 2; + private readonly static long MaxDefaultValue = 0L; + + private long max_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Max { + get { if ((_hasBits0 & 2) != 0) { return max_; } else { return MaxDefaultValue; } } + set { + _hasBits0 |= 2; + max_ = value; + } + } + /// Gets whether the "max" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMax { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "max" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMax() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SignedIntRange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SignedIntRange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Min != other.Min) return false; + if (Max != other.Max) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMin) hash ^= Min.GetHashCode(); + if (HasMax) hash ^= Max.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMin) { + output.WriteRawTag(8); + output.WriteInt64(Min); + } + if (HasMax) { + output.WriteRawTag(16); + output.WriteInt64(Max); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMin) { + output.WriteRawTag(8); + output.WriteInt64(Min); + } + if (HasMax) { + output.WriteRawTag(16); + output.WriteInt64(Max); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMin) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Min); + } + if (HasMax) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Max); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SignedIntRange other) { + if (other == null) { + return; + } + if (other.HasMin) { + Min = other.Min; + } + if (other.HasMax) { + Max = other.Max; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Min = input.ReadInt64(); + break; + } + case 16: { + Max = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Min = input.ReadInt64(); + break; + } + case 16: { + Max = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FloatRange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FloatRange()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.RangeReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloatRange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloatRange(FloatRange other) : this() { + _hasBits0 = other._hasBits0; + min_ = other.min_; + max_ = other.max_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloatRange Clone() { + return new FloatRange(this); + } + + /// Field number for the "min" field. + public const int MinFieldNumber = 1; + private readonly static float MinDefaultValue = 0F; + + private float min_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Min { + get { if ((_hasBits0 & 1) != 0) { return min_; } else { return MinDefaultValue; } } + set { + _hasBits0 |= 1; + min_ = value; + } + } + /// Gets whether the "min" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMin { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "min" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMin() { + _hasBits0 &= ~1; + } + + /// Field number for the "max" field. + public const int MaxFieldNumber = 2; + private readonly static float MaxDefaultValue = 0F; + + private float max_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Max { + get { if ((_hasBits0 & 2) != 0) { return max_; } else { return MaxDefaultValue; } } + set { + _hasBits0 |= 2; + max_ = value; + } + } + /// Gets whether the "max" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMax { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "max" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMax() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FloatRange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FloatRange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Min, other.Min)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Max, other.Max)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Min); + if (HasMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Max); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasMin) { + output.WriteRawTag(13); + output.WriteFloat(Min); + } + if (HasMax) { + output.WriteRawTag(21); + output.WriteFloat(Max); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasMin) { + output.WriteRawTag(13); + output.WriteFloat(Min); + } + if (HasMax) { + output.WriteRawTag(21); + output.WriteFloat(Max); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasMin) { + size += 1 + 4; + } + if (HasMax) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FloatRange other) { + if (other == null) { + return; + } + if (other.HasMin) { + Min = other.Min; + } + if (other.HasMax) { + Max = other.Max; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Min = input.ReadFloat(); + break; + } + case 21: { + Max = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Min = input.ReadFloat(); + break; + } + case 21: { + Max = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/RegisterMethodTypes.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/RegisterMethodTypes.cs new file mode 100644 index 0000000000..cd045c5955 --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/RegisterMethodTypes.cs @@ -0,0 +1,52 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/register_method_types.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/register_method_types.proto + public static partial class RegisterMethodTypesReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/register_method_types.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RegisterMethodTypesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cj9iZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9yZWdpc3Rl", + "cl9tZXRob2RfdHlwZXMucHJvdG8SDGJncy5wcm90b2NvbCqlAQoYQ2xpZW50", + "UmVnaXN0ZXJNZXRob2RUeXBlEhgKFFJFR0lTVEVSX0NMSUVOVF9OT05FEAAS", + "HgoaUkVHSVNURVJfQ0xJRU5UX1JFR0lTVEVSRUQQARIgChxSRUdJU1RFUl9D", + "TElFTlRfVU5SRUdJU1RFUkVEEAISLQopUkVHSVNURVJfQ0xJRU5UX1VOUkVH", + "SVNURVJFRF9OT1RJRklDQVRJT04QA0ICSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientRegisterMethodType), }, null, null)); + } + #endregion + + } + #region Enums + public enum ClientRegisterMethodType { + [pbr::OriginalName("REGISTER_CLIENT_NONE")] RegisterClientNone = 0, + [pbr::OriginalName("REGISTER_CLIENT_REGISTERED")] RegisterClientRegistered = 1, + [pbr::OriginalName("REGISTER_CLIENT_UNREGISTERED")] RegisterClientUnregistered = 2, + [pbr::OriginalName("REGISTER_CLIENT_UNREGISTERED_NOTIFICATION")] RegisterClientUnregisteredNotification = 3, + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/Routing.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/Routing.cs new file mode 100644 index 0000000000..0153e792ad --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/Routing.cs @@ -0,0 +1,52 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/routing.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/routing.proto + public static partial class RoutingReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/routing.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RoutingReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjFiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9yb3V0aW5n", + "LnByb3RvEgxiZ3MucHJvdG9jb2wqxAEKGUNsaWVudElkZW50aXR5Um91dGlu", + "Z1R5cGUSJAogQ0xJRU5UX0lERU5USVRZX1JPVVRJTkdfRElTQUJMRUQQABIu", + "CipDTElFTlRfSURFTlRJVFlfUk9VVElOR19CQVRUTEVfTkVUX0FDQ09VTlQQ", + "ARIoCiRDTElFTlRfSURFTlRJVFlfUk9VVElOR19HQU1FX0FDQ09VTlQQAhIn", + "CiNDTElFTlRfSURFTlRJVFlfUk9VVElOR19JTlNUQU5DRV9JRBADQgJIAQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ClientIdentityRoutingType), }, null, null)); + } + #endregion + + } + #region Enums + public enum ClientIdentityRoutingType { + [pbr::OriginalName("CLIENT_IDENTITY_ROUTING_DISABLED")] ClientIdentityRoutingDisabled = 0, + [pbr::OriginalName("CLIENT_IDENTITY_ROUTING_BATTLE_NET_ACCOUNT")] ClientIdentityRoutingBattleNetAccount = 1, + [pbr::OriginalName("CLIENT_IDENTITY_ROUTING_GAME_ACCOUNT")] ClientIdentityRoutingGameAccount = 2, + [pbr::OriginalName("CLIENT_IDENTITY_ROUTING_INSTANCE_ID")] ClientIdentityRoutingInstanceId = 3, + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/ServiceOptions.cs b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/ServiceOptions.cs new file mode 100644 index 0000000000..b96f2ec18b --- /dev/null +++ b/WowPacketParserModule.V10_0_0_46181/Protos/V10_2_0_52649/bgs/low/pb/client/global_extensions/ServiceOptions.cs @@ -0,0 +1,909 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: bgs/low/pb/client/global_extensions/service_options.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol { + + /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/service_options.proto + public static partial class ServiceOptionsReflection { + + #region Descriptor + /// File descriptor for bgs/low/pb/client/global_extensions/service_options.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ServiceOptionsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9zZXJ2aWNl", + "X29wdGlvbnMucHJvdG8SDGJncy5wcm90b2NvbBogZ29vZ2xlL3Byb3RvYnVm", + "L2Rlc2NyaXB0b3IucHJvdG8izgIKEUJHU1NlcnZpY2VPcHRpb25zEhcKD2Rl", + "c2NyaXB0b3JfbmFtZRgBIAEoCRIPCgd2ZXJzaW9uGAQgASgNEhIKCnNoYXJk", + "X25hbWUYBSABKAkSHwoXcmVzb2x2ZV9jbGllbnRfaW5zdGFuY2UYBiABKAgS", + "OQoEdHlwZRgHIAEoDjIrLmJncy5wcm90b2NvbC5CR1NTZXJ2aWNlT3B0aW9u", + "cy5TZXJ2aWNlVHlwZRIQCghhcGlfdHlwZRgIIAEoCRIRCglpc19nbG9iYWwY", + "CSABKAgiegoLU2VydmljZVR5cGUSFAoQU0VSVklDRV9UWVBFX1JQQxAAEhsK", + "F1NFUlZJQ0VfVFlQRV9SUENfRElSRUNUEAESFgoSU0VSVklDRV9UWVBFX0VW", + "RU5UEAISIAocU0VSVklDRV9UWVBFX0VWRU5UX0JST0FEQ0FTVBADIk0KEVNE", + "S1NlcnZpY2VPcHRpb25zEg8KB2luYm91bmQYASABKAgSEAoIb3V0Ym91bmQY", + "AiABKAgSFQoNdXNlX2NsaWVudF9pZBgDIAEoCDpbCg9zZXJ2aWNlX29wdGlv", + "bnMSHy5nb29nbGUucHJvdG9idWYuU2VydmljZU9wdGlvbnMYkL8FIAEoCzIf", + "LmJncy5wcm90b2NvbC5CR1NTZXJ2aWNlT3B0aW9uczpfChNzZGtfc2Vydmlj", + "ZV9vcHRpb25zEh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zGJG/", + "BSABKAsyHy5iZ3MucHJvdG9jb2wuU0RLU2VydmljZU9wdGlvbnNCJQoMYmdz", + "LnByb3RvY29sQhNTZXJ2aWNlT3B0aW9uc1Byb3RvSAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, new pb::Extension[] { ServiceOptionsExtensions.ServiceOptions_, ServiceOptionsExtensions.SdkServiceOptions }, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Parser, new[]{ "DescriptorName", "Version", "ShardName", "ResolveClientInstance", "Type", "ApiType", "IsGlobal" }, null, new[]{ typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SDKServiceOptions), WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SDKServiceOptions.Parser, new[]{ "Inbound", "Outbound", "UseClientId" }, null, null, null, null) + })); + } + #endregion + + } + /// Holder for extension identifiers generated from the top level of bgs/low/pb/client/global_extensions/service_options.proto + public static partial class ServiceOptionsExtensions { + public static readonly pb::Extension ServiceOptions_ = + new pb::Extension(90000, pb::FieldCodec.ForMessage(720002, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Parser)); + public static readonly pb::Extension SdkServiceOptions = + new pb::Extension(90001, pb::FieldCodec.ForMessage(720010, WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.SDKServiceOptions.Parser)); + } + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BGSServiceOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BGSServiceOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ServiceOptionsReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSServiceOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSServiceOptions(BGSServiceOptions other) : this() { + _hasBits0 = other._hasBits0; + descriptorName_ = other.descriptorName_; + version_ = other.version_; + shardName_ = other.shardName_; + resolveClientInstance_ = other.resolveClientInstance_; + type_ = other.type_; + apiType_ = other.apiType_; + isGlobal_ = other.isGlobal_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BGSServiceOptions Clone() { + return new BGSServiceOptions(this); + } + + /// Field number for the "descriptor_name" field. + public const int DescriptorNameFieldNumber = 1; + private readonly static string DescriptorNameDefaultValue = ""; + + private string descriptorName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescriptorName { + get { return descriptorName_ ?? DescriptorNameDefaultValue; } + set { + descriptorName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "descriptor_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescriptorName { + get { return descriptorName_ != null; } + } + /// Clears the value of the "descriptor_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescriptorName() { + descriptorName_ = null; + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 4; + private readonly static uint VersionDefaultValue = 0; + + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { if ((_hasBits0 & 1) != 0) { return version_; } else { return VersionDefaultValue; } } + set { + _hasBits0 |= 1; + version_ = value; + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + _hasBits0 &= ~1; + } + + /// Field number for the "shard_name" field. + public const int ShardNameFieldNumber = 5; + private readonly static string ShardNameDefaultValue = ""; + + private string shardName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ShardName { + get { return shardName_ ?? ShardNameDefaultValue; } + set { + shardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "shard_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShardName { + get { return shardName_ != null; } + } + /// Clears the value of the "shard_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShardName() { + shardName_ = null; + } + + /// Field number for the "resolve_client_instance" field. + public const int ResolveClientInstanceFieldNumber = 6; + private readonly static bool ResolveClientInstanceDefaultValue = false; + + private bool resolveClientInstance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ResolveClientInstance { + get { if ((_hasBits0 & 2) != 0) { return resolveClientInstance_; } else { return ResolveClientInstanceDefaultValue; } } + set { + _hasBits0 |= 2; + resolveClientInstance_ = value; + } + } + /// Gets whether the "resolve_client_instance" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasResolveClientInstance { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "resolve_client_instance" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResolveClientInstance() { + _hasBits0 &= ~2; + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 7; + private readonly static WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType TypeDefaultValue = WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType.Rpc; + + private WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType Type { + get { if ((_hasBits0 & 4) != 0) { return type_; } else { return TypeDefaultValue; } } + set { + _hasBits0 |= 4; + type_ = value; + } + } + /// Gets whether the "type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasType { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + _hasBits0 &= ~4; + } + + /// Field number for the "api_type" field. + public const int ApiTypeFieldNumber = 8; + private readonly static string ApiTypeDefaultValue = ""; + + private string apiType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ApiType { + get { return apiType_ ?? ApiTypeDefaultValue; } + set { + apiType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "api_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasApiType { + get { return apiType_ != null; } + } + /// Clears the value of the "api_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearApiType() { + apiType_ = null; + } + + /// Field number for the "is_global" field. + public const int IsGlobalFieldNumber = 9; + private readonly static bool IsGlobalDefaultValue = false; + + private bool isGlobal_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsGlobal { + get { if ((_hasBits0 & 8) != 0) { return isGlobal_; } else { return IsGlobalDefaultValue; } } + set { + _hasBits0 |= 8; + isGlobal_ = value; + } + } + /// Gets whether the "is_global" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsGlobal { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "is_global" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsGlobal() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BGSServiceOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BGSServiceOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DescriptorName != other.DescriptorName) return false; + if (Version != other.Version) return false; + if (ShardName != other.ShardName) return false; + if (ResolveClientInstance != other.ResolveClientInstance) return false; + if (Type != other.Type) return false; + if (ApiType != other.ApiType) return false; + if (IsGlobal != other.IsGlobal) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasDescriptorName) hash ^= DescriptorName.GetHashCode(); + if (HasVersion) hash ^= Version.GetHashCode(); + if (HasShardName) hash ^= ShardName.GetHashCode(); + if (HasResolveClientInstance) hash ^= ResolveClientInstance.GetHashCode(); + if (HasType) hash ^= Type.GetHashCode(); + if (HasApiType) hash ^= ApiType.GetHashCode(); + if (HasIsGlobal) hash ^= IsGlobal.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasDescriptorName) { + output.WriteRawTag(10); + output.WriteString(DescriptorName); + } + if (HasVersion) { + output.WriteRawTag(32); + output.WriteUInt32(Version); + } + if (HasShardName) { + output.WriteRawTag(42); + output.WriteString(ShardName); + } + if (HasResolveClientInstance) { + output.WriteRawTag(48); + output.WriteBool(ResolveClientInstance); + } + if (HasType) { + output.WriteRawTag(56); + output.WriteEnum((int) Type); + } + if (HasApiType) { + output.WriteRawTag(66); + output.WriteString(ApiType); + } + if (HasIsGlobal) { + output.WriteRawTag(72); + output.WriteBool(IsGlobal); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasDescriptorName) { + output.WriteRawTag(10); + output.WriteString(DescriptorName); + } + if (HasVersion) { + output.WriteRawTag(32); + output.WriteUInt32(Version); + } + if (HasShardName) { + output.WriteRawTag(42); + output.WriteString(ShardName); + } + if (HasResolveClientInstance) { + output.WriteRawTag(48); + output.WriteBool(ResolveClientInstance); + } + if (HasType) { + output.WriteRawTag(56); + output.WriteEnum((int) Type); + } + if (HasApiType) { + output.WriteRawTag(66); + output.WriteString(ApiType); + } + if (HasIsGlobal) { + output.WriteRawTag(72); + output.WriteBool(IsGlobal); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasDescriptorName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescriptorName); + } + if (HasVersion) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (HasShardName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ShardName); + } + if (HasResolveClientInstance) { + size += 1 + 1; + } + if (HasType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (HasApiType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ApiType); + } + if (HasIsGlobal) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BGSServiceOptions other) { + if (other == null) { + return; + } + if (other.HasDescriptorName) { + DescriptorName = other.DescriptorName; + } + if (other.HasVersion) { + Version = other.Version; + } + if (other.HasShardName) { + ShardName = other.ShardName; + } + if (other.HasResolveClientInstance) { + ResolveClientInstance = other.ResolveClientInstance; + } + if (other.HasType) { + Type = other.Type; + } + if (other.HasApiType) { + ApiType = other.ApiType; + } + if (other.HasIsGlobal) { + IsGlobal = other.IsGlobal; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DescriptorName = input.ReadString(); + break; + } + case 32: { + Version = input.ReadUInt32(); + break; + } + case 42: { + ShardName = input.ReadString(); + break; + } + case 48: { + ResolveClientInstance = input.ReadBool(); + break; + } + case 56: { + Type = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType) input.ReadEnum(); + break; + } + case 66: { + ApiType = input.ReadString(); + break; + } + case 72: { + IsGlobal = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DescriptorName = input.ReadString(); + break; + } + case 32: { + Version = input.ReadUInt32(); + break; + } + case 42: { + ShardName = input.ReadString(); + break; + } + case 48: { + ResolveClientInstance = input.ReadBool(); + break; + } + case 56: { + Type = (WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.BGSServiceOptions.Types.ServiceType) input.ReadEnum(); + break; + } + case 66: { + ApiType = input.ReadString(); + break; + } + case 72: { + IsGlobal = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BGSServiceOptions message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum ServiceType { + [pbr::OriginalName("SERVICE_TYPE_RPC")] Rpc = 0, + [pbr::OriginalName("SERVICE_TYPE_RPC_DIRECT")] RpcDirect = 1, + [pbr::OriginalName("SERVICE_TYPE_EVENT")] Event = 2, + [pbr::OriginalName("SERVICE_TYPE_EVENT_BROADCAST")] EventBroadcast = 3, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SDKServiceOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SDKServiceOptions()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return WowPacketParserModule.V10_0_0_46181.Protos.V10_2_0_52649.Bgs.Protocol.ServiceOptionsReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SDKServiceOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SDKServiceOptions(SDKServiceOptions other) : this() { + _hasBits0 = other._hasBits0; + inbound_ = other.inbound_; + outbound_ = other.outbound_; + useClientId_ = other.useClientId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SDKServiceOptions Clone() { + return new SDKServiceOptions(this); + } + + /// Field number for the "inbound" field. + public const int InboundFieldNumber = 1; + private readonly static bool InboundDefaultValue = false; + + private bool inbound_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Inbound { + get { if ((_hasBits0 & 1) != 0) { return inbound_; } else { return InboundDefaultValue; } } + set { + _hasBits0 |= 1; + inbound_ = value; + } + } + /// Gets whether the "inbound" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasInbound { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "inbound" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearInbound() { + _hasBits0 &= ~1; + } + + /// Field number for the "outbound" field. + public const int OutboundFieldNumber = 2; + private readonly static bool OutboundDefaultValue = false; + + private bool outbound_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Outbound { + get { if ((_hasBits0 & 2) != 0) { return outbound_; } else { return OutboundDefaultValue; } } + set { + _hasBits0 |= 2; + outbound_ = value; + } + } + /// Gets whether the "outbound" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasOutbound { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "outbound" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearOutbound() { + _hasBits0 &= ~2; + } + + /// Field number for the "use_client_id" field. + public const int UseClientIdFieldNumber = 3; + private readonly static bool UseClientIdDefaultValue = false; + + private bool useClientId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool UseClientId { + get { if ((_hasBits0 & 4) != 0) { return useClientId_; } else { return UseClientIdDefaultValue; } } + set { + _hasBits0 |= 4; + useClientId_ = value; + } + } + /// Gets whether the "use_client_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUseClientId { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "use_client_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUseClientId() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SDKServiceOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SDKServiceOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Inbound != other.Inbound) return false; + if (Outbound != other.Outbound) return false; + if (UseClientId != other.UseClientId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasInbound) hash ^= Inbound.GetHashCode(); + if (HasOutbound) hash ^= Outbound.GetHashCode(); + if (HasUseClientId) hash ^= UseClientId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasInbound) { + output.WriteRawTag(8); + output.WriteBool(Inbound); + } + if (HasOutbound) { + output.WriteRawTag(16); + output.WriteBool(Outbound); + } + if (HasUseClientId) { + output.WriteRawTag(24); + output.WriteBool(UseClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasInbound) { + output.WriteRawTag(8); + output.WriteBool(Inbound); + } + if (HasOutbound) { + output.WriteRawTag(16); + output.WriteBool(Outbound); + } + if (HasUseClientId) { + output.WriteRawTag(24); + output.WriteBool(UseClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasInbound) { + size += 1 + 1; + } + if (HasOutbound) { + size += 1 + 1; + } + if (HasUseClientId) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SDKServiceOptions other) { + if (other == null) { + return; + } + if (other.HasInbound) { + Inbound = other.Inbound; + } + if (other.HasOutbound) { + Outbound = other.Outbound; + } + if (other.HasUseClientId) { + UseClientId = other.UseClientId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Inbound = input.ReadBool(); + break; + } + case 16: { + Outbound = input.ReadBool(); + break; + } + case 24: { + UseClientId = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Inbound = input.ReadBool(); + break; + } + case 16: { + Outbound = input.ReadBool(); + break; + } + case 24: { + UseClientId = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/WowPacketParserModule.V6_0_2_19033/Parsers/SessionHandler.cs b/WowPacketParserModule.V6_0_2_19033/Parsers/SessionHandler.cs index b930c992e2..c5a63bb353 100644 --- a/WowPacketParserModule.V6_0_2_19033/Parsers/SessionHandler.cs +++ b/WowPacketParserModule.V6_0_2_19033/Parsers/SessionHandler.cs @@ -377,41 +377,6 @@ public static void HandleBattlenetChallengeAbort(Packet packet) packet.ReadBit("Timeout"); } - public static void ReadMethodCall(Packet packet, params object[] idx) - { - packet.ReadUInt64("Type", idx); - packet.ReadUInt64("ObjectId", idx); - packet.ReadUInt32("Token", idx); - } - - [Parser(Opcode.CMSG_BATTLENET_REQUEST)] - public static void HandleBattlenetRequest(Packet packet) - { - ReadMethodCall(packet, "Method"); - - int protoSize = packet.ReadInt32(); - packet.ReadBytesTable("Data", protoSize); - } - - [Parser(Opcode.SMSG_BATTLENET_NOTIFICATION)] - public static void HandleBattlenetNotification(Packet packet) - { - ReadMethodCall(packet, "Method"); - - int protoSize = packet.ReadInt32(); - packet.ReadBytesTable("Data", protoSize); - } - - [Parser(Opcode.SMSG_BATTLENET_RESPONSE)] - public static void HandleBattlenetResponse(Packet packet) - { - packet.ReadInt32E("BnetStatus"); - ReadMethodCall(packet, "Method"); - - int protoSize = packet.ReadInt32(); - packet.ReadBytesTable("Data", protoSize); - } - [Parser(Opcode.SMSG_BATTLE_NET_CONNECTION_STATUS)] public static void HandleBattleNetConnectionStatus(Packet packet) {