mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 08:25:32 +01:00
serverlist handler + basic crypto, rename project
This commit is contained in:
494
Novaria.Common/Protos/AffinityQuest.cs
Normal file
494
Novaria.Common/Protos/AffinityQuest.cs
Normal file
@@ -0,0 +1,494 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: AffinityQuest.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 AffinityQuest.proto</summary>
|
||||
public static partial class AffinityQuestReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for AffinityQuest.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AffinityQuestReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChNBZmZpbml0eVF1ZXN0LnByb3RvIqYBCg1BZmZpbml0eVF1ZXN0EgoKAmlk",
|
||||
"GAEgASgFEgwKBGRlc2MYAiABKAkSDwoHc29ydF9pZBgDIAEoBRIPCgdjaGFy",
|
||||
"X2lkGAQgASgFEhUKDWNvbXBsZXRlX2NvbmQYBSABKAUSHAoUY29tcGxldGVf",
|
||||
"Y29uZF9wYXJhbXMYBiABKAkSDgoGcmV3YXJkGAcgAygFEhQKDGFmZmluaXR5",
|
||||
"X2V4cBgIIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityQuest), global::Nova.Client.AffinityQuest.Parser, new[]{ "Id", "Desc", "SortId", "CharId", "CompleteCond", "CompleteCondParams", "Reward", "AffinityExp" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AffinityQuest : pb::IMessage<AffinityQuest>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AffinityQuest> _parser = new pb::MessageParser<AffinityQuest>(() => new AffinityQuest());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AffinityQuest> 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.AffinityQuestReflection.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 AffinityQuest() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AffinityQuest(AffinityQuest other) : this() {
|
||||
id_ = other.id_;
|
||||
desc_ = other.desc_;
|
||||
sortId_ = other.sortId_;
|
||||
charId_ = other.charId_;
|
||||
completeCond_ = other.completeCond_;
|
||||
completeCondParams_ = other.completeCondParams_;
|
||||
reward_ = other.reward_.Clone();
|
||||
affinityExp_ = other.affinityExp_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AffinityQuest Clone() {
|
||||
return new AffinityQuest(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 "desc" field.</summary>
|
||||
public const int DescFieldNumber = 2;
|
||||
private string desc_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Desc {
|
||||
get { return desc_; }
|
||||
set {
|
||||
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sort_id" field.</summary>
|
||||
public const int SortIdFieldNumber = 3;
|
||||
private int sortId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SortId {
|
||||
get { return sortId_; }
|
||||
set {
|
||||
sortId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "char_id" field.</summary>
|
||||
public const int CharIdFieldNumber = 4;
|
||||
private int charId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CharId {
|
||||
get { return charId_; }
|
||||
set {
|
||||
charId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "complete_cond" field.</summary>
|
||||
public const int CompleteCondFieldNumber = 5;
|
||||
private int completeCond_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CompleteCond {
|
||||
get { return completeCond_; }
|
||||
set {
|
||||
completeCond_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "complete_cond_params" field.</summary>
|
||||
public const int CompleteCondParamsFieldNumber = 6;
|
||||
private string completeCondParams_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string CompleteCondParams {
|
||||
get { return completeCondParams_; }
|
||||
set {
|
||||
completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward" field.</summary>
|
||||
public const int RewardFieldNumber = 7;
|
||||
private static readonly pb::FieldCodec<int> _repeated_reward_codec
|
||||
= pb::FieldCodec.ForInt32(58);
|
||||
private readonly pbc::RepeatedField<int> reward_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> Reward {
|
||||
get { return reward_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "affinity_exp" field.</summary>
|
||||
public const int AffinityExpFieldNumber = 8;
|
||||
private int affinityExp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AffinityExp {
|
||||
get { return affinityExp_; }
|
||||
set {
|
||||
affinityExp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AffinityQuest);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AffinityQuest other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Desc != other.Desc) return false;
|
||||
if (SortId != other.SortId) return false;
|
||||
if (CharId != other.CharId) return false;
|
||||
if (CompleteCond != other.CompleteCond) return false;
|
||||
if (CompleteCondParams != other.CompleteCondParams) return false;
|
||||
if(!reward_.Equals(other.reward_)) return false;
|
||||
if (AffinityExp != other.AffinityExp) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
||||
if (SortId != 0) hash ^= SortId.GetHashCode();
|
||||
if (CharId != 0) hash ^= CharId.GetHashCode();
|
||||
if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode();
|
||||
if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode();
|
||||
hash ^= reward_.GetHashCode();
|
||||
if (AffinityExp != 0) hash ^= AffinityExp.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 (Desc.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (SortId != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(SortId);
|
||||
}
|
||||
if (CharId != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(CharId);
|
||||
}
|
||||
if (CompleteCond != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(CompleteCond);
|
||||
}
|
||||
if (CompleteCondParams.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(CompleteCondParams);
|
||||
}
|
||||
reward_.WriteTo(output, _repeated_reward_codec);
|
||||
if (AffinityExp != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(AffinityExp);
|
||||
}
|
||||
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 (Desc.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (SortId != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(SortId);
|
||||
}
|
||||
if (CharId != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(CharId);
|
||||
}
|
||||
if (CompleteCond != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(CompleteCond);
|
||||
}
|
||||
if (CompleteCondParams.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(CompleteCondParams);
|
||||
}
|
||||
reward_.WriteTo(ref output, _repeated_reward_codec);
|
||||
if (AffinityExp != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(AffinityExp);
|
||||
}
|
||||
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 (Desc.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
||||
}
|
||||
if (SortId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId);
|
||||
}
|
||||
if (CharId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId);
|
||||
}
|
||||
if (CompleteCond != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond);
|
||||
}
|
||||
if (CompleteCondParams.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams);
|
||||
}
|
||||
size += reward_.CalculateSize(_repeated_reward_codec);
|
||||
if (AffinityExp != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityExp);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AffinityQuest other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Desc.Length != 0) {
|
||||
Desc = other.Desc;
|
||||
}
|
||||
if (other.SortId != 0) {
|
||||
SortId = other.SortId;
|
||||
}
|
||||
if (other.CharId != 0) {
|
||||
CharId = other.CharId;
|
||||
}
|
||||
if (other.CompleteCond != 0) {
|
||||
CompleteCond = other.CompleteCond;
|
||||
}
|
||||
if (other.CompleteCondParams.Length != 0) {
|
||||
CompleteCondParams = other.CompleteCondParams;
|
||||
}
|
||||
reward_.Add(other.reward_);
|
||||
if (other.AffinityExp != 0) {
|
||||
AffinityExp = other.AffinityExp;
|
||||
}
|
||||
_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: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
SortId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
CharId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
CompleteCond = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
CompleteCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58:
|
||||
case 56: {
|
||||
reward_.AddEntriesFrom(input, _repeated_reward_codec);
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
AffinityExp = 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: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
SortId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
CharId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
CompleteCond = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
CompleteCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58:
|
||||
case 56: {
|
||||
reward_.AddEntriesFrom(ref input, _repeated_reward_codec);
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
AffinityExp = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user