//
// 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(
"Cg9DaGFsbGVuZ2UucHJvdG8aEUxNSkxOTVBDSkpBLnByb3RvIrUBCglDaGFs",
"bGVuZ2USEQoJcmVjb3JkX2lkGAQgASgNEiEKC3BsYXllcl9pbmZvGAMgASgL",
"MgwuTE1KTE5NUENKSkESEQoJc2NvcmVfdHdvGAYgASgNEgwKBHN0YXIYDiAB",
"KA0SEwoLQUhOSkRMSk9ORk8YDSABKAgSFAoMY2hhbGxlbmdlX2lkGAUgASgN",
"EhAKCHNjb3JlX2lkGAEgASgNEhQKDHRha2VuX3Jld2FyZBgJIAEoDUIeqgIb",
"RWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.LMJLNMPCJJAReflection.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[]{ "RecordId", "PlayerInfo", "ScoreTwo", "Star", "AHNJDLJONFO", "ChallengeId", "ScoreId", "TakenReward" }, 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() {
recordId_ = other.recordId_;
playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null;
scoreTwo_ = other.scoreTwo_;
star_ = other.star_;
aHNJDLJONFO_ = other.aHNJDLJONFO_;
challengeId_ = other.challengeId_;
scoreId_ = other.scoreId_;
takenReward_ = other.takenReward_;
_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 "record_id" field.
public const int RecordIdFieldNumber = 4;
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 "player_info" field.
public const int PlayerInfoFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.LMJLNMPCJJA playerInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.LMJLNMPCJJA PlayerInfo {
get { return playerInfo_; }
set {
playerInfo_ = value;
}
}
/// Field number for the "score_two" field.
public const int ScoreTwoFieldNumber = 6;
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 "star" field.
public const int StarFieldNumber = 14;
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 "AHNJDLJONFO" field.
public const int AHNJDLJONFOFieldNumber = 13;
private bool aHNJDLJONFO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AHNJDLJONFO {
get { return aHNJDLJONFO_; }
set {
aHNJDLJONFO_ = value;
}
}
/// Field number for the "challenge_id" field.
public const int ChallengeIdFieldNumber = 5;
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 "score_id" field.
public const int ScoreIdFieldNumber = 1;
private uint scoreId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ScoreId {
get { return scoreId_; }
set {
scoreId_ = value;
}
}
/// Field number for the "taken_reward" field.
public const int TakenRewardFieldNumber = 9;
private uint takenReward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TakenReward {
get { return takenReward_; }
set {
takenReward_ = 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 (RecordId != other.RecordId) return false;
if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false;
if (ScoreTwo != other.ScoreTwo) return false;
if (Star != other.Star) return false;
if (AHNJDLJONFO != other.AHNJDLJONFO) return false;
if (ChallengeId != other.ChallengeId) return false;
if (ScoreId != other.ScoreId) return false;
if (TakenReward != other.TakenReward) 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 (RecordId != 0) hash ^= RecordId.GetHashCode();
if (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode();
if (ScoreTwo != 0) hash ^= ScoreTwo.GetHashCode();
if (Star != 0) hash ^= Star.GetHashCode();
if (AHNJDLJONFO != false) hash ^= AHNJDLJONFO.GetHashCode();
if (ChallengeId != 0) hash ^= ChallengeId.GetHashCode();
if (ScoreId != 0) hash ^= ScoreId.GetHashCode();
if (TakenReward != 0) hash ^= TakenReward.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 (ScoreId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ScoreId);
}
if (playerInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(PlayerInfo);
}
if (RecordId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(RecordId);
}
if (ChallengeId != 0) {
output.WriteRawTag(40);
output.WriteUInt32(ChallengeId);
}
if (ScoreTwo != 0) {
output.WriteRawTag(48);
output.WriteUInt32(ScoreTwo);
}
if (TakenReward != 0) {
output.WriteRawTag(72);
output.WriteUInt32(TakenReward);
}
if (AHNJDLJONFO != false) {
output.WriteRawTag(104);
output.WriteBool(AHNJDLJONFO);
}
if (Star != 0) {
output.WriteRawTag(112);
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 (ScoreId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ScoreId);
}
if (playerInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(PlayerInfo);
}
if (RecordId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(RecordId);
}
if (ChallengeId != 0) {
output.WriteRawTag(40);
output.WriteUInt32(ChallengeId);
}
if (ScoreTwo != 0) {
output.WriteRawTag(48);
output.WriteUInt32(ScoreTwo);
}
if (TakenReward != 0) {
output.WriteRawTag(72);
output.WriteUInt32(TakenReward);
}
if (AHNJDLJONFO != false) {
output.WriteRawTag(104);
output.WriteBool(AHNJDLJONFO);
}
if (Star != 0) {
output.WriteRawTag(112);
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 (RecordId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
}
if (playerInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo);
}
if (ScoreTwo != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo);
}
if (Star != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star);
}
if (AHNJDLJONFO != false) {
size += 1 + 1;
}
if (ChallengeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId);
}
if (ScoreId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId);
}
if (TakenReward != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TakenReward);
}
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.RecordId != 0) {
RecordId = other.RecordId;
}
if (other.playerInfo_ != null) {
if (playerInfo_ == null) {
PlayerInfo = new global::EggLink.DanhengServer.Proto.LMJLNMPCJJA();
}
PlayerInfo.MergeFrom(other.PlayerInfo);
}
if (other.ScoreTwo != 0) {
ScoreTwo = other.ScoreTwo;
}
if (other.Star != 0) {
Star = other.Star;
}
if (other.AHNJDLJONFO != false) {
AHNJDLJONFO = other.AHNJDLJONFO;
}
if (other.ChallengeId != 0) {
ChallengeId = other.ChallengeId;
}
if (other.ScoreId != 0) {
ScoreId = other.ScoreId;
}
if (other.TakenReward != 0) {
TakenReward = other.TakenReward;
}
_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: {
ScoreId = input.ReadUInt32();
break;
}
case 26: {
if (playerInfo_ == null) {
PlayerInfo = new global::EggLink.DanhengServer.Proto.LMJLNMPCJJA();
}
input.ReadMessage(PlayerInfo);
break;
}
case 32: {
RecordId = input.ReadUInt32();
break;
}
case 40: {
ChallengeId = input.ReadUInt32();
break;
}
case 48: {
ScoreTwo = input.ReadUInt32();
break;
}
case 72: {
TakenReward = input.ReadUInt32();
break;
}
case 104: {
AHNJDLJONFO = input.ReadBool();
break;
}
case 112: {
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: {
ScoreId = input.ReadUInt32();
break;
}
case 26: {
if (playerInfo_ == null) {
PlayerInfo = new global::EggLink.DanhengServer.Proto.LMJLNMPCJJA();
}
input.ReadMessage(PlayerInfo);
break;
}
case 32: {
RecordId = input.ReadUInt32();
break;
}
case 40: {
ChallengeId = input.ReadUInt32();
break;
}
case 48: {
ScoreTwo = input.ReadUInt32();
break;
}
case 72: {
TakenReward = input.ReadUInt32();
break;
}
case 104: {
AHNJDLJONFO = input.ReadBool();
break;
}
case 112: {
Star = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code