//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Challenge.proto
//
#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 EggLink.DanhengServer.Proto {
/// Holder for reflection information generated from Challenge.proto
public static partial class ChallengeReflection {
#region Descriptor
/// File descriptor for Challenge.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChallengeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg9DaGFsbGVuZ2UucHJvdG8aGENoYWxsZW5nZVN0YWdlSW5mby5wcm90byK7",
"AQoJQ2hhbGxlbmdlEgwKBHN0YXIYDSABKA0SFAoMY2hhbGxlbmdlX2lkGAgg",
"ASgNEhQKDHRha2VuX3Jld2FyZBgHIAEoDRITCgtLRkRBSUNJTE5NQhgBIAEo",
"CBInCgpzdGFnZV9pbmZvGAogASgLMhMuQ2hhbGxlbmdlU3RhZ2VJbmZvEhEK",
"CXJlY29yZF9pZBgLIAEoDRIRCglzY29yZV90d28YAiABKA0SEAoIc2NvcmVf",
"aWQYBiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
"dG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeStageInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.Challenge), global::EggLink.DanhengServer.Proto.Challenge.Parser, new[]{ "Star", "ChallengeId", "TakenReward", "KFDAICILNMB", "StageInfo", "RecordId", "ScoreTwo", "ScoreId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Challenge : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Challenge());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::EggLink.DanhengServer.Proto.ChallengeReflection.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 Challenge() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Challenge(Challenge other) : this() {
star_ = other.star_;
challengeId_ = other.challengeId_;
takenReward_ = other.takenReward_;
kFDAICILNMB_ = other.kFDAICILNMB_;
stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null;
recordId_ = other.recordId_;
scoreTwo_ = other.scoreTwo_;
scoreId_ = other.scoreId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Challenge Clone() {
return new Challenge(this);
}
/// Field number for the "star" field.
public const int StarFieldNumber = 13;
private uint star_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Star {
get { return star_; }
set {
star_ = value;
}
}
/// Field number for the "challenge_id" field.
public const int ChallengeIdFieldNumber = 8;
private uint challengeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ChallengeId {
get { return challengeId_; }
set {
challengeId_ = value;
}
}
/// Field number for the "taken_reward" field.
public const int TakenRewardFieldNumber = 7;
private uint takenReward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TakenReward {
get { return takenReward_; }
set {
takenReward_ = value;
}
}
/// Field number for the "KFDAICILNMB" field.
public const int KFDAICILNMBFieldNumber = 1;
private bool kFDAICILNMB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool KFDAICILNMB {
get { return kFDAICILNMB_; }
set {
kFDAICILNMB_ = value;
}
}
/// Field number for the "stage_info" field.
public const int StageInfoFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.ChallengeStageInfo stageInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChallengeStageInfo StageInfo {
get { return stageInfo_; }
set {
stageInfo_ = value;
}
}
/// Field number for the "record_id" field.
public const int RecordIdFieldNumber = 11;
private uint recordId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RecordId {
get { return recordId_; }
set {
recordId_ = value;
}
}
/// Field number for the "score_two" field.
public const int ScoreTwoFieldNumber = 2;
private uint scoreTwo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ScoreTwo {
get { return scoreTwo_; }
set {
scoreTwo_ = value;
}
}
/// Field number for the "score_id" field.
public const int ScoreIdFieldNumber = 6;
private uint scoreId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ScoreId {
get { return scoreId_; }
set {
scoreId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Challenge);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Challenge other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Star != other.Star) return false;
if (ChallengeId != other.ChallengeId) return false;
if (TakenReward != other.TakenReward) return false;
if (KFDAICILNMB != other.KFDAICILNMB) return false;
if (!object.Equals(StageInfo, other.StageInfo)) return false;
if (RecordId != other.RecordId) return false;
if (ScoreTwo != other.ScoreTwo) return false;
if (ScoreId != other.ScoreId) 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 (Star != 0) hash ^= Star.GetHashCode();
if (ChallengeId != 0) hash ^= ChallengeId.GetHashCode();
if (TakenReward != 0) hash ^= TakenReward.GetHashCode();
if (KFDAICILNMB != false) hash ^= KFDAICILNMB.GetHashCode();
if (stageInfo_ != null) hash ^= StageInfo.GetHashCode();
if (RecordId != 0) hash ^= RecordId.GetHashCode();
if (ScoreTwo != 0) hash ^= ScoreTwo.GetHashCode();
if (ScoreId != 0) hash ^= ScoreId.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 (KFDAICILNMB != false) {
output.WriteRawTag(8);
output.WriteBool(KFDAICILNMB);
}
if (ScoreTwo != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ScoreTwo);
}
if (ScoreId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(ScoreId);
}
if (TakenReward != 0) {
output.WriteRawTag(56);
output.WriteUInt32(TakenReward);
}
if (ChallengeId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(ChallengeId);
}
if (stageInfo_ != null) {
output.WriteRawTag(82);
output.WriteMessage(StageInfo);
}
if (RecordId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(RecordId);
}
if (Star != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Star);
}
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 (KFDAICILNMB != false) {
output.WriteRawTag(8);
output.WriteBool(KFDAICILNMB);
}
if (ScoreTwo != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ScoreTwo);
}
if (ScoreId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(ScoreId);
}
if (TakenReward != 0) {
output.WriteRawTag(56);
output.WriteUInt32(TakenReward);
}
if (ChallengeId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(ChallengeId);
}
if (stageInfo_ != null) {
output.WriteRawTag(82);
output.WriteMessage(StageInfo);
}
if (RecordId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(RecordId);
}
if (Star != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Star);
}
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 (Star != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star);
}
if (ChallengeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId);
}
if (TakenReward != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TakenReward);
}
if (KFDAICILNMB != false) {
size += 1 + 1;
}
if (stageInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo);
}
if (RecordId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
}
if (ScoreTwo != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo);
}
if (ScoreId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Challenge other) {
if (other == null) {
return;
}
if (other.Star != 0) {
Star = other.Star;
}
if (other.ChallengeId != 0) {
ChallengeId = other.ChallengeId;
}
if (other.TakenReward != 0) {
TakenReward = other.TakenReward;
}
if (other.KFDAICILNMB != false) {
KFDAICILNMB = other.KFDAICILNMB;
}
if (other.stageInfo_ != null) {
if (stageInfo_ == null) {
StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeStageInfo();
}
StageInfo.MergeFrom(other.StageInfo);
}
if (other.RecordId != 0) {
RecordId = other.RecordId;
}
if (other.ScoreTwo != 0) {
ScoreTwo = other.ScoreTwo;
}
if (other.ScoreId != 0) {
ScoreId = other.ScoreId;
}
_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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
KFDAICILNMB = input.ReadBool();
break;
}
case 16: {
ScoreTwo = input.ReadUInt32();
break;
}
case 48: {
ScoreId = input.ReadUInt32();
break;
}
case 56: {
TakenReward = input.ReadUInt32();
break;
}
case 64: {
ChallengeId = input.ReadUInt32();
break;
}
case 82: {
if (stageInfo_ == null) {
StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeStageInfo();
}
input.ReadMessage(StageInfo);
break;
}
case 88: {
RecordId = input.ReadUInt32();
break;
}
case 104: {
Star = input.ReadUInt32();
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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
KFDAICILNMB = input.ReadBool();
break;
}
case 16: {
ScoreTwo = input.ReadUInt32();
break;
}
case 48: {
ScoreId = input.ReadUInt32();
break;
}
case 56: {
TakenReward = input.ReadUInt32();
break;
}
case 64: {
ChallengeId = input.ReadUInt32();
break;
}
case 82: {
if (stageInfo_ == null) {
StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeStageInfo();
}
input.ReadMessage(StageInfo);
break;
}
case 88: {
RecordId = input.ReadUInt32();
break;
}
case 104: {
Star = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code