2998 lines
110 KiB
C#
2998 lines
110 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: bgs/low/pb/client/game_utilities_service.proto
|
|
// </auto-generated>
|
|
#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.GameUtilities.V1 {
|
|
|
|
/// <summary>Holder for reflection information generated from bgs/low/pb/client/game_utilities_service.proto</summary>
|
|
public static partial class GameUtilitiesServiceReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for bgs/low/pb/client/game_utilities_service.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GameUtilitiesServiceReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ci5iZ3MvbG93L3BiL2NsaWVudC9nYW1lX3V0aWxpdGllc19zZXJ2aWNlLnBy",
|
|
"b3RvEh5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEaJ2Jncy9sb3cv",
|
|
"cGIvY2xpZW50L2F0dHJpYnV0ZV90eXBlcy5wcm90bxosYmdzL2xvdy9wYi9j",
|
|
"bGllbnQvY29udGVudF9oYW5kbGVfdHlwZXMucHJvdG8aJGJncy9sb3cvcGIv",
|
|
"Y2xpZW50L2VudGl0eV90eXBlcy5wcm90bxosYmdzL2xvdy9wYi9jbGllbnQv",
|
|
"Z2FtZV91dGlsaXRpZXNfdHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50",
|
|
"L3JwY190eXBlcy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4",
|
|
"dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3RvGjdiZ3MvbG93L3BiL2Ns",
|
|
"aWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjhi",
|
|
"Z3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rfb3B0",
|
|
"aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lv",
|
|
"bnMvc2VydmljZV9vcHRpb25zLnByb3RvIpECCg1DbGllbnRSZXF1ZXN0EioK",
|
|
"CWF0dHJpYnV0ZRgBIAMoCzIXLmJncy5wcm90b2NvbC5BdHRyaWJ1dGUSJQoE",
|
|
"aG9zdBgCIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQSKgoKYWNjb3Vu",
|
|
"dF9pZBgDIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIvCg9nYW1lX2Fj",
|
|
"Y291bnRfaWQYBCABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSDwoHcHJv",
|
|
"Z3JhbRgFIAEoBxI/CgtjbGllbnRfaW5mbxgGIAEoCzIqLmJncy5wcm90b2Nv",
|
|
"bC5nYW1lX3V0aWxpdGllcy52MS5DbGllbnRJbmZvIjwKDkNsaWVudFJlc3Bv",
|
|
"bnNlEioKCWF0dHJpYnV0ZRgBIAMoCzIXLmJncy5wcm90b2NvbC5BdHRyaWJ1",
|
|
"dGUicwoNU2VydmVyUmVxdWVzdBIqCglhdHRyaWJ1dGUYASADKAsyFy5iZ3Mu",
|
|
"cHJvdG9jb2wuQXR0cmlidXRlEg8KB3Byb2dyYW0YAiACKAcSJQoEaG9zdBgD",
|
|
"IAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQiPAoOU2VydmVyUmVzcG9u",
|
|
"c2USKgoJYXR0cmlidXRlGAEgAygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0",
|
|
"ZSLHAQodUHJlc2VuY2VDaGFubmVsQ3JlYXRlZFJlcXVlc3QSIgoCaWQYASAC",
|
|
"KAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSLwoPZ2FtZV9hY2NvdW50X2lk",
|
|
"GAMgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlkEioKCmFjY291bnRfaWQY",
|
|
"BCABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSJQoEaG9zdBgFIAEoCzIX",
|
|
"LmJncy5wcm90b2NvbC5Qcm9jZXNzSWQijQEKGUdldFBsYXllclZhcmlhYmxl",
|
|
"c1JlcXVlc3QSSQoQcGxheWVyX3ZhcmlhYmxlcxgBIAMoCzIvLmJncy5wcm90",
|
|
"b2NvbC5nYW1lX3V0aWxpdGllcy52MS5QbGF5ZXJWYXJpYWJsZXMSJQoEaG9z",
|
|
"dBgCIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQiZwoaR2V0UGxheWVy",
|
|
"VmFyaWFibGVzUmVzcG9uc2USSQoQcGxheWVyX3ZhcmlhYmxlcxgBIAMoCzIv",
|
|
"LmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52MS5QbGF5ZXJWYXJpYWJs",
|
|
"ZXMiiwEKHUdhbWVBY2NvdW50T25saW5lTm90aWZpY2F0aW9uEi8KD2dhbWVf",
|
|
"YWNjb3VudF9pZBgBIAIoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIlCgRo",
|
|
"b3N0GAIgASgLMhcuYmdzLnByb3RvY29sLlByb2Nlc3NJZBISCgpzZXNzaW9u",
|
|
"X2lkGAMgASgJIowBCh5HYW1lQWNjb3VudE9mZmxpbmVOb3RpZmljYXRpb24S",
|
|
"LwoPZ2FtZV9hY2NvdW50X2lkGAEgAigLMhYuYmdzLnByb3RvY29sLkVudGl0",
|
|
"eUlkEiUKBGhvc3QYAiABKAsyFy5iZ3MucHJvdG9jb2wuUHJvY2Vzc0lkEhIK",
|
|
"CnNlc3Npb25faWQYAyABKAkiQwoaR2V0QWNoaWV2ZW1lbnRzRmlsZVJlcXVl",
|
|
"c3QSJQoEaG9zdBgBIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWQiUgob",
|
|
"R2V0QWNoaWV2ZW1lbnRzRmlsZVJlc3BvbnNlEjMKDmNvbnRlbnRfaGFuZGxl",
|
|
"GAEgASgLMhsuYmdzLnByb3RvY29sLkNvbnRlbnRIYW5kbGUicwofR2V0QWxs",
|
|
"VmFsdWVzRm9yQXR0cmlidXRlUmVxdWVzdBIVCg1hdHRyaWJ1dGVfa2V5GAEg",
|
|
"ASgJEigKCGFnZW50X2lkGAIgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk",
|
|
"Eg8KB3Byb2dyYW0YBSABKAciUgogR2V0QWxsVmFsdWVzRm9yQXR0cmlidXRl",
|
|
"UmVzcG9uc2USLgoPYXR0cmlidXRlX3ZhbHVlGAEgAygLMhUuYmdzLnByb3Rv",
|
|
"Y29sLlZhcmlhbnQiVwoYUmVnaXN0ZXJVdGlsaXRpZXNSZXF1ZXN0EioKCWF0",
|
|
"dHJpYnV0ZRgBIAMoCzIXLmJncy5wcm90b2NvbC5BdHRyaWJ1dGUSDwoHcHJv",
|
|
"Z3JhbRgCIAEoByIuChlSZWdpc3RlclV0aWxpdGllc1Jlc3BvbnNlEhEKCWNs",
|
|
"aWVudF9pZBgBIAEoCSIcChpVbnJlZ2lzdGVyVXRpbGl0aWVzUmVxdWVzdDKx",
|
|
"CwoUR2FtZVV0aWxpdGllc1NlcnZpY2USfQoUUHJvY2Vzc0NsaWVudFJlcXVl",
|
|
"c3QSLS5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuQ2xpZW50UmVx",
|
|
"dWVzdBouLmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52MS5DbGllbnRS",
|
|
"ZXNwb25zZSIGgvkrAggBEnUKFlByZXNlbmNlQ2hhbm5lbENyZWF0ZWQSPS5i",
|
|
"Z3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuUHJlc2VuY2VDaGFubmVs",
|
|
"Q3JlYXRlZFJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCAIS",
|
|
"kwEKEkdldFBsYXllclZhcmlhYmxlcxI5LmJncy5wcm90b2NvbC5nYW1lX3V0",
|
|
"aWxpdGllcy52MS5HZXRQbGF5ZXJWYXJpYWJsZXNSZXF1ZXN0GjouYmdzLnBy",
|
|
"b3RvY29sLmdhbWVfdXRpbGl0aWVzLnYxLkdldFBsYXllclZhcmlhYmxlc1Jl",
|
|
"c3BvbnNlIgaC+SsCCAMSfQoUUHJvY2Vzc1NlcnZlclJlcXVlc3QSLS5iZ3Mu",
|
|
"cHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuU2VydmVyUmVxdWVzdBouLmJn",
|
|
"cy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52MS5TZXJ2ZXJSZXNwb25zZSIG",
|
|
"gvkrAggGEncKE09uR2FtZUFjY291bnRPbmxpbmUSPS5iZ3MucHJvdG9jb2wu",
|
|
"Z2FtZV91dGlsaXRpZXMudjEuR2FtZUFjY291bnRPbmxpbmVOb3RpZmljYXRp",
|
|
"b24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIIBxJ5ChRPbkdh",
|
|
"bWVBY2NvdW50T2ZmbGluZRI+LmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGll",
|
|
"cy52MS5HYW1lQWNjb3VudE9mZmxpbmVOb3RpZmljYXRpb24aGS5iZ3MucHJv",
|
|
"dG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIICBKWAQoTR2V0QWNoaWV2ZW1lbnRz",
|
|
"RmlsZRI6LmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52MS5HZXRBY2hp",
|
|
"ZXZlbWVudHNGaWxlUmVxdWVzdBo7LmJncy5wcm90b2NvbC5nYW1lX3V0aWxp",
|
|
"dGllcy52MS5HZXRBY2hpZXZlbWVudHNGaWxlUmVzcG9uc2UiBoL5KwIICRKl",
|
|
"AQoYR2V0QWxsVmFsdWVzRm9yQXR0cmlidXRlEj8uYmdzLnByb3RvY29sLmdh",
|
|
"bWVfdXRpbGl0aWVzLnYxLkdldEFsbFZhbHVlc0ZvckF0dHJpYnV0ZVJlcXVl",
|
|
"c3QaQC5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuR2V0QWxsVmFs",
|
|
"dWVzRm9yQXR0cmlidXRlUmVzcG9uc2UiBoL5KwIIChKQAQoRUmVnaXN0ZXJV",
|
|
"dGlsaXRpZXMSOC5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuUmVn",
|
|
"aXN0ZXJVdGlsaXRpZXNSZXF1ZXN0GjkuYmdzLnByb3RvY29sLmdhbWVfdXRp",
|
|
"bGl0aWVzLnYxLlJlZ2lzdGVyVXRpbGl0aWVzUmVzcG9uc2UiBoL5KwIICxJ0",
|
|
"ChNVbnJlZ2lzdGVyVXRpbGl0aWVzEjouYmdzLnByb3RvY29sLmdhbWVfdXRp",
|
|
"bGl0aWVzLnYxLlVucmVnaXN0ZXJVdGlsaXRpZXNSZXF1ZXN0GhkuYmdzLnBy",
|
|
"b3RvY29sLk5PX1JFU1BPTlNFIgaC+SsCCAwaUIL5KywKKmJuZXQucHJvdG9j",
|
|
"b2wuZ2FtZV91dGlsaXRpZXMuR2FtZVV0aWxpdGllc4L5KxAqDmdhbWVfdXRp",
|
|
"bGl0aWVzivkrAggBivkrAhABQkIKH2JuZXQucHJvdG9jb2wuZ2FtZV91dGls",
|
|
"aXRpZXMudjFCGUdhbWVVdGlsaXRpZXNTZXJ2aWNlUHJvdG+AAQCIAQE="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Bgs.Protocol.AttributeTypesReflection.Descriptor, global::Bgs.Protocol.ContentHandleTypesReflection.Descriptor, global::Bgs.Protocol.EntityTypesReflection.Descriptor, global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesTypesReflection.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.GameUtilities.V1.ClientRequest), global::Bgs.Protocol.GameUtilities.V1.ClientRequest.Parser, new[]{ "Attribute", "Host", "AccountId", "GameAccountId", "Program", "ClientInfo" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ClientResponse), global::Bgs.Protocol.GameUtilities.V1.ClientResponse.Parser, new[]{ "Attribute" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ServerRequest), global::Bgs.Protocol.GameUtilities.V1.ServerRequest.Parser, new[]{ "Attribute", "Program", "Host" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ServerResponse), global::Bgs.Protocol.GameUtilities.V1.ServerResponse.Parser, new[]{ "Attribute" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest), global::Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest.Parser, new[]{ "Id", "GameAccountId", "AccountId", "Host" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetPlayerVariablesRequest), global::Bgs.Protocol.GameUtilities.V1.GetPlayerVariablesRequest.Parser, new[]{ "PlayerVariables", "Host" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetPlayerVariablesResponse), global::Bgs.Protocol.GameUtilities.V1.GetPlayerVariablesResponse.Parser, new[]{ "PlayerVariables" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification), global::Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification.Parser, new[]{ "GameAccountId", "Host", "SessionId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification), global::Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification.Parser, new[]{ "GameAccountId", "Host", "SessionId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetAchievementsFileRequest), global::Bgs.Protocol.GameUtilities.V1.GetAchievementsFileRequest.Parser, new[]{ "Host" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetAchievementsFileResponse), global::Bgs.Protocol.GameUtilities.V1.GetAchievementsFileResponse.Parser, new[]{ "ContentHandle" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest), global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest.Parser, new[]{ "AttributeKey", "AgentId", "Program" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse), global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse.Parser, new[]{ "AttributeValue" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest), global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest.Parser, new[]{ "Attribute", "Program" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse), global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse.Parser, new[]{ "ClientId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest), global::Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest.Parser, null, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
public sealed partial class ClientRequest : pb::IMessage<ClientRequest> {
|
|
private static readonly pb::MessageParser<ClientRequest> _parser = new pb::MessageParser<ClientRequest>(() => new ClientRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
private int _hasBits0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<ClientRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ClientRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ClientRequest(ClientRequest other) : this() {
|
|
_hasBits0 = other._hasBits0;
|
|
attribute_ = other.attribute_.Clone();
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
accountId_ = other.HasAccountId ? other.accountId_.Clone() : null;
|
|
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
|
|
program_ = other.program_;
|
|
clientInfo_ = other.HasClientInfo ? other.clientInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ClientRequest Clone() {
|
|
return new ClientRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute" field.</summary>
|
|
public const int AttributeFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Attribute> _repeated_attribute_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.Attribute>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Attribute> Attribute {
|
|
get { return attribute_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 2;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "account_id" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the account_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAccountId {
|
|
get { return accountId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the account_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAccountId() {
|
|
accountId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "game_account_id" field.</summary>
|
|
public const int GameAccountIdFieldNumber = 4;
|
|
private global::Bgs.Protocol.EntityId gameAccountId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.EntityId GameAccountId {
|
|
get { return gameAccountId_; }
|
|
set {
|
|
gameAccountId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the game_account_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasGameAccountId {
|
|
get { return gameAccountId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the game_account_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearGameAccountId() {
|
|
gameAccountId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "program" field.</summary>
|
|
public const int ProgramFieldNumber = 5;
|
|
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;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "program" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasProgram {
|
|
get { return (_hasBits0 & 1) != 0; }
|
|
}
|
|
/// <summary>Clears the value of the "program" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearProgram() {
|
|
_hasBits0 &= ~1;
|
|
}
|
|
|
|
/// <summary>Field number for the "client_info" field.</summary>
|
|
public const int ClientInfoFieldNumber = 6;
|
|
private global::Bgs.Protocol.GameUtilities.V1.ClientInfo clientInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.GameUtilities.V1.ClientInfo ClientInfo {
|
|
get { return clientInfo_; }
|
|
set {
|
|
clientInfo_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the client_info field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasClientInfo {
|
|
get { return clientInfo_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the client_info field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearClientInfo() {
|
|
clientInfo_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ClientRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(ClientRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!attribute_.Equals(other.attribute_)) return false;
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
if (!object.Equals(AccountId, other.AccountId)) return false;
|
|
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
|
|
if (Program != other.Program) return false;
|
|
if (!object.Equals(ClientInfo, other.ClientInfo)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= attribute_.GetHashCode();
|
|
if (HasHost) hash ^= Host.GetHashCode();
|
|
if (HasAccountId) hash ^= AccountId.GetHashCode();
|
|
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
|
|
if (HasProgram) hash ^= Program.GetHashCode();
|
|
if (HasClientInfo) hash ^= ClientInfo.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) {
|
|
attribute_.WriteTo(output, _repeated_attribute_codec);
|
|
if (HasHost) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (HasAccountId) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(AccountId);
|
|
}
|
|
if (HasGameAccountId) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(GameAccountId);
|
|
}
|
|
if (HasProgram) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFixed32(Program);
|
|
}
|
|
if (HasClientInfo) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(ClientInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += attribute_.CalculateSize(_repeated_attribute_codec);
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (HasAccountId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId);
|
|
}
|
|
if (HasGameAccountId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
|
|
}
|
|
if (HasProgram) {
|
|
size += 1 + 4;
|
|
}
|
|
if (HasClientInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(ClientRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
attribute_.Add(other.attribute_);
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
if (other.HasAccountId) {
|
|
if (!HasAccountId) {
|
|
AccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
AccountId.MergeFrom(other.AccountId);
|
|
}
|
|
if (other.HasGameAccountId) {
|
|
if (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
GameAccountId.MergeFrom(other.GameAccountId);
|
|
}
|
|
if (other.HasProgram) {
|
|
Program = other.Program;
|
|
}
|
|
if (other.HasClientInfo) {
|
|
if (!HasClientInfo) {
|
|
ClientInfo = new global::Bgs.Protocol.GameUtilities.V1.ClientInfo();
|
|
}
|
|
ClientInfo.MergeFrom(other.ClientInfo);
|
|
}
|
|
_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: {
|
|
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (!HasAccountId) {
|
|
AccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(AccountId);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(GameAccountId);
|
|
break;
|
|
}
|
|
case 45: {
|
|
Program = input.ReadFixed32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (!HasClientInfo) {
|
|
ClientInfo = new global::Bgs.Protocol.GameUtilities.V1.ClientInfo();
|
|
}
|
|
input.ReadMessage(ClientInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class ClientResponse : pb::IMessage<ClientResponse> {
|
|
private static readonly pb::MessageParser<ClientResponse> _parser = new pb::MessageParser<ClientResponse>(() => new ClientResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<ClientResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ClientResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ClientResponse(ClientResponse other) : this() {
|
|
attribute_ = other.attribute_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ClientResponse Clone() {
|
|
return new ClientResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute" field.</summary>
|
|
public const int AttributeFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Attribute> _repeated_attribute_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.Attribute>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Attribute> Attribute {
|
|
get { return attribute_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ClientResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(ClientResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!attribute_.Equals(other.attribute_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= attribute_.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) {
|
|
attribute_.WriteTo(output, _repeated_attribute_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += attribute_.CalculateSize(_repeated_attribute_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(ClientResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
attribute_.Add(other.attribute_);
|
|
_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: {
|
|
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class ServerRequest : pb::IMessage<ServerRequest> {
|
|
private static readonly pb::MessageParser<ServerRequest> _parser = new pb::MessageParser<ServerRequest>(() => new ServerRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
private int _hasBits0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<ServerRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ServerRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ServerRequest(ServerRequest other) : this() {
|
|
_hasBits0 = other._hasBits0;
|
|
attribute_ = other.attribute_.Clone();
|
|
program_ = other.program_;
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ServerRequest Clone() {
|
|
return new ServerRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute" field.</summary>
|
|
public const int AttributeFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Attribute> _repeated_attribute_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.Attribute>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Attribute> Attribute {
|
|
get { return attribute_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "program" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "program" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasProgram {
|
|
get { return (_hasBits0 & 1) != 0; }
|
|
}
|
|
/// <summary>Clears the value of the "program" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearProgram() {
|
|
_hasBits0 &= ~1;
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 3;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ServerRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(ServerRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!attribute_.Equals(other.attribute_)) return false;
|
|
if (Program != other.Program) return false;
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= attribute_.GetHashCode();
|
|
if (HasProgram) hash ^= Program.GetHashCode();
|
|
if (HasHost) hash ^= Host.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) {
|
|
attribute_.WriteTo(output, _repeated_attribute_codec);
|
|
if (HasProgram) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFixed32(Program);
|
|
}
|
|
if (HasHost) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += attribute_.CalculateSize(_repeated_attribute_codec);
|
|
if (HasProgram) {
|
|
size += 1 + 4;
|
|
}
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(ServerRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
attribute_.Add(other.attribute_);
|
|
if (other.HasProgram) {
|
|
Program = other.Program;
|
|
}
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
_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: {
|
|
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
|
|
break;
|
|
}
|
|
case 21: {
|
|
Program = input.ReadFixed32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class ServerResponse : pb::IMessage<ServerResponse> {
|
|
private static readonly pb::MessageParser<ServerResponse> _parser = new pb::MessageParser<ServerResponse>(() => new ServerResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<ServerResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[3]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ServerResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ServerResponse(ServerResponse other) : this() {
|
|
attribute_ = other.attribute_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ServerResponse Clone() {
|
|
return new ServerResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute" field.</summary>
|
|
public const int AttributeFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Attribute> _repeated_attribute_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.Attribute>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Attribute> Attribute {
|
|
get { return attribute_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ServerResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(ServerResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!attribute_.Equals(other.attribute_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= attribute_.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) {
|
|
attribute_.WriteTo(output, _repeated_attribute_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += attribute_.CalculateSize(_repeated_attribute_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(ServerResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
attribute_.Add(other.attribute_);
|
|
_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: {
|
|
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class PresenceChannelCreatedRequest : pb::IMessage<PresenceChannelCreatedRequest> {
|
|
private static readonly pb::MessageParser<PresenceChannelCreatedRequest> _parser = new pb::MessageParser<PresenceChannelCreatedRequest>(() => new PresenceChannelCreatedRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<PresenceChannelCreatedRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[4]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PresenceChannelCreatedRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PresenceChannelCreatedRequest(PresenceChannelCreatedRequest other) : this() {
|
|
id_ = other.HasId ? other.id_.Clone() : null;
|
|
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
|
|
accountId_ = other.HasAccountId ? other.accountId_.Clone() : null;
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PresenceChannelCreatedRequest Clone() {
|
|
return new PresenceChannelCreatedRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private global::Bgs.Protocol.EntityId id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.EntityId Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasId {
|
|
get { return id_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearId() {
|
|
id_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "game_account_id" field.</summary>
|
|
public const int GameAccountIdFieldNumber = 3;
|
|
private global::Bgs.Protocol.EntityId gameAccountId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.EntityId GameAccountId {
|
|
get { return gameAccountId_; }
|
|
set {
|
|
gameAccountId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the game_account_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasGameAccountId {
|
|
get { return gameAccountId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the game_account_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearGameAccountId() {
|
|
gameAccountId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "account_id" field.</summary>
|
|
public const int AccountIdFieldNumber = 4;
|
|
private global::Bgs.Protocol.EntityId accountId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.EntityId AccountId {
|
|
get { return accountId_; }
|
|
set {
|
|
accountId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the account_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAccountId {
|
|
get { return accountId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the account_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAccountId() {
|
|
accountId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 5;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PresenceChannelCreatedRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(PresenceChannelCreatedRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(Id, other.Id)) return false;
|
|
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
|
|
if (!object.Equals(AccountId, other.AccountId)) return false;
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasId) hash ^= Id.GetHashCode();
|
|
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
|
|
if (HasAccountId) hash ^= AccountId.GetHashCode();
|
|
if (HasHost) hash ^= Host.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 (HasId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Id);
|
|
}
|
|
if (HasGameAccountId) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(GameAccountId);
|
|
}
|
|
if (HasAccountId) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(AccountId);
|
|
}
|
|
if (HasHost) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id);
|
|
}
|
|
if (HasGameAccountId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
|
|
}
|
|
if (HasAccountId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId);
|
|
}
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(PresenceChannelCreatedRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasId) {
|
|
if (!HasId) {
|
|
Id = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
Id.MergeFrom(other.Id);
|
|
}
|
|
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);
|
|
}
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
_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 (!HasId) {
|
|
Id = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(Id);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(GameAccountId);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (!HasAccountId) {
|
|
AccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(AccountId);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetPlayerVariablesRequest : pb::IMessage<GetPlayerVariablesRequest> {
|
|
private static readonly pb::MessageParser<GetPlayerVariablesRequest> _parser = new pb::MessageParser<GetPlayerVariablesRequest>(() => new GetPlayerVariablesRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetPlayerVariablesRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[5]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetPlayerVariablesRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetPlayerVariablesRequest(GetPlayerVariablesRequest other) : this() {
|
|
playerVariables_ = other.playerVariables_.Clone();
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetPlayerVariablesRequest Clone() {
|
|
return new GetPlayerVariablesRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "player_variables" field.</summary>
|
|
public const int PlayerVariablesFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables> _repeated_playerVariables_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.GameUtilities.V1.PlayerVariables.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables> playerVariables_ = new pbc::RepeatedField<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables> PlayerVariables {
|
|
get { return playerVariables_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 2;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetPlayerVariablesRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetPlayerVariablesRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!playerVariables_.Equals(other.playerVariables_)) return false;
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= playerVariables_.GetHashCode();
|
|
if (HasHost) hash ^= Host.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) {
|
|
playerVariables_.WriteTo(output, _repeated_playerVariables_codec);
|
|
if (HasHost) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += playerVariables_.CalculateSize(_repeated_playerVariables_codec);
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetPlayerVariablesRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
playerVariables_.Add(other.playerVariables_);
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
_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: {
|
|
playerVariables_.AddEntriesFrom(input, _repeated_playerVariables_codec);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetPlayerVariablesResponse : pb::IMessage<GetPlayerVariablesResponse> {
|
|
private static readonly pb::MessageParser<GetPlayerVariablesResponse> _parser = new pb::MessageParser<GetPlayerVariablesResponse>(() => new GetPlayerVariablesResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetPlayerVariablesResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[6]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetPlayerVariablesResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetPlayerVariablesResponse(GetPlayerVariablesResponse other) : this() {
|
|
playerVariables_ = other.playerVariables_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetPlayerVariablesResponse Clone() {
|
|
return new GetPlayerVariablesResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "player_variables" field.</summary>
|
|
public const int PlayerVariablesFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables> _repeated_playerVariables_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.GameUtilities.V1.PlayerVariables.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables> playerVariables_ = new pbc::RepeatedField<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.GameUtilities.V1.PlayerVariables> PlayerVariables {
|
|
get { return playerVariables_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetPlayerVariablesResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetPlayerVariablesResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!playerVariables_.Equals(other.playerVariables_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= playerVariables_.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) {
|
|
playerVariables_.WriteTo(output, _repeated_playerVariables_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += playerVariables_.CalculateSize(_repeated_playerVariables_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetPlayerVariablesResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
playerVariables_.Add(other.playerVariables_);
|
|
_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: {
|
|
playerVariables_.AddEntriesFrom(input, _repeated_playerVariables_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GameAccountOnlineNotification : pb::IMessage<GameAccountOnlineNotification> {
|
|
private static readonly pb::MessageParser<GameAccountOnlineNotification> _parser = new pb::MessageParser<GameAccountOnlineNotification>(() => new GameAccountOnlineNotification());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GameAccountOnlineNotification> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[7]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GameAccountOnlineNotification() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GameAccountOnlineNotification(GameAccountOnlineNotification other) : this() {
|
|
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
sessionId_ = other.sessionId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GameAccountOnlineNotification Clone() {
|
|
return new GameAccountOnlineNotification(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "game_account_id" field.</summary>
|
|
public const int GameAccountIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.EntityId gameAccountId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.EntityId GameAccountId {
|
|
get { return gameAccountId_; }
|
|
set {
|
|
gameAccountId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the game_account_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasGameAccountId {
|
|
get { return gameAccountId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the game_account_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearGameAccountId() {
|
|
gameAccountId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 2;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "session_id" field.</summary>
|
|
public const int SessionIdFieldNumber = 3;
|
|
private readonly static string SessionIdDefaultValue = "";
|
|
|
|
private string sessionId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string SessionId {
|
|
get { return sessionId_ ?? SessionIdDefaultValue; }
|
|
set {
|
|
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "session_id" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasSessionId {
|
|
get { return sessionId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the "session_id" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearSessionId() {
|
|
sessionId_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GameAccountOnlineNotification);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GameAccountOnlineNotification other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
if (SessionId != other.SessionId) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
|
|
if (HasHost) hash ^= Host.GetHashCode();
|
|
if (HasSessionId) hash ^= SessionId.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 (HasGameAccountId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(GameAccountId);
|
|
}
|
|
if (HasHost) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (HasSessionId) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(SessionId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasGameAccountId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
|
|
}
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (HasSessionId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GameAccountOnlineNotification other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasGameAccountId) {
|
|
if (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
GameAccountId.MergeFrom(other.GameAccountId);
|
|
}
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
if (other.HasSessionId) {
|
|
SessionId = other.SessionId;
|
|
}
|
|
_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 (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(GameAccountId);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
case 26: {
|
|
SessionId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GameAccountOfflineNotification : pb::IMessage<GameAccountOfflineNotification> {
|
|
private static readonly pb::MessageParser<GameAccountOfflineNotification> _parser = new pb::MessageParser<GameAccountOfflineNotification>(() => new GameAccountOfflineNotification());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GameAccountOfflineNotification> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[8]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GameAccountOfflineNotification() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GameAccountOfflineNotification(GameAccountOfflineNotification other) : this() {
|
|
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
sessionId_ = other.sessionId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GameAccountOfflineNotification Clone() {
|
|
return new GameAccountOfflineNotification(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "game_account_id" field.</summary>
|
|
public const int GameAccountIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.EntityId gameAccountId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.EntityId GameAccountId {
|
|
get { return gameAccountId_; }
|
|
set {
|
|
gameAccountId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the game_account_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasGameAccountId {
|
|
get { return gameAccountId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the game_account_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearGameAccountId() {
|
|
gameAccountId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 2;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "session_id" field.</summary>
|
|
public const int SessionIdFieldNumber = 3;
|
|
private readonly static string SessionIdDefaultValue = "";
|
|
|
|
private string sessionId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string SessionId {
|
|
get { return sessionId_ ?? SessionIdDefaultValue; }
|
|
set {
|
|
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "session_id" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasSessionId {
|
|
get { return sessionId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the "session_id" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearSessionId() {
|
|
sessionId_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GameAccountOfflineNotification);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GameAccountOfflineNotification other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
if (SessionId != other.SessionId) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
|
|
if (HasHost) hash ^= Host.GetHashCode();
|
|
if (HasSessionId) hash ^= SessionId.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 (HasGameAccountId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(GameAccountId);
|
|
}
|
|
if (HasHost) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (HasSessionId) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(SessionId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasGameAccountId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
|
|
}
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (HasSessionId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GameAccountOfflineNotification other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasGameAccountId) {
|
|
if (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
GameAccountId.MergeFrom(other.GameAccountId);
|
|
}
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
if (other.HasSessionId) {
|
|
SessionId = other.SessionId;
|
|
}
|
|
_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 (!HasGameAccountId) {
|
|
GameAccountId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(GameAccountId);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
case 26: {
|
|
SessionId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetAchievementsFileRequest : pb::IMessage<GetAchievementsFileRequest> {
|
|
private static readonly pb::MessageParser<GetAchievementsFileRequest> _parser = new pb::MessageParser<GetAchievementsFileRequest>(() => new GetAchievementsFileRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetAchievementsFileRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[9]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAchievementsFileRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAchievementsFileRequest(GetAchievementsFileRequest other) : this() {
|
|
host_ = other.HasHost ? other.host_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAchievementsFileRequest Clone() {
|
|
return new GetAchievementsFileRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "host" field.</summary>
|
|
public const int HostFieldNumber = 1;
|
|
private global::Bgs.Protocol.ProcessId host_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ProcessId Host {
|
|
get { return host_; }
|
|
set {
|
|
host_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the host field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasHost {
|
|
get { return host_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the host field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearHost() {
|
|
host_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetAchievementsFileRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetAchievementsFileRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(Host, other.Host)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasHost) hash ^= Host.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 (HasHost) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasHost) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetAchievementsFileRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasHost) {
|
|
if (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
Host.MergeFrom(other.Host);
|
|
}
|
|
_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 (!HasHost) {
|
|
Host = new global::Bgs.Protocol.ProcessId();
|
|
}
|
|
input.ReadMessage(Host);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetAchievementsFileResponse : pb::IMessage<GetAchievementsFileResponse> {
|
|
private static readonly pb::MessageParser<GetAchievementsFileResponse> _parser = new pb::MessageParser<GetAchievementsFileResponse>(() => new GetAchievementsFileResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetAchievementsFileResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[10]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAchievementsFileResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAchievementsFileResponse(GetAchievementsFileResponse other) : this() {
|
|
contentHandle_ = other.HasContentHandle ? other.contentHandle_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAchievementsFileResponse Clone() {
|
|
return new GetAchievementsFileResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "content_handle" field.</summary>
|
|
public const int ContentHandleFieldNumber = 1;
|
|
private global::Bgs.Protocol.ContentHandle contentHandle_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.ContentHandle ContentHandle {
|
|
get { return contentHandle_; }
|
|
set {
|
|
contentHandle_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the content_handle field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasContentHandle {
|
|
get { return contentHandle_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the content_handle field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearContentHandle() {
|
|
contentHandle_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetAchievementsFileResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetAchievementsFileResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(ContentHandle, other.ContentHandle)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasContentHandle) hash ^= ContentHandle.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 (HasContentHandle) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(ContentHandle);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasContentHandle) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ContentHandle);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetAchievementsFileResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasContentHandle) {
|
|
if (!HasContentHandle) {
|
|
ContentHandle = new global::Bgs.Protocol.ContentHandle();
|
|
}
|
|
ContentHandle.MergeFrom(other.ContentHandle);
|
|
}
|
|
_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 (!HasContentHandle) {
|
|
ContentHandle = new global::Bgs.Protocol.ContentHandle();
|
|
}
|
|
input.ReadMessage(ContentHandle);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetAllValuesForAttributeRequest : pb::IMessage<GetAllValuesForAttributeRequest> {
|
|
private static readonly pb::MessageParser<GetAllValuesForAttributeRequest> _parser = new pb::MessageParser<GetAllValuesForAttributeRequest>(() => new GetAllValuesForAttributeRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
private int _hasBits0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetAllValuesForAttributeRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[11]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAllValuesForAttributeRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAllValuesForAttributeRequest(GetAllValuesForAttributeRequest other) : this() {
|
|
_hasBits0 = other._hasBits0;
|
|
attributeKey_ = other.attributeKey_;
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
program_ = other.program_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAllValuesForAttributeRequest Clone() {
|
|
return new GetAllValuesForAttributeRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute_key" field.</summary>
|
|
public const int AttributeKeyFieldNumber = 1;
|
|
private readonly static string AttributeKeyDefaultValue = "";
|
|
|
|
private string attributeKey_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string AttributeKey {
|
|
get { return attributeKey_ ?? AttributeKeyDefaultValue; }
|
|
set {
|
|
attributeKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "attribute_key" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAttributeKey {
|
|
get { return attributeKey_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the "attribute_key" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAttributeKey() {
|
|
attributeKey_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "program" field.</summary>
|
|
public const int ProgramFieldNumber = 5;
|
|
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;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "program" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasProgram {
|
|
get { return (_hasBits0 & 1) != 0; }
|
|
}
|
|
/// <summary>Clears the value of the "program" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearProgram() {
|
|
_hasBits0 &= ~1;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetAllValuesForAttributeRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetAllValuesForAttributeRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (AttributeKey != other.AttributeKey) return false;
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
if (Program != other.Program) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAttributeKey) hash ^= AttributeKey.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) {
|
|
if (HasAttributeKey) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(AttributeKey);
|
|
}
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (HasProgram) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFixed32(Program);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAttributeKey) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeKey);
|
|
}
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (HasProgram) {
|
|
size += 1 + 4;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetAllValuesForAttributeRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAttributeKey) {
|
|
AttributeKey = other.AttributeKey;
|
|
}
|
|
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: {
|
|
AttributeKey = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.EntityId();
|
|
}
|
|
input.ReadMessage(AgentId);
|
|
break;
|
|
}
|
|
case 45: {
|
|
Program = input.ReadFixed32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetAllValuesForAttributeResponse : pb::IMessage<GetAllValuesForAttributeResponse> {
|
|
private static readonly pb::MessageParser<GetAllValuesForAttributeResponse> _parser = new pb::MessageParser<GetAllValuesForAttributeResponse>(() => new GetAllValuesForAttributeResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetAllValuesForAttributeResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[12]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAllValuesForAttributeResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAllValuesForAttributeResponse(GetAllValuesForAttributeResponse other) : this() {
|
|
attributeValue_ = other.attributeValue_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetAllValuesForAttributeResponse Clone() {
|
|
return new GetAllValuesForAttributeResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute_value" field.</summary>
|
|
public const int AttributeValueFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Variant> _repeated_attributeValue_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Variant.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Variant> attributeValue_ = new pbc::RepeatedField<global::Bgs.Protocol.Variant>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Variant> AttributeValue {
|
|
get { return attributeValue_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetAllValuesForAttributeResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetAllValuesForAttributeResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!attributeValue_.Equals(other.attributeValue_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= attributeValue_.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) {
|
|
attributeValue_.WriteTo(output, _repeated_attributeValue_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += attributeValue_.CalculateSize(_repeated_attributeValue_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetAllValuesForAttributeResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
attributeValue_.Add(other.attributeValue_);
|
|
_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: {
|
|
attributeValue_.AddEntriesFrom(input, _repeated_attributeValue_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class RegisterUtilitiesRequest : pb::IMessage<RegisterUtilitiesRequest> {
|
|
private static readonly pb::MessageParser<RegisterUtilitiesRequest> _parser = new pb::MessageParser<RegisterUtilitiesRequest>(() => new RegisterUtilitiesRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
private int _hasBits0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<RegisterUtilitiesRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[13]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RegisterUtilitiesRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RegisterUtilitiesRequest(RegisterUtilitiesRequest other) : this() {
|
|
_hasBits0 = other._hasBits0;
|
|
attribute_ = other.attribute_.Clone();
|
|
program_ = other.program_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RegisterUtilitiesRequest Clone() {
|
|
return new RegisterUtilitiesRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "attribute" field.</summary>
|
|
public const int AttributeFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Attribute> _repeated_attribute_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.Attribute>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Attribute> Attribute {
|
|
get { return attribute_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "program" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "program" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasProgram {
|
|
get { return (_hasBits0 & 1) != 0; }
|
|
}
|
|
/// <summary>Clears the value of the "program" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearProgram() {
|
|
_hasBits0 &= ~1;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RegisterUtilitiesRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(RegisterUtilitiesRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!attribute_.Equals(other.attribute_)) return false;
|
|
if (Program != other.Program) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= attribute_.GetHashCode();
|
|
if (HasProgram) hash ^= Program.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
attribute_.WriteTo(output, _repeated_attribute_codec);
|
|
if (HasProgram) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFixed32(Program);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += attribute_.CalculateSize(_repeated_attribute_codec);
|
|
if (HasProgram) {
|
|
size += 1 + 4;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(RegisterUtilitiesRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
attribute_.Add(other.attribute_);
|
|
if (other.HasProgram) {
|
|
Program = other.Program;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
|
|
break;
|
|
}
|
|
case 21: {
|
|
Program = input.ReadFixed32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class RegisterUtilitiesResponse : pb::IMessage<RegisterUtilitiesResponse> {
|
|
private static readonly pb::MessageParser<RegisterUtilitiesResponse> _parser = new pb::MessageParser<RegisterUtilitiesResponse>(() => new RegisterUtilitiesResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<RegisterUtilitiesResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[14]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RegisterUtilitiesResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RegisterUtilitiesResponse(RegisterUtilitiesResponse other) : this() {
|
|
clientId_ = other.clientId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RegisterUtilitiesResponse Clone() {
|
|
return new RegisterUtilitiesResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "client_id" field.</summary>
|
|
public const int ClientIdFieldNumber = 1;
|
|
private readonly static string ClientIdDefaultValue = "";
|
|
|
|
private string clientId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string ClientId {
|
|
get { return clientId_ ?? ClientIdDefaultValue; }
|
|
set {
|
|
clientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "client_id" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasClientId {
|
|
get { return clientId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the "client_id" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearClientId() {
|
|
clientId_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RegisterUtilitiesResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(RegisterUtilitiesResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ClientId != other.ClientId) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasClientId) hash ^= ClientId.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 (HasClientId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(ClientId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasClientId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(RegisterUtilitiesResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasClientId) {
|
|
ClientId = other.ClientId;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
ClientId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class UnregisterUtilitiesRequest : pb::IMessage<UnregisterUtilitiesRequest> {
|
|
private static readonly pb::MessageParser<UnregisterUtilitiesRequest> _parser = new pb::MessageParser<UnregisterUtilitiesRequest>(() => new UnregisterUtilitiesRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<UnregisterUtilitiesRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[15]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UnregisterUtilitiesRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UnregisterUtilitiesRequest(UnregisterUtilitiesRequest other) : this() {
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UnregisterUtilitiesRequest Clone() {
|
|
return new UnregisterUtilitiesRequest(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as UnregisterUtilitiesRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(UnregisterUtilitiesRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
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 (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(UnregisterUtilitiesRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
_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;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|