mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
433 lines
16 KiB
C#
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",
|
|
"c3ASFwoPY3VyX3Bob25lX3RoZW1lGAsgASgNEhYKDmN1cl9waG9uZV9jYXNl",
|
|
"GAUgASgNEhcKD2N1cl9jaGF0X2J1YmJsZRgKIAEoDRIaChJvd25lZF9jaGF0",
|
|
"X2J1YmJsZXMYAyADKA0SGgoSb3duZWRfcGhvbmVfdGhlbWVzGAYgAygNEg8K",
|
|
"B3JldGNvZGUYCCABKA0SGQoRb3duZWRfcGhvbmVfY2FzZXMYDiADKA1CHqoC",
|
|
"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[]{ "CurPhoneTheme", "CurPhoneCase", "CurChatBubble", "OwnedChatBubbles", "OwnedPhoneThemes", "Retcode", "OwnedPhoneCases" }, 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() {
|
|
curPhoneTheme_ = other.curPhoneTheme_;
|
|
curPhoneCase_ = other.curPhoneCase_;
|
|
curChatBubble_ = other.curChatBubble_;
|
|
ownedChatBubbles_ = other.ownedChatBubbles_.Clone();
|
|
ownedPhoneThemes_ = other.ownedPhoneThemes_.Clone();
|
|
retcode_ = other.retcode_;
|
|
ownedPhoneCases_ = other.ownedPhoneCases_.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 "cur_phone_theme" field.</summary>
|
|
public const int CurPhoneThemeFieldNumber = 11;
|
|
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 "cur_phone_case" field.</summary>
|
|
public const int CurPhoneCaseFieldNumber = 5;
|
|
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 "cur_chat_bubble" field.</summary>
|
|
public const int CurChatBubbleFieldNumber = 10;
|
|
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 "owned_chat_bubbles" field.</summary>
|
|
public const int OwnedChatBubblesFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<uint> _repeated_ownedChatBubbles_codec
|
|
= pb::FieldCodec.ForUInt32(26);
|
|
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 "owned_phone_themes" field.</summary>
|
|
public const int OwnedPhoneThemesFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<uint> _repeated_ownedPhoneThemes_codec
|
|
= pb::FieldCodec.ForUInt32(50);
|
|
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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 8;
|
|
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_cases" field.</summary>
|
|
public const int OwnedPhoneCasesFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<uint> _repeated_ownedPhoneCases_codec
|
|
= pb::FieldCodec.ForUInt32(114);
|
|
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_; }
|
|
}
|
|
|
|
[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 (CurPhoneTheme != other.CurPhoneTheme) return false;
|
|
if (CurPhoneCase != other.CurPhoneCase) return false;
|
|
if (CurChatBubble != other.CurChatBubble) return false;
|
|
if(!ownedChatBubbles_.Equals(other.ownedChatBubbles_)) return false;
|
|
if(!ownedPhoneThemes_.Equals(other.ownedPhoneThemes_)) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!ownedPhoneCases_.Equals(other.ownedPhoneCases_)) 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 (CurPhoneTheme != 0) hash ^= CurPhoneTheme.GetHashCode();
|
|
if (CurPhoneCase != 0) hash ^= CurPhoneCase.GetHashCode();
|
|
if (CurChatBubble != 0) hash ^= CurChatBubble.GetHashCode();
|
|
hash ^= ownedChatBubbles_.GetHashCode();
|
|
hash ^= ownedPhoneThemes_.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= ownedPhoneCases_.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
|
|
ownedChatBubbles_.WriteTo(output, _repeated_ownedChatBubbles_codec);
|
|
if (CurPhoneCase != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(CurPhoneCase);
|
|
}
|
|
ownedPhoneThemes_.WriteTo(output, _repeated_ownedPhoneThemes_codec);
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (CurChatBubble != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(CurChatBubble);
|
|
}
|
|
if (CurPhoneTheme != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CurPhoneTheme);
|
|
}
|
|
ownedPhoneCases_.WriteTo(output, _repeated_ownedPhoneCases_codec);
|
|
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) {
|
|
ownedChatBubbles_.WriteTo(ref output, _repeated_ownedChatBubbles_codec);
|
|
if (CurPhoneCase != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(CurPhoneCase);
|
|
}
|
|
ownedPhoneThemes_.WriteTo(ref output, _repeated_ownedPhoneThemes_codec);
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (CurChatBubble != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(CurChatBubble);
|
|
}
|
|
if (CurPhoneTheme != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CurPhoneTheme);
|
|
}
|
|
ownedPhoneCases_.WriteTo(ref output, _repeated_ownedPhoneCases_codec);
|
|
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 (CurPhoneTheme != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPhoneTheme);
|
|
}
|
|
if (CurPhoneCase != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPhoneCase);
|
|
}
|
|
if (CurChatBubble != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurChatBubble);
|
|
}
|
|
size += ownedChatBubbles_.CalculateSize(_repeated_ownedChatBubbles_codec);
|
|
size += ownedPhoneThemes_.CalculateSize(_repeated_ownedPhoneThemes_codec);
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += ownedPhoneCases_.CalculateSize(_repeated_ownedPhoneCases_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;
|
|
}
|
|
if (other.CurPhoneTheme != 0) {
|
|
CurPhoneTheme = other.CurPhoneTheme;
|
|
}
|
|
if (other.CurPhoneCase != 0) {
|
|
CurPhoneCase = other.CurPhoneCase;
|
|
}
|
|
if (other.CurChatBubble != 0) {
|
|
CurChatBubble = other.CurChatBubble;
|
|
}
|
|
ownedChatBubbles_.Add(other.ownedChatBubbles_);
|
|
ownedPhoneThemes_.Add(other.ownedPhoneThemes_);
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
ownedPhoneCases_.Add(other.ownedPhoneCases_);
|
|
_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 26:
|
|
case 24: {
|
|
ownedChatBubbles_.AddEntriesFrom(input, _repeated_ownedChatBubbles_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
CurPhoneCase = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50:
|
|
case 48: {
|
|
ownedPhoneThemes_.AddEntriesFrom(input, _repeated_ownedPhoneThemes_codec);
|
|
break;
|
|
}
|
|
case 64: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
CurChatBubble = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CurPhoneTheme = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
ownedPhoneCases_.AddEntriesFrom(input, _repeated_ownedPhoneCases_codec);
|
|
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 26:
|
|
case 24: {
|
|
ownedChatBubbles_.AddEntriesFrom(ref input, _repeated_ownedChatBubbles_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
CurPhoneCase = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50:
|
|
case 48: {
|
|
ownedPhoneThemes_.AddEntriesFrom(ref input, _repeated_ownedPhoneThemes_codec);
|
|
break;
|
|
}
|
|
case 64: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
CurChatBubble = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CurPhoneTheme = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
ownedPhoneCases_.AddEntriesFrom(ref input, _repeated_ownedPhoneCases_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|