mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
358 lines
13 KiB
C#
358 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DailyFirstEnterMonopolyActivityScRsp.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 EggLink.DanhengServer.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from DailyFirstEnterMonopolyActivityScRsp.proto</summary>
|
|
public static partial class DailyFirstEnterMonopolyActivityScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DailyFirstEnterMonopolyActivityScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DailyFirstEnterMonopolyActivityScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CipEYWlseUZpcnN0RW50ZXJNb25vcG9seUFjdGl2aXR5U2NSc3AucHJvdG8a",
|
|
"FE1vbm9wb2x5UmVwb3J0LnByb3RvIosBCiREYWlseUZpcnN0RW50ZXJNb25v",
|
|
"cG9seUFjdGl2aXR5U2NSc3ASEgoKcmVzZXRfdGltZRgNIAEoAxIPCgdyZXRj",
|
|
"b2RlGAUgASgNEh0KFWlzX2ZpcnN0X3RpbWVfZW50ZXJlZBgJIAEoCBIfCgZy",
|
|
"ZXBvcnQYBiABKAsyDy5Nb25vcG9seVJlcG9ydEIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MonopolyReportReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DailyFirstEnterMonopolyActivityScRsp), global::EggLink.DanhengServer.Proto.DailyFirstEnterMonopolyActivityScRsp.Parser, new[]{ "ResetTime", "Retcode", "IsFirstTimeEntered", "Report" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DailyFirstEnterMonopolyActivityScRsp : pb::IMessage<DailyFirstEnterMonopolyActivityScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DailyFirstEnterMonopolyActivityScRsp> _parser = new pb::MessageParser<DailyFirstEnterMonopolyActivityScRsp>(() => new DailyFirstEnterMonopolyActivityScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DailyFirstEnterMonopolyActivityScRsp> 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.DailyFirstEnterMonopolyActivityScRspReflection.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 DailyFirstEnterMonopolyActivityScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DailyFirstEnterMonopolyActivityScRsp(DailyFirstEnterMonopolyActivityScRsp other) : this() {
|
|
resetTime_ = other.resetTime_;
|
|
retcode_ = other.retcode_;
|
|
isFirstTimeEntered_ = other.isFirstTimeEntered_;
|
|
report_ = other.report_ != null ? other.report_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DailyFirstEnterMonopolyActivityScRsp Clone() {
|
|
return new DailyFirstEnterMonopolyActivityScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "reset_time" field.</summary>
|
|
public const int ResetTimeFieldNumber = 13;
|
|
private long resetTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long ResetTime {
|
|
get { return resetTime_; }
|
|
set {
|
|
resetTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 5;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_first_time_entered" field.</summary>
|
|
public const int IsFirstTimeEnteredFieldNumber = 9;
|
|
private bool isFirstTimeEntered_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsFirstTimeEntered {
|
|
get { return isFirstTimeEntered_; }
|
|
set {
|
|
isFirstTimeEntered_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "report" field.</summary>
|
|
public const int ReportFieldNumber = 6;
|
|
private global::EggLink.DanhengServer.Proto.MonopolyReport report_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.MonopolyReport Report {
|
|
get { return report_; }
|
|
set {
|
|
report_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DailyFirstEnterMonopolyActivityScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DailyFirstEnterMonopolyActivityScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ResetTime != other.ResetTime) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if (IsFirstTimeEntered != other.IsFirstTimeEntered) return false;
|
|
if (!object.Equals(Report, other.Report)) 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 (ResetTime != 0L) hash ^= ResetTime.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (IsFirstTimeEntered != false) hash ^= IsFirstTimeEntered.GetHashCode();
|
|
if (report_ != null) hash ^= Report.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 (Retcode != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (report_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(Report);
|
|
}
|
|
if (IsFirstTimeEntered != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(IsFirstTimeEntered);
|
|
}
|
|
if (ResetTime != 0L) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt64(ResetTime);
|
|
}
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (report_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(Report);
|
|
}
|
|
if (IsFirstTimeEntered != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(IsFirstTimeEntered);
|
|
}
|
|
if (ResetTime != 0L) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt64(ResetTime);
|
|
}
|
|
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 (ResetTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ResetTime);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (IsFirstTimeEntered != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (report_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Report);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DailyFirstEnterMonopolyActivityScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ResetTime != 0L) {
|
|
ResetTime = other.ResetTime;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.IsFirstTimeEntered != false) {
|
|
IsFirstTimeEntered = other.IsFirstTimeEntered;
|
|
}
|
|
if (other.report_ != null) {
|
|
if (report_ == null) {
|
|
Report = new global::EggLink.DanhengServer.Proto.MonopolyReport();
|
|
}
|
|
Report.MergeFrom(other.Report);
|
|
}
|
|
_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 40: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (report_ == null) {
|
|
Report = new global::EggLink.DanhengServer.Proto.MonopolyReport();
|
|
}
|
|
input.ReadMessage(Report);
|
|
break;
|
|
}
|
|
case 72: {
|
|
IsFirstTimeEntered = input.ReadBool();
|
|
break;
|
|
}
|
|
case 104: {
|
|
ResetTime = input.ReadInt64();
|
|
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 40: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (report_ == null) {
|
|
Report = new global::EggLink.DanhengServer.Proto.MonopolyReport();
|
|
}
|
|
input.ReadMessage(Report);
|
|
break;
|
|
}
|
|
case 72: {
|
|
IsFirstTimeEntered = input.ReadBool();
|
|
break;
|
|
}
|
|
case 104: {
|
|
ResetTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|