parent
ba03bcdcaf
commit
ce6e0bc038
12 changed files with 1179 additions and 132 deletions
@ -0,0 +1,11 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: a50087045006c1d4288d7571a516ba6c |
||||||
|
MonoImporter: |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 2 |
||||||
|
defaultReferences: [] |
||||||
|
executionOrder: 0 |
||||||
|
icon: {instanceID: 0} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,128 @@ |
|||||||
|
// <auto-generated> |
||||||
|
// Generated by the protocol buffer compiler. DO NOT EDIT! |
||||||
|
// source: Ultracombos.Marvel.DrawHeroes.proto |
||||||
|
// </auto-generated> |
||||||
|
#pragma warning disable 0414, 1591 |
||||||
|
#region Designer generated code |
||||||
|
|
||||||
|
using grpc = global::Grpc.Core; |
||||||
|
|
||||||
|
namespace UltraCombos.Marvel.DrawHeroes { |
||||||
|
public static partial class Resource |
||||||
|
{ |
||||||
|
static readonly string __ServiceName = "UltraCombos.Marvel.DrawHeroes.Resource"; |
||||||
|
|
||||||
|
static readonly grpc::Marshaller<global::UltraCombos.Marvel.DrawHeroes.Device> __Marshaller_UltraCombos_Marvel_DrawHeroes_Device = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::UltraCombos.Marvel.DrawHeroes.Device.Parser.ParseFrom); |
||||||
|
static readonly grpc::Marshaller<global::UltraCombos.Marvel.DrawHeroes.Page> __Marshaller_UltraCombos_Marvel_DrawHeroes_Page = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::UltraCombos.Marvel.DrawHeroes.Page.Parser.ParseFrom); |
||||||
|
static readonly grpc::Marshaller<global::UltraCombos.Marvel.DrawHeroes.DataRequest> __Marshaller_UltraCombos_Marvel_DrawHeroes_DataRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::UltraCombos.Marvel.DrawHeroes.DataRequest.Parser.ParseFrom); |
||||||
|
static readonly grpc::Marshaller<global::UltraCombos.Marvel.DrawHeroes.DataReply> __Marshaller_UltraCombos_Marvel_DrawHeroes_DataReply = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::UltraCombos.Marvel.DrawHeroes.DataReply.Parser.ParseFrom); |
||||||
|
|
||||||
|
static readonly grpc::Method<global::UltraCombos.Marvel.DrawHeroes.Device, global::UltraCombos.Marvel.DrawHeroes.Page> __Method_GetPage = new grpc::Method<global::UltraCombos.Marvel.DrawHeroes.Device, global::UltraCombos.Marvel.DrawHeroes.Page>( |
||||||
|
grpc::MethodType.Unary, |
||||||
|
__ServiceName, |
||||||
|
"GetPage", |
||||||
|
__Marshaller_UltraCombos_Marvel_DrawHeroes_Device, |
||||||
|
__Marshaller_UltraCombos_Marvel_DrawHeroes_Page); |
||||||
|
|
||||||
|
static readonly grpc::Method<global::UltraCombos.Marvel.DrawHeroes.DataRequest, global::UltraCombos.Marvel.DrawHeroes.DataReply> __Method_SendData = new grpc::Method<global::UltraCombos.Marvel.DrawHeroes.DataRequest, global::UltraCombos.Marvel.DrawHeroes.DataReply>( |
||||||
|
grpc::MethodType.Unary, |
||||||
|
__ServiceName, |
||||||
|
"SendData", |
||||||
|
__Marshaller_UltraCombos_Marvel_DrawHeroes_DataRequest, |
||||||
|
__Marshaller_UltraCombos_Marvel_DrawHeroes_DataReply); |
||||||
|
|
||||||
|
/// <summary>Service descriptor</summary> |
||||||
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor |
||||||
|
{ |
||||||
|
get { return global::UltraCombos.Marvel.DrawHeroes.UltracombosMarvelDrawHeroesReflection.Descriptor.Services[0]; } |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Base class for server-side implementations of Resource</summary> |
||||||
|
public abstract partial class ResourceBase |
||||||
|
{ |
||||||
|
public virtual global::System.Threading.Tasks.Task<global::UltraCombos.Marvel.DrawHeroes.Page> GetPage(global::UltraCombos.Marvel.DrawHeroes.Device request, grpc::ServerCallContext context) |
||||||
|
{ |
||||||
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); |
||||||
|
} |
||||||
|
|
||||||
|
public virtual global::System.Threading.Tasks.Task<global::UltraCombos.Marvel.DrawHeroes.DataReply> SendData(global::UltraCombos.Marvel.DrawHeroes.DataRequest request, grpc::ServerCallContext context) |
||||||
|
{ |
||||||
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Client for Resource</summary> |
||||||
|
public partial class ResourceClient : grpc::ClientBase<ResourceClient> |
||||||
|
{ |
||||||
|
/// <summary>Creates a new client for Resource</summary> |
||||||
|
/// <param name="channel">The channel to use to make remote calls.</param> |
||||||
|
public ResourceClient(grpc::Channel channel) : base(channel) |
||||||
|
{ |
||||||
|
} |
||||||
|
/// <summary>Creates a new client for Resource that uses a custom <c>CallInvoker</c>.</summary> |
||||||
|
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param> |
||||||
|
public ResourceClient(grpc::CallInvoker callInvoker) : base(callInvoker) |
||||||
|
{ |
||||||
|
} |
||||||
|
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary> |
||||||
|
protected ResourceClient() : base() |
||||||
|
{ |
||||||
|
} |
||||||
|
/// <summary>Protected constructor to allow creation of configured clients.</summary> |
||||||
|
/// <param name="configuration">The client configuration.</param> |
||||||
|
protected ResourceClient(ClientBaseConfiguration configuration) : base(configuration) |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public virtual global::UltraCombos.Marvel.DrawHeroes.Page GetPage(global::UltraCombos.Marvel.DrawHeroes.Device request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) |
||||||
|
{ |
||||||
|
return GetPage(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||||
|
} |
||||||
|
public virtual global::UltraCombos.Marvel.DrawHeroes.Page GetPage(global::UltraCombos.Marvel.DrawHeroes.Device request, grpc::CallOptions options) |
||||||
|
{ |
||||||
|
return CallInvoker.BlockingUnaryCall(__Method_GetPage, null, options, request); |
||||||
|
} |
||||||
|
public virtual grpc::AsyncUnaryCall<global::UltraCombos.Marvel.DrawHeroes.Page> GetPageAsync(global::UltraCombos.Marvel.DrawHeroes.Device request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) |
||||||
|
{ |
||||||
|
return GetPageAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||||
|
} |
||||||
|
public virtual grpc::AsyncUnaryCall<global::UltraCombos.Marvel.DrawHeroes.Page> GetPageAsync(global::UltraCombos.Marvel.DrawHeroes.Device request, grpc::CallOptions options) |
||||||
|
{ |
||||||
|
return CallInvoker.AsyncUnaryCall(__Method_GetPage, null, options, request); |
||||||
|
} |
||||||
|
public virtual global::UltraCombos.Marvel.DrawHeroes.DataReply SendData(global::UltraCombos.Marvel.DrawHeroes.DataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) |
||||||
|
{ |
||||||
|
return SendData(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||||
|
} |
||||||
|
public virtual global::UltraCombos.Marvel.DrawHeroes.DataReply SendData(global::UltraCombos.Marvel.DrawHeroes.DataRequest request, grpc::CallOptions options) |
||||||
|
{ |
||||||
|
return CallInvoker.BlockingUnaryCall(__Method_SendData, null, options, request); |
||||||
|
} |
||||||
|
public virtual grpc::AsyncUnaryCall<global::UltraCombos.Marvel.DrawHeroes.DataReply> SendDataAsync(global::UltraCombos.Marvel.DrawHeroes.DataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) |
||||||
|
{ |
||||||
|
return SendDataAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||||
|
} |
||||||
|
public virtual grpc::AsyncUnaryCall<global::UltraCombos.Marvel.DrawHeroes.DataReply> SendDataAsync(global::UltraCombos.Marvel.DrawHeroes.DataRequest request, grpc::CallOptions options) |
||||||
|
{ |
||||||
|
return CallInvoker.AsyncUnaryCall(__Method_SendData, null, options, request); |
||||||
|
} |
||||||
|
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary> |
||||||
|
protected override ResourceClient NewInstance(ClientBaseConfiguration configuration) |
||||||
|
{ |
||||||
|
return new ResourceClient(configuration); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Creates service definition that can be registered with a server</summary> |
||||||
|
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param> |
||||||
|
public static grpc::ServerServiceDefinition BindService(ResourceBase serviceImpl) |
||||||
|
{ |
||||||
|
return grpc::ServerServiceDefinition.CreateBuilder() |
||||||
|
.AddMethod(__Method_GetPage, serviceImpl.GetPage) |
||||||
|
.AddMethod(__Method_SendData, serviceImpl.SendData).Build(); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
#endregion |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: b4c162a4785013143a46d39310ca0b6a |
||||||
|
MonoImporter: |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 2 |
||||||
|
defaultReferences: [] |
||||||
|
executionOrder: 0 |
||||||
|
icon: {instanceID: 0} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,813 @@ |
|||||||
|
// <auto-generated> |
||||||
|
// Generated by the protocol buffer compiler. DO NOT EDIT! |
||||||
|
// source: Ultracombos.Marvel.DrawHeroes.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 UltraCombos.Marvel.DrawHeroes { |
||||||
|
|
||||||
|
/// <summary>Holder for reflection information generated from Ultracombos.Marvel.DrawHeroes.proto</summary> |
||||||
|
public static partial class UltracombosMarvelDrawHeroesReflection { |
||||||
|
|
||||||
|
#region Descriptor |
||||||
|
/// <summary>File descriptor for Ultracombos.Marvel.DrawHeroes.proto</summary> |
||||||
|
public static pbr::FileDescriptor Descriptor { |
||||||
|
get { return descriptor; } |
||||||
|
} |
||||||
|
private static pbr::FileDescriptor descriptor; |
||||||
|
|
||||||
|
static UltracombosMarvelDrawHeroesReflection() { |
||||||
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
||||||
|
string.Concat( |
||||||
|
"CiNVbHRyYWNvbWJvcy5NYXJ2ZWwuRHJhd0hlcm9lcy5wcm90bxIdVWx0cmFD", |
||||||
|
"b21ib3MuTWFydmVsLkRyYXdIZXJvZXMiBwoFRW1wdHkiFAoGRGV2aWNlEgoK", |
||||||
|
"AmlkGAEgASgFIiIKBFBhZ2USCgoCaWQYASABKAkSDgoGc2VyaWFsGAIgASgJ", |
||||||
|
"ImAKC0RhdGFSZXF1ZXN0EgoKAmlkGAEgASgJEg4KBnNlcmlhbBgCIAEoCRIP", |
||||||
|
"Cgdjb250ZW50GAMgASgMEhEKCXNpZ25hdHVyZRgEIAEoDBIRCgl0aHVtYm5h", |
||||||
|
"aWwYBSABKAwiGwoJRGF0YVJlcGx5Eg4KBnJlc3VsdBgBIAEoCTLHAQoIUmVz", |
||||||
|
"b3VyY2USVwoHR2V0UGFnZRIlLlVsdHJhQ29tYm9zLk1hcnZlbC5EcmF3SGVy", |
||||||
|
"b2VzLkRldmljZRojLlVsdHJhQ29tYm9zLk1hcnZlbC5EcmF3SGVyb2VzLlBh", |
||||||
|
"Z2UiABJiCghTZW5kRGF0YRIqLlVsdHJhQ29tYm9zLk1hcnZlbC5EcmF3SGVy", |
||||||
|
"b2VzLkRhdGFSZXF1ZXN0GiguVWx0cmFDb21ib3MuTWFydmVsLkRyYXdIZXJv", |
||||||
|
"ZXMuRGF0YVJlcGx5IgBiBnByb3RvMw==")); |
||||||
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
||||||
|
new pbr::FileDescriptor[] { }, |
||||||
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { |
||||||
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Marvel.DrawHeroes.Empty), global::UltraCombos.Marvel.DrawHeroes.Empty.Parser, null, null, null, null), |
||||||
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Marvel.DrawHeroes.Device), global::UltraCombos.Marvel.DrawHeroes.Device.Parser, new[]{ "Id" }, null, null, null), |
||||||
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Marvel.DrawHeroes.Page), global::UltraCombos.Marvel.DrawHeroes.Page.Parser, new[]{ "Id", "Serial" }, null, null, null), |
||||||
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Marvel.DrawHeroes.DataRequest), global::UltraCombos.Marvel.DrawHeroes.DataRequest.Parser, new[]{ "Id", "Serial", "Content", "Signature", "Thumbnail" }, null, null, null), |
||||||
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Marvel.DrawHeroes.DataReply), global::UltraCombos.Marvel.DrawHeroes.DataReply.Parser, new[]{ "Result" }, null, null, null) |
||||||
|
})); |
||||||
|
} |
||||||
|
#endregion |
||||||
|
|
||||||
|
} |
||||||
|
#region Messages |
||||||
|
public sealed partial class Empty : pb::IMessage<Empty> { |
||||||
|
private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty()); |
||||||
|
private pb::UnknownFieldSet _unknownFields; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pb::MessageParser<Empty> Parser { get { return _parser; } } |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pbr::MessageDescriptor Descriptor { |
||||||
|
get { return global::UltraCombos.Marvel.DrawHeroes.UltracombosMarvelDrawHeroesReflection.Descriptor.MessageTypes[0]; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||||
|
get { return Descriptor; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Empty() { |
||||||
|
OnConstruction(); |
||||||
|
} |
||||||
|
|
||||||
|
partial void OnConstruction(); |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Empty(Empty other) : this() { |
||||||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Empty Clone() { |
||||||
|
return new Empty(this); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override bool Equals(object other) { |
||||||
|
return Equals(other as Empty); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public bool Equals(Empty 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(Empty 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; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public sealed partial class Device : pb::IMessage<Device> { |
||||||
|
private static readonly pb::MessageParser<Device> _parser = new pb::MessageParser<Device>(() => new Device()); |
||||||
|
private pb::UnknownFieldSet _unknownFields; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pb::MessageParser<Device> Parser { get { return _parser; } } |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pbr::MessageDescriptor Descriptor { |
||||||
|
get { return global::UltraCombos.Marvel.DrawHeroes.UltracombosMarvelDrawHeroesReflection.Descriptor.MessageTypes[1]; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||||
|
get { return Descriptor; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Device() { |
||||||
|
OnConstruction(); |
||||||
|
} |
||||||
|
|
||||||
|
partial void OnConstruction(); |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Device(Device other) : this() { |
||||||
|
id_ = other.id_; |
||||||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Device Clone() { |
||||||
|
return new Device(this); |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "id" field.</summary> |
||||||
|
public const int IdFieldNumber = 1; |
||||||
|
private int id_; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public int Id { |
||||||
|
get { return id_; } |
||||||
|
set { |
||||||
|
id_ = value; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override bool Equals(object other) { |
||||||
|
return Equals(other as Device); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public bool Equals(Device other) { |
||||||
|
if (ReferenceEquals(other, null)) { |
||||||
|
return false; |
||||||
|
} |
||||||
|
if (ReferenceEquals(other, this)) { |
||||||
|
return true; |
||||||
|
} |
||||||
|
if (Id != other.Id) return false; |
||||||
|
return Equals(_unknownFields, other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override int GetHashCode() { |
||||||
|
int hash = 1; |
||||||
|
if (Id != 0) hash ^= Id.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 (Id != 0) { |
||||||
|
output.WriteRawTag(8); |
||||||
|
output.WriteInt32(Id); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
_unknownFields.WriteTo(output); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public int CalculateSize() { |
||||||
|
int size = 0; |
||||||
|
if (Id != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
size += _unknownFields.CalculateSize(); |
||||||
|
} |
||||||
|
return size; |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public void MergeFrom(Device other) { |
||||||
|
if (other == null) { |
||||||
|
return; |
||||||
|
} |
||||||
|
if (other.Id != 0) { |
||||||
|
Id = other.Id; |
||||||
|
} |
||||||
|
_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 8: { |
||||||
|
Id = input.ReadInt32(); |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public sealed partial class Page : pb::IMessage<Page> { |
||||||
|
private static readonly pb::MessageParser<Page> _parser = new pb::MessageParser<Page>(() => new Page()); |
||||||
|
private pb::UnknownFieldSet _unknownFields; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pb::MessageParser<Page> Parser { get { return _parser; } } |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pbr::MessageDescriptor Descriptor { |
||||||
|
get { return global::UltraCombos.Marvel.DrawHeroes.UltracombosMarvelDrawHeroesReflection.Descriptor.MessageTypes[2]; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||||
|
get { return Descriptor; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Page() { |
||||||
|
OnConstruction(); |
||||||
|
} |
||||||
|
|
||||||
|
partial void OnConstruction(); |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Page(Page other) : this() { |
||||||
|
id_ = other.id_; |
||||||
|
serial_ = other.serial_; |
||||||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public Page Clone() { |
||||||
|
return new Page(this); |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "id" field.</summary> |
||||||
|
public const int IdFieldNumber = 1; |
||||||
|
private string id_ = ""; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public string Id { |
||||||
|
get { return id_; } |
||||||
|
set { |
||||||
|
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "serial" field.</summary> |
||||||
|
public const int SerialFieldNumber = 2; |
||||||
|
private string serial_ = ""; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public string Serial { |
||||||
|
get { return serial_; } |
||||||
|
set { |
||||||
|
serial_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override bool Equals(object other) { |
||||||
|
return Equals(other as Page); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public bool Equals(Page other) { |
||||||
|
if (ReferenceEquals(other, null)) { |
||||||
|
return false; |
||||||
|
} |
||||||
|
if (ReferenceEquals(other, this)) { |
||||||
|
return true; |
||||||
|
} |
||||||
|
if (Id != other.Id) return false; |
||||||
|
if (Serial != other.Serial) return false; |
||||||
|
return Equals(_unknownFields, other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override int GetHashCode() { |
||||||
|
int hash = 1; |
||||||
|
if (Id.Length != 0) hash ^= Id.GetHashCode(); |
||||||
|
if (Serial.Length != 0) hash ^= Serial.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 (Id.Length != 0) { |
||||||
|
output.WriteRawTag(10); |
||||||
|
output.WriteString(Id); |
||||||
|
} |
||||||
|
if (Serial.Length != 0) { |
||||||
|
output.WriteRawTag(18); |
||||||
|
output.WriteString(Serial); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
_unknownFields.WriteTo(output); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public int CalculateSize() { |
||||||
|
int size = 0; |
||||||
|
if (Id.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
||||||
|
} |
||||||
|
if (Serial.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Serial); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
size += _unknownFields.CalculateSize(); |
||||||
|
} |
||||||
|
return size; |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public void MergeFrom(Page other) { |
||||||
|
if (other == null) { |
||||||
|
return; |
||||||
|
} |
||||||
|
if (other.Id.Length != 0) { |
||||||
|
Id = other.Id; |
||||||
|
} |
||||||
|
if (other.Serial.Length != 0) { |
||||||
|
Serial = other.Serial; |
||||||
|
} |
||||||
|
_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: { |
||||||
|
Id = input.ReadString(); |
||||||
|
break; |
||||||
|
} |
||||||
|
case 18: { |
||||||
|
Serial = input.ReadString(); |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public sealed partial class DataRequest : pb::IMessage<DataRequest> { |
||||||
|
private static readonly pb::MessageParser<DataRequest> _parser = new pb::MessageParser<DataRequest>(() => new DataRequest()); |
||||||
|
private pb::UnknownFieldSet _unknownFields; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pb::MessageParser<DataRequest> Parser { get { return _parser; } } |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pbr::MessageDescriptor Descriptor { |
||||||
|
get { return global::UltraCombos.Marvel.DrawHeroes.UltracombosMarvelDrawHeroesReflection.Descriptor.MessageTypes[3]; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||||
|
get { return Descriptor; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public DataRequest() { |
||||||
|
OnConstruction(); |
||||||
|
} |
||||||
|
|
||||||
|
partial void OnConstruction(); |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public DataRequest(DataRequest other) : this() { |
||||||
|
id_ = other.id_; |
||||||
|
serial_ = other.serial_; |
||||||
|
content_ = other.content_; |
||||||
|
signature_ = other.signature_; |
||||||
|
thumbnail_ = other.thumbnail_; |
||||||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public DataRequest Clone() { |
||||||
|
return new DataRequest(this); |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "id" field.</summary> |
||||||
|
public const int IdFieldNumber = 1; |
||||||
|
private string id_ = ""; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public string Id { |
||||||
|
get { return id_; } |
||||||
|
set { |
||||||
|
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "serial" field.</summary> |
||||||
|
public const int SerialFieldNumber = 2; |
||||||
|
private string serial_ = ""; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public string Serial { |
||||||
|
get { return serial_; } |
||||||
|
set { |
||||||
|
serial_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "content" field.</summary> |
||||||
|
public const int ContentFieldNumber = 3; |
||||||
|
private pb::ByteString content_ = pb::ByteString.Empty; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public pb::ByteString Content { |
||||||
|
get { return content_; } |
||||||
|
set { |
||||||
|
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "signature" field.</summary> |
||||||
|
public const int SignatureFieldNumber = 4; |
||||||
|
private pb::ByteString signature_ = pb::ByteString.Empty; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public pb::ByteString Signature { |
||||||
|
get { return signature_; } |
||||||
|
set { |
||||||
|
signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "thumbnail" field.</summary> |
||||||
|
public const int ThumbnailFieldNumber = 5; |
||||||
|
private pb::ByteString thumbnail_ = pb::ByteString.Empty; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public pb::ByteString Thumbnail { |
||||||
|
get { return thumbnail_; } |
||||||
|
set { |
||||||
|
thumbnail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override bool Equals(object other) { |
||||||
|
return Equals(other as DataRequest); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public bool Equals(DataRequest other) { |
||||||
|
if (ReferenceEquals(other, null)) { |
||||||
|
return false; |
||||||
|
} |
||||||
|
if (ReferenceEquals(other, this)) { |
||||||
|
return true; |
||||||
|
} |
||||||
|
if (Id != other.Id) return false; |
||||||
|
if (Serial != other.Serial) return false; |
||||||
|
if (Content != other.Content) return false; |
||||||
|
if (Signature != other.Signature) return false; |
||||||
|
if (Thumbnail != other.Thumbnail) return false; |
||||||
|
return Equals(_unknownFields, other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override int GetHashCode() { |
||||||
|
int hash = 1; |
||||||
|
if (Id.Length != 0) hash ^= Id.GetHashCode(); |
||||||
|
if (Serial.Length != 0) hash ^= Serial.GetHashCode(); |
||||||
|
if (Content.Length != 0) hash ^= Content.GetHashCode(); |
||||||
|
if (Signature.Length != 0) hash ^= Signature.GetHashCode(); |
||||||
|
if (Thumbnail.Length != 0) hash ^= Thumbnail.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 (Id.Length != 0) { |
||||||
|
output.WriteRawTag(10); |
||||||
|
output.WriteString(Id); |
||||||
|
} |
||||||
|
if (Serial.Length != 0) { |
||||||
|
output.WriteRawTag(18); |
||||||
|
output.WriteString(Serial); |
||||||
|
} |
||||||
|
if (Content.Length != 0) { |
||||||
|
output.WriteRawTag(26); |
||||||
|
output.WriteBytes(Content); |
||||||
|
} |
||||||
|
if (Signature.Length != 0) { |
||||||
|
output.WriteRawTag(34); |
||||||
|
output.WriteBytes(Signature); |
||||||
|
} |
||||||
|
if (Thumbnail.Length != 0) { |
||||||
|
output.WriteRawTag(42); |
||||||
|
output.WriteBytes(Thumbnail); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
_unknownFields.WriteTo(output); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public int CalculateSize() { |
||||||
|
int size = 0; |
||||||
|
if (Id.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
||||||
|
} |
||||||
|
if (Serial.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Serial); |
||||||
|
} |
||||||
|
if (Content.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Content); |
||||||
|
} |
||||||
|
if (Signature.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Signature); |
||||||
|
} |
||||||
|
if (Thumbnail.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Thumbnail); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
size += _unknownFields.CalculateSize(); |
||||||
|
} |
||||||
|
return size; |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public void MergeFrom(DataRequest other) { |
||||||
|
if (other == null) { |
||||||
|
return; |
||||||
|
} |
||||||
|
if (other.Id.Length != 0) { |
||||||
|
Id = other.Id; |
||||||
|
} |
||||||
|
if (other.Serial.Length != 0) { |
||||||
|
Serial = other.Serial; |
||||||
|
} |
||||||
|
if (other.Content.Length != 0) { |
||||||
|
Content = other.Content; |
||||||
|
} |
||||||
|
if (other.Signature.Length != 0) { |
||||||
|
Signature = other.Signature; |
||||||
|
} |
||||||
|
if (other.Thumbnail.Length != 0) { |
||||||
|
Thumbnail = other.Thumbnail; |
||||||
|
} |
||||||
|
_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: { |
||||||
|
Id = input.ReadString(); |
||||||
|
break; |
||||||
|
} |
||||||
|
case 18: { |
||||||
|
Serial = input.ReadString(); |
||||||
|
break; |
||||||
|
} |
||||||
|
case 26: { |
||||||
|
Content = input.ReadBytes(); |
||||||
|
break; |
||||||
|
} |
||||||
|
case 34: { |
||||||
|
Signature = input.ReadBytes(); |
||||||
|
break; |
||||||
|
} |
||||||
|
case 42: { |
||||||
|
Thumbnail = input.ReadBytes(); |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public sealed partial class DataReply : pb::IMessage<DataReply> { |
||||||
|
private static readonly pb::MessageParser<DataReply> _parser = new pb::MessageParser<DataReply>(() => new DataReply()); |
||||||
|
private pb::UnknownFieldSet _unknownFields; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pb::MessageParser<DataReply> Parser { get { return _parser; } } |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public static pbr::MessageDescriptor Descriptor { |
||||||
|
get { return global::UltraCombos.Marvel.DrawHeroes.UltracombosMarvelDrawHeroesReflection.Descriptor.MessageTypes[4]; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||||
|
get { return Descriptor; } |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public DataReply() { |
||||||
|
OnConstruction(); |
||||||
|
} |
||||||
|
|
||||||
|
partial void OnConstruction(); |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public DataReply(DataReply other) : this() { |
||||||
|
result_ = other.result_; |
||||||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public DataReply Clone() { |
||||||
|
return new DataReply(this); |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>Field number for the "result" field.</summary> |
||||||
|
public const int ResultFieldNumber = 1; |
||||||
|
private string result_ = ""; |
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public string Result { |
||||||
|
get { return result_; } |
||||||
|
set { |
||||||
|
result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override bool Equals(object other) { |
||||||
|
return Equals(other as DataReply); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public bool Equals(DataReply other) { |
||||||
|
if (ReferenceEquals(other, null)) { |
||||||
|
return false; |
||||||
|
} |
||||||
|
if (ReferenceEquals(other, this)) { |
||||||
|
return true; |
||||||
|
} |
||||||
|
if (Result != other.Result) return false; |
||||||
|
return Equals(_unknownFields, other._unknownFields); |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public override int GetHashCode() { |
||||||
|
int hash = 1; |
||||||
|
if (Result.Length != 0) hash ^= Result.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 (Result.Length != 0) { |
||||||
|
output.WriteRawTag(10); |
||||||
|
output.WriteString(Result); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
_unknownFields.WriteTo(output); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public int CalculateSize() { |
||||||
|
int size = 0; |
||||||
|
if (Result.Length != 0) { |
||||||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Result); |
||||||
|
} |
||||||
|
if (_unknownFields != null) { |
||||||
|
size += _unknownFields.CalculateSize(); |
||||||
|
} |
||||||
|
return size; |
||||||
|
} |
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||||
|
public void MergeFrom(DataReply other) { |
||||||
|
if (other == null) { |
||||||
|
return; |
||||||
|
} |
||||||
|
if (other.Result.Length != 0) { |
||||||
|
Result = other.Result; |
||||||
|
} |
||||||
|
_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: { |
||||||
|
Result = input.ReadString(); |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
#endregion |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
#endregion Designer generated code |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 13345b8d9365ba34b933b6b74ec53c7c |
||||||
|
MonoImporter: |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 2 |
||||||
|
defaultReferences: [] |
||||||
|
executionOrder: 0 |
||||||
|
icon: {instanceID: 0} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
Loading…
Reference in new issue