mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 22:44:35 +01:00
578 lines
18 KiB
C#
578 lines
18 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DiscPromote.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 DiscPromote.proto</summary>
|
|
public static partial class DiscPromoteReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DiscPromote.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DiscPromoteReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFEaXNjUHJvbW90ZS5wcm90byKvAQoLRGlzY1Byb21vdGUSCgoCaWQYASAB",
|
|
"KAUSEAoIaXRlbV9pZDEYAiABKAUSDAoEbnVtMRgDIAEoBRIQCghpdGVtX2lk",
|
|
"MhgEIAEoBRIMCgRudW0yGAUgASgFEhAKCGl0ZW1faWQzGAYgASgFEgwKBG51",
|
|
"bTMYByABKAUSEAoIaXRlbV9pZDQYCCABKAUSDAoEbnVtNBgJIAEoBRIUCgxl",
|
|
"eHBlbnNlX2dvbGQYCiABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPromote), global::Nova.Client.DiscPromote.Parser, new[]{ "Id", "ItemId1", "Num1", "ItemId2", "Num2", "ItemId3", "Num3", "ItemId4", "Num4", "ExpenseGold" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DiscPromote : pb::IMessage<DiscPromote>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DiscPromote> _parser = new pb::MessageParser<DiscPromote>(() => new DiscPromote());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DiscPromote> 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.DiscPromoteReflection.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 DiscPromote() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DiscPromote(DiscPromote other) : this() {
|
|
id_ = other.id_;
|
|
itemId1_ = other.itemId1_;
|
|
num1_ = other.num1_;
|
|
itemId2_ = other.itemId2_;
|
|
num2_ = other.num2_;
|
|
itemId3_ = other.itemId3_;
|
|
num3_ = other.num3_;
|
|
itemId4_ = other.itemId4_;
|
|
num4_ = other.num4_;
|
|
expenseGold_ = other.expenseGold_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DiscPromote Clone() {
|
|
return new DiscPromote(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 "item_id1" field.</summary>
|
|
public const int ItemId1FieldNumber = 2;
|
|
private int itemId1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ItemId1 {
|
|
get { return itemId1_; }
|
|
set {
|
|
itemId1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "num1" field.</summary>
|
|
public const int Num1FieldNumber = 3;
|
|
private int num1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Num1 {
|
|
get { return num1_; }
|
|
set {
|
|
num1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item_id2" field.</summary>
|
|
public const int ItemId2FieldNumber = 4;
|
|
private int itemId2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ItemId2 {
|
|
get { return itemId2_; }
|
|
set {
|
|
itemId2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "num2" field.</summary>
|
|
public const int Num2FieldNumber = 5;
|
|
private int num2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Num2 {
|
|
get { return num2_; }
|
|
set {
|
|
num2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item_id3" field.</summary>
|
|
public const int ItemId3FieldNumber = 6;
|
|
private int itemId3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ItemId3 {
|
|
get { return itemId3_; }
|
|
set {
|
|
itemId3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "num3" field.</summary>
|
|
public const int Num3FieldNumber = 7;
|
|
private int num3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Num3 {
|
|
get { return num3_; }
|
|
set {
|
|
num3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item_id4" field.</summary>
|
|
public const int ItemId4FieldNumber = 8;
|
|
private int itemId4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ItemId4 {
|
|
get { return itemId4_; }
|
|
set {
|
|
itemId4_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "num4" field.</summary>
|
|
public const int Num4FieldNumber = 9;
|
|
private int num4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Num4 {
|
|
get { return num4_; }
|
|
set {
|
|
num4_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "expense_gold" field.</summary>
|
|
public const int ExpenseGoldFieldNumber = 10;
|
|
private int expenseGold_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ExpenseGold {
|
|
get { return expenseGold_; }
|
|
set {
|
|
expenseGold_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DiscPromote);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DiscPromote other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (ItemId1 != other.ItemId1) return false;
|
|
if (Num1 != other.Num1) return false;
|
|
if (ItemId2 != other.ItemId2) return false;
|
|
if (Num2 != other.Num2) return false;
|
|
if (ItemId3 != other.ItemId3) return false;
|
|
if (Num3 != other.Num3) return false;
|
|
if (ItemId4 != other.ItemId4) return false;
|
|
if (Num4 != other.Num4) return false;
|
|
if (ExpenseGold != other.ExpenseGold) 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 (ItemId1 != 0) hash ^= ItemId1.GetHashCode();
|
|
if (Num1 != 0) hash ^= Num1.GetHashCode();
|
|
if (ItemId2 != 0) hash ^= ItemId2.GetHashCode();
|
|
if (Num2 != 0) hash ^= Num2.GetHashCode();
|
|
if (ItemId3 != 0) hash ^= ItemId3.GetHashCode();
|
|
if (Num3 != 0) hash ^= Num3.GetHashCode();
|
|
if (ItemId4 != 0) hash ^= ItemId4.GetHashCode();
|
|
if (Num4 != 0) hash ^= Num4.GetHashCode();
|
|
if (ExpenseGold != 0) hash ^= ExpenseGold.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 (ItemId1 != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(ItemId1);
|
|
}
|
|
if (Num1 != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Num1);
|
|
}
|
|
if (ItemId2 != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(ItemId2);
|
|
}
|
|
if (Num2 != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Num2);
|
|
}
|
|
if (ItemId3 != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(ItemId3);
|
|
}
|
|
if (Num3 != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(Num3);
|
|
}
|
|
if (ItemId4 != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(ItemId4);
|
|
}
|
|
if (Num4 != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(Num4);
|
|
}
|
|
if (ExpenseGold != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ExpenseGold);
|
|
}
|
|
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 (ItemId1 != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(ItemId1);
|
|
}
|
|
if (Num1 != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Num1);
|
|
}
|
|
if (ItemId2 != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(ItemId2);
|
|
}
|
|
if (Num2 != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Num2);
|
|
}
|
|
if (ItemId3 != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(ItemId3);
|
|
}
|
|
if (Num3 != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(Num3);
|
|
}
|
|
if (ItemId4 != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(ItemId4);
|
|
}
|
|
if (Num4 != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(Num4);
|
|
}
|
|
if (ExpenseGold != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ExpenseGold);
|
|
}
|
|
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 (ItemId1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId1);
|
|
}
|
|
if (Num1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num1);
|
|
}
|
|
if (ItemId2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId2);
|
|
}
|
|
if (Num2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num2);
|
|
}
|
|
if (ItemId3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId3);
|
|
}
|
|
if (Num3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num3);
|
|
}
|
|
if (ItemId4 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId4);
|
|
}
|
|
if (Num4 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num4);
|
|
}
|
|
if (ExpenseGold != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpenseGold);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DiscPromote other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.ItemId1 != 0) {
|
|
ItemId1 = other.ItemId1;
|
|
}
|
|
if (other.Num1 != 0) {
|
|
Num1 = other.Num1;
|
|
}
|
|
if (other.ItemId2 != 0) {
|
|
ItemId2 = other.ItemId2;
|
|
}
|
|
if (other.Num2 != 0) {
|
|
Num2 = other.Num2;
|
|
}
|
|
if (other.ItemId3 != 0) {
|
|
ItemId3 = other.ItemId3;
|
|
}
|
|
if (other.Num3 != 0) {
|
|
Num3 = other.Num3;
|
|
}
|
|
if (other.ItemId4 != 0) {
|
|
ItemId4 = other.ItemId4;
|
|
}
|
|
if (other.Num4 != 0) {
|
|
Num4 = other.Num4;
|
|
}
|
|
if (other.ExpenseGold != 0) {
|
|
ExpenseGold = other.ExpenseGold;
|
|
}
|
|
_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: {
|
|
ItemId1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Num1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
ItemId2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Num2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
ItemId3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Num3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
ItemId4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Num4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ExpenseGold = 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: {
|
|
ItemId1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Num1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
ItemId2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Num2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
ItemId3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Num3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
ItemId4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Num4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ExpenseGold = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|