// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: MMNDJAMEBML.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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from MMNDJAMEBML.proto public static partial class MMNDJAMEBMLReflection { #region Descriptor /// File descriptor for MMNDJAMEBML.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static MMNDJAMEBMLReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChFNTU5ESkFNRUJNTC5wcm90bxoeQmF0dGxlU3RhdGljdGljRXZlbnRUeXBl", "LnByb3RvImIKC01NTkRKQU1FQk1MEicKBHR5cGUYASABKA4yGS5CYXR0bGVT", "dGF0aWN0aWNFdmVudFR5cGUSEwoLT0NQUFBLRERJTUwYAiABKA0SFQoNZGlz", "cGxheV92YWx1ZRgDIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy", "b3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleStaticticEventTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MMNDJAMEBML), global::EggLink.DanhengServer.Proto.MMNDJAMEBML.Parser, new[]{ "Type", "OCPPPKDDIML", "DisplayValue" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class MMNDJAMEBML : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MMNDJAMEBML()); 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::EggLink.DanhengServer.Proto.MMNDJAMEBMLReflection.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 MMNDJAMEBML() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MMNDJAMEBML(MMNDJAMEBML other) : this() { type_ = other.type_; oCPPPKDDIML_ = other.oCPPPKDDIML_; displayValue_ = other.displayValue_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MMNDJAMEBML Clone() { return new MMNDJAMEBML(this); } /// Field number for the "type" field. public const int TypeFieldNumber = 1; private global::EggLink.DanhengServer.Proto.BattleStaticticEventType type_ = global::EggLink.DanhengServer.Proto.BattleStaticticEventType.BattleStaticticEventNone; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.BattleStaticticEventType Type { get { return type_; } set { type_ = value; } } /// Field number for the "OCPPPKDDIML" field. public const int OCPPPKDDIMLFieldNumber = 2; private uint oCPPPKDDIML_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint OCPPPKDDIML { get { return oCPPPKDDIML_; } set { oCPPPKDDIML_ = value; } } /// Field number for the "display_value" field. public const int DisplayValueFieldNumber = 3; private uint displayValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DisplayValue { get { return displayValue_; } set { displayValue_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as MMNDJAMEBML); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(MMNDJAMEBML other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Type != other.Type) return false; if (OCPPPKDDIML != other.OCPPPKDDIML) return false; if (DisplayValue != other.DisplayValue) 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 (Type != global::EggLink.DanhengServer.Proto.BattleStaticticEventType.BattleStaticticEventNone) hash ^= Type.GetHashCode(); if (OCPPPKDDIML != 0) hash ^= OCPPPKDDIML.GetHashCode(); if (DisplayValue != 0) hash ^= DisplayValue.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 (Type != global::EggLink.DanhengServer.Proto.BattleStaticticEventType.BattleStaticticEventNone) { output.WriteRawTag(8); output.WriteEnum((int) Type); } if (OCPPPKDDIML != 0) { output.WriteRawTag(16); output.WriteUInt32(OCPPPKDDIML); } if (DisplayValue != 0) { output.WriteRawTag(24); output.WriteUInt32(DisplayValue); } 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 (Type != global::EggLink.DanhengServer.Proto.BattleStaticticEventType.BattleStaticticEventNone) { output.WriteRawTag(8); output.WriteEnum((int) Type); } if (OCPPPKDDIML != 0) { output.WriteRawTag(16); output.WriteUInt32(OCPPPKDDIML); } if (DisplayValue != 0) { output.WriteRawTag(24); output.WriteUInt32(DisplayValue); } 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 (Type != global::EggLink.DanhengServer.Proto.BattleStaticticEventType.BattleStaticticEventNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); } if (OCPPPKDDIML != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OCPPPKDDIML); } if (DisplayValue != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DisplayValue); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(MMNDJAMEBML other) { if (other == null) { return; } if (other.Type != global::EggLink.DanhengServer.Proto.BattleStaticticEventType.BattleStaticticEventNone) { Type = other.Type; } if (other.OCPPPKDDIML != 0) { OCPPPKDDIML = other.OCPPPKDDIML; } if (other.DisplayValue != 0) { DisplayValue = other.DisplayValue; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Type = (global::EggLink.DanhengServer.Proto.BattleStaticticEventType) input.ReadEnum(); break; } case 16: { OCPPPKDDIML = input.ReadUInt32(); break; } case 24: { DisplayValue = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Type = (global::EggLink.DanhengServer.Proto.BattleStaticticEventType) input.ReadEnum(); break; } case 16: { OCPPPKDDIML = input.ReadUInt32(); break; } case 24: { DisplayValue = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code