Files
DanhengServer-OpenSource/Proto/GetBasicInfoScRsp.cs
2024-10-05 22:40:41 +08:00

583 lines
20 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",
"cHJvdG8inwIKEUdldEJhc2ljSW5mb1NjUnNwEhUKDWlzX2dlbmRlcl9zZXQY",
"AyABKAgSDwoHY3VyX2RheRgLIAEoDRIWCg5leGNoYW5nZV90aW1lcxgOIAEo",
"DRIvChNwbGF5ZXJfc2V0dGluZ19pbmZvGAkgASgLMhIuUGxheWVyU2V0dGlu",
"Z0luZm8SGQoRZ2FtZXBsYXlfYmlydGhkYXkYASABKA0SHgoWbGFzdF9zZXRf",
"bmlja25hbWVfdGltZRgKIAEoAxIiChp3ZWVrX2NvY29vbl9maW5pc2hlZF9j",
"b3VudBgGIAEoDRIPCgdyZXRjb2RlGAUgASgNEg4KBmdlbmRlchgIIAEoDRIZ",
"ChFuZXh0X3JlY292ZXJfdGltZRgMIAEoA0IeqgIbRWdnTGluay5EYW5oZW5n",
"U2VydmVyLlByb3RvYgZwcm90bzM="));
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[]{ "IsGenderSet", "CurDay", "ExchangeTimes", "PlayerSettingInfo", "GameplayBirthday", "LastSetNicknameTime", "WeekCocoonFinishedCount", "Retcode", "Gender", "NextRecoverTime" }, 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() {
isGenderSet_ = other.isGenderSet_;
curDay_ = other.curDay_;
exchangeTimes_ = other.exchangeTimes_;
playerSettingInfo_ = other.playerSettingInfo_ != null ? other.playerSettingInfo_.Clone() : null;
gameplayBirthday_ = other.gameplayBirthday_;
lastSetNicknameTime_ = other.lastSetNicknameTime_;
weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
retcode_ = other.retcode_;
gender_ = other.gender_;
nextRecoverTime_ = other.nextRecoverTime_;
_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 "is_gender_set" field.</summary>
public const int IsGenderSetFieldNumber = 3;
private bool isGenderSet_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsGenderSet {
get { return isGenderSet_; }
set {
isGenderSet_ = value;
}
}
/// <summary>Field number for the "cur_day" field.</summary>
public const int CurDayFieldNumber = 11;
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 "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 "player_setting_info" field.</summary>
public const int PlayerSettingInfoFieldNumber = 9;
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;
}
}
/// <summary>Field number for the "gameplay_birthday" field.</summary>
public const int GameplayBirthdayFieldNumber = 1;
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 "last_set_nickname_time" field.</summary>
public const int LastSetNicknameTimeFieldNumber = 10;
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 "week_cocoon_finished_count" field.</summary>
public const int WeekCocoonFinishedCountFieldNumber = 6;
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 = 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 "gender" field.</summary>
public const int GenderFieldNumber = 8;
private uint gender_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Gender {
get { return gender_; }
set {
gender_ = value;
}
}
/// <summary>Field number for the "next_recover_time" field.</summary>
public const int NextRecoverTimeFieldNumber = 12;
private long nextRecoverTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NextRecoverTime {
get { return nextRecoverTime_; }
set {
nextRecoverTime_ = 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 (IsGenderSet != other.IsGenderSet) return false;
if (CurDay != other.CurDay) return false;
if (ExchangeTimes != other.ExchangeTimes) return false;
if (!object.Equals(PlayerSettingInfo, other.PlayerSettingInfo)) return false;
if (GameplayBirthday != other.GameplayBirthday) return false;
if (LastSetNicknameTime != other.LastSetNicknameTime) return false;
if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false;
if (Retcode != other.Retcode) return false;
if (Gender != other.Gender) return false;
if (NextRecoverTime != other.NextRecoverTime) 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 (IsGenderSet != false) hash ^= IsGenderSet.GetHashCode();
if (CurDay != 0) hash ^= CurDay.GetHashCode();
if (ExchangeTimes != 0) hash ^= ExchangeTimes.GetHashCode();
if (playerSettingInfo_ != null) hash ^= PlayerSettingInfo.GetHashCode();
if (GameplayBirthday != 0) hash ^= GameplayBirthday.GetHashCode();
if (LastSetNicknameTime != 0L) hash ^= LastSetNicknameTime.GetHashCode();
if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
if (Gender != 0) hash ^= Gender.GetHashCode();
if (NextRecoverTime != 0L) hash ^= NextRecoverTime.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 (GameplayBirthday != 0) {
output.WriteRawTag(8);
output.WriteUInt32(GameplayBirthday);
}
if (IsGenderSet != false) {
output.WriteRawTag(24);
output.WriteBool(IsGenderSet);
}
if (Retcode != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Retcode);
}
if (WeekCocoonFinishedCount != 0) {
output.WriteRawTag(48);
output.WriteUInt32(WeekCocoonFinishedCount);
}
if (Gender != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Gender);
}
if (playerSettingInfo_ != null) {
output.WriteRawTag(74);
output.WriteMessage(PlayerSettingInfo);
}
if (LastSetNicknameTime != 0L) {
output.WriteRawTag(80);
output.WriteInt64(LastSetNicknameTime);
}
if (CurDay != 0) {
output.WriteRawTag(88);
output.WriteUInt32(CurDay);
}
if (NextRecoverTime != 0L) {
output.WriteRawTag(96);
output.WriteInt64(NextRecoverTime);
}
if (ExchangeTimes != 0) {
output.WriteRawTag(112);
output.WriteUInt32(ExchangeTimes);
}
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 (GameplayBirthday != 0) {
output.WriteRawTag(8);
output.WriteUInt32(GameplayBirthday);
}
if (IsGenderSet != false) {
output.WriteRawTag(24);
output.WriteBool(IsGenderSet);
}
if (Retcode != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Retcode);
}
if (WeekCocoonFinishedCount != 0) {
output.WriteRawTag(48);
output.WriteUInt32(WeekCocoonFinishedCount);
}
if (Gender != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Gender);
}
if (playerSettingInfo_ != null) {
output.WriteRawTag(74);
output.WriteMessage(PlayerSettingInfo);
}
if (LastSetNicknameTime != 0L) {
output.WriteRawTag(80);
output.WriteInt64(LastSetNicknameTime);
}
if (CurDay != 0) {
output.WriteRawTag(88);
output.WriteUInt32(CurDay);
}
if (NextRecoverTime != 0L) {
output.WriteRawTag(96);
output.WriteInt64(NextRecoverTime);
}
if (ExchangeTimes != 0) {
output.WriteRawTag(112);
output.WriteUInt32(ExchangeTimes);
}
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 (IsGenderSet != false) {
size += 1 + 1;
}
if (CurDay != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurDay);
}
if (ExchangeTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExchangeTimes);
}
if (playerSettingInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerSettingInfo);
}
if (GameplayBirthday != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameplayBirthday);
}
if (LastSetNicknameTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastSetNicknameTime);
}
if (WeekCocoonFinishedCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (Gender != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gender);
}
if (NextRecoverTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NextRecoverTime);
}
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.IsGenderSet != false) {
IsGenderSet = other.IsGenderSet;
}
if (other.CurDay != 0) {
CurDay = other.CurDay;
}
if (other.ExchangeTimes != 0) {
ExchangeTimes = other.ExchangeTimes;
}
if (other.playerSettingInfo_ != null) {
if (playerSettingInfo_ == null) {
PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
}
PlayerSettingInfo.MergeFrom(other.PlayerSettingInfo);
}
if (other.GameplayBirthday != 0) {
GameplayBirthday = other.GameplayBirthday;
}
if (other.LastSetNicknameTime != 0L) {
LastSetNicknameTime = other.LastSetNicknameTime;
}
if (other.WeekCocoonFinishedCount != 0) {
WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.Gender != 0) {
Gender = other.Gender;
}
if (other.NextRecoverTime != 0L) {
NextRecoverTime = other.NextRecoverTime;
}
_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: {
GameplayBirthday = input.ReadUInt32();
break;
}
case 24: {
IsGenderSet = input.ReadBool();
break;
}
case 40: {
Retcode = input.ReadUInt32();
break;
}
case 48: {
WeekCocoonFinishedCount = input.ReadUInt32();
break;
}
case 64: {
Gender = input.ReadUInt32();
break;
}
case 74: {
if (playerSettingInfo_ == null) {
PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
}
input.ReadMessage(PlayerSettingInfo);
break;
}
case 80: {
LastSetNicknameTime = input.ReadInt64();
break;
}
case 88: {
CurDay = input.ReadUInt32();
break;
}
case 96: {
NextRecoverTime = input.ReadInt64();
break;
}
case 112: {
ExchangeTimes = 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: {
GameplayBirthday = input.ReadUInt32();
break;
}
case 24: {
IsGenderSet = input.ReadBool();
break;
}
case 40: {
Retcode = input.ReadUInt32();
break;
}
case 48: {
WeekCocoonFinishedCount = input.ReadUInt32();
break;
}
case 64: {
Gender = input.ReadUInt32();
break;
}
case 74: {
if (playerSettingInfo_ == null) {
PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
}
input.ReadMessage(PlayerSettingInfo);
break;
}
case 80: {
LastSetNicknameTime = input.ReadInt64();
break;
}
case 88: {
CurDay = input.ReadUInt32();
break;
}
case 96: {
NextRecoverTime = input.ReadInt64();
break;
}
case 112: {
ExchangeTimes = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code