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:
643
Novaria.Common/Protos/VampireTalent.cs
Normal file
643
Novaria.Common/Protos/VampireTalent.cs
Normal file
@@ -0,0 +1,643 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: VampireTalent.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 VampireTalent.proto</summary>
|
||||
public static partial class VampireTalentReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for VampireTalent.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static VampireTalentReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChNWYW1waXJlVGFsZW50LnByb3RvIs4BCg1WYW1waXJlVGFsZW50EgoKAmlk",
|
||||
"GAEgASgFEgwKBG5hbWUYAiABKAkSEAoIZGVzY190YWcYAyABKAUSDQoFcGFy",
|
||||
"YW0YBCABKAUSDAoEcHJldhgFIAMoBRIRCglpc19zZXJ2ZXIYBiABKAgSEQoJ",
|
||||
"aXNfY2xpZW50GAcgASgIEg4KBmVmZmVjdBgIIAEoBRIOCgZwYXJhbXMYCSAB",
|
||||
"KAkSDQoFcG9pbnQYCiABKAUSDAoEaWNvbhgLIAEoCRIRCgllZmZlY3RfaWQY",
|
||||
"DCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalent), global::Nova.Client.VampireTalent.Parser, new[]{ "Id", "Name", "DescTag", "Param", "Prev", "IsServer", "IsClient", "Effect", "Params", "Point", "Icon", "EffectId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class VampireTalent : pb::IMessage<VampireTalent>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<VampireTalent> _parser = new pb::MessageParser<VampireTalent>(() => new VampireTalent());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<VampireTalent> 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.VampireTalentReflection.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 VampireTalent() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public VampireTalent(VampireTalent other) : this() {
|
||||
id_ = other.id_;
|
||||
name_ = other.name_;
|
||||
descTag_ = other.descTag_;
|
||||
param_ = other.param_;
|
||||
prev_ = other.prev_.Clone();
|
||||
isServer_ = other.isServer_;
|
||||
isClient_ = other.isClient_;
|
||||
effect_ = other.effect_;
|
||||
params_ = other.params_;
|
||||
point_ = other.point_;
|
||||
icon_ = other.icon_;
|
||||
effectId_ = other.effectId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public VampireTalent Clone() {
|
||||
return new VampireTalent(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 "name" field.</summary>
|
||||
public const int NameFieldNumber = 2;
|
||||
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_tag" field.</summary>
|
||||
public const int DescTagFieldNumber = 3;
|
||||
private int descTag_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DescTag {
|
||||
get { return descTag_; }
|
||||
set {
|
||||
descTag_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "param" field.</summary>
|
||||
public const int ParamFieldNumber = 4;
|
||||
private int param_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Param {
|
||||
get { return param_; }
|
||||
set {
|
||||
param_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "prev" field.</summary>
|
||||
public const int PrevFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<int> _repeated_prev_codec
|
||||
= pb::FieldCodec.ForInt32(42);
|
||||
private readonly pbc::RepeatedField<int> prev_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> Prev {
|
||||
get { return prev_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_server" field.</summary>
|
||||
public const int IsServerFieldNumber = 6;
|
||||
private bool isServer_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsServer {
|
||||
get { return isServer_; }
|
||||
set {
|
||||
isServer_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_client" field.</summary>
|
||||
public const int IsClientFieldNumber = 7;
|
||||
private bool isClient_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsClient {
|
||||
get { return isClient_; }
|
||||
set {
|
||||
isClient_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "effect" field.</summary>
|
||||
public const int EffectFieldNumber = 8;
|
||||
private int effect_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Effect {
|
||||
get { return effect_; }
|
||||
set {
|
||||
effect_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "params" field.</summary>
|
||||
public const int ParamsFieldNumber = 9;
|
||||
private string params_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Params {
|
||||
get { return params_; }
|
||||
set {
|
||||
params_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "point" field.</summary>
|
||||
public const int PointFieldNumber = 10;
|
||||
private int point_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Point {
|
||||
get { return point_; }
|
||||
set {
|
||||
point_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "icon" field.</summary>
|
||||
public const int IconFieldNumber = 11;
|
||||
private string icon_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Icon {
|
||||
get { return icon_; }
|
||||
set {
|
||||
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "effect_id" field.</summary>
|
||||
public const int EffectIdFieldNumber = 12;
|
||||
private int effectId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int EffectId {
|
||||
get { return effectId_; }
|
||||
set {
|
||||
effectId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as VampireTalent);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(VampireTalent other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Name != other.Name) return false;
|
||||
if (DescTag != other.DescTag) return false;
|
||||
if (Param != other.Param) return false;
|
||||
if(!prev_.Equals(other.prev_)) return false;
|
||||
if (IsServer != other.IsServer) return false;
|
||||
if (IsClient != other.IsClient) return false;
|
||||
if (Effect != other.Effect) return false;
|
||||
if (Params != other.Params) return false;
|
||||
if (Point != other.Point) return false;
|
||||
if (Icon != other.Icon) return false;
|
||||
if (EffectId != other.EffectId) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (DescTag != 0) hash ^= DescTag.GetHashCode();
|
||||
if (Param != 0) hash ^= Param.GetHashCode();
|
||||
hash ^= prev_.GetHashCode();
|
||||
if (IsServer != false) hash ^= IsServer.GetHashCode();
|
||||
if (IsClient != false) hash ^= IsClient.GetHashCode();
|
||||
if (Effect != 0) hash ^= Effect.GetHashCode();
|
||||
if (Params.Length != 0) hash ^= Params.GetHashCode();
|
||||
if (Point != 0) hash ^= Point.GetHashCode();
|
||||
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
|
||||
if (EffectId != 0) hash ^= EffectId.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 (Name.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (DescTag != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(DescTag);
|
||||
}
|
||||
if (Param != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Param);
|
||||
}
|
||||
prev_.WriteTo(output, _repeated_prev_codec);
|
||||
if (IsServer != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(IsServer);
|
||||
}
|
||||
if (IsClient != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(IsClient);
|
||||
}
|
||||
if (Effect != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(Effect);
|
||||
}
|
||||
if (Params.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(Params);
|
||||
}
|
||||
if (Point != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(Point);
|
||||
}
|
||||
if (Icon.Length != 0) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteString(Icon);
|
||||
}
|
||||
if (EffectId != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(EffectId);
|
||||
}
|
||||
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 (Name.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (DescTag != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(DescTag);
|
||||
}
|
||||
if (Param != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Param);
|
||||
}
|
||||
prev_.WriteTo(ref output, _repeated_prev_codec);
|
||||
if (IsServer != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(IsServer);
|
||||
}
|
||||
if (IsClient != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(IsClient);
|
||||
}
|
||||
if (Effect != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(Effect);
|
||||
}
|
||||
if (Params.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(Params);
|
||||
}
|
||||
if (Point != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(Point);
|
||||
}
|
||||
if (Icon.Length != 0) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteString(Icon);
|
||||
}
|
||||
if (EffectId != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(EffectId);
|
||||
}
|
||||
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 (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (DescTag != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DescTag);
|
||||
}
|
||||
if (Param != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Param);
|
||||
}
|
||||
size += prev_.CalculateSize(_repeated_prev_codec);
|
||||
if (IsServer != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (IsClient != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (Effect != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect);
|
||||
}
|
||||
if (Params.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Params);
|
||||
}
|
||||
if (Point != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Point);
|
||||
}
|
||||
if (Icon.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
|
||||
}
|
||||
if (EffectId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(VampireTalent other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.DescTag != 0) {
|
||||
DescTag = other.DescTag;
|
||||
}
|
||||
if (other.Param != 0) {
|
||||
Param = other.Param;
|
||||
}
|
||||
prev_.Add(other.prev_);
|
||||
if (other.IsServer != false) {
|
||||
IsServer = other.IsServer;
|
||||
}
|
||||
if (other.IsClient != false) {
|
||||
IsClient = other.IsClient;
|
||||
}
|
||||
if (other.Effect != 0) {
|
||||
Effect = other.Effect;
|
||||
}
|
||||
if (other.Params.Length != 0) {
|
||||
Params = other.Params;
|
||||
}
|
||||
if (other.Point != 0) {
|
||||
Point = other.Point;
|
||||
}
|
||||
if (other.Icon.Length != 0) {
|
||||
Icon = other.Icon;
|
||||
}
|
||||
if (other.EffectId != 0) {
|
||||
EffectId = other.EffectId;
|
||||
}
|
||||
_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: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DescTag = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Param = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
prev_.AddEntriesFrom(input, _repeated_prev_codec);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
IsServer = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
IsClient = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
Effect = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
Params = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
Point = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
Icon = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
EffectId = 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: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DescTag = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Param = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
prev_.AddEntriesFrom(ref input, _repeated_prev_codec);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
IsServer = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
IsClient = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
Effect = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
Params = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
Point = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
Icon = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
EffectId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user