mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 08:25:32 +01:00
317 lines
11 KiB
C#
317 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: StarTowerRankScore.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 StarTowerRankScore.proto</summary>
|
|
public static partial class StarTowerRankScoreReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for StarTowerRankScore.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StarTowerRankScoreReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChhTdGFyVG93ZXJSYW5rU2NvcmUucHJvdG8iUwoSU3RhclRvd2VyUmFua1Nj",
|
|
"b3JlEhIKCmRpZmZpY3VsdHkYASABKAUSEgoKYmFzZV9zY29yZRgCIAEoBRIV",
|
|
"Cg1tYXhpbXVtX3Njb3JlGAMgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankScore), global::Nova.Client.StarTowerRankScore.Parser, new[]{ "Difficulty", "BaseScore", "MaximumScore" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StarTowerRankScore : pb::IMessage<StarTowerRankScore>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StarTowerRankScore> _parser = new pb::MessageParser<StarTowerRankScore>(() => new StarTowerRankScore());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StarTowerRankScore> 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.StarTowerRankScoreReflection.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 StarTowerRankScore() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerRankScore(StarTowerRankScore other) : this() {
|
|
difficulty_ = other.difficulty_;
|
|
baseScore_ = other.baseScore_;
|
|
maximumScore_ = other.maximumScore_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerRankScore Clone() {
|
|
return new StarTowerRankScore(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "difficulty" field.</summary>
|
|
public const int DifficultyFieldNumber = 1;
|
|
private int difficulty_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Difficulty {
|
|
get { return difficulty_; }
|
|
set {
|
|
difficulty_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "base_score" field.</summary>
|
|
public const int BaseScoreFieldNumber = 2;
|
|
private int baseScore_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int BaseScore {
|
|
get { return baseScore_; }
|
|
set {
|
|
baseScore_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "maximum_score" field.</summary>
|
|
public const int MaximumScoreFieldNumber = 3;
|
|
private int maximumScore_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int MaximumScore {
|
|
get { return maximumScore_; }
|
|
set {
|
|
maximumScore_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StarTowerRankScore);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StarTowerRankScore other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Difficulty != other.Difficulty) return false;
|
|
if (BaseScore != other.BaseScore) return false;
|
|
if (MaximumScore != other.MaximumScore) 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 (Difficulty != 0) hash ^= Difficulty.GetHashCode();
|
|
if (BaseScore != 0) hash ^= BaseScore.GetHashCode();
|
|
if (MaximumScore != 0) hash ^= MaximumScore.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 (Difficulty != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Difficulty);
|
|
}
|
|
if (BaseScore != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(BaseScore);
|
|
}
|
|
if (MaximumScore != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(MaximumScore);
|
|
}
|
|
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 (Difficulty != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Difficulty);
|
|
}
|
|
if (BaseScore != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(BaseScore);
|
|
}
|
|
if (MaximumScore != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(MaximumScore);
|
|
}
|
|
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 (Difficulty != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty);
|
|
}
|
|
if (BaseScore != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseScore);
|
|
}
|
|
if (MaximumScore != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximumScore);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StarTowerRankScore other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Difficulty != 0) {
|
|
Difficulty = other.Difficulty;
|
|
}
|
|
if (other.BaseScore != 0) {
|
|
BaseScore = other.BaseScore;
|
|
}
|
|
if (other.MaximumScore != 0) {
|
|
MaximumScore = other.MaximumScore;
|
|
}
|
|
_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: {
|
|
Difficulty = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
BaseScore = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
MaximumScore = 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: {
|
|
Difficulty = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
BaseScore = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
MaximumScore = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|