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:
868
Novaria.Common/Protos/Buff.cs
Normal file
868
Novaria.Common/Protos/Buff.cs
Normal file
@@ -0,0 +1,868 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Buff.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 Buff.proto</summary>
|
||||
public static partial class BuffReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for Buff.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BuffReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CgpCdWZmLnByb3RvIu4CCgRCdWZmEgoKAmlkGAEgASgFEgwKBG5hbWUYAiAB",
|
||||
"KAkSFwoPbGV2ZWxfdHlwZV9kYXRhGAMgASgFEhIKCmxldmVsX2RhdGEYBCAB",
|
||||
"KAUSFwoPbWFpbl9vcl9zdXBwb3J0GAUgASgFEhAKCGdyb3VwX2lkGAYgASgF",
|
||||
"EhMKC3JlZHVjZV90aW1lGAcgASgFEhEKCWJ1ZmZfdGFnMRgIIAEoBRIRCgli",
|
||||
"dWZmX3RhZzIYCSABKAUSEQoJYnVmZl90YWczGAogASgFEhEKCWJ1ZmZfdGFn",
|
||||
"NBgLIAEoBRIRCglidWZmX3RhZzUYDCABKAUSEwoLYmluZF9lZmZlY3QYDSAB",
|
||||
"KAkSDAoEaWNvbhgOIAEoCRIPCgdpc19zaG93GA8gASgIEhkKEXRvcG9mX2hl",
|
||||
"YWRfZWZmZWN0GBAgASgJEh0KFWJ1ZmZfbnVtX2VmZmVjdF9sZXZlbBgRIAMo",
|
||||
"BRISCgpub3RfcmVtb3ZlGBIgASgIQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Buff), global::Nova.Client.Buff.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "GroupId", "ReduceTime", "BuffTag1", "BuffTag2", "BuffTag3", "BuffTag4", "BuffTag5", "BindEffect", "Icon", "IsShow", "TopofHeadEffect", "BuffNumEffectLevel", "NotRemove" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class Buff : pb::IMessage<Buff>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<Buff> _parser = new pb::MessageParser<Buff>(() => new Buff());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<Buff> 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.BuffReflection.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 Buff() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Buff(Buff other) : this() {
|
||||
id_ = other.id_;
|
||||
name_ = other.name_;
|
||||
levelTypeData_ = other.levelTypeData_;
|
||||
levelData_ = other.levelData_;
|
||||
mainOrSupport_ = other.mainOrSupport_;
|
||||
groupId_ = other.groupId_;
|
||||
reduceTime_ = other.reduceTime_;
|
||||
buffTag1_ = other.buffTag1_;
|
||||
buffTag2_ = other.buffTag2_;
|
||||
buffTag3_ = other.buffTag3_;
|
||||
buffTag4_ = other.buffTag4_;
|
||||
buffTag5_ = other.buffTag5_;
|
||||
bindEffect_ = other.bindEffect_;
|
||||
icon_ = other.icon_;
|
||||
isShow_ = other.isShow_;
|
||||
topofHeadEffect_ = other.topofHeadEffect_;
|
||||
buffNumEffectLevel_ = other.buffNumEffectLevel_.Clone();
|
||||
notRemove_ = other.notRemove_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Buff Clone() {
|
||||
return new Buff(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 "level_type_data" field.</summary>
|
||||
public const int LevelTypeDataFieldNumber = 3;
|
||||
private int levelTypeData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int LevelTypeData {
|
||||
get { return levelTypeData_; }
|
||||
set {
|
||||
levelTypeData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "level_data" field.</summary>
|
||||
public const int LevelDataFieldNumber = 4;
|
||||
private int levelData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int LevelData {
|
||||
get { return levelData_; }
|
||||
set {
|
||||
levelData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "main_or_support" field.</summary>
|
||||
public const int MainOrSupportFieldNumber = 5;
|
||||
private int mainOrSupport_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MainOrSupport {
|
||||
get { return mainOrSupport_; }
|
||||
set {
|
||||
mainOrSupport_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "group_id" field.</summary>
|
||||
public const int GroupIdFieldNumber = 6;
|
||||
private int groupId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int GroupId {
|
||||
get { return groupId_; }
|
||||
set {
|
||||
groupId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reduce_time" field.</summary>
|
||||
public const int ReduceTimeFieldNumber = 7;
|
||||
private int reduceTime_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ReduceTime {
|
||||
get { return reduceTime_; }
|
||||
set {
|
||||
reduceTime_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_tag1" field.</summary>
|
||||
public const int BuffTag1FieldNumber = 8;
|
||||
private int buffTag1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BuffTag1 {
|
||||
get { return buffTag1_; }
|
||||
set {
|
||||
buffTag1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_tag2" field.</summary>
|
||||
public const int BuffTag2FieldNumber = 9;
|
||||
private int buffTag2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BuffTag2 {
|
||||
get { return buffTag2_; }
|
||||
set {
|
||||
buffTag2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_tag3" field.</summary>
|
||||
public const int BuffTag3FieldNumber = 10;
|
||||
private int buffTag3_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BuffTag3 {
|
||||
get { return buffTag3_; }
|
||||
set {
|
||||
buffTag3_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_tag4" field.</summary>
|
||||
public const int BuffTag4FieldNumber = 11;
|
||||
private int buffTag4_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BuffTag4 {
|
||||
get { return buffTag4_; }
|
||||
set {
|
||||
buffTag4_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_tag5" field.</summary>
|
||||
public const int BuffTag5FieldNumber = 12;
|
||||
private int buffTag5_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BuffTag5 {
|
||||
get { return buffTag5_; }
|
||||
set {
|
||||
buffTag5_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "bind_effect" field.</summary>
|
||||
public const int BindEffectFieldNumber = 13;
|
||||
private string bindEffect_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string BindEffect {
|
||||
get { return bindEffect_; }
|
||||
set {
|
||||
bindEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "icon" field.</summary>
|
||||
public const int IconFieldNumber = 14;
|
||||
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 "is_show" field.</summary>
|
||||
public const int IsShowFieldNumber = 15;
|
||||
private bool isShow_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsShow {
|
||||
get { return isShow_; }
|
||||
set {
|
||||
isShow_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "topof_head_effect" field.</summary>
|
||||
public const int TopofHeadEffectFieldNumber = 16;
|
||||
private string topofHeadEffect_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string TopofHeadEffect {
|
||||
get { return topofHeadEffect_; }
|
||||
set {
|
||||
topofHeadEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_num_effect_level" field.</summary>
|
||||
public const int BuffNumEffectLevelFieldNumber = 17;
|
||||
private static readonly pb::FieldCodec<int> _repeated_buffNumEffectLevel_codec
|
||||
= pb::FieldCodec.ForInt32(138);
|
||||
private readonly pbc::RepeatedField<int> buffNumEffectLevel_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> BuffNumEffectLevel {
|
||||
get { return buffNumEffectLevel_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "not_remove" field.</summary>
|
||||
public const int NotRemoveFieldNumber = 18;
|
||||
private bool notRemove_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool NotRemove {
|
||||
get { return notRemove_; }
|
||||
set {
|
||||
notRemove_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as Buff);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(Buff 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 (LevelTypeData != other.LevelTypeData) return false;
|
||||
if (LevelData != other.LevelData) return false;
|
||||
if (MainOrSupport != other.MainOrSupport) return false;
|
||||
if (GroupId != other.GroupId) return false;
|
||||
if (ReduceTime != other.ReduceTime) return false;
|
||||
if (BuffTag1 != other.BuffTag1) return false;
|
||||
if (BuffTag2 != other.BuffTag2) return false;
|
||||
if (BuffTag3 != other.BuffTag3) return false;
|
||||
if (BuffTag4 != other.BuffTag4) return false;
|
||||
if (BuffTag5 != other.BuffTag5) return false;
|
||||
if (BindEffect != other.BindEffect) return false;
|
||||
if (Icon != other.Icon) return false;
|
||||
if (IsShow != other.IsShow) return false;
|
||||
if (TopofHeadEffect != other.TopofHeadEffect) return false;
|
||||
if(!buffNumEffectLevel_.Equals(other.buffNumEffectLevel_)) return false;
|
||||
if (NotRemove != other.NotRemove) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode();
|
||||
if (LevelData != 0) hash ^= LevelData.GetHashCode();
|
||||
if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode();
|
||||
if (GroupId != 0) hash ^= GroupId.GetHashCode();
|
||||
if (ReduceTime != 0) hash ^= ReduceTime.GetHashCode();
|
||||
if (BuffTag1 != 0) hash ^= BuffTag1.GetHashCode();
|
||||
if (BuffTag2 != 0) hash ^= BuffTag2.GetHashCode();
|
||||
if (BuffTag3 != 0) hash ^= BuffTag3.GetHashCode();
|
||||
if (BuffTag4 != 0) hash ^= BuffTag4.GetHashCode();
|
||||
if (BuffTag5 != 0) hash ^= BuffTag5.GetHashCode();
|
||||
if (BindEffect.Length != 0) hash ^= BindEffect.GetHashCode();
|
||||
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
|
||||
if (IsShow != false) hash ^= IsShow.GetHashCode();
|
||||
if (TopofHeadEffect.Length != 0) hash ^= TopofHeadEffect.GetHashCode();
|
||||
hash ^= buffNumEffectLevel_.GetHashCode();
|
||||
if (NotRemove != false) hash ^= NotRemove.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 (LevelTypeData != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(LevelTypeData);
|
||||
}
|
||||
if (LevelData != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(LevelData);
|
||||
}
|
||||
if (MainOrSupport != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(MainOrSupport);
|
||||
}
|
||||
if (GroupId != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(GroupId);
|
||||
}
|
||||
if (ReduceTime != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ReduceTime);
|
||||
}
|
||||
if (BuffTag1 != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(BuffTag1);
|
||||
}
|
||||
if (BuffTag2 != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(BuffTag2);
|
||||
}
|
||||
if (BuffTag3 != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(BuffTag3);
|
||||
}
|
||||
if (BuffTag4 != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(BuffTag4);
|
||||
}
|
||||
if (BuffTag5 != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(BuffTag5);
|
||||
}
|
||||
if (BindEffect.Length != 0) {
|
||||
output.WriteRawTag(106);
|
||||
output.WriteString(BindEffect);
|
||||
}
|
||||
if (Icon.Length != 0) {
|
||||
output.WriteRawTag(114);
|
||||
output.WriteString(Icon);
|
||||
}
|
||||
if (IsShow != false) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteBool(IsShow);
|
||||
}
|
||||
if (TopofHeadEffect.Length != 0) {
|
||||
output.WriteRawTag(130, 1);
|
||||
output.WriteString(TopofHeadEffect);
|
||||
}
|
||||
buffNumEffectLevel_.WriteTo(output, _repeated_buffNumEffectLevel_codec);
|
||||
if (NotRemove != false) {
|
||||
output.WriteRawTag(144, 1);
|
||||
output.WriteBool(NotRemove);
|
||||
}
|
||||
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 (LevelTypeData != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(LevelTypeData);
|
||||
}
|
||||
if (LevelData != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(LevelData);
|
||||
}
|
||||
if (MainOrSupport != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(MainOrSupport);
|
||||
}
|
||||
if (GroupId != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(GroupId);
|
||||
}
|
||||
if (ReduceTime != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ReduceTime);
|
||||
}
|
||||
if (BuffTag1 != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(BuffTag1);
|
||||
}
|
||||
if (BuffTag2 != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(BuffTag2);
|
||||
}
|
||||
if (BuffTag3 != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(BuffTag3);
|
||||
}
|
||||
if (BuffTag4 != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(BuffTag4);
|
||||
}
|
||||
if (BuffTag5 != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(BuffTag5);
|
||||
}
|
||||
if (BindEffect.Length != 0) {
|
||||
output.WriteRawTag(106);
|
||||
output.WriteString(BindEffect);
|
||||
}
|
||||
if (Icon.Length != 0) {
|
||||
output.WriteRawTag(114);
|
||||
output.WriteString(Icon);
|
||||
}
|
||||
if (IsShow != false) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteBool(IsShow);
|
||||
}
|
||||
if (TopofHeadEffect.Length != 0) {
|
||||
output.WriteRawTag(130, 1);
|
||||
output.WriteString(TopofHeadEffect);
|
||||
}
|
||||
buffNumEffectLevel_.WriteTo(ref output, _repeated_buffNumEffectLevel_codec);
|
||||
if (NotRemove != false) {
|
||||
output.WriteRawTag(144, 1);
|
||||
output.WriteBool(NotRemove);
|
||||
}
|
||||
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 (LevelTypeData != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData);
|
||||
}
|
||||
if (LevelData != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData);
|
||||
}
|
||||
if (MainOrSupport != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport);
|
||||
}
|
||||
if (GroupId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId);
|
||||
}
|
||||
if (ReduceTime != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReduceTime);
|
||||
}
|
||||
if (BuffTag1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag1);
|
||||
}
|
||||
if (BuffTag2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag2);
|
||||
}
|
||||
if (BuffTag3 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag3);
|
||||
}
|
||||
if (BuffTag4 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag4);
|
||||
}
|
||||
if (BuffTag5 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag5);
|
||||
}
|
||||
if (BindEffect.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(BindEffect);
|
||||
}
|
||||
if (Icon.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
|
||||
}
|
||||
if (IsShow != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (TopofHeadEffect.Length != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeStringSize(TopofHeadEffect);
|
||||
}
|
||||
size += buffNumEffectLevel_.CalculateSize(_repeated_buffNumEffectLevel_codec);
|
||||
if (NotRemove != false) {
|
||||
size += 2 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(Buff other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.LevelTypeData != 0) {
|
||||
LevelTypeData = other.LevelTypeData;
|
||||
}
|
||||
if (other.LevelData != 0) {
|
||||
LevelData = other.LevelData;
|
||||
}
|
||||
if (other.MainOrSupport != 0) {
|
||||
MainOrSupport = other.MainOrSupport;
|
||||
}
|
||||
if (other.GroupId != 0) {
|
||||
GroupId = other.GroupId;
|
||||
}
|
||||
if (other.ReduceTime != 0) {
|
||||
ReduceTime = other.ReduceTime;
|
||||
}
|
||||
if (other.BuffTag1 != 0) {
|
||||
BuffTag1 = other.BuffTag1;
|
||||
}
|
||||
if (other.BuffTag2 != 0) {
|
||||
BuffTag2 = other.BuffTag2;
|
||||
}
|
||||
if (other.BuffTag3 != 0) {
|
||||
BuffTag3 = other.BuffTag3;
|
||||
}
|
||||
if (other.BuffTag4 != 0) {
|
||||
BuffTag4 = other.BuffTag4;
|
||||
}
|
||||
if (other.BuffTag5 != 0) {
|
||||
BuffTag5 = other.BuffTag5;
|
||||
}
|
||||
if (other.BindEffect.Length != 0) {
|
||||
BindEffect = other.BindEffect;
|
||||
}
|
||||
if (other.Icon.Length != 0) {
|
||||
Icon = other.Icon;
|
||||
}
|
||||
if (other.IsShow != false) {
|
||||
IsShow = other.IsShow;
|
||||
}
|
||||
if (other.TopofHeadEffect.Length != 0) {
|
||||
TopofHeadEffect = other.TopofHeadEffect;
|
||||
}
|
||||
buffNumEffectLevel_.Add(other.buffNumEffectLevel_);
|
||||
if (other.NotRemove != false) {
|
||||
NotRemove = other.NotRemove;
|
||||
}
|
||||
_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: {
|
||||
LevelTypeData = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
LevelData = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
MainOrSupport = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
GroupId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ReduceTime = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
BuffTag1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
BuffTag2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
BuffTag3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
BuffTag4 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
BuffTag5 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
BindEffect = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
Icon = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
IsShow = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
TopofHeadEffect = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 138:
|
||||
case 136: {
|
||||
buffNumEffectLevel_.AddEntriesFrom(input, _repeated_buffNumEffectLevel_codec);
|
||||
break;
|
||||
}
|
||||
case 144: {
|
||||
NotRemove = input.ReadBool();
|
||||
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: {
|
||||
LevelTypeData = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
LevelData = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
MainOrSupport = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
GroupId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ReduceTime = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
BuffTag1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
BuffTag2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
BuffTag3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
BuffTag4 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
BuffTag5 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
BindEffect = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
Icon = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
IsShow = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
TopofHeadEffect = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 138:
|
||||
case 136: {
|
||||
buffNumEffectLevel_.AddEntriesFrom(ref input, _repeated_buffNumEffectLevel_codec);
|
||||
break;
|
||||
}
|
||||
case 144: {
|
||||
NotRemove = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user