mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 22:44:35 +01:00
803 lines
24 KiB
C#
803 lines
24 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: Chest.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace Nova.Client {
|
|
|
|
/// <summary>Holder for reflection information generated from Chest.proto</summary>
|
|
public static partial class ChestReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for Chest.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChestReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CgtDaGVzdC5wcm90byKZAgoFQ2hlc3QSCgoCaWQYASABKAUSDQoFZ3JvdXAY",
|
|
"AiABKAUSDQoFbGFiZWwYAyABKAUSEQoJbG93X2Zsb29yGAQgASgFEhIKCmhp",
|
|
"Z2hfZmxvb3IYBSABKAUSGAoQdG50ZXJhY3Rpb25fdHlwZRgGIAEoBRIRCglh",
|
|
"dXRvX29wZW4YByABKAUSEgoKbW9kZWxfcGF0aBgIIAEoCRINCgVpdGVtMRgJ",
|
|
"IAEoBRIPCgdudW1iZXIxGAogASgFEg0KBWl0ZW0yGAsgASgFEg8KB251bWJl",
|
|
"cjIYDCABKAUSDQoFaXRlbTMYDSABKAUSDwoHbnVtYmVyMxgOIAEoBRINCgVp",
|
|
"dGVtNBgPIAEoBRIPCgdudW1iZXI0GBAgASgFQg6qAgtOb3ZhLkNsaWVudGIG",
|
|
"cHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chest), global::Nova.Client.Chest.Parser, new[]{ "Id", "Group", "Label", "LowFloor", "HighFloor", "TnteractionType", "AutoOpen", "ModelPath", "Item1", "Number1", "Item2", "Number2", "Item3", "Number3", "Item4", "Number4" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class Chest : pb::IMessage<Chest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<Chest> _parser = new pb::MessageParser<Chest>(() => new Chest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<Chest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Nova.Client.ChestReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Chest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Chest(Chest other) : this() {
|
|
id_ = other.id_;
|
|
group_ = other.group_;
|
|
label_ = other.label_;
|
|
lowFloor_ = other.lowFloor_;
|
|
highFloor_ = other.highFloor_;
|
|
tnteractionType_ = other.tnteractionType_;
|
|
autoOpen_ = other.autoOpen_;
|
|
modelPath_ = other.modelPath_;
|
|
item1_ = other.item1_;
|
|
number1_ = other.number1_;
|
|
item2_ = other.item2_;
|
|
number2_ = other.number2_;
|
|
item3_ = other.item3_;
|
|
number3_ = other.number3_;
|
|
item4_ = other.item4_;
|
|
number4_ = other.number4_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Chest Clone() {
|
|
return new Chest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private int id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "group" field.</summary>
|
|
public const int GroupFieldNumber = 2;
|
|
private int group_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Group {
|
|
get { return group_; }
|
|
set {
|
|
group_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "label" field.</summary>
|
|
public const int LabelFieldNumber = 3;
|
|
private int label_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Label {
|
|
get { return label_; }
|
|
set {
|
|
label_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "low_floor" field.</summary>
|
|
public const int LowFloorFieldNumber = 4;
|
|
private int lowFloor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int LowFloor {
|
|
get { return lowFloor_; }
|
|
set {
|
|
lowFloor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "high_floor" field.</summary>
|
|
public const int HighFloorFieldNumber = 5;
|
|
private int highFloor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int HighFloor {
|
|
get { return highFloor_; }
|
|
set {
|
|
highFloor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "tnteraction_type" field.</summary>
|
|
public const int TnteractionTypeFieldNumber = 6;
|
|
private int tnteractionType_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int TnteractionType {
|
|
get { return tnteractionType_; }
|
|
set {
|
|
tnteractionType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "auto_open" field.</summary>
|
|
public const int AutoOpenFieldNumber = 7;
|
|
private int autoOpen_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AutoOpen {
|
|
get { return autoOpen_; }
|
|
set {
|
|
autoOpen_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "model_path" field.</summary>
|
|
public const int ModelPathFieldNumber = 8;
|
|
private string modelPath_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string ModelPath {
|
|
get { return modelPath_; }
|
|
set {
|
|
modelPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item1" field.</summary>
|
|
public const int Item1FieldNumber = 9;
|
|
private int item1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Item1 {
|
|
get { return item1_; }
|
|
set {
|
|
item1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "number1" field.</summary>
|
|
public const int Number1FieldNumber = 10;
|
|
private int number1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Number1 {
|
|
get { return number1_; }
|
|
set {
|
|
number1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item2" field.</summary>
|
|
public const int Item2FieldNumber = 11;
|
|
private int item2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Item2 {
|
|
get { return item2_; }
|
|
set {
|
|
item2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "number2" field.</summary>
|
|
public const int Number2FieldNumber = 12;
|
|
private int number2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Number2 {
|
|
get { return number2_; }
|
|
set {
|
|
number2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item3" field.</summary>
|
|
public const int Item3FieldNumber = 13;
|
|
private int item3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Item3 {
|
|
get { return item3_; }
|
|
set {
|
|
item3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "number3" field.</summary>
|
|
public const int Number3FieldNumber = 14;
|
|
private int number3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Number3 {
|
|
get { return number3_; }
|
|
set {
|
|
number3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item4" field.</summary>
|
|
public const int Item4FieldNumber = 15;
|
|
private int item4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Item4 {
|
|
get { return item4_; }
|
|
set {
|
|
item4_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "number4" field.</summary>
|
|
public const int Number4FieldNumber = 16;
|
|
private int number4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Number4 {
|
|
get { return number4_; }
|
|
set {
|
|
number4_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Chest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(Chest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (Group != other.Group) return false;
|
|
if (Label != other.Label) return false;
|
|
if (LowFloor != other.LowFloor) return false;
|
|
if (HighFloor != other.HighFloor) return false;
|
|
if (TnteractionType != other.TnteractionType) return false;
|
|
if (AutoOpen != other.AutoOpen) return false;
|
|
if (ModelPath != other.ModelPath) return false;
|
|
if (Item1 != other.Item1) return false;
|
|
if (Number1 != other.Number1) return false;
|
|
if (Item2 != other.Item2) return false;
|
|
if (Number2 != other.Number2) return false;
|
|
if (Item3 != other.Item3) return false;
|
|
if (Number3 != other.Number3) return false;
|
|
if (Item4 != other.Item4) return false;
|
|
if (Number4 != other.Number4) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (Group != 0) hash ^= Group.GetHashCode();
|
|
if (Label != 0) hash ^= Label.GetHashCode();
|
|
if (LowFloor != 0) hash ^= LowFloor.GetHashCode();
|
|
if (HighFloor != 0) hash ^= HighFloor.GetHashCode();
|
|
if (TnteractionType != 0) hash ^= TnteractionType.GetHashCode();
|
|
if (AutoOpen != 0) hash ^= AutoOpen.GetHashCode();
|
|
if (ModelPath.Length != 0) hash ^= ModelPath.GetHashCode();
|
|
if (Item1 != 0) hash ^= Item1.GetHashCode();
|
|
if (Number1 != 0) hash ^= Number1.GetHashCode();
|
|
if (Item2 != 0) hash ^= Item2.GetHashCode();
|
|
if (Number2 != 0) hash ^= Number2.GetHashCode();
|
|
if (Item3 != 0) hash ^= Item3.GetHashCode();
|
|
if (Number3 != 0) hash ^= Number3.GetHashCode();
|
|
if (Item4 != 0) hash ^= Item4.GetHashCode();
|
|
if (Number4 != 0) hash ^= Number4.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (Group != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Group);
|
|
}
|
|
if (Label != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Label);
|
|
}
|
|
if (LowFloor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(LowFloor);
|
|
}
|
|
if (HighFloor != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(HighFloor);
|
|
}
|
|
if (TnteractionType != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(TnteractionType);
|
|
}
|
|
if (AutoOpen != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(AutoOpen);
|
|
}
|
|
if (ModelPath.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(ModelPath);
|
|
}
|
|
if (Item1 != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(Item1);
|
|
}
|
|
if (Number1 != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(Number1);
|
|
}
|
|
if (Item2 != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(Item2);
|
|
}
|
|
if (Number2 != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(Number2);
|
|
}
|
|
if (Item3 != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt32(Item3);
|
|
}
|
|
if (Number3 != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(Number3);
|
|
}
|
|
if (Item4 != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(Item4);
|
|
}
|
|
if (Number4 != 0) {
|
|
output.WriteRawTag(128, 1);
|
|
output.WriteInt32(Number4);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (Group != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Group);
|
|
}
|
|
if (Label != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Label);
|
|
}
|
|
if (LowFloor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(LowFloor);
|
|
}
|
|
if (HighFloor != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(HighFloor);
|
|
}
|
|
if (TnteractionType != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(TnteractionType);
|
|
}
|
|
if (AutoOpen != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(AutoOpen);
|
|
}
|
|
if (ModelPath.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(ModelPath);
|
|
}
|
|
if (Item1 != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(Item1);
|
|
}
|
|
if (Number1 != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(Number1);
|
|
}
|
|
if (Item2 != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(Item2);
|
|
}
|
|
if (Number2 != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(Number2);
|
|
}
|
|
if (Item3 != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt32(Item3);
|
|
}
|
|
if (Number3 != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(Number3);
|
|
}
|
|
if (Item4 != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(Item4);
|
|
}
|
|
if (Number4 != 0) {
|
|
output.WriteRawTag(128, 1);
|
|
output.WriteInt32(Number4);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
|
}
|
|
if (Group != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group);
|
|
}
|
|
if (Label != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Label);
|
|
}
|
|
if (LowFloor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LowFloor);
|
|
}
|
|
if (HighFloor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(HighFloor);
|
|
}
|
|
if (TnteractionType != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TnteractionType);
|
|
}
|
|
if (AutoOpen != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AutoOpen);
|
|
}
|
|
if (ModelPath.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelPath);
|
|
}
|
|
if (Item1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item1);
|
|
}
|
|
if (Number1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1);
|
|
}
|
|
if (Item2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item2);
|
|
}
|
|
if (Number2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2);
|
|
}
|
|
if (Item3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item3);
|
|
}
|
|
if (Number3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number3);
|
|
}
|
|
if (Item4 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item4);
|
|
}
|
|
if (Number4 != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Number4);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(Chest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.Group != 0) {
|
|
Group = other.Group;
|
|
}
|
|
if (other.Label != 0) {
|
|
Label = other.Label;
|
|
}
|
|
if (other.LowFloor != 0) {
|
|
LowFloor = other.LowFloor;
|
|
}
|
|
if (other.HighFloor != 0) {
|
|
HighFloor = other.HighFloor;
|
|
}
|
|
if (other.TnteractionType != 0) {
|
|
TnteractionType = other.TnteractionType;
|
|
}
|
|
if (other.AutoOpen != 0) {
|
|
AutoOpen = other.AutoOpen;
|
|
}
|
|
if (other.ModelPath.Length != 0) {
|
|
ModelPath = other.ModelPath;
|
|
}
|
|
if (other.Item1 != 0) {
|
|
Item1 = other.Item1;
|
|
}
|
|
if (other.Number1 != 0) {
|
|
Number1 = other.Number1;
|
|
}
|
|
if (other.Item2 != 0) {
|
|
Item2 = other.Item2;
|
|
}
|
|
if (other.Number2 != 0) {
|
|
Number2 = other.Number2;
|
|
}
|
|
if (other.Item3 != 0) {
|
|
Item3 = other.Item3;
|
|
}
|
|
if (other.Number3 != 0) {
|
|
Number3 = other.Number3;
|
|
}
|
|
if (other.Item4 != 0) {
|
|
Item4 = other.Item4;
|
|
}
|
|
if (other.Number4 != 0) {
|
|
Number4 = other.Number4;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Group = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Label = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
LowFloor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
HighFloor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
TnteractionType = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
AutoOpen = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
ModelPath = input.ReadString();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Item1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Number1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Item2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
Number2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Item3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
Number3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Item4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 128: {
|
|
Number4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Group = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Label = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
LowFloor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
HighFloor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
TnteractionType = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
AutoOpen = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
ModelPath = input.ReadString();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Item1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Number1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Item2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
Number2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Item3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
Number3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Item4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 128: {
|
|
Number4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|