mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 16:34:44 +01:00
Init commit
This commit is contained in:
392
NTR.Common/protos/StarTowerSpMode.cs
Normal file
392
NTR.Common/protos/StarTowerSpMode.cs
Normal file
@@ -0,0 +1,392 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: StarTowerSpMode.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 StarTowerSpMode.proto</summary>
|
||||
public static partial class StarTowerSpModeReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for StarTowerSpMode.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static StarTowerSpModeReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChVTdGFyVG93ZXJTcE1vZGUucHJvdG8ijwEKD1N0YXJUb3dlclNwTW9kZRIK",
|
||||
"CgJpZBgBIAEoBRIZChFsaW1pdF90aW1lX3dlaWdodBgCIAEoCBIbChNsaW1p",
|
||||
"dF9raWxsZWRfd2VpZ2h0GAMgASgIEhUKDWdvYmxpbl93ZWlnaHQYBCABKAgS",
|
||||
"IQoZY29udGludW91c19raWxsaW5nX3dlaWdodBgFIAEoCEIOqgILTm92YS5D",
|
||||
"bGllbnRiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerSpMode), global::Nova.Client.StarTowerSpMode.Parser, new[]{ "Id", "LimitTimeWeight", "LimitKilledWeight", "GoblinWeight", "ContinuousKillingWeight" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class StarTowerSpMode : pb::IMessage<StarTowerSpMode>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<StarTowerSpMode> _parser = new pb::MessageParser<StarTowerSpMode>(() => new StarTowerSpMode());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<StarTowerSpMode> 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.StarTowerSpModeReflection.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 StarTowerSpMode() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StarTowerSpMode(StarTowerSpMode other) : this() {
|
||||
id_ = other.id_;
|
||||
limitTimeWeight_ = other.limitTimeWeight_;
|
||||
limitKilledWeight_ = other.limitKilledWeight_;
|
||||
goblinWeight_ = other.goblinWeight_;
|
||||
continuousKillingWeight_ = other.continuousKillingWeight_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StarTowerSpMode Clone() {
|
||||
return new StarTowerSpMode(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 "limit_time_weight" field.</summary>
|
||||
public const int LimitTimeWeightFieldNumber = 2;
|
||||
private bool limitTimeWeight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LimitTimeWeight {
|
||||
get { return limitTimeWeight_; }
|
||||
set {
|
||||
limitTimeWeight_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "limit_killed_weight" field.</summary>
|
||||
public const int LimitKilledWeightFieldNumber = 3;
|
||||
private bool limitKilledWeight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LimitKilledWeight {
|
||||
get { return limitKilledWeight_; }
|
||||
set {
|
||||
limitKilledWeight_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "goblin_weight" field.</summary>
|
||||
public const int GoblinWeightFieldNumber = 4;
|
||||
private bool goblinWeight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool GoblinWeight {
|
||||
get { return goblinWeight_; }
|
||||
set {
|
||||
goblinWeight_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "continuous_killing_weight" field.</summary>
|
||||
public const int ContinuousKillingWeightFieldNumber = 5;
|
||||
private bool continuousKillingWeight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool ContinuousKillingWeight {
|
||||
get { return continuousKillingWeight_; }
|
||||
set {
|
||||
continuousKillingWeight_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as StarTowerSpMode);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(StarTowerSpMode other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (LimitTimeWeight != other.LimitTimeWeight) return false;
|
||||
if (LimitKilledWeight != other.LimitKilledWeight) return false;
|
||||
if (GoblinWeight != other.GoblinWeight) return false;
|
||||
if (ContinuousKillingWeight != other.ContinuousKillingWeight) 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 (LimitTimeWeight != false) hash ^= LimitTimeWeight.GetHashCode();
|
||||
if (LimitKilledWeight != false) hash ^= LimitKilledWeight.GetHashCode();
|
||||
if (GoblinWeight != false) hash ^= GoblinWeight.GetHashCode();
|
||||
if (ContinuousKillingWeight != false) hash ^= ContinuousKillingWeight.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 (LimitTimeWeight != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(LimitTimeWeight);
|
||||
}
|
||||
if (LimitKilledWeight != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(LimitKilledWeight);
|
||||
}
|
||||
if (GoblinWeight != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(GoblinWeight);
|
||||
}
|
||||
if (ContinuousKillingWeight != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(ContinuousKillingWeight);
|
||||
}
|
||||
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 (LimitTimeWeight != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(LimitTimeWeight);
|
||||
}
|
||||
if (LimitKilledWeight != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(LimitKilledWeight);
|
||||
}
|
||||
if (GoblinWeight != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(GoblinWeight);
|
||||
}
|
||||
if (ContinuousKillingWeight != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(ContinuousKillingWeight);
|
||||
}
|
||||
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 (LimitTimeWeight != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (LimitKilledWeight != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (GoblinWeight != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (ContinuousKillingWeight != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(StarTowerSpMode other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.LimitTimeWeight != false) {
|
||||
LimitTimeWeight = other.LimitTimeWeight;
|
||||
}
|
||||
if (other.LimitKilledWeight != false) {
|
||||
LimitKilledWeight = other.LimitKilledWeight;
|
||||
}
|
||||
if (other.GoblinWeight != false) {
|
||||
GoblinWeight = other.GoblinWeight;
|
||||
}
|
||||
if (other.ContinuousKillingWeight != false) {
|
||||
ContinuousKillingWeight = other.ContinuousKillingWeight;
|
||||
}
|
||||
_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: {
|
||||
LimitTimeWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
LimitKilledWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
GoblinWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ContinuousKillingWeight = input.ReadBool();
|
||||
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: {
|
||||
LimitTimeWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
LimitKilledWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
GoblinWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ContinuousKillingWeight = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user