// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DailyActivityInfo.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 DailyActivityInfo.proto public static partial class DailyActivityInfoReflection { #region Descriptor /// File descriptor for DailyActivityInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DailyActivityInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChdEYWlseUFjdGl2aXR5SW5mby5wcm90byJpChFEYWlseUFjdGl2aXR5SW5m", "bxIaChJkYWlseV9hY3RpdmVfcG9pbnQYCiABKA0SEwoLd29ybGRfbGV2ZWwY", "CyABKA0SDQoFbGV2ZWwYBCABKA0SFAoMaXNfaGFzX3Rha2VuGA0gASgIQh6q", "AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DailyActivityInfo), global::EggLink.DanhengServer.Proto.DailyActivityInfo.Parser, new[]{ "DailyActivePoint", "WorldLevel", "Level", "IsHasTaken" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DailyActivityInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyActivityInfo()); 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.DailyActivityInfoReflection.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 DailyActivityInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DailyActivityInfo(DailyActivityInfo other) : this() { dailyActivePoint_ = other.dailyActivePoint_; worldLevel_ = other.worldLevel_; level_ = other.level_; isHasTaken_ = other.isHasTaken_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DailyActivityInfo Clone() { return new DailyActivityInfo(this); } /// Field number for the "daily_active_point" field. public const int DailyActivePointFieldNumber = 10; private uint dailyActivePoint_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DailyActivePoint { get { return dailyActivePoint_; } set { dailyActivePoint_ = value; } } /// Field number for the "world_level" field. public const int WorldLevelFieldNumber = 11; private uint worldLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint WorldLevel { get { return worldLevel_; } set { worldLevel_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 4; private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Level { get { return level_; } set { level_ = value; } } /// Field number for the "is_has_taken" field. public const int IsHasTakenFieldNumber = 13; private bool isHasTaken_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsHasTaken { get { return isHasTaken_; } set { isHasTaken_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DailyActivityInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DailyActivityInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (DailyActivePoint != other.DailyActivePoint) return false; if (WorldLevel != other.WorldLevel) return false; if (Level != other.Level) return false; if (IsHasTaken != other.IsHasTaken) 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 (DailyActivePoint != 0) hash ^= DailyActivePoint.GetHashCode(); if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (IsHasTaken != false) hash ^= IsHasTaken.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 (Level != 0) { output.WriteRawTag(32); output.WriteUInt32(Level); } if (DailyActivePoint != 0) { output.WriteRawTag(80); output.WriteUInt32(DailyActivePoint); } if (WorldLevel != 0) { output.WriteRawTag(88); output.WriteUInt32(WorldLevel); } if (IsHasTaken != false) { output.WriteRawTag(104); output.WriteBool(IsHasTaken); } 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 (Level != 0) { output.WriteRawTag(32); output.WriteUInt32(Level); } if (DailyActivePoint != 0) { output.WriteRawTag(80); output.WriteUInt32(DailyActivePoint); } if (WorldLevel != 0) { output.WriteRawTag(88); output.WriteUInt32(WorldLevel); } if (IsHasTaken != false) { output.WriteRawTag(104); output.WriteBool(IsHasTaken); } 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 (DailyActivePoint != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DailyActivePoint); } if (WorldLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } if (IsHasTaken != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DailyActivityInfo other) { if (other == null) { return; } if (other.DailyActivePoint != 0) { DailyActivePoint = other.DailyActivePoint; } if (other.WorldLevel != 0) { WorldLevel = other.WorldLevel; } if (other.Level != 0) { Level = other.Level; } if (other.IsHasTaken != false) { IsHasTaken = other.IsHasTaken; } _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 32: { Level = input.ReadUInt32(); break; } case 80: { DailyActivePoint = input.ReadUInt32(); break; } case 88: { WorldLevel = input.ReadUInt32(); break; } case 104: { IsHasTaken = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 32: { Level = input.ReadUInt32(); break; } case 80: { DailyActivePoint = input.ReadUInt32(); break; } case 88: { WorldLevel = input.ReadUInt32(); break; } case 104: { IsHasTaken = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code