Files
Novaria/Novaria.Common/Protos/StarTowerLimitReward.cs

383 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StarTowerLimitReward.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 StarTowerLimitReward.proto</summary>
public static partial class StarTowerLimitRewardReflection {
#region Descriptor
/// <summary>File descriptor for StarTowerLimitReward.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StarTowerLimitRewardReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChpTdGFyVG93ZXJMaW1pdFJld2FyZC5wcm90byJvChRTdGFyVG93ZXJMaW1p",
"dFJld2FyZBIKCgJpZBgBIAEoBRINCgVzdGFnZRgCIAEoBRIVCg1zdGFyX3Rv",
"d2VyX2lkGAMgASgFEhEKCXJvb21fdHlwZRgEIAEoBRISCgp0aW1lX2xpbWl0",
"GAUgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerLimitReward), global::Nova.Client.StarTowerLimitReward.Parser, new[]{ "Id", "Stage", "StarTowerId", "RoomType", "TimeLimit" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StarTowerLimitReward : pb::IMessage<StarTowerLimitReward>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StarTowerLimitReward> _parser = new pb::MessageParser<StarTowerLimitReward>(() => new StarTowerLimitReward());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StarTowerLimitReward> 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.StarTowerLimitRewardReflection.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 StarTowerLimitReward() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerLimitReward(StarTowerLimitReward other) : this() {
id_ = other.id_;
stage_ = other.stage_;
starTowerId_ = other.starTowerId_;
roomType_ = other.roomType_;
timeLimit_ = other.timeLimit_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerLimitReward Clone() {
return new StarTowerLimitReward(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 "stage" field.</summary>
public const int StageFieldNumber = 2;
private int stage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Stage {
get { return stage_; }
set {
stage_ = value;
}
}
/// <summary>Field number for the "star_tower_id" field.</summary>
public const int StarTowerIdFieldNumber = 3;
private int starTowerId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StarTowerId {
get { return starTowerId_; }
set {
starTowerId_ = value;
}
}
/// <summary>Field number for the "room_type" field.</summary>
public const int RoomTypeFieldNumber = 4;
private int roomType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RoomType {
get { return roomType_; }
set {
roomType_ = value;
}
}
/// <summary>Field number for the "time_limit" field.</summary>
public const int TimeLimitFieldNumber = 5;
private static readonly pb::FieldCodec<int> _repeated_timeLimit_codec
= pb::FieldCodec.ForInt32(42);
private readonly pbc::RepeatedField<int> timeLimit_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> TimeLimit {
get { return timeLimit_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StarTowerLimitReward);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StarTowerLimitReward other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Stage != other.Stage) return false;
if (StarTowerId != other.StarTowerId) return false;
if (RoomType != other.RoomType) return false;
if(!timeLimit_.Equals(other.timeLimit_)) 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 (Stage != 0) hash ^= Stage.GetHashCode();
if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode();
if (RoomType != 0) hash ^= RoomType.GetHashCode();
hash ^= timeLimit_.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 (Stage != 0) {
output.WriteRawTag(16);
output.WriteInt32(Stage);
}
if (StarTowerId != 0) {
output.WriteRawTag(24);
output.WriteInt32(StarTowerId);
}
if (RoomType != 0) {
output.WriteRawTag(32);
output.WriteInt32(RoomType);
}
timeLimit_.WriteTo(output, _repeated_timeLimit_codec);
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 (Stage != 0) {
output.WriteRawTag(16);
output.WriteInt32(Stage);
}
if (StarTowerId != 0) {
output.WriteRawTag(24);
output.WriteInt32(StarTowerId);
}
if (RoomType != 0) {
output.WriteRawTag(32);
output.WriteInt32(RoomType);
}
timeLimit_.WriteTo(ref output, _repeated_timeLimit_codec);
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 (Stage != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage);
}
if (StarTowerId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId);
}
if (RoomType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType);
}
size += timeLimit_.CalculateSize(_repeated_timeLimit_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StarTowerLimitReward other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Stage != 0) {
Stage = other.Stage;
}
if (other.StarTowerId != 0) {
StarTowerId = other.StarTowerId;
}
if (other.RoomType != 0) {
RoomType = other.RoomType;
}
timeLimit_.Add(other.timeLimit_);
_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: {
Stage = input.ReadInt32();
break;
}
case 24: {
StarTowerId = input.ReadInt32();
break;
}
case 32: {
RoomType = input.ReadInt32();
break;
}
case 42:
case 40: {
timeLimit_.AddEntriesFrom(input, _repeated_timeLimit_codec);
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: {
Stage = input.ReadInt32();
break;
}
case 24: {
StarTowerId = input.ReadInt32();
break;
}
case 32: {
RoomType = input.ReadInt32();
break;
}
case 42:
case 40: {
timeLimit_.AddEntriesFrom(ref input, _repeated_timeLimit_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code