mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-15 16:04:48 +01:00
430 lines
14 KiB
C#
430 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: StarTowerRankReward.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 StarTowerRankReward.proto</summary>
|
|
public static partial class StarTowerRankRewardReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for StarTowerRankReward.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StarTowerRankRewardReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlTdGFyVG93ZXJSYW5rUmV3YXJkLnByb3RvIpkBChNTdGFyVG93ZXJSYW5r",
|
|
"UmV3YXJkEgoKAmlkGAEgASgFEhIKCnJhbmtfbG93ZXIYAiABKAUSFwoPYXdh",
|
|
"cmRfaXRlbV90aWQxGAMgASgFEhcKD2F3YXJkX2l0ZW1fbnVtMRgEIAEoBRIX",
|
|
"Cg9hd2FyZF9pdGVtX3RpZDIYBSABKAUSFwoPYXdhcmRfaXRlbV9udW0yGAYg",
|
|
"ASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankReward), global::Nova.Client.StarTowerRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StarTowerRankReward : pb::IMessage<StarTowerRankReward>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StarTowerRankReward> _parser = new pb::MessageParser<StarTowerRankReward>(() => new StarTowerRankReward());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StarTowerRankReward> 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.StarTowerRankRewardReflection.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 StarTowerRankReward() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerRankReward(StarTowerRankReward other) : this() {
|
|
id_ = other.id_;
|
|
rankLower_ = other.rankLower_;
|
|
awardItemTid1_ = other.awardItemTid1_;
|
|
awardItemNum1_ = other.awardItemNum1_;
|
|
awardItemTid2_ = other.awardItemTid2_;
|
|
awardItemNum2_ = other.awardItemNum2_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerRankReward Clone() {
|
|
return new StarTowerRankReward(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 "rank_lower" field.</summary>
|
|
public const int RankLowerFieldNumber = 2;
|
|
private int rankLower_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int RankLower {
|
|
get { return rankLower_; }
|
|
set {
|
|
rankLower_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "award_item_tid1" field.</summary>
|
|
public const int AwardItemTid1FieldNumber = 3;
|
|
private int awardItemTid1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AwardItemTid1 {
|
|
get { return awardItemTid1_; }
|
|
set {
|
|
awardItemTid1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "award_item_num1" field.</summary>
|
|
public const int AwardItemNum1FieldNumber = 4;
|
|
private int awardItemNum1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AwardItemNum1 {
|
|
get { return awardItemNum1_; }
|
|
set {
|
|
awardItemNum1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "award_item_tid2" field.</summary>
|
|
public const int AwardItemTid2FieldNumber = 5;
|
|
private int awardItemTid2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AwardItemTid2 {
|
|
get { return awardItemTid2_; }
|
|
set {
|
|
awardItemTid2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "award_item_num2" field.</summary>
|
|
public const int AwardItemNum2FieldNumber = 6;
|
|
private int awardItemNum2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AwardItemNum2 {
|
|
get { return awardItemNum2_; }
|
|
set {
|
|
awardItemNum2_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StarTowerRankReward);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StarTowerRankReward other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (RankLower != other.RankLower) return false;
|
|
if (AwardItemTid1 != other.AwardItemTid1) return false;
|
|
if (AwardItemNum1 != other.AwardItemNum1) return false;
|
|
if (AwardItemTid2 != other.AwardItemTid2) return false;
|
|
if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode();
|
|
if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode();
|
|
if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode();
|
|
if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode();
|
|
if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(RankLower);
|
|
}
|
|
if (AwardItemTid1 != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(AwardItemTid1);
|
|
}
|
|
if (AwardItemNum1 != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(AwardItemNum1);
|
|
}
|
|
if (AwardItemTid2 != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(AwardItemTid2);
|
|
}
|
|
if (AwardItemNum2 != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(AwardItemNum2);
|
|
}
|
|
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 (RankLower != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(RankLower);
|
|
}
|
|
if (AwardItemTid1 != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(AwardItemTid1);
|
|
}
|
|
if (AwardItemNum1 != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(AwardItemNum1);
|
|
}
|
|
if (AwardItemTid2 != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(AwardItemTid2);
|
|
}
|
|
if (AwardItemNum2 != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(AwardItemNum2);
|
|
}
|
|
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 (RankLower != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower);
|
|
}
|
|
if (AwardItemTid1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1);
|
|
}
|
|
if (AwardItemNum1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1);
|
|
}
|
|
if (AwardItemTid2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2);
|
|
}
|
|
if (AwardItemNum2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StarTowerRankReward other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.RankLower != 0) {
|
|
RankLower = other.RankLower;
|
|
}
|
|
if (other.AwardItemTid1 != 0) {
|
|
AwardItemTid1 = other.AwardItemTid1;
|
|
}
|
|
if (other.AwardItemNum1 != 0) {
|
|
AwardItemNum1 = other.AwardItemNum1;
|
|
}
|
|
if (other.AwardItemTid2 != 0) {
|
|
AwardItemTid2 = other.AwardItemTid2;
|
|
}
|
|
if (other.AwardItemNum2 != 0) {
|
|
AwardItemNum2 = other.AwardItemNum2;
|
|
}
|
|
_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: {
|
|
RankLower = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
AwardItemTid1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
AwardItemNum1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
AwardItemTid2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
AwardItemNum2 = 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: {
|
|
RankLower = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
AwardItemTid1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
AwardItemNum1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
AwardItemTid2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
AwardItemNum2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|