// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: bgs/low/pb/client/user_manager_service.proto // #pragma warning disable 1591, 0612, 3021 #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 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", "aWVudC9lbnRpdHlfdHlwZXMucHJvdG8aImJncy9sb3cvcGIvY2xpZW50L3Jv", "bGVfdHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3JwY190eXBlcy5w", "cm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWVz", "c2FnZV9vcHRpb25zLnByb3RvGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxf", "ZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjhiZ3MvbG93L3BiL2Ns", "aWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rfb3B0aW9ucy5wcm90bxo5", "YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvc2VydmljZV9v", "cHRpb25zLnByb3RvIk8KEFN1YnNjcmliZVJlcXVlc3QSKAoIYWdlbnRfaWQY", "ASABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSEQoJb2JqZWN0X2lkGAIg", "AigEIr8BChFTdWJzY3JpYmVSZXNwb25zZRJECg9ibG9ja2VkX3BsYXllcnMY", "ASADKAsyKy5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLkJsb2NrZWRQ", "bGF5ZXISQgoOcmVjZW50X3BsYXllcnMYAiADKAsyKi5iZ3MucHJvdG9jb2wu", "dXNlcl9tYW5hZ2VyLnYxLlJlY2VudFBsYXllchIgCgRyb2xlGAMgAygLMhIu", "YmdzLnByb3RvY29sLlJvbGUiUQoSVW5zdWJzY3JpYmVSZXF1ZXN0EigKCGFn", "ZW50X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEhEKCW9iamVj", "dF9pZBgCIAEoBCKRAQoXQWRkUmVjZW50UGxheWVyc1JlcXVlc3QSOwoHcGxh", "eWVycxgBIAMoCzIqLmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuUmVj", "ZW50UGxheWVyEigKCGFnZW50X2lkGAIgASgLMhYuYmdzLnByb3RvY29sLkVu", "dGl0eUlkEg8KB3Byb2dyYW0YAyABKA0iVgoZQ2xlYXJSZWNlbnRQbGF5ZXJz", "UmVxdWVzdBIoCghhZ2VudF9pZBgBIAEoCzIWLmJncy5wcm90b2NvbC5FbnRp", "dHlJZBIPCgdwcm9ncmFtGAIgASgNIncKEkJsb2NrUGxheWVyUmVxdWVzdBIo", "CghhZ2VudF9pZBgBIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIpCgl0", "YXJnZXRfaWQYAiACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSDAoEcm9s", "ZRgDIAEoDSJrChRVbmJsb2NrUGxheWVyUmVxdWVzdBIoCghhZ2VudF9pZBgB", "IAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIpCgl0YXJnZXRfaWQYAiAC", "KAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQiugEKHkJsb2NrZWRQbGF5ZXJB", "ZGRlZE5vdGlmaWNhdGlvbhI7CgZwbGF5ZXIYASACKAsyKy5iZ3MucHJvdG9j", "b2wudXNlcl9tYW5hZ2VyLnYxLkJsb2NrZWRQbGF5ZXISLwoPZ2FtZV9hY2Nv", "dW50X2lkGAIgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEioKCmFjY291", "bnRfaWQYAyABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQivAEKIEJsb2Nr", "ZWRQbGF5ZXJSZW1vdmVkTm90aWZpY2F0aW9uEjsKBnBsYXllchgBIAIoCzIr", "LmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuQmxvY2tlZFBsYXllchIv", "Cg9nYW1lX2FjY291bnRfaWQYAiABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5", "SWQSKgoKYWNjb3VudF9pZBgDIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJ", "ZCJcCh5SZWNlbnRQbGF5ZXJzQWRkZWROb3RpZmljYXRpb24SOgoGcGxheWVy", "GAEgAygLMiouYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5SZWNlbnRQ", "bGF5ZXIiXgogUmVjZW50UGxheWVyc1JlbW92ZWROb3RpZmljYXRpb24SOgoG", "cGxheWVyGAEgAygLMiouYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5S", "ZWNlbnRQbGF5ZXIytwYKElVzZXJNYW5hZ2VyU2VydmljZRJ0CglTdWJzY3Jp", "YmUSLi5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlN1YnNjcmliZVJl", "cXVlc3QaLy5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlN1YnNjcmli", "ZVJlc3BvbnNlIgaC+SsCCAESZwoQQWRkUmVjZW50UGxheWVycxI1LmJncy5w", "cm90b2NvbC51c2VyX21hbmFnZXIudjEuQWRkUmVjZW50UGxheWVyc1JlcXVl", "c3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCAoSawoSQ2xlYXJSZWNl", "bnRQbGF5ZXJzEjcuYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5DbGVh", "clJlY2VudFBsYXllcnNSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIG", "gvkrAggLEl0KC0Jsb2NrUGxheWVyEjAuYmdzLnByb3RvY29sLnVzZXJfbWFu", "YWdlci52MS5CbG9ja1BsYXllclJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9E", "YXRhIgaC+SsCCBQSYQoNVW5ibG9ja1BsYXllchIyLmJncy5wcm90b2NvbC51", "c2VyX21hbmFnZXIudjEuVW5ibG9ja1BsYXllclJlcXVlc3QaFC5iZ3MucHJv", "dG9jb2wuTm9EYXRhIgaC+SsCCBUSZwoVQmxvY2tQbGF5ZXJGb3JTZXNzaW9u", "EjAuYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5CbG9ja1BsYXllclJl", "cXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCCgSXQoLVW5zdWJz", "Y3JpYmUSMC5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlVuc3Vic2Ny", "aWJlUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiBoL5KwIIMxpLgvkr", "LwotYm5ldC5wcm90b2NvbC51c2VyX21hbmFnZXIuVXNlck1hbmFnZXJTZXJ2", "aWNlgvkrDioMdXNlcl9tYW5hZ2VyivkrAhABMrsEChNVc2VyTWFuYWdlckxp", "c3RlbmVyEncKFE9uQmxvY2tlZFBsYXllckFkZGVkEjwuYmdzLnByb3RvY29s", "LnVzZXJfbWFuYWdlci52MS5CbG9ja2VkUGxheWVyQWRkZWROb3RpZmljYXRp", "b24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIARJ7ChZPbkJs", "b2NrZWRQbGF5ZXJSZW1vdmVkEj4uYmdzLnByb3RvY29sLnVzZXJfbWFuYWdl", "ci52MS5CbG9ja2VkUGxheWVyUmVtb3ZlZE5vdGlmaWNhdGlvbhoZLmJncy5w", "cm90b2NvbC5OT19SRVNQT05TRSIGgvkrAggCEncKFE9uUmVjZW50UGxheWVy", "c0FkZGVkEjwuYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5SZWNlbnRQ", "bGF5ZXJzQWRkZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVT", "UE9OU0UiBoL5KwIICxJ7ChZPblJlY2VudFBsYXllcnNSZW1vdmVkEj4uYmdz", "LnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5SZWNlbnRQbGF5ZXJzUmVtb3Zl", "ZE5vdGlmaWNhdGlvbhoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkr", "AggMGjiC+SsuCixibmV0LnByb3RvY29sLnVzZXJfbWFuYWdlci5Vc2VyTWFu", "YWdlck5vdGlmeYr5KwIIAUIDgAEA")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Bgs.Protocol.UserManager.V1.UserManagerTypesReflection.Descriptor, global::Bgs.Protocol.EntityTypesReflection.Descriptor, global::Bgs.Protocol.RoleTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.SubscribeRequest), global::Bgs.Protocol.UserManager.V1.SubscribeRequest.Parser, new[]{ "AgentId", "ObjectId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.SubscribeResponse), global::Bgs.Protocol.UserManager.V1.SubscribeResponse.Parser, new[]{ "BlockedPlayers", "RecentPlayers", "Role" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.UnsubscribeRequest), global::Bgs.Protocol.UserManager.V1.UnsubscribeRequest.Parser, new[]{ "AgentId", "ObjectId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.AddRecentPlayersRequest), global::Bgs.Protocol.UserManager.V1.AddRecentPlayersRequest.Parser, new[]{ "Players", "AgentId", "Program" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.ClearRecentPlayersRequest), global::Bgs.Protocol.UserManager.V1.ClearRecentPlayersRequest.Parser, new[]{ "AgentId", "Program" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.BlockPlayerRequest), global::Bgs.Protocol.UserManager.V1.BlockPlayerRequest.Parser, new[]{ "AgentId", "TargetId", "Role" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.UnblockPlayerRequest), global::Bgs.Protocol.UserManager.V1.UnblockPlayerRequest.Parser, new[]{ "AgentId", "TargetId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.BlockedPlayerAddedNotification), global::Bgs.Protocol.UserManager.V1.BlockedPlayerAddedNotification.Parser, new[]{ "Player", "GameAccountId", "AccountId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.BlockedPlayerRemovedNotification), global::Bgs.Protocol.UserManager.V1.BlockedPlayerRemovedNotification.Parser, new[]{ "Player", "GameAccountId", "AccountId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.RecentPlayersAddedNotification), global::Bgs.Protocol.UserManager.V1.RecentPlayersAddedNotification.Parser, new[]{ "Player" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UserManager.V1.RecentPlayersRemovedNotification), global::Bgs.Protocol.UserManager.V1.RecentPlayersRemovedNotification.Parser, new[]{ "Player" }, null, null, null, null) })); } #endregion } #region Messages public sealed partial class SubscribeRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SubscribeRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SubscribeRequest(SubscribeRequest other) : this() { _hasBits0 = other._hasBits0; agentId_ = other.HasAgentId ? other.agentId_.Clone() : null; objectId_ = other.objectId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SubscribeRequest Clone() { return new SubscribeRequest(this); } /// Field number for the "agent_id" field. public const int AgentIdFieldNumber = 1; private global::Bgs.Protocol.EntityId agentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AgentId { get { return agentId_; } set { agentId_ = value; } } /// Gets whether the agent_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAgentId { get { return agentId_ != null; } } /// Clears the value of the agent_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAgentId() { agentId_ = null; } /// 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] 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] public bool HasObjectId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "object_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearObjectId() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SubscribeRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; if (HasAgentId) hash ^= AgentId.GetHashCode(); if (HasObjectId) hash ^= ObjectId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasAgentId) { output.WriteRawTag(10); output.WriteMessage(AgentId); } if (HasObjectId) { output.WriteRawTag(16); output.WriteUInt64(ObjectId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasAgentId) { 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] public void MergeFrom(SubscribeRequest other) { if (other == null) { return; } if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasObjectId) { ObjectId = other.ObjectId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AgentId); break; } case 16: { ObjectId = input.ReadUInt64(); break; } } } } } public sealed partial class SubscribeResponse : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SubscribeResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SubscribeResponse(SubscribeResponse other) : this() { blockedPlayers_ = other.blockedPlayers_.Clone(); recentPlayers_ = other.recentPlayers_.Clone(); role_ = other.role_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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, global::Bgs.Protocol.UserManager.V1.BlockedPlayer.Parser); private readonly pbc::RepeatedField blockedPlayers_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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, global::Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); private readonly pbc::RepeatedField recentPlayers_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField RecentPlayers { get { return recentPlayers_; } } /// Field number for the "role" field. public const int RoleFieldNumber = 3; private static readonly pb::FieldCodec _repeated_role_codec = pb::FieldCodec.ForMessage(26, global::Bgs.Protocol.Role.Parser); private readonly pbc::RepeatedField role_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Role { get { return role_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SubscribeResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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; if(!role_.Equals(other.role_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; hash ^= blockedPlayers_.GetHashCode(); hash ^= recentPlayers_.GetHashCode(); hash ^= role_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { blockedPlayers_.WriteTo(output, _repeated_blockedPlayers_codec); recentPlayers_.WriteTo(output, _repeated_recentPlayers_codec); role_.WriteTo(output, _repeated_role_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; size += blockedPlayers_.CalculateSize(_repeated_blockedPlayers_codec); size += recentPlayers_.CalculateSize(_repeated_recentPlayers_codec); size += role_.CalculateSize(_repeated_role_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(SubscribeResponse other) { if (other == null) { return; } blockedPlayers_.Add(other.blockedPlayers_); recentPlayers_.Add(other.recentPlayers_); role_.Add(other.role_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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; } case 26: { role_.AddEntriesFrom(input, _repeated_role_codec); break; } } } } } public sealed partial class UnsubscribeRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnsubscribeRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnsubscribeRequest(UnsubscribeRequest other) : this() { _hasBits0 = other._hasBits0; agentId_ = other.HasAgentId ? other.agentId_.Clone() : null; objectId_ = other.objectId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnsubscribeRequest Clone() { return new UnsubscribeRequest(this); } /// Field number for the "agent_id" field. public const int AgentIdFieldNumber = 1; private global::Bgs.Protocol.EntityId agentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AgentId { get { return agentId_; } set { agentId_ = value; } } /// Gets whether the agent_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAgentId { get { return agentId_ != null; } } /// Clears the value of the agent_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAgentId() { agentId_ = null; } /// 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] 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] public bool HasObjectId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "object_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearObjectId() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as UnsubscribeRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; if (HasAgentId) hash ^= AgentId.GetHashCode(); if (HasObjectId) hash ^= ObjectId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasAgentId) { output.WriteRawTag(10); output.WriteMessage(AgentId); } if (HasObjectId) { output.WriteRawTag(16); output.WriteUInt64(ObjectId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasAgentId) { 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] public void MergeFrom(UnsubscribeRequest other) { if (other == null) { return; } if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasObjectId) { ObjectId = other.ObjectId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AgentId); break; } case 16: { ObjectId = input.ReadUInt64(); break; } } } } } public sealed partial class AddRecentPlayersRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddRecentPlayersRequest()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public AddRecentPlayersRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public AddRecentPlayersRequest(AddRecentPlayersRequest other) : this() { _hasBits0 = other._hasBits0; players_ = other.players_.Clone(); agentId_ = other.HasAgentId ? other.agentId_.Clone() : null; program_ = other.program_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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, global::Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); private readonly pbc::RepeatedField players_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Players { get { return players_; } } /// Field number for the "agent_id" field. public const int AgentIdFieldNumber = 2; private global::Bgs.Protocol.EntityId agentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AgentId { get { return agentId_; } set { agentId_ = value; } } /// Gets whether the agent_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAgentId { get { return agentId_ != null; } } /// Clears the value of the agent_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAgentId() { agentId_ = null; } /// Field number for the "program" field. public const int ProgramFieldNumber = 3; private readonly static uint ProgramDefaultValue = 0; private uint program_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public bool HasProgram { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "program" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearProgram() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as AddRecentPlayersRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; hash ^= players_.GetHashCode(); if (HasAgentId) hash ^= AgentId.GetHashCode(); if (HasProgram) hash ^= Program.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { players_.WriteTo(output, _repeated_players_codec); if (HasAgentId) { output.WriteRawTag(18); output.WriteMessage(AgentId); } if (HasProgram) { output.WriteRawTag(24); output.WriteUInt32(Program); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; size += players_.CalculateSize(_repeated_players_codec); if (HasAgentId) { 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] public void MergeFrom(AddRecentPlayersRequest other) { if (other == null) { return; } players_.Add(other.players_); if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasProgram) { Program = other.Program; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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 (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AgentId); break; } case 24: { Program = input.ReadUInt32(); break; } } } } } public sealed partial class ClearRecentPlayersRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClearRecentPlayersRequest()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClearRecentPlayersRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClearRecentPlayersRequest(ClearRecentPlayersRequest other) : this() { _hasBits0 = other._hasBits0; agentId_ = other.HasAgentId ? other.agentId_.Clone() : null; program_ = other.program_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClearRecentPlayersRequest Clone() { return new ClearRecentPlayersRequest(this); } /// Field number for the "agent_id" field. public const int AgentIdFieldNumber = 1; private global::Bgs.Protocol.EntityId agentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AgentId { get { return agentId_; } set { agentId_ = value; } } /// Gets whether the agent_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAgentId { get { return agentId_ != null; } } /// Clears the value of the agent_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAgentId() { agentId_ = null; } /// Field number for the "program" field. public const int ProgramFieldNumber = 2; private readonly static uint ProgramDefaultValue = 0; private uint program_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public bool HasProgram { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "program" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearProgram() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClearRecentPlayersRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; if (HasAgentId) hash ^= AgentId.GetHashCode(); if (HasProgram) hash ^= Program.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasAgentId) { output.WriteRawTag(10); output.WriteMessage(AgentId); } if (HasProgram) { output.WriteRawTag(16); output.WriteUInt32(Program); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasAgentId) { 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] public void MergeFrom(ClearRecentPlayersRequest other) { if (other == null) { return; } if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasProgram) { Program = other.Program; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AgentId); break; } case 16: { Program = input.ReadUInt32(); break; } } } } } public sealed partial class BlockPlayerRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockPlayerRequest()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockPlayerRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockPlayerRequest(BlockPlayerRequest other) : this() { _hasBits0 = other._hasBits0; agentId_ = other.HasAgentId ? other.agentId_.Clone() : null; targetId_ = other.HasTargetId ? other.targetId_.Clone() : null; role_ = other.role_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockPlayerRequest Clone() { return new BlockPlayerRequest(this); } /// Field number for the "agent_id" field. public const int AgentIdFieldNumber = 1; private global::Bgs.Protocol.EntityId agentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AgentId { get { return agentId_; } set { agentId_ = value; } } /// Gets whether the agent_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAgentId { get { return agentId_ != null; } } /// Clears the value of the agent_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAgentId() { agentId_ = null; } /// Field number for the "target_id" field. public const int TargetIdFieldNumber = 2; private global::Bgs.Protocol.EntityId targetId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId TargetId { get { return targetId_; } set { targetId_ = value; } } /// Gets whether the target_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTargetId { get { return targetId_ != null; } } /// Clears the value of the target_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTargetId() { targetId_ = 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] 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] public bool HasRole { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "role" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearRole() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BlockPlayerRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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; if (Role != other.Role) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasAgentId) hash ^= AgentId.GetHashCode(); if (HasTargetId) hash ^= TargetId.GetHashCode(); if (HasRole) hash ^= Role.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasAgentId) { output.WriteRawTag(10); output.WriteMessage(AgentId); } if (HasTargetId) { output.WriteRawTag(18); output.WriteMessage(TargetId); } if (HasRole) { output.WriteRawTag(24); output.WriteUInt32(Role); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasAgentId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); } if (HasTargetId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); } if (HasRole) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Role); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BlockPlayerRequest other) { if (other == null) { return; } if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasTargetId) { if (!HasTargetId) { TargetId = new global::Bgs.Protocol.EntityId(); } TargetId.MergeFrom(other.TargetId); } if (other.HasRole) { Role = other.Role; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AgentId); break; } case 18: { if (!HasTargetId) { TargetId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(TargetId); break; } case 24: { Role = input.ReadUInt32(); break; } } } } } public sealed partial class UnblockPlayerRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnblockPlayerRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnblockPlayerRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnblockPlayerRequest(UnblockPlayerRequest other) : this() { agentId_ = other.HasAgentId ? other.agentId_.Clone() : null; targetId_ = other.HasTargetId ? other.targetId_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnblockPlayerRequest Clone() { return new UnblockPlayerRequest(this); } /// Field number for the "agent_id" field. public const int AgentIdFieldNumber = 1; private global::Bgs.Protocol.EntityId agentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AgentId { get { return agentId_; } set { agentId_ = value; } } /// Gets whether the agent_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAgentId { get { return agentId_ != null; } } /// Clears the value of the agent_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAgentId() { agentId_ = null; } /// Field number for the "target_id" field. public const int TargetIdFieldNumber = 2; private global::Bgs.Protocol.EntityId targetId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId TargetId { get { return targetId_; } set { targetId_ = value; } } /// Gets whether the target_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTargetId { get { return targetId_ != null; } } /// Clears the value of the target_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTargetId() { targetId_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as UnblockPlayerRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; if (HasAgentId) hash ^= AgentId.GetHashCode(); if (HasTargetId) hash ^= TargetId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasAgentId) { output.WriteRawTag(10); output.WriteMessage(AgentId); } if (HasTargetId) { output.WriteRawTag(18); output.WriteMessage(TargetId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasAgentId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId); } if (HasTargetId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(UnblockPlayerRequest other) { if (other == null) { return; } if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasTargetId) { if (!HasTargetId) { TargetId = new global::Bgs.Protocol.EntityId(); } TargetId.MergeFrom(other.TargetId); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AgentId); break; } case 18: { if (!HasTargetId) { TargetId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(TargetId); break; } } } } } public sealed partial class BlockedPlayerAddedNotification : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockedPlayerAddedNotification()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockedPlayerAddedNotification() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockedPlayerAddedNotification(BlockedPlayerAddedNotification other) : this() { player_ = other.HasPlayer ? other.player_.Clone() : null; gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null; accountId_ = other.HasAccountId ? other.accountId_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockedPlayerAddedNotification Clone() { return new BlockedPlayerAddedNotification(this); } /// Field number for the "player" field. public const int PlayerFieldNumber = 1; private global::Bgs.Protocol.UserManager.V1.BlockedPlayer player_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UserManager.V1.BlockedPlayer Player { get { return player_; } set { player_ = value; } } /// Gets whether the player field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasPlayer { get { return player_ != null; } } /// Clears the value of the player field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearPlayer() { player_ = null; } /// Field number for the "game_account_id" field. public const int GameAccountIdFieldNumber = 2; private global::Bgs.Protocol.EntityId gameAccountId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId GameAccountId { get { return gameAccountId_; } set { gameAccountId_ = value; } } /// Gets whether the game_account_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasGameAccountId { get { return gameAccountId_ != null; } } /// Clears the value of the game_account_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearGameAccountId() { gameAccountId_ = null; } /// Field number for the "account_id" field. public const int AccountIdFieldNumber = 3; private global::Bgs.Protocol.EntityId accountId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AccountId { get { return accountId_; } set { accountId_ = value; } } /// Gets whether the account_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAccountId { get { return accountId_ != null; } } /// Clears the value of the account_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAccountId() { accountId_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BlockedPlayerAddedNotification); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; if (HasPlayer) hash ^= Player.GetHashCode(); if (HasGameAccountId) hash ^= GameAccountId.GetHashCode(); if (HasAccountId) hash ^= AccountId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasPlayer) { output.WriteRawTag(10); output.WriteMessage(Player); } if (HasGameAccountId) { output.WriteRawTag(18); output.WriteMessage(GameAccountId); } if (HasAccountId) { output.WriteRawTag(26); output.WriteMessage(AccountId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasPlayer) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player); } if (HasGameAccountId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); } if (HasAccountId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BlockedPlayerAddedNotification other) { if (other == null) { return; } if (other.HasPlayer) { if (!HasPlayer) { Player = new global::Bgs.Protocol.UserManager.V1.BlockedPlayer(); } Player.MergeFrom(other.Player); } if (other.HasGameAccountId) { if (!HasGameAccountId) { GameAccountId = new global::Bgs.Protocol.EntityId(); } GameAccountId.MergeFrom(other.GameAccountId); } if (other.HasAccountId) { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.EntityId(); } AccountId.MergeFrom(other.AccountId); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasPlayer) { Player = new global::Bgs.Protocol.UserManager.V1.BlockedPlayer(); } input.ReadMessage(Player); break; } case 18: { if (!HasGameAccountId) { GameAccountId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(GameAccountId); break; } case 26: { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AccountId); break; } } } } } public sealed partial class BlockedPlayerRemovedNotification : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockedPlayerRemovedNotification()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockedPlayerRemovedNotification() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockedPlayerRemovedNotification(BlockedPlayerRemovedNotification other) : this() { player_ = other.HasPlayer ? other.player_.Clone() : null; gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null; accountId_ = other.HasAccountId ? other.accountId_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BlockedPlayerRemovedNotification Clone() { return new BlockedPlayerRemovedNotification(this); } /// Field number for the "player" field. public const int PlayerFieldNumber = 1; private global::Bgs.Protocol.UserManager.V1.BlockedPlayer player_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UserManager.V1.BlockedPlayer Player { get { return player_; } set { player_ = value; } } /// Gets whether the player field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasPlayer { get { return player_ != null; } } /// Clears the value of the player field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearPlayer() { player_ = null; } /// Field number for the "game_account_id" field. public const int GameAccountIdFieldNumber = 2; private global::Bgs.Protocol.EntityId gameAccountId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId GameAccountId { get { return gameAccountId_; } set { gameAccountId_ = value; } } /// Gets whether the game_account_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasGameAccountId { get { return gameAccountId_ != null; } } /// Clears the value of the game_account_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearGameAccountId() { gameAccountId_ = null; } /// Field number for the "account_id" field. public const int AccountIdFieldNumber = 3; private global::Bgs.Protocol.EntityId accountId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.EntityId AccountId { get { return accountId_; } set { accountId_ = value; } } /// Gets whether the account_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAccountId { get { return accountId_ != null; } } /// Clears the value of the account_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAccountId() { accountId_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BlockedPlayerRemovedNotification); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; if (HasPlayer) hash ^= Player.GetHashCode(); if (HasGameAccountId) hash ^= GameAccountId.GetHashCode(); if (HasAccountId) hash ^= AccountId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasPlayer) { output.WriteRawTag(10); output.WriteMessage(Player); } if (HasGameAccountId) { output.WriteRawTag(18); output.WriteMessage(GameAccountId); } if (HasAccountId) { output.WriteRawTag(26); output.WriteMessage(AccountId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasPlayer) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player); } if (HasGameAccountId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId); } if (HasAccountId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BlockedPlayerRemovedNotification other) { if (other == null) { return; } if (other.HasPlayer) { if (!HasPlayer) { Player = new global::Bgs.Protocol.UserManager.V1.BlockedPlayer(); } Player.MergeFrom(other.Player); } if (other.HasGameAccountId) { if (!HasGameAccountId) { GameAccountId = new global::Bgs.Protocol.EntityId(); } GameAccountId.MergeFrom(other.GameAccountId); } if (other.HasAccountId) { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.EntityId(); } AccountId.MergeFrom(other.AccountId); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (!HasPlayer) { Player = new global::Bgs.Protocol.UserManager.V1.BlockedPlayer(); } input.ReadMessage(Player); break; } case 18: { if (!HasGameAccountId) { GameAccountId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(GameAccountId); break; } case 26: { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.EntityId(); } input.ReadMessage(AccountId); break; } } } } } public sealed partial class RecentPlayersAddedNotification : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecentPlayersAddedNotification()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public RecentPlayersAddedNotification() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public RecentPlayersAddedNotification(RecentPlayersAddedNotification other) : this() { player_ = other.player_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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, global::Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); private readonly pbc::RepeatedField player_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Player { get { return player_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as RecentPlayersAddedNotification); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; hash ^= player_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { player_.WriteTo(output, _repeated_player_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; size += player_.CalculateSize(_repeated_player_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(RecentPlayersAddedNotification other) { if (other == null) { return; } player_.Add(other.player_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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; } } } } } public sealed partial class RecentPlayersRemovedNotification : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecentPlayersRemovedNotification()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.UserManager.V1.UserManagerServiceReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public RecentPlayersRemovedNotification() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public RecentPlayersRemovedNotification(RecentPlayersRemovedNotification other) : this() { player_ = other.player_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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, global::Bgs.Protocol.UserManager.V1.RecentPlayer.Parser); private readonly pbc::RepeatedField player_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Player { get { return player_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as RecentPlayersRemovedNotification); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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] public override int GetHashCode() { int hash = 1; hash ^= player_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { player_.WriteTo(output, _repeated_player_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; size += player_.CalculateSize(_repeated_player_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(RecentPlayersRemovedNotification other) { if (other == null) { return; } player_.Add(other.player_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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; } } } } } #endregion } #endregion Designer generated code