mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
508 lines
18 KiB
C#
508 lines
18 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GetBasicInfoScRsp.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 GetBasicInfoScRsp.proto</summary>
|
|
public static partial class GetBasicInfoScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GetBasicInfoScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GetBasicInfoScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChdHZXRCYXNpY0luZm9TY1JzcC5wcm90bxoXUGxheWVyU2V0dGluZ0luZm8u",
|
|
"cHJvdG8i+AEKEUdldEJhc2ljSW5mb1NjUnNwEhYKDmV4Y2hhbmdlX3RpbWVz",
|
|
"GA4gASgNEh4KFmxhc3Rfc2V0X25pY2tuYW1lX3RpbWUYByABKAMSDwoHY3Vy",
|
|
"X2RheRgEIAEoDRIZChFuZXh0X3JlY292ZXJfdGltZRgGIAEoAxIiChp3ZWVr",
|
|
"X2NvY29vbl9maW5pc2hlZF9jb3VudBgDIAEoDRIPCgdyZXRjb2RlGAsgASgN",
|
|
"EhkKEWdhbWVwbGF5X2JpcnRoZGF5GAUgASgNEi8KE3BsYXllcl9zZXR0aW5n",
|
|
"X2luZm8YDyABKAsyEi5QbGF5ZXJTZXR0aW5nSW5mb0IeqgIbRWdnTGluay5E",
|
|
"YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlayerSettingInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBasicInfoScRsp), global::EggLink.DanhengServer.Proto.GetBasicInfoScRsp.Parser, new[]{ "ExchangeTimes", "LastSetNicknameTime", "CurDay", "NextRecoverTime", "WeekCocoonFinishedCount", "Retcode", "GameplayBirthday", "PlayerSettingInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetBasicInfoScRsp : pb::IMessage<GetBasicInfoScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetBasicInfoScRsp> _parser = new pb::MessageParser<GetBasicInfoScRsp>(() => new GetBasicInfoScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetBasicInfoScRsp> 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.GetBasicInfoScRspReflection.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 GetBasicInfoScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetBasicInfoScRsp(GetBasicInfoScRsp other) : this() {
|
|
exchangeTimes_ = other.exchangeTimes_;
|
|
lastSetNicknameTime_ = other.lastSetNicknameTime_;
|
|
curDay_ = other.curDay_;
|
|
nextRecoverTime_ = other.nextRecoverTime_;
|
|
weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
|
|
retcode_ = other.retcode_;
|
|
gameplayBirthday_ = other.gameplayBirthday_;
|
|
playerSettingInfo_ = other.playerSettingInfo_ != null ? other.playerSettingInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetBasicInfoScRsp Clone() {
|
|
return new GetBasicInfoScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "exchange_times" field.</summary>
|
|
public const int ExchangeTimesFieldNumber = 14;
|
|
private uint exchangeTimes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ExchangeTimes {
|
|
get { return exchangeTimes_; }
|
|
set {
|
|
exchangeTimes_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "last_set_nickname_time" field.</summary>
|
|
public const int LastSetNicknameTimeFieldNumber = 7;
|
|
private long lastSetNicknameTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long LastSetNicknameTime {
|
|
get { return lastSetNicknameTime_; }
|
|
set {
|
|
lastSetNicknameTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_day" field.</summary>
|
|
public const int CurDayFieldNumber = 4;
|
|
private uint curDay_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CurDay {
|
|
get { return curDay_; }
|
|
set {
|
|
curDay_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "next_recover_time" field.</summary>
|
|
public const int NextRecoverTimeFieldNumber = 6;
|
|
private long nextRecoverTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long NextRecoverTime {
|
|
get { return nextRecoverTime_; }
|
|
set {
|
|
nextRecoverTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "week_cocoon_finished_count" field.</summary>
|
|
public const int WeekCocoonFinishedCountFieldNumber = 3;
|
|
private uint weekCocoonFinishedCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint WeekCocoonFinishedCount {
|
|
get { return weekCocoonFinishedCount_; }
|
|
set {
|
|
weekCocoonFinishedCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 11;
|
|
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 "gameplay_birthday" field.</summary>
|
|
public const int GameplayBirthdayFieldNumber = 5;
|
|
private uint gameplayBirthday_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GameplayBirthday {
|
|
get { return gameplayBirthday_; }
|
|
set {
|
|
gameplayBirthday_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "player_setting_info" field.</summary>
|
|
public const int PlayerSettingInfoFieldNumber = 15;
|
|
private global::EggLink.DanhengServer.Proto.PlayerSettingInfo playerSettingInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PlayerSettingInfo PlayerSettingInfo {
|
|
get { return playerSettingInfo_; }
|
|
set {
|
|
playerSettingInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetBasicInfoScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetBasicInfoScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ExchangeTimes != other.ExchangeTimes) return false;
|
|
if (LastSetNicknameTime != other.LastSetNicknameTime) return false;
|
|
if (CurDay != other.CurDay) return false;
|
|
if (NextRecoverTime != other.NextRecoverTime) return false;
|
|
if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if (GameplayBirthday != other.GameplayBirthday) return false;
|
|
if (!object.Equals(PlayerSettingInfo, other.PlayerSettingInfo)) 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 (ExchangeTimes != 0) hash ^= ExchangeTimes.GetHashCode();
|
|
if (LastSetNicknameTime != 0L) hash ^= LastSetNicknameTime.GetHashCode();
|
|
if (CurDay != 0) hash ^= CurDay.GetHashCode();
|
|
if (NextRecoverTime != 0L) hash ^= NextRecoverTime.GetHashCode();
|
|
if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (GameplayBirthday != 0) hash ^= GameplayBirthday.GetHashCode();
|
|
if (playerSettingInfo_ != null) hash ^= PlayerSettingInfo.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 (WeekCocoonFinishedCount != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(WeekCocoonFinishedCount);
|
|
}
|
|
if (CurDay != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(CurDay);
|
|
}
|
|
if (GameplayBirthday != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(GameplayBirthday);
|
|
}
|
|
if (NextRecoverTime != 0L) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt64(NextRecoverTime);
|
|
}
|
|
if (LastSetNicknameTime != 0L) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt64(LastSetNicknameTime);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (ExchangeTimes != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ExchangeTimes);
|
|
}
|
|
if (playerSettingInfo_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(PlayerSettingInfo);
|
|
}
|
|
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 (WeekCocoonFinishedCount != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(WeekCocoonFinishedCount);
|
|
}
|
|
if (CurDay != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(CurDay);
|
|
}
|
|
if (GameplayBirthday != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(GameplayBirthday);
|
|
}
|
|
if (NextRecoverTime != 0L) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt64(NextRecoverTime);
|
|
}
|
|
if (LastSetNicknameTime != 0L) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt64(LastSetNicknameTime);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (ExchangeTimes != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ExchangeTimes);
|
|
}
|
|
if (playerSettingInfo_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(PlayerSettingInfo);
|
|
}
|
|
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 (ExchangeTimes != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExchangeTimes);
|
|
}
|
|
if (LastSetNicknameTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastSetNicknameTime);
|
|
}
|
|
if (CurDay != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurDay);
|
|
}
|
|
if (NextRecoverTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NextRecoverTime);
|
|
}
|
|
if (WeekCocoonFinishedCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (GameplayBirthday != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameplayBirthday);
|
|
}
|
|
if (playerSettingInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerSettingInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetBasicInfoScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ExchangeTimes != 0) {
|
|
ExchangeTimes = other.ExchangeTimes;
|
|
}
|
|
if (other.LastSetNicknameTime != 0L) {
|
|
LastSetNicknameTime = other.LastSetNicknameTime;
|
|
}
|
|
if (other.CurDay != 0) {
|
|
CurDay = other.CurDay;
|
|
}
|
|
if (other.NextRecoverTime != 0L) {
|
|
NextRecoverTime = other.NextRecoverTime;
|
|
}
|
|
if (other.WeekCocoonFinishedCount != 0) {
|
|
WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.GameplayBirthday != 0) {
|
|
GameplayBirthday = other.GameplayBirthday;
|
|
}
|
|
if (other.playerSettingInfo_ != null) {
|
|
if (playerSettingInfo_ == null) {
|
|
PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
|
|
}
|
|
PlayerSettingInfo.MergeFrom(other.PlayerSettingInfo);
|
|
}
|
|
_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 24: {
|
|
WeekCocoonFinishedCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
CurDay = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
GameplayBirthday = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
NextRecoverTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 56: {
|
|
LastSetNicknameTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExchangeTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (playerSettingInfo_ == null) {
|
|
PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
|
|
}
|
|
input.ReadMessage(PlayerSettingInfo);
|
|
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 24: {
|
|
WeekCocoonFinishedCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
CurDay = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
GameplayBirthday = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
NextRecoverTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 56: {
|
|
LastSetNicknameTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExchangeTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (playerSettingInfo_ == null) {
|
|
PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
|
|
}
|
|
input.ReadMessage(PlayerSettingInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|