Files
Novaria/Novaria.Common/Protos/StarTowerEnemySet.cs

430 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StarTowerEnemySet.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 StarTowerEnemySet.proto</summary>
public static partial class StarTowerEnemySetReflection {
#region Descriptor
/// <summary>File descriptor for StarTowerEnemySet.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StarTowerEnemySetReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdTdGFyVG93ZXJFbmVteVNldC5wcm90byKKAQoRU3RhclRvd2VyRW5lbXlT",
"ZXQSDgoGc2V0X2lkGAEgASgFEhAKCHdhdmVfbnVtGAIgASgFEg8KB21heF9u",
"dW0YAyABKAUSGAoQbWF4X251bV9wZXJfd2F2ZRgEIAEoBRISCgptb25zdGVy",
"X2lkGAUgASgFEhQKDHJlZl9pbnRlcnZhbBgGIAEoAkIOqgILTm92YS5DbGll",
"bnRiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEnemySet), global::Nova.Client.StarTowerEnemySet.Parser, new[]{ "SetId", "WaveNum", "MaxNum", "MaxNumPerWave", "MonsterId", "RefInterval" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StarTowerEnemySet : pb::IMessage<StarTowerEnemySet>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StarTowerEnemySet> _parser = new pb::MessageParser<StarTowerEnemySet>(() => new StarTowerEnemySet());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StarTowerEnemySet> 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.StarTowerEnemySetReflection.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 StarTowerEnemySet() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerEnemySet(StarTowerEnemySet other) : this() {
setId_ = other.setId_;
waveNum_ = other.waveNum_;
maxNum_ = other.maxNum_;
maxNumPerWave_ = other.maxNumPerWave_;
monsterId_ = other.monsterId_;
refInterval_ = other.refInterval_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerEnemySet Clone() {
return new StarTowerEnemySet(this);
}
/// <summary>Field number for the "set_id" field.</summary>
public const int SetIdFieldNumber = 1;
private int setId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SetId {
get { return setId_; }
set {
setId_ = value;
}
}
/// <summary>Field number for the "wave_num" field.</summary>
public const int WaveNumFieldNumber = 2;
private int waveNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int WaveNum {
get { return waveNum_; }
set {
waveNum_ = value;
}
}
/// <summary>Field number for the "max_num" field.</summary>
public const int MaxNumFieldNumber = 3;
private int maxNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MaxNum {
get { return maxNum_; }
set {
maxNum_ = value;
}
}
/// <summary>Field number for the "max_num_per_wave" field.</summary>
public const int MaxNumPerWaveFieldNumber = 4;
private int maxNumPerWave_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MaxNumPerWave {
get { return maxNumPerWave_; }
set {
maxNumPerWave_ = value;
}
}
/// <summary>Field number for the "monster_id" field.</summary>
public const int MonsterIdFieldNumber = 5;
private int monsterId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MonsterId {
get { return monsterId_; }
set {
monsterId_ = value;
}
}
/// <summary>Field number for the "ref_interval" field.</summary>
public const int RefIntervalFieldNumber = 6;
private float refInterval_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float RefInterval {
get { return refInterval_; }
set {
refInterval_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StarTowerEnemySet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StarTowerEnemySet other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SetId != other.SetId) return false;
if (WaveNum != other.WaveNum) return false;
if (MaxNum != other.MaxNum) return false;
if (MaxNumPerWave != other.MaxNumPerWave) return false;
if (MonsterId != other.MonsterId) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RefInterval, other.RefInterval)) 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 (SetId != 0) hash ^= SetId.GetHashCode();
if (WaveNum != 0) hash ^= WaveNum.GetHashCode();
if (MaxNum != 0) hash ^= MaxNum.GetHashCode();
if (MaxNumPerWave != 0) hash ^= MaxNumPerWave.GetHashCode();
if (MonsterId != 0) hash ^= MonsterId.GetHashCode();
if (RefInterval != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RefInterval);
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 (SetId != 0) {
output.WriteRawTag(8);
output.WriteInt32(SetId);
}
if (WaveNum != 0) {
output.WriteRawTag(16);
output.WriteInt32(WaveNum);
}
if (MaxNum != 0) {
output.WriteRawTag(24);
output.WriteInt32(MaxNum);
}
if (MaxNumPerWave != 0) {
output.WriteRawTag(32);
output.WriteInt32(MaxNumPerWave);
}
if (MonsterId != 0) {
output.WriteRawTag(40);
output.WriteInt32(MonsterId);
}
if (RefInterval != 0F) {
output.WriteRawTag(53);
output.WriteFloat(RefInterval);
}
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 (SetId != 0) {
output.WriteRawTag(8);
output.WriteInt32(SetId);
}
if (WaveNum != 0) {
output.WriteRawTag(16);
output.WriteInt32(WaveNum);
}
if (MaxNum != 0) {
output.WriteRawTag(24);
output.WriteInt32(MaxNum);
}
if (MaxNumPerWave != 0) {
output.WriteRawTag(32);
output.WriteInt32(MaxNumPerWave);
}
if (MonsterId != 0) {
output.WriteRawTag(40);
output.WriteInt32(MonsterId);
}
if (RefInterval != 0F) {
output.WriteRawTag(53);
output.WriteFloat(RefInterval);
}
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 (SetId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId);
}
if (WaveNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum);
}
if (MaxNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum);
}
if (MaxNumPerWave != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerWave);
}
if (MonsterId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId);
}
if (RefInterval != 0F) {
size += 1 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StarTowerEnemySet other) {
if (other == null) {
return;
}
if (other.SetId != 0) {
SetId = other.SetId;
}
if (other.WaveNum != 0) {
WaveNum = other.WaveNum;
}
if (other.MaxNum != 0) {
MaxNum = other.MaxNum;
}
if (other.MaxNumPerWave != 0) {
MaxNumPerWave = other.MaxNumPerWave;
}
if (other.MonsterId != 0) {
MonsterId = other.MonsterId;
}
if (other.RefInterval != 0F) {
RefInterval = other.RefInterval;
}
_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: {
SetId = input.ReadInt32();
break;
}
case 16: {
WaveNum = input.ReadInt32();
break;
}
case 24: {
MaxNum = input.ReadInt32();
break;
}
case 32: {
MaxNumPerWave = input.ReadInt32();
break;
}
case 40: {
MonsterId = input.ReadInt32();
break;
}
case 53: {
RefInterval = input.ReadFloat();
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: {
SetId = input.ReadInt32();
break;
}
case 16: {
WaveNum = input.ReadInt32();
break;
}
case 24: {
MaxNum = input.ReadInt32();
break;
}
case 32: {
MaxNumPerWave = input.ReadInt32();
break;
}
case 40: {
MonsterId = input.ReadInt32();
break;
}
case 53: {
RefInterval = input.ReadFloat();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code