// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: HonorCharacter.proto // #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 { /// Holder for reflection information generated from HonorCharacter.proto public static partial class HonorCharacterReflection { #region Descriptor /// File descriptor for HonorCharacter.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static HonorCharacterReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChRIb25vckNoYXJhY3Rlci5wcm90byKcAQoOSG9ub3JDaGFyYWN0ZXISCgoC", "aWQYASABKAUSDwoHY2hhcl9pZBgCIAEoBRINCgVsZXZlbBgDIAEoBRITCgti", "aWdfYmdfcGF0aBgEIAEoCRIVCg1zbWFsbF9iZ19wYXRoGAUgASgJEhIKCnN0", "YXJfZ3JvdXAYBiADKAUSDAoEc29ydBgHIAEoBRIQCghiX2dfdHlwZRgIIAEo", "BUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.HonorCharacter), global::Nova.Client.HonorCharacter.Parser, new[]{ "Id", "CharId", "Level", "BigBgPath", "SmallBgPath", "StarGroup", "Sort", "BGType" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class HonorCharacter : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HonorCharacter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.HonorCharacterReflection.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 HonorCharacter() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public HonorCharacter(HonorCharacter other) : this() { id_ = other.id_; charId_ = other.charId_; level_ = other.level_; bigBgPath_ = other.bigBgPath_; smallBgPath_ = other.smallBgPath_; starGroup_ = other.starGroup_.Clone(); sort_ = other.sort_; bGType_ = other.bGType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public HonorCharacter Clone() { return new HonorCharacter(this); } /// Field number for the "id" field. 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; } } /// Field number for the "char_id" field. public const int CharIdFieldNumber = 2; private int charId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CharId { get { return charId_; } set { charId_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 3; private int level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "big_bg_path" field. public const int BigBgPathFieldNumber = 4; private string bigBgPath_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BigBgPath { get { return bigBgPath_; } set { bigBgPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "small_bg_path" field. public const int SmallBgPathFieldNumber = 5; private string smallBgPath_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SmallBgPath { get { return smallBgPath_; } set { smallBgPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "star_group" field. public const int StarGroupFieldNumber = 6; private static readonly pb::FieldCodec _repeated_starGroup_codec = pb::FieldCodec.ForInt32(50); private readonly pbc::RepeatedField starGroup_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField StarGroup { get { return starGroup_; } } /// Field number for the "sort" field. public const int SortFieldNumber = 7; private int sort_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Sort { get { return sort_; } set { sort_ = value; } } /// Field number for the "b_g_type" field. public const int BGTypeFieldNumber = 8; private int bGType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BGType { get { return bGType_; } set { bGType_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as HonorCharacter); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(HonorCharacter other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (CharId != other.CharId) return false; if (Level != other.Level) return false; if (BigBgPath != other.BigBgPath) return false; if (SmallBgPath != other.SmallBgPath) return false; if(!starGroup_.Equals(other.starGroup_)) return false; if (Sort != other.Sort) return false; if (BGType != other.BGType) 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 (CharId != 0) hash ^= CharId.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (BigBgPath.Length != 0) hash ^= BigBgPath.GetHashCode(); if (SmallBgPath.Length != 0) hash ^= SmallBgPath.GetHashCode(); hash ^= starGroup_.GetHashCode(); if (Sort != 0) hash ^= Sort.GetHashCode(); if (BGType != 0) hash ^= BGType.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 (CharId != 0) { output.WriteRawTag(16); output.WriteInt32(CharId); } if (Level != 0) { output.WriteRawTag(24); output.WriteInt32(Level); } if (BigBgPath.Length != 0) { output.WriteRawTag(34); output.WriteString(BigBgPath); } if (SmallBgPath.Length != 0) { output.WriteRawTag(42); output.WriteString(SmallBgPath); } starGroup_.WriteTo(output, _repeated_starGroup_codec); if (Sort != 0) { output.WriteRawTag(56); output.WriteInt32(Sort); } if (BGType != 0) { output.WriteRawTag(64); output.WriteInt32(BGType); } 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 (CharId != 0) { output.WriteRawTag(16); output.WriteInt32(CharId); } if (Level != 0) { output.WriteRawTag(24); output.WriteInt32(Level); } if (BigBgPath.Length != 0) { output.WriteRawTag(34); output.WriteString(BigBgPath); } if (SmallBgPath.Length != 0) { output.WriteRawTag(42); output.WriteString(SmallBgPath); } starGroup_.WriteTo(ref output, _repeated_starGroup_codec); if (Sort != 0) { output.WriteRawTag(56); output.WriteInt32(Sort); } if (BGType != 0) { output.WriteRawTag(64); output.WriteInt32(BGType); } 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 (CharId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (BigBgPath.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(BigBgPath); } if (SmallBgPath.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallBgPath); } size += starGroup_.CalculateSize(_repeated_starGroup_codec); if (Sort != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); } if (BGType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BGType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(HonorCharacter other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.CharId != 0) { CharId = other.CharId; } if (other.Level != 0) { Level = other.Level; } if (other.BigBgPath.Length != 0) { BigBgPath = other.BigBgPath; } if (other.SmallBgPath.Length != 0) { SmallBgPath = other.SmallBgPath; } starGroup_.Add(other.starGroup_); if (other.Sort != 0) { Sort = other.Sort; } if (other.BGType != 0) { BGType = other.BGType; } _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: { CharId = input.ReadInt32(); break; } case 24: { Level = input.ReadInt32(); break; } case 34: { BigBgPath = input.ReadString(); break; } case 42: { SmallBgPath = input.ReadString(); break; } case 50: case 48: { starGroup_.AddEntriesFrom(input, _repeated_starGroup_codec); break; } case 56: { Sort = input.ReadInt32(); break; } case 64: { BGType = 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 16: { CharId = input.ReadInt32(); break; } case 24: { Level = input.ReadInt32(); break; } case 34: { BigBgPath = input.ReadString(); break; } case 42: { SmallBgPath = input.ReadString(); break; } case 50: case 48: { starGroup_.AddEntriesFrom(ref input, _repeated_starGroup_codec); break; } case 56: { Sort = input.ReadInt32(); break; } case 64: { BGType = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code