//
// 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 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",
"Y190eXBlcy5wcm90bxo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVu",
"c2lvbnMvZmllbGRfb3B0aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQv",
"Z2xvYmFsX2V4dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3RvGjhiZ3Mv",
"bG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rfb3B0aW9u",
"cy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMv",
"c2VydmljZV9vcHRpb25zLnByb3RvIlcKEFN1YnNjcmliZVJlcXVlc3QSMAoI",
"YWdlbnRfaWQYASABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWRCBoL5KwIg",
"ARIRCglvYmplY3RfaWQYAiACKAQinQEKEVN1YnNjcmliZVJlc3BvbnNlEkQK",
"D2Jsb2NrZWRfcGxheWVycxgBIAMoCzIrLmJncy5wcm90b2NvbC51c2VyX21h",
"bmFnZXIudjEuQmxvY2tlZFBsYXllchJCCg5yZWNlbnRfcGxheWVycxgCIAMo",
"CzIqLmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuUmVjZW50UGxheWVy",
"IlkKElVuc3Vic2NyaWJlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIWLmJn",
"cy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAiABEhEKCW9iamVjdF9pZBgCIAEo",
"BCK3AQoXQWRkUmVjZW50UGxheWVyc1JlcXVlc3QSUQoHcGxheWVycxgBIAMo",
"CzIqLmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuUmVjZW50UGxheWVy",
"QhSK+SsGKgQKAggBivkrBioECgIQFBIwCghhZ2VudF9pZBgCIAEoCzIWLmJn",
"cy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAiABEg8KB3Byb2dyYW0YAyABKA06",
"BoL5KwIQASJeChlDbGVhclJlY2VudFBsYXllcnNSZXF1ZXN0EjAKCGFnZW50",
"X2lkGAEgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkQgaC+SsCIAESDwoH",
"cHJvZ3JhbRgCIAEoDSJ5ChJCbG9ja1BsYXllclJlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWRCBoL5KwIgARIpCgl0",
"YXJnZXRfaWQYAiACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQ6BoL5KwIQ",
"ASJ7ChRVbmJsb2NrUGxheWVyUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIW",
"LmJncy5wcm90b2NvbC5FbnRpdHlJZEIGgvkrAiABEikKCXRhcmdldF9pZBgC",
"IAIoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZDoGgvkrAhABIroBCh5CbG9j",
"a2VkUGxheWVyQWRkZWROb3RpZmljYXRpb24SOwoGcGxheWVyGAEgAigLMisu",
"YmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5CbG9ja2VkUGxheWVyEi8K",
"D2dhbWVfYWNjb3VudF9pZBgCIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJ",
"ZBIqCgphY2NvdW50X2lkGAMgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk",
"IrwBCiBCbG9ja2VkUGxheWVyUmVtb3ZlZE5vdGlmaWNhdGlvbhI7CgZwbGF5",
"ZXIYASACKAsyKy5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLkJsb2Nr",
"ZWRQbGF5ZXISLwoPZ2FtZV9hY2NvdW50X2lkGAIgASgLMhYuYmdzLnByb3Rv",
"Y29sLkVudGl0eUlkEioKCmFjY291bnRfaWQYAyABKAsyFi5iZ3MucHJvdG9j",
"b2wuRW50aXR5SWQiXAoeUmVjZW50UGxheWVyc0FkZGVkTm90aWZpY2F0aW9u",
"EjoKBnBsYXllchgBIAMoCzIqLmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIu",
"djEuUmVjZW50UGxheWVyIl4KIFJlY2VudFBsYXllcnNSZW1vdmVkTm90aWZp",
"Y2F0aW9uEjoKBnBsYXllchgBIAMoCzIqLmJncy5wcm90b2NvbC51c2VyX21h",
"bmFnZXIudjEuUmVjZW50UGxheWVyMr0GChJVc2VyTWFuYWdlclNlcnZpY2US",
"dAoJU3Vic2NyaWJlEi4uYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52MS5T",
"dWJzY3JpYmVSZXF1ZXN0Gi8uYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52",
"MS5TdWJzY3JpYmVSZXNwb25zZSIGgvkrAggBEmcKEEFkZFJlY2VudFBsYXll",
"cnMSNS5iZ3MucHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLkFkZFJlY2VudFBs",
"YXllcnNSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAggKEmsK",
"EkNsZWFyUmVjZW50UGxheWVycxI3LmJncy5wcm90b2NvbC51c2VyX21hbmFn",
"ZXIudjEuQ2xlYXJSZWNlbnRQbGF5ZXJzUmVxdWVzdBoULmJncy5wcm90b2Nv",
"bC5Ob0RhdGEiBoL5KwIICxJdCgtCbG9ja1BsYXllchIwLmJncy5wcm90b2Nv",
"bC51c2VyX21hbmFnZXIudjEuQmxvY2tQbGF5ZXJSZXF1ZXN0GhQuYmdzLnBy",
"b3RvY29sLk5vRGF0YSIGgvkrAggUEmEKDVVuYmxvY2tQbGF5ZXISMi5iZ3Mu",
"cHJvdG9jb2wudXNlcl9tYW5hZ2VyLnYxLlVuYmxvY2tQbGF5ZXJSZXF1ZXN0",
"GhQuYmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAggVEmcKFUJsb2NrUGxheWVy",
"Rm9yU2Vzc2lvbhIwLmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuQmxv",
"Y2tQbGF5ZXJSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIGgvkrAggo",
"El0KC1Vuc3Vic2NyaWJlEjAuYmdzLnByb3RvY29sLnVzZXJfbWFuYWdlci52",
"MS5VbnN1YnNjcmliZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC",
"+SsCCDMaUYL5Ky8KLWJuZXQucHJvdG9jb2wudXNlcl9tYW5hZ2VyLlVzZXJN",
"YW5hZ2VyU2VydmljZYL5Kw4qDHVzZXJfbWFuYWdlcoL5KwIwAYr5KwIQATLB",
"BAoTVXNlck1hbmFnZXJMaXN0ZW5lchJ3ChRPbkJsb2NrZWRQbGF5ZXJBZGRl",
"ZBI8LmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuQmxvY2tlZFBsYXll",
"ckFkZGVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5PX1JFU1BPTlNF",
"IgaC+SsCCAESewoWT25CbG9ja2VkUGxheWVyUmVtb3ZlZBI+LmJncy5wcm90",
"b2NvbC51c2VyX21hbmFnZXIudjEuQmxvY2tlZFBsYXllclJlbW92ZWROb3Rp",
"ZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIAhJ3",
"ChRPblJlY2VudFBsYXllcnNBZGRlZBI8LmJncy5wcm90b2NvbC51c2VyX21h",
"bmFnZXIudjEuUmVjZW50UGxheWVyc0FkZGVkTm90aWZpY2F0aW9uGhkuYmdz",
"LnByb3RvY29sLk5PX1JFU1BPTlNFIgaC+SsCCAsSewoWT25SZWNlbnRQbGF5",
"ZXJzUmVtb3ZlZBI+LmJncy5wcm90b2NvbC51c2VyX21hbmFnZXIudjEuUmVj",
"ZW50UGxheWVyc1JlbW92ZWROb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wu",
"Tk9fUkVTUE9OU0UiBoL5KwIIDBo+gvkrLgosYm5ldC5wcm90b2NvbC51c2Vy",
"X21hbmFnZXIuVXNlck1hbmFnZXJOb3RpZnmC+SsCOAGK+SsCCAFCA4ABAA=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.UserManager.V1.UserManagerTypesReflection.Descriptor, global::Bgs.Protocol.EntityTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.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" }, 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" }, 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();
_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_; }
}
[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;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
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]
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);
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);
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_);
_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;
}
}
}
}
}
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;
[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() {
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 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;
}
[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;
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(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);
}
_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 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