Files
DanhengServer-OpenSource/Proto/GetPhoneDataScRsp.cs
2025-05-25 09:26:31 +08:00

433 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetPhoneDataScRsp.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 GetPhoneDataScRsp.proto</summary>
public static partial class GetPhoneDataScRspReflection {
#region Descriptor
/// <summary>File descriptor for GetPhoneDataScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GetPhoneDataScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdHZXRQaG9uZURhdGFTY1JzcC5wcm90byLBAQoRR2V0UGhvbmVEYXRhU2NS",
"c3ASGQoRb3duZWRfcGhvbmVfY2FzZXMYAiADKA0SFwoPY3VyX2NoYXRfYnVi",
"YmxlGAUgASgNEhYKDmN1cl9waG9uZV9jYXNlGAogASgNEhoKEm93bmVkX2No",
"YXRfYnViYmxlcxgEIAMoDRIXCg9jdXJfcGhvbmVfdGhlbWUYByABKA0SDwoH",
"cmV0Y29kZRgJIAEoDRIaChJvd25lZF9waG9uZV90aGVtZXMYASADKA1CHqoC",
"G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetPhoneDataScRsp), global::EggLink.DanhengServer.Proto.GetPhoneDataScRsp.Parser, new[]{ "OwnedPhoneCases", "CurChatBubble", "CurPhoneCase", "OwnedChatBubbles", "CurPhoneTheme", "Retcode", "OwnedPhoneThemes" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetPhoneDataScRsp : pb::IMessage<GetPhoneDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetPhoneDataScRsp> _parser = new pb::MessageParser<GetPhoneDataScRsp>(() => new GetPhoneDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetPhoneDataScRsp> 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.GetPhoneDataScRspReflection.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 GetPhoneDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPhoneDataScRsp(GetPhoneDataScRsp other) : this() {
ownedPhoneCases_ = other.ownedPhoneCases_.Clone();
curChatBubble_ = other.curChatBubble_;
curPhoneCase_ = other.curPhoneCase_;
ownedChatBubbles_ = other.ownedChatBubbles_.Clone();
curPhoneTheme_ = other.curPhoneTheme_;
retcode_ = other.retcode_;
ownedPhoneThemes_ = other.ownedPhoneThemes_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPhoneDataScRsp Clone() {
return new GetPhoneDataScRsp(this);
}
/// <summary>Field number for the "owned_phone_cases" field.</summary>
public const int OwnedPhoneCasesFieldNumber = 2;
private static readonly pb::FieldCodec<uint> _repeated_ownedPhoneCases_codec
= pb::FieldCodec.ForUInt32(18);
private readonly pbc::RepeatedField<uint> ownedPhoneCases_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> OwnedPhoneCases {
get { return ownedPhoneCases_; }
}
/// <summary>Field number for the "cur_chat_bubble" field.</summary>
public const int CurChatBubbleFieldNumber = 5;
private uint curChatBubble_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurChatBubble {
get { return curChatBubble_; }
set {
curChatBubble_ = value;
}
}
/// <summary>Field number for the "cur_phone_case" field.</summary>
public const int CurPhoneCaseFieldNumber = 10;
private uint curPhoneCase_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurPhoneCase {
get { return curPhoneCase_; }
set {
curPhoneCase_ = value;
}
}
/// <summary>Field number for the "owned_chat_bubbles" field.</summary>
public const int OwnedChatBubblesFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_ownedChatBubbles_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> ownedChatBubbles_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> OwnedChatBubbles {
get { return ownedChatBubbles_; }
}
/// <summary>Field number for the "cur_phone_theme" field.</summary>
public const int CurPhoneThemeFieldNumber = 7;
private uint curPhoneTheme_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurPhoneTheme {
get { return curPhoneTheme_; }
set {
curPhoneTheme_ = value;
}
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 9;
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 "owned_phone_themes" field.</summary>
public const int OwnedPhoneThemesFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_ownedPhoneThemes_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> ownedPhoneThemes_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> OwnedPhoneThemes {
get { return ownedPhoneThemes_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetPhoneDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetPhoneDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!ownedPhoneCases_.Equals(other.ownedPhoneCases_)) return false;
if (CurChatBubble != other.CurChatBubble) return false;
if (CurPhoneCase != other.CurPhoneCase) return false;
if(!ownedChatBubbles_.Equals(other.ownedChatBubbles_)) return false;
if (CurPhoneTheme != other.CurPhoneTheme) return false;
if (Retcode != other.Retcode) return false;
if(!ownedPhoneThemes_.Equals(other.ownedPhoneThemes_)) 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;
hash ^= ownedPhoneCases_.GetHashCode();
if (CurChatBubble != 0) hash ^= CurChatBubble.GetHashCode();
if (CurPhoneCase != 0) hash ^= CurPhoneCase.GetHashCode();
hash ^= ownedChatBubbles_.GetHashCode();
if (CurPhoneTheme != 0) hash ^= CurPhoneTheme.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= ownedPhoneThemes_.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
ownedPhoneThemes_.WriteTo(output, _repeated_ownedPhoneThemes_codec);
ownedPhoneCases_.WriteTo(output, _repeated_ownedPhoneCases_codec);
ownedChatBubbles_.WriteTo(output, _repeated_ownedChatBubbles_codec);
if (CurChatBubble != 0) {
output.WriteRawTag(40);
output.WriteUInt32(CurChatBubble);
}
if (CurPhoneTheme != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CurPhoneTheme);
}
if (Retcode != 0) {
output.WriteRawTag(72);
output.WriteUInt32(Retcode);
}
if (CurPhoneCase != 0) {
output.WriteRawTag(80);
output.WriteUInt32(CurPhoneCase);
}
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) {
ownedPhoneThemes_.WriteTo(ref output, _repeated_ownedPhoneThemes_codec);
ownedPhoneCases_.WriteTo(ref output, _repeated_ownedPhoneCases_codec);
ownedChatBubbles_.WriteTo(ref output, _repeated_ownedChatBubbles_codec);
if (CurChatBubble != 0) {
output.WriteRawTag(40);
output.WriteUInt32(CurChatBubble);
}
if (CurPhoneTheme != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CurPhoneTheme);
}
if (Retcode != 0) {
output.WriteRawTag(72);
output.WriteUInt32(Retcode);
}
if (CurPhoneCase != 0) {
output.WriteRawTag(80);
output.WriteUInt32(CurPhoneCase);
}
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;
size += ownedPhoneCases_.CalculateSize(_repeated_ownedPhoneCases_codec);
if (CurChatBubble != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurChatBubble);
}
if (CurPhoneCase != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPhoneCase);
}
size += ownedChatBubbles_.CalculateSize(_repeated_ownedChatBubbles_codec);
if (CurPhoneTheme != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPhoneTheme);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += ownedPhoneThemes_.CalculateSize(_repeated_ownedPhoneThemes_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetPhoneDataScRsp other) {
if (other == null) {
return;
}
ownedPhoneCases_.Add(other.ownedPhoneCases_);
if (other.CurChatBubble != 0) {
CurChatBubble = other.CurChatBubble;
}
if (other.CurPhoneCase != 0) {
CurPhoneCase = other.CurPhoneCase;
}
ownedChatBubbles_.Add(other.ownedChatBubbles_);
if (other.CurPhoneTheme != 0) {
CurPhoneTheme = other.CurPhoneTheme;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
ownedPhoneThemes_.Add(other.ownedPhoneThemes_);
_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 10:
case 8: {
ownedPhoneThemes_.AddEntriesFrom(input, _repeated_ownedPhoneThemes_codec);
break;
}
case 18:
case 16: {
ownedPhoneCases_.AddEntriesFrom(input, _repeated_ownedPhoneCases_codec);
break;
}
case 34:
case 32: {
ownedChatBubbles_.AddEntriesFrom(input, _repeated_ownedChatBubbles_codec);
break;
}
case 40: {
CurChatBubble = input.ReadUInt32();
break;
}
case 56: {
CurPhoneTheme = input.ReadUInt32();
break;
}
case 72: {
Retcode = input.ReadUInt32();
break;
}
case 80: {
CurPhoneCase = 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 10:
case 8: {
ownedPhoneThemes_.AddEntriesFrom(ref input, _repeated_ownedPhoneThemes_codec);
break;
}
case 18:
case 16: {
ownedPhoneCases_.AddEntriesFrom(ref input, _repeated_ownedPhoneCases_codec);
break;
}
case 34:
case 32: {
ownedChatBubbles_.AddEntriesFrom(ref input, _repeated_ownedChatBubbles_codec);
break;
}
case 40: {
CurChatBubble = input.ReadUInt32();
break;
}
case 56: {
CurPhoneTheme = input.ReadUInt32();
break;
}
case 72: {
Retcode = input.ReadUInt32();
break;
}
case 80: {
CurPhoneCase = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code