//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: testActions.proto
//
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Ubisoft.Hotel.Rpc {
/// Holder for reflection information generated from testActions.proto
public static partial class TestActionsReflection {
#region Descriptor
/// File descriptor for testActions.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TestActionsReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChF0ZXN0QWN0aW9ucy5wcm90bxIRdWJpc29mdC5ob3RlbC5ycGMiFwoIVGVz",
"dEFyZ3MSCwoDdWlkGAEgASgFIjoKDFRlc3RSZXNwb25zZRILCgN1aWQYASAB",
"KAUSDAoEY29kZRgCIAEoBRIPCgdtZXNzYWdlGAMgASgJIiUKBEVjaG8SDwoH",
"bWVzc2FnZRgBIAEoCRIMCgRjb2RlGAIgASgFIjAKGEdlbmVyYXRlQ3JlYXR1",
"cmVzUmVxdWVzdBIUCgxudW1DcmVhdHVyZXMYASABKAUikQEKCENyZWF0dXJl",
"EgsKA3NrdRgBIAEoBRINCgVsZXZlbBgCIAEoBRI0CgdlbGVtZW50GAMgASgO",
"MiMudWJpc29mdC5ob3RlbC5ycGMuQ3JlYXR1cmUuRWxlbWVudCIzCgdFbGVt",
"ZW50EggKBEZJUkUQABIJCgVXQVRFUhABEgkKBUVBUlRIEAISCAoEV0lORBAD",
"IksKGUdlbmVyYXRlQ3JlYXR1cmVzUmVzcG9uc2USLgoJY3JlYXR1cmVzGAEg",
"AygLMhsudWJpc29mdC5ob3RlbC5ycGMuQ3JlYXR1cmUiQAoQRGVsYXlOZXh0",
"UGFja2V0cxIsCgpuZXh0RGVsYXlzGAEgAygLMhgudWJpc29mdC5ob3RlbC5y",
"cGMuRGVsYXkiKgoFRGVsYXkSEAoIcGFja2V0SWQYASABKAUSDwoHZGVsYXlN",
"cxgCIAEoBUIzChxjb20udWJpLmhvdGVsLmdycGMuZ2VuZXJhdGVkUAFaEVVi",
"aXNvZnQuSG90ZWwuUnBjYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.TestArgs), global::Ubisoft.Hotel.Rpc.TestArgs.Parser, new[]{ "Uid" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.TestResponse), global::Ubisoft.Hotel.Rpc.TestResponse.Parser, new[]{ "Uid", "Code", "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.Echo), global::Ubisoft.Hotel.Rpc.Echo.Parser, new[]{ "Message", "Code" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.GenerateCreaturesRequest), global::Ubisoft.Hotel.Rpc.GenerateCreaturesRequest.Parser, new[]{ "NumCreatures" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.Creature), global::Ubisoft.Hotel.Rpc.Creature.Parser, new[]{ "Sku", "Level", "Element" }, null, new[]{ typeof(global::Ubisoft.Hotel.Rpc.Creature.Types.Element) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.GenerateCreaturesResponse), global::Ubisoft.Hotel.Rpc.GenerateCreaturesResponse.Parser, new[]{ "Creatures" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.DelayNextPackets), global::Ubisoft.Hotel.Rpc.DelayNextPackets.Parser, new[]{ "NextDelays" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ubisoft.Hotel.Rpc.Delay), global::Ubisoft.Hotel.Rpc.Delay.Parser, new[]{ "PacketId", "DelayMs" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class TestArgs : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TestArgs());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestArgs() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestArgs(TestArgs other) : this() {
uid_ = other.uid_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestArgs Clone() {
return new TestArgs(this);
}
/// Field number for the "uid" field.
public const int UidFieldNumber = 1;
private int uid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Uid {
get { return uid_; }
set {
uid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TestArgs);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TestArgs other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Uid != other.Uid) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Uid != 0) hash ^= Uid.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Uid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Uid);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Uid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Uid);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Uid);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TestArgs other) {
if (other == null) {
return;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Uid = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Uid = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class TestResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TestResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestResponse(TestResponse other) : this() {
uid_ = other.uid_;
code_ = other.code_;
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestResponse Clone() {
return new TestResponse(this);
}
/// Field number for the "uid" field.
public const int UidFieldNumber = 1;
private int uid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Uid {
get { return uid_; }
set {
uid_ = value;
}
}
/// Field number for the "code" field.
public const int CodeFieldNumber = 2;
private int code_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Code {
get { return code_; }
set {
code_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 3;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TestResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TestResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Uid != other.Uid) return false;
if (Code != other.Code) return false;
if (Message != other.Message) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Uid != 0) hash ^= Uid.GetHashCode();
if (Code != 0) hash ^= Code.GetHashCode();
if (Message.Length != 0) hash ^= Message.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Uid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Uid);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (Message.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Uid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Uid);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (Message.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Uid);
}
if (Code != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TestResponse other) {
if (other == null) {
return;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
if (other.Code != 0) {
Code = other.Code;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Uid = input.ReadInt32();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
case 26: {
Message = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Uid = input.ReadInt32();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
case 26: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class Echo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Echo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Echo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Echo(Echo other) : this() {
message_ = other.message_;
code_ = other.code_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Echo Clone() {
return new Echo(this);
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "code" field.
public const int CodeFieldNumber = 2;
private int code_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Code {
get { return code_; }
set {
code_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Echo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Echo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) return false;
if (Code != other.Code) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (Code != 0) hash ^= Code.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (Code != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Echo other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
if (other.Code != 0) {
Code = other.Code;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Message = input.ReadString();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Message = input.ReadString();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class GenerateCreaturesRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenerateCreaturesRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GenerateCreaturesRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GenerateCreaturesRequest(GenerateCreaturesRequest other) : this() {
numCreatures_ = other.numCreatures_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GenerateCreaturesRequest Clone() {
return new GenerateCreaturesRequest(this);
}
/// Field number for the "numCreatures" field.
public const int NumCreaturesFieldNumber = 1;
private int numCreatures_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int NumCreatures {
get { return numCreatures_; }
set {
numCreatures_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GenerateCreaturesRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GenerateCreaturesRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NumCreatures != other.NumCreatures) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (NumCreatures != 0) hash ^= NumCreatures.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (NumCreatures != 0) {
output.WriteRawTag(8);
output.WriteInt32(NumCreatures);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (NumCreatures != 0) {
output.WriteRawTag(8);
output.WriteInt32(NumCreatures);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (NumCreatures != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumCreatures);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GenerateCreaturesRequest other) {
if (other == null) {
return;
}
if (other.NumCreatures != 0) {
NumCreatures = other.NumCreatures;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
NumCreatures = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
NumCreatures = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class Creature : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Creature());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Creature() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Creature(Creature other) : this() {
sku_ = other.sku_;
level_ = other.level_;
element_ = other.element_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Creature Clone() {
return new Creature(this);
}
/// Field number for the "sku" field.
public const int SkuFieldNumber = 1;
private int sku_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Sku {
get { return sku_; }
set {
sku_ = value;
}
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 2;
private int level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
/// Field number for the "element" field.
public const int ElementFieldNumber = 3;
private global::Ubisoft.Hotel.Rpc.Creature.Types.Element element_ = global::Ubisoft.Hotel.Rpc.Creature.Types.Element.Fire;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ubisoft.Hotel.Rpc.Creature.Types.Element Element {
get { return element_; }
set {
element_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Creature);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Creature other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Sku != other.Sku) return false;
if (Level != other.Level) return false;
if (Element != other.Element) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Sku != 0) hash ^= Sku.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Element != global::Ubisoft.Hotel.Rpc.Creature.Types.Element.Fire) hash ^= Element.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Sku != 0) {
output.WriteRawTag(8);
output.WriteInt32(Sku);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteInt32(Level);
}
if (Element != global::Ubisoft.Hotel.Rpc.Creature.Types.Element.Fire) {
output.WriteRawTag(24);
output.WriteEnum((int) Element);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Sku != 0) {
output.WriteRawTag(8);
output.WriteInt32(Sku);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteInt32(Level);
}
if (Element != global::Ubisoft.Hotel.Rpc.Creature.Types.Element.Fire) {
output.WriteRawTag(24);
output.WriteEnum((int) Element);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Sku != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sku);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
if (Element != global::Ubisoft.Hotel.Rpc.Creature.Types.Element.Fire) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Element);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Creature other) {
if (other == null) {
return;
}
if (other.Sku != 0) {
Sku = other.Sku;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Element != global::Ubisoft.Hotel.Rpc.Creature.Types.Element.Fire) {
Element = other.Element;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Sku = input.ReadInt32();
break;
}
case 16: {
Level = input.ReadInt32();
break;
}
case 24: {
Element = (global::Ubisoft.Hotel.Rpc.Creature.Types.Element) input.ReadEnum();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Sku = input.ReadInt32();
break;
}
case 16: {
Level = input.ReadInt32();
break;
}
case 24: {
Element = (global::Ubisoft.Hotel.Rpc.Creature.Types.Element) input.ReadEnum();
break;
}
}
}
}
#endif
#region Nested types
/// Container for nested types declared in the Creature message type.
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static partial class Types {
public enum Element {
[pbr::OriginalName("FIRE")] Fire = 0,
[pbr::OriginalName("WATER")] Water = 1,
[pbr::OriginalName("EARTH")] Earth = 2,
[pbr::OriginalName("WIND")] Wind = 3,
}
}
#endregion
}
public sealed partial class GenerateCreaturesResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenerateCreaturesResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GenerateCreaturesResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GenerateCreaturesResponse(GenerateCreaturesResponse other) : this() {
creatures_ = other.creatures_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GenerateCreaturesResponse Clone() {
return new GenerateCreaturesResponse(this);
}
/// Field number for the "creatures" field.
public const int CreaturesFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_creatures_codec
= pb::FieldCodec.ForMessage(10, global::Ubisoft.Hotel.Rpc.Creature.Parser);
private readonly pbc::RepeatedField creatures_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Creatures {
get { return creatures_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GenerateCreaturesResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GenerateCreaturesResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!creatures_.Equals(other.creatures_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= creatures_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
creatures_.WriteTo(output, _repeated_creatures_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
creatures_.WriteTo(ref output, _repeated_creatures_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += creatures_.CalculateSize(_repeated_creatures_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GenerateCreaturesResponse other) {
if (other == null) {
return;
}
creatures_.Add(other.creatures_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
creatures_.AddEntriesFrom(input, _repeated_creatures_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
creatures_.AddEntriesFrom(ref input, _repeated_creatures_codec);
break;
}
}
}
}
#endif
}
public sealed partial class DelayNextPackets : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DelayNextPackets());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DelayNextPackets() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DelayNextPackets(DelayNextPackets other) : this() {
nextDelays_ = other.nextDelays_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DelayNextPackets Clone() {
return new DelayNextPackets(this);
}
/// Field number for the "nextDelays" field.
public const int NextDelaysFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_nextDelays_codec
= pb::FieldCodec.ForMessage(10, global::Ubisoft.Hotel.Rpc.Delay.Parser);
private readonly pbc::RepeatedField nextDelays_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField NextDelays {
get { return nextDelays_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DelayNextPackets);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DelayNextPackets other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!nextDelays_.Equals(other.nextDelays_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= nextDelays_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
nextDelays_.WriteTo(output, _repeated_nextDelays_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
nextDelays_.WriteTo(ref output, _repeated_nextDelays_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += nextDelays_.CalculateSize(_repeated_nextDelays_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DelayNextPackets other) {
if (other == null) {
return;
}
nextDelays_.Add(other.nextDelays_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
nextDelays_.AddEntriesFrom(input, _repeated_nextDelays_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
nextDelays_.AddEntriesFrom(ref input, _repeated_nextDelays_codec);
break;
}
}
}
}
#endif
}
public sealed partial class Delay : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Delay());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ubisoft.Hotel.Rpc.TestActionsReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Delay() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Delay(Delay other) : this() {
packetId_ = other.packetId_;
delayMs_ = other.delayMs_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Delay Clone() {
return new Delay(this);
}
/// Field number for the "packetId" field.
public const int PacketIdFieldNumber = 1;
private int packetId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int PacketId {
get { return packetId_; }
set {
packetId_ = value;
}
}
/// Field number for the "delayMs" field.
public const int DelayMsFieldNumber = 2;
private int delayMs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int DelayMs {
get { return delayMs_; }
set {
delayMs_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Delay);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Delay other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PacketId != other.PacketId) return false;
if (DelayMs != other.DelayMs) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (PacketId != 0) hash ^= PacketId.GetHashCode();
if (DelayMs != 0) hash ^= DelayMs.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (PacketId != 0) {
output.WriteRawTag(8);
output.WriteInt32(PacketId);
}
if (DelayMs != 0) {
output.WriteRawTag(16);
output.WriteInt32(DelayMs);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (PacketId != 0) {
output.WriteRawTag(8);
output.WriteInt32(PacketId);
}
if (DelayMs != 0) {
output.WriteRawTag(16);
output.WriteInt32(DelayMs);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (PacketId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PacketId);
}
if (DelayMs != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DelayMs);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Delay other) {
if (other == null) {
return;
}
if (other.PacketId != 0) {
PacketId = other.PacketId;
}
if (other.DelayMs != 0) {
DelayMs = other.DelayMs;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
PacketId = input.ReadInt32();
break;
}
case 16: {
DelayMs = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
PacketId = input.ReadInt32();
break;
}
case 16: {
DelayMs = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code