mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-14 15:34:37 +01:00
Init commit
This commit is contained in:
503
NTR.Common/protos/DailyQuestAward.cs
Normal file
503
NTR.Common/protos/DailyQuestAward.cs
Normal file
@@ -0,0 +1,503 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: DailyQuestAward.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 DailyQuestAward.proto</summary>
|
||||
public static partial class DailyQuestAwardReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for DailyQuestAward.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DailyQuestAwardReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChVEYWlseVF1ZXN0QXdhcmQucHJvdG8imgEKD0RhaWx5UXVlc3RBd2FyZBIK",
|
||||
"CgJpZBgBIAEoBRINCgV0aXRsZRgCIAEoCRISCgpuZWVkX3BvaW50GAMgASgF",
|
||||
"EhAKCG51bV9zaG93GAQgASgFEhEKCWl0ZW1fdGlkMRgFIAEoBRIPCgdudW1i",
|
||||
"ZXIxGAYgASgFEhEKCWl0ZW1fdGlkMhgHIAEoBRIPCgdudW1iZXIyGAggASgF",
|
||||
"Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuestAward), global::Nova.Client.DailyQuestAward.Parser, new[]{ "Id", "Title", "NeedPoint", "NumShow", "ItemTid1", "Number1", "ItemTid2", "Number2" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class DailyQuestAward : pb::IMessage<DailyQuestAward>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<DailyQuestAward> _parser = new pb::MessageParser<DailyQuestAward>(() => new DailyQuestAward());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<DailyQuestAward> 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.DailyQuestAwardReflection.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 DailyQuestAward() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DailyQuestAward(DailyQuestAward other) : this() {
|
||||
id_ = other.id_;
|
||||
title_ = other.title_;
|
||||
needPoint_ = other.needPoint_;
|
||||
numShow_ = other.numShow_;
|
||||
itemTid1_ = other.itemTid1_;
|
||||
number1_ = other.number1_;
|
||||
itemTid2_ = other.itemTid2_;
|
||||
number2_ = other.number2_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DailyQuestAward Clone() {
|
||||
return new DailyQuestAward(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 "title" field.</summary>
|
||||
public const int TitleFieldNumber = 2;
|
||||
private string title_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Title {
|
||||
get { return title_; }
|
||||
set {
|
||||
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "need_point" field.</summary>
|
||||
public const int NeedPointFieldNumber = 3;
|
||||
private int needPoint_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NeedPoint {
|
||||
get { return needPoint_; }
|
||||
set {
|
||||
needPoint_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_show" field.</summary>
|
||||
public const int NumShowFieldNumber = 4;
|
||||
private int numShow_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumShow {
|
||||
get { return numShow_; }
|
||||
set {
|
||||
numShow_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_tid1" field.</summary>
|
||||
public const int ItemTid1FieldNumber = 5;
|
||||
private int itemTid1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemTid1 {
|
||||
get { return itemTid1_; }
|
||||
set {
|
||||
itemTid1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "number1" field.</summary>
|
||||
public const int Number1FieldNumber = 6;
|
||||
private int number1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Number1 {
|
||||
get { return number1_; }
|
||||
set {
|
||||
number1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_tid2" field.</summary>
|
||||
public const int ItemTid2FieldNumber = 7;
|
||||
private int itemTid2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemTid2 {
|
||||
get { return itemTid2_; }
|
||||
set {
|
||||
itemTid2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "number2" field.</summary>
|
||||
public const int Number2FieldNumber = 8;
|
||||
private int number2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Number2 {
|
||||
get { return number2_; }
|
||||
set {
|
||||
number2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as DailyQuestAward);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(DailyQuestAward other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Title != other.Title) return false;
|
||||
if (NeedPoint != other.NeedPoint) return false;
|
||||
if (NumShow != other.NumShow) return false;
|
||||
if (ItemTid1 != other.ItemTid1) return false;
|
||||
if (Number1 != other.Number1) return false;
|
||||
if (ItemTid2 != other.ItemTid2) return false;
|
||||
if (Number2 != other.Number2) 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 (Title.Length != 0) hash ^= Title.GetHashCode();
|
||||
if (NeedPoint != 0) hash ^= NeedPoint.GetHashCode();
|
||||
if (NumShow != 0) hash ^= NumShow.GetHashCode();
|
||||
if (ItemTid1 != 0) hash ^= ItemTid1.GetHashCode();
|
||||
if (Number1 != 0) hash ^= Number1.GetHashCode();
|
||||
if (ItemTid2 != 0) hash ^= ItemTid2.GetHashCode();
|
||||
if (Number2 != 0) hash ^= Number2.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 (Title.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Title);
|
||||
}
|
||||
if (NeedPoint != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(NeedPoint);
|
||||
}
|
||||
if (NumShow != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(NumShow);
|
||||
}
|
||||
if (ItemTid1 != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(ItemTid1);
|
||||
}
|
||||
if (Number1 != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(Number1);
|
||||
}
|
||||
if (ItemTid2 != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ItemTid2);
|
||||
}
|
||||
if (Number2 != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(Number2);
|
||||
}
|
||||
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 (Title.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Title);
|
||||
}
|
||||
if (NeedPoint != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(NeedPoint);
|
||||
}
|
||||
if (NumShow != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(NumShow);
|
||||
}
|
||||
if (ItemTid1 != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(ItemTid1);
|
||||
}
|
||||
if (Number1 != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(Number1);
|
||||
}
|
||||
if (ItemTid2 != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ItemTid2);
|
||||
}
|
||||
if (Number2 != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(Number2);
|
||||
}
|
||||
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 (Title.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
||||
}
|
||||
if (NeedPoint != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedPoint);
|
||||
}
|
||||
if (NumShow != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumShow);
|
||||
}
|
||||
if (ItemTid1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid1);
|
||||
}
|
||||
if (Number1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1);
|
||||
}
|
||||
if (ItemTid2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid2);
|
||||
}
|
||||
if (Number2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(DailyQuestAward other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Title.Length != 0) {
|
||||
Title = other.Title;
|
||||
}
|
||||
if (other.NeedPoint != 0) {
|
||||
NeedPoint = other.NeedPoint;
|
||||
}
|
||||
if (other.NumShow != 0) {
|
||||
NumShow = other.NumShow;
|
||||
}
|
||||
if (other.ItemTid1 != 0) {
|
||||
ItemTid1 = other.ItemTid1;
|
||||
}
|
||||
if (other.Number1 != 0) {
|
||||
Number1 = other.Number1;
|
||||
}
|
||||
if (other.ItemTid2 != 0) {
|
||||
ItemTid2 = other.ItemTid2;
|
||||
}
|
||||
if (other.Number2 != 0) {
|
||||
Number2 = other.Number2;
|
||||
}
|
||||
_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 18: {
|
||||
Title = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
NeedPoint = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
NumShow = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ItemTid1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Number1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ItemTid2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
Number2 = 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: {
|
||||
Id = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Title = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
NeedPoint = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
NumShow = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ItemTid1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Number1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ItemTid2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
Number2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user