mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 16:34:44 +01:00
serverlist handler + basic crypto, rename project
This commit is contained in:
606
Novaria.Common/Protos/Plot.cs
Normal file
606
Novaria.Common/Protos/Plot.cs
Normal file
@@ -0,0 +1,606 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Plot.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 Plot.proto</summary>
|
||||
public static partial class PlotReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for Plot.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static PlotReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CgpQbG90LnByb3RvItcBCgRQbG90EgoKAmlkGAEgASgFEgwKBGNoYXIYAiAB",
|
||||
"KAUSDAoEbmFtZRgDIAEoCRIMCgRkZXNjGAQgASgJEg4KBmF2Z19pZBgFIAEo",
|
||||
"CRIRCgltYWlubGluZXMYBiADKAUSHQoVdW5sb2NrX2FmZmluaXR5X2xldmVs",
|
||||
"GAcgASgFEhcKD2Nvbm5lY3RfY2hhdF9pZBgIIAEoBRIZChFjaGFyX2FkdmFu",
|
||||
"Y2VfY29uZBgJIAEoCRIPCgdyZXdhcmRzGAogASgJEhIKCnBpY19zb3VyY2UY",
|
||||
"CyABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Plot), global::Nova.Client.Plot.Parser, new[]{ "Id", "Char", "Name", "Desc", "AvgId", "Mainlines", "UnlockAffinityLevel", "ConnectChatId", "CharAdvanceCond", "Rewards", "PicSource" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class Plot : pb::IMessage<Plot>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<Plot> _parser = new pb::MessageParser<Plot>(() => new Plot());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<Plot> 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.PlotReflection.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 Plot() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Plot(Plot other) : this() {
|
||||
id_ = other.id_;
|
||||
char_ = other.char_;
|
||||
name_ = other.name_;
|
||||
desc_ = other.desc_;
|
||||
avgId_ = other.avgId_;
|
||||
mainlines_ = other.mainlines_.Clone();
|
||||
unlockAffinityLevel_ = other.unlockAffinityLevel_;
|
||||
connectChatId_ = other.connectChatId_;
|
||||
charAdvanceCond_ = other.charAdvanceCond_;
|
||||
rewards_ = other.rewards_;
|
||||
picSource_ = other.picSource_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Plot Clone() {
|
||||
return new Plot(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 "char" field.</summary>
|
||||
public const int CharFieldNumber = 2;
|
||||
private int char_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Char {
|
||||
get { return char_; }
|
||||
set {
|
||||
char_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 3;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "desc" field.</summary>
|
||||
public const int DescFieldNumber = 4;
|
||||
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 "avg_id" field.</summary>
|
||||
public const int AvgIdFieldNumber = 5;
|
||||
private string avgId_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string AvgId {
|
||||
get { return avgId_; }
|
||||
set {
|
||||
avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "mainlines" field.</summary>
|
||||
public const int MainlinesFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<int> _repeated_mainlines_codec
|
||||
= pb::FieldCodec.ForInt32(50);
|
||||
private readonly pbc::RepeatedField<int> mainlines_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> Mainlines {
|
||||
get { return mainlines_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unlock_affinity_level" field.</summary>
|
||||
public const int UnlockAffinityLevelFieldNumber = 7;
|
||||
private int unlockAffinityLevel_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int UnlockAffinityLevel {
|
||||
get { return unlockAffinityLevel_; }
|
||||
set {
|
||||
unlockAffinityLevel_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "connect_chat_id" field.</summary>
|
||||
public const int ConnectChatIdFieldNumber = 8;
|
||||
private int connectChatId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ConnectChatId {
|
||||
get { return connectChatId_; }
|
||||
set {
|
||||
connectChatId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "char_advance_cond" field.</summary>
|
||||
public const int CharAdvanceCondFieldNumber = 9;
|
||||
private string charAdvanceCond_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string CharAdvanceCond {
|
||||
get { return charAdvanceCond_; }
|
||||
set {
|
||||
charAdvanceCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rewards" field.</summary>
|
||||
public const int RewardsFieldNumber = 10;
|
||||
private string rewards_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Rewards {
|
||||
get { return rewards_; }
|
||||
set {
|
||||
rewards_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "pic_source" field.</summary>
|
||||
public const int PicSourceFieldNumber = 11;
|
||||
private string picSource_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string PicSource {
|
||||
get { return picSource_; }
|
||||
set {
|
||||
picSource_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as Plot);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(Plot other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Char != other.Char) return false;
|
||||
if (Name != other.Name) return false;
|
||||
if (Desc != other.Desc) return false;
|
||||
if (AvgId != other.AvgId) return false;
|
||||
if(!mainlines_.Equals(other.mainlines_)) return false;
|
||||
if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false;
|
||||
if (ConnectChatId != other.ConnectChatId) return false;
|
||||
if (CharAdvanceCond != other.CharAdvanceCond) return false;
|
||||
if (Rewards != other.Rewards) return false;
|
||||
if (PicSource != other.PicSource) 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 (Char != 0) hash ^= Char.GetHashCode();
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
||||
if (AvgId.Length != 0) hash ^= AvgId.GetHashCode();
|
||||
hash ^= mainlines_.GetHashCode();
|
||||
if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode();
|
||||
if (ConnectChatId != 0) hash ^= ConnectChatId.GetHashCode();
|
||||
if (CharAdvanceCond.Length != 0) hash ^= CharAdvanceCond.GetHashCode();
|
||||
if (Rewards.Length != 0) hash ^= Rewards.GetHashCode();
|
||||
if (PicSource.Length != 0) hash ^= PicSource.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 (Char != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Char);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (AvgId.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(AvgId);
|
||||
}
|
||||
mainlines_.WriteTo(output, _repeated_mainlines_codec);
|
||||
if (UnlockAffinityLevel != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(UnlockAffinityLevel);
|
||||
}
|
||||
if (ConnectChatId != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(ConnectChatId);
|
||||
}
|
||||
if (CharAdvanceCond.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(CharAdvanceCond);
|
||||
}
|
||||
if (Rewards.Length != 0) {
|
||||
output.WriteRawTag(82);
|
||||
output.WriteString(Rewards);
|
||||
}
|
||||
if (PicSource.Length != 0) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteString(PicSource);
|
||||
}
|
||||
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 (Char != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Char);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (AvgId.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(AvgId);
|
||||
}
|
||||
mainlines_.WriteTo(ref output, _repeated_mainlines_codec);
|
||||
if (UnlockAffinityLevel != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(UnlockAffinityLevel);
|
||||
}
|
||||
if (ConnectChatId != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(ConnectChatId);
|
||||
}
|
||||
if (CharAdvanceCond.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(CharAdvanceCond);
|
||||
}
|
||||
if (Rewards.Length != 0) {
|
||||
output.WriteRawTag(82);
|
||||
output.WriteString(Rewards);
|
||||
}
|
||||
if (PicSource.Length != 0) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteString(PicSource);
|
||||
}
|
||||
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 (Char != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Char);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
||||
}
|
||||
if (AvgId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId);
|
||||
}
|
||||
size += mainlines_.CalculateSize(_repeated_mainlines_codec);
|
||||
if (UnlockAffinityLevel != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel);
|
||||
}
|
||||
if (ConnectChatId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConnectChatId);
|
||||
}
|
||||
if (CharAdvanceCond.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(CharAdvanceCond);
|
||||
}
|
||||
if (Rewards.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Rewards);
|
||||
}
|
||||
if (PicSource.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(PicSource);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(Plot other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Char != 0) {
|
||||
Char = other.Char;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.Desc.Length != 0) {
|
||||
Desc = other.Desc;
|
||||
}
|
||||
if (other.AvgId.Length != 0) {
|
||||
AvgId = other.AvgId;
|
||||
}
|
||||
mainlines_.Add(other.mainlines_);
|
||||
if (other.UnlockAffinityLevel != 0) {
|
||||
UnlockAffinityLevel = other.UnlockAffinityLevel;
|
||||
}
|
||||
if (other.ConnectChatId != 0) {
|
||||
ConnectChatId = other.ConnectChatId;
|
||||
}
|
||||
if (other.CharAdvanceCond.Length != 0) {
|
||||
CharAdvanceCond = other.CharAdvanceCond;
|
||||
}
|
||||
if (other.Rewards.Length != 0) {
|
||||
Rewards = other.Rewards;
|
||||
}
|
||||
if (other.PicSource.Length != 0) {
|
||||
PicSource = other.PicSource;
|
||||
}
|
||||
_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 16: {
|
||||
Char = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
AvgId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
mainlines_.AddEntriesFrom(input, _repeated_mainlines_codec);
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
UnlockAffinityLevel = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
ConnectChatId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
CharAdvanceCond = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
Rewards = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
PicSource = input.ReadString();
|
||||
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 16: {
|
||||
Char = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
AvgId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
mainlines_.AddEntriesFrom(ref input, _repeated_mainlines_codec);
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
UnlockAffinityLevel = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
ConnectChatId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
CharAdvanceCond = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
Rewards = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
PicSource = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user