KafkaSR/RPG.Network.Proto/CsPrestige.cs

1960 lines
70 KiB
C#
Raw Permalink Normal View History

2024-01-29 23:49:21 +00:00
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.prestige.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 RPG.Network.Proto {
/// <summary>Holder for reflection information generated from cs.prestige.proto</summary>
public static partial class CsPrestigeReflection {
#region Descriptor
/// <summary>File descriptor for cs.prestige.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsPrestigeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFjcy5wcmVzdGlnZS5wcm90bxIFcHJvdG8aD2NzLmNvbW1vbi5wcm90byKv",
"AQoMUHJlc3RpZ2VJbmZvEh8KC3ByZXN0aWdlX2lkGAEgASgNUgpwcmVzdGln",
"ZUlkEhQKBWxldmVsGAIgASgNUgVsZXZlbBIQCgNleHAYAyABKA1SA2V4cBIo",
"ChB0YWtlbl9sZXZlbF9saXN0GAQgAygNUg50YWtlbkxldmVsTGlzdBIsChJ0",
"YWtlbl9taXNzaW9uX2xpc3QYBSADKA1SEHRha2VuTWlzc2lvbkxpc3QiNwoU",
"R2V0UHJlc3RpZ2VJbmZvQ3NSZXESHwoLcHJlc3RpZ2VfaWQYASABKA1SCnBy",
"ZXN0aWdlSWQiagoUR2V0UHJlc3RpZ2VJbmZvU2NSc3ASGAoHcmV0Y29kZRgB",
"IAEoDVIHcmV0Y29kZRI4Cg1wcmVzdGlnZV9pbmZvGAIgASgLMhMucHJvdG8u",
"UHJlc3RpZ2VJbmZvUgxwcmVzdGlnZUluZm8iVAoYUHJlc3RpZ2VJbmZvQ2hh",
"bmdlTm90aWZ5EjgKDXByZXN0aWdlX2luZm8YASABKAsyEy5wcm90by5QcmVz",
"dGlnZUluZm9SDHByZXN0aWdlSW5mbyJVChxUYWtlUHJlc3RpZ2VMZXZlbFJl",
"d2FyZENzUmVxEh8KC3ByZXN0aWdlX2lkGAEgASgNUgpwcmVzdGlnZUlkEhQK",
"BWxldmVsGAIgASgNUgVsZXZlbCKCAQocVGFrZVByZXN0aWdlTGV2ZWxSZXdh",
"cmRTY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEh8KC3ByZXN0aWdl",
"X2lkGAIgASgNUgpwcmVzdGlnZUlkEicKBnJld2FyZBgDIAEoCzIPLnByb3Rv",
"Lkl0ZW1MaXN0UgZyZXdhcmQiSAoeVGFrZVByZXN0aWdlTWlzc2lvblJld2Fy",
"ZENzUmVxEiYKD21haW5fbWlzc2lvbl9pZBgBIAEoDVINbWFpbk1pc3Npb25J",
"ZCJjCh5UYWtlUHJlc3RpZ2VNaXNzaW9uUmV3YXJkU2NSc3ASGAoHcmV0Y29k",
"ZRgBIAEoDVIHcmV0Y29kZRInCgZyZXdhcmQYAiABKAsyDy5wcm90by5JdGVt",
"TGlzdFIGcmV3YXJkKqQCCg9DbWRQcmVzdGlnZVR5cGUSFwoTQ21kUHJlc3Rp",
"Z2VUeXBlTm9uZRAAEhwKF0NtZEdldFByZXN0aWdlSW5mb0NzUmVxENEPEhwK",
"F0NtZEdldFByZXN0aWdlSW5mb1NjUnNwENIPEiAKG0NtZFByZXN0aWdlSW5m",
"b0NoYW5nZU5vdGlmeRDTDxIkCh9DbWRUYWtlUHJlc3RpZ2VMZXZlbFJld2Fy",
"ZENzUmVxENQPEiQKH0NtZFRha2VQcmVzdGlnZUxldmVsUmV3YXJkU2NSc3AQ",
"1Q8SJgohQ21kVGFrZVByZXN0aWdlTWlzc2lvblJld2FyZENzUmVxENYPEiYK",
"IUNtZFRha2VQcmVzdGlnZU1pc3Npb25SZXdhcmRTY1JzcBDXD2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdPrestigeType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PrestigeInfo), global::RPG.Network.Proto.PrestigeInfo.Parser, new[]{ "PrestigeId", "Level", "Exp", "TakenLevelList", "TakenMissionList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetPrestigeInfoCsReq), global::RPG.Network.Proto.GetPrestigeInfoCsReq.Parser, new[]{ "PrestigeId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetPrestigeInfoScRsp), global::RPG.Network.Proto.GetPrestigeInfoScRsp.Parser, new[]{ "Retcode", "PrestigeInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PrestigeInfoChangeNotify), global::RPG.Network.Proto.PrestigeInfoChangeNotify.Parser, new[]{ "PrestigeInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakePrestigeLevelRewardCsReq), global::RPG.Network.Proto.TakePrestigeLevelRewardCsReq.Parser, new[]{ "PrestigeId", "Level" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakePrestigeLevelRewardScRsp), global::RPG.Network.Proto.TakePrestigeLevelRewardScRsp.Parser, new[]{ "Retcode", "PrestigeId", "Reward" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakePrestigeMissionRewardCsReq), global::RPG.Network.Proto.TakePrestigeMissionRewardCsReq.Parser, new[]{ "MainMissionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakePrestigeMissionRewardScRsp), global::RPG.Network.Proto.TakePrestigeMissionRewardScRsp.Parser, new[]{ "Retcode", "Reward" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdPrestigeType {
[pbr::OriginalName("CmdPrestigeTypeNone")] None = 0,
[pbr::OriginalName("CmdGetPrestigeInfoCsReq")] CmdGetPrestigeInfoCsReq = 2001,
[pbr::OriginalName("CmdGetPrestigeInfoScRsp")] CmdGetPrestigeInfoScRsp = 2002,
[pbr::OriginalName("CmdPrestigeInfoChangeNotify")] CmdPrestigeInfoChangeNotify = 2003,
[pbr::OriginalName("CmdTakePrestigeLevelRewardCsReq")] CmdTakePrestigeLevelRewardCsReq = 2004,
[pbr::OriginalName("CmdTakePrestigeLevelRewardScRsp")] CmdTakePrestigeLevelRewardScRsp = 2005,
[pbr::OriginalName("CmdTakePrestigeMissionRewardCsReq")] CmdTakePrestigeMissionRewardCsReq = 2006,
[pbr::OriginalName("CmdTakePrestigeMissionRewardScRsp")] CmdTakePrestigeMissionRewardScRsp = 2007,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PrestigeInfo : pb::IMessage<PrestigeInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PrestigeInfo> _parser = new pb::MessageParser<PrestigeInfo>(() => new PrestigeInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PrestigeInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.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 PrestigeInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PrestigeInfo(PrestigeInfo other) : this() {
prestigeId_ = other.prestigeId_;
level_ = other.level_;
exp_ = other.exp_;
takenLevelList_ = other.takenLevelList_.Clone();
takenMissionList_ = other.takenMissionList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PrestigeInfo Clone() {
return new PrestigeInfo(this);
}
/// <summary>Field number for the "prestige_id" field.</summary>
public const int PrestigeIdFieldNumber = 1;
private uint prestigeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PrestigeId {
get { return prestigeId_; }
set {
prestigeId_ = value;
}
}
/// <summary>Field number for the "level" field.</summary>
public const int LevelFieldNumber = 2;
private uint level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Level {
get { return level_; }
set {
level_ = value;
}
}
/// <summary>Field number for the "exp" field.</summary>
public const int ExpFieldNumber = 3;
private uint exp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Exp {
get { return exp_; }
set {
exp_ = value;
}
}
/// <summary>Field number for the "taken_level_list" field.</summary>
public const int TakenLevelListFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_takenLevelList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> takenLevelList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TakenLevelList {
get { return takenLevelList_; }
}
/// <summary>Field number for the "taken_mission_list" field.</summary>
public const int TakenMissionListFieldNumber = 5;
private static readonly pb::FieldCodec<uint> _repeated_takenMissionList_codec
= pb::FieldCodec.ForUInt32(42);
private readonly pbc::RepeatedField<uint> takenMissionList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TakenMissionList {
get { return takenMissionList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PrestigeInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PrestigeInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PrestigeId != other.PrestigeId) return false;
if (Level != other.Level) return false;
if (Exp != other.Exp) return false;
if(!takenLevelList_.Equals(other.takenLevelList_)) return false;
if(!takenMissionList_.Equals(other.takenMissionList_)) 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 (PrestigeId != 0) hash ^= PrestigeId.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
hash ^= takenLevelList_.GetHashCode();
hash ^= takenMissionList_.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 (PrestigeId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PrestigeId);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Exp);
}
takenLevelList_.WriteTo(output, _repeated_takenLevelList_codec);
takenMissionList_.WriteTo(output, _repeated_takenMissionList_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) {
if (PrestigeId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PrestigeId);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Exp);
}
takenLevelList_.WriteTo(ref output, _repeated_takenLevelList_codec);
takenMissionList_.WriteTo(ref output, _repeated_takenMissionList_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 (PrestigeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PrestigeId);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
}
size += takenLevelList_.CalculateSize(_repeated_takenLevelList_codec);
size += takenMissionList_.CalculateSize(_repeated_takenMissionList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PrestigeInfo other) {
if (other == null) {
return;
}
if (other.PrestigeId != 0) {
PrestigeId = other.PrestigeId;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
takenLevelList_.Add(other.takenLevelList_);
takenMissionList_.Add(other.takenMissionList_);
_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: {
PrestigeId = input.ReadUInt32();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
case 24: {
Exp = input.ReadUInt32();
break;
}
case 34:
case 32: {
takenLevelList_.AddEntriesFrom(input, _repeated_takenLevelList_codec);
break;
}
case 42:
case 40: {
takenMissionList_.AddEntriesFrom(input, _repeated_takenMissionList_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 8: {
PrestigeId = input.ReadUInt32();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
case 24: {
Exp = input.ReadUInt32();
break;
}
case 34:
case 32: {
takenLevelList_.AddEntriesFrom(ref input, _repeated_takenLevelList_codec);
break;
}
case 42:
case 40: {
takenMissionList_.AddEntriesFrom(ref input, _repeated_takenMissionList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetPrestigeInfoCsReq : pb::IMessage<GetPrestigeInfoCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetPrestigeInfoCsReq> _parser = new pb::MessageParser<GetPrestigeInfoCsReq>(() => new GetPrestigeInfoCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetPrestigeInfoCsReq> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[1]; }
}
[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 GetPrestigeInfoCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPrestigeInfoCsReq(GetPrestigeInfoCsReq other) : this() {
prestigeId_ = other.prestigeId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPrestigeInfoCsReq Clone() {
return new GetPrestigeInfoCsReq(this);
}
/// <summary>Field number for the "prestige_id" field.</summary>
public const int PrestigeIdFieldNumber = 1;
private uint prestigeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PrestigeId {
get { return prestigeId_; }
set {
prestigeId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetPrestigeInfoCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetPrestigeInfoCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PrestigeId != other.PrestigeId) 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 (PrestigeId != 0) hash ^= PrestigeId.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 (PrestigeId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PrestigeId);
}
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 (PrestigeId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PrestigeId);
}
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 (PrestigeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PrestigeId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetPrestigeInfoCsReq other) {
if (other == null) {
return;
}
if (other.PrestigeId != 0) {
PrestigeId = other.PrestigeId;
}
_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: {
PrestigeId = 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: {
PrestigeId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetPrestigeInfoScRsp : pb::IMessage<GetPrestigeInfoScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetPrestigeInfoScRsp> _parser = new pb::MessageParser<GetPrestigeInfoScRsp>(() => new GetPrestigeInfoScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetPrestigeInfoScRsp> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[2]; }
}
[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 GetPrestigeInfoScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPrestigeInfoScRsp(GetPrestigeInfoScRsp other) : this() {
retcode_ = other.retcode_;
prestigeInfo_ = other.prestigeInfo_ != null ? other.prestigeInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPrestigeInfoScRsp Clone() {
return new GetPrestigeInfoScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 1;
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 "prestige_info" field.</summary>
public const int PrestigeInfoFieldNumber = 2;
private global::RPG.Network.Proto.PrestigeInfo prestigeInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.PrestigeInfo PrestigeInfo {
get { return prestigeInfo_; }
set {
prestigeInfo_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetPrestigeInfoScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetPrestigeInfoScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (!object.Equals(PrestigeInfo, other.PrestigeInfo)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
if (prestigeInfo_ != null) hash ^= PrestigeInfo.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(8);
output.WriteUInt32(Retcode);
}
if (prestigeInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(PrestigeInfo);
}
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(8);
output.WriteUInt32(Retcode);
}
if (prestigeInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(PrestigeInfo);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (prestigeInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PrestigeInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetPrestigeInfoScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.prestigeInfo_ != null) {
if (prestigeInfo_ == null) {
PrestigeInfo = new global::RPG.Network.Proto.PrestigeInfo();
}
PrestigeInfo.MergeFrom(other.PrestigeInfo);
}
_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: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
if (prestigeInfo_ == null) {
PrestigeInfo = new global::RPG.Network.Proto.PrestigeInfo();
}
input.ReadMessage(PrestigeInfo);
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: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
if (prestigeInfo_ == null) {
PrestigeInfo = new global::RPG.Network.Proto.PrestigeInfo();
}
input.ReadMessage(PrestigeInfo);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PrestigeInfoChangeNotify : pb::IMessage<PrestigeInfoChangeNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PrestigeInfoChangeNotify> _parser = new pb::MessageParser<PrestigeInfoChangeNotify>(() => new PrestigeInfoChangeNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PrestigeInfoChangeNotify> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[3]; }
}
[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 PrestigeInfoChangeNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PrestigeInfoChangeNotify(PrestigeInfoChangeNotify other) : this() {
prestigeInfo_ = other.prestigeInfo_ != null ? other.prestigeInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PrestigeInfoChangeNotify Clone() {
return new PrestigeInfoChangeNotify(this);
}
/// <summary>Field number for the "prestige_info" field.</summary>
public const int PrestigeInfoFieldNumber = 1;
private global::RPG.Network.Proto.PrestigeInfo prestigeInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.PrestigeInfo PrestigeInfo {
get { return prestigeInfo_; }
set {
prestigeInfo_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PrestigeInfoChangeNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PrestigeInfoChangeNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(PrestigeInfo, other.PrestigeInfo)) 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 (prestigeInfo_ != null) hash ^= PrestigeInfo.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 (prestigeInfo_ != null) {
output.WriteRawTag(10);
output.WriteMessage(PrestigeInfo);
}
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 (prestigeInfo_ != null) {
output.WriteRawTag(10);
output.WriteMessage(PrestigeInfo);
}
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 (prestigeInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PrestigeInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PrestigeInfoChangeNotify other) {
if (other == null) {
return;
}
if (other.prestigeInfo_ != null) {
if (prestigeInfo_ == null) {
PrestigeInfo = new global::RPG.Network.Proto.PrestigeInfo();
}
PrestigeInfo.MergeFrom(other.PrestigeInfo);
}
_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: {
if (prestigeInfo_ == null) {
PrestigeInfo = new global::RPG.Network.Proto.PrestigeInfo();
}
input.ReadMessage(PrestigeInfo);
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: {
if (prestigeInfo_ == null) {
PrestigeInfo = new global::RPG.Network.Proto.PrestigeInfo();
}
input.ReadMessage(PrestigeInfo);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakePrestigeLevelRewardCsReq : pb::IMessage<TakePrestigeLevelRewardCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakePrestigeLevelRewardCsReq> _parser = new pb::MessageParser<TakePrestigeLevelRewardCsReq>(() => new TakePrestigeLevelRewardCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakePrestigeLevelRewardCsReq> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[4]; }
}
[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 TakePrestigeLevelRewardCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeLevelRewardCsReq(TakePrestigeLevelRewardCsReq other) : this() {
prestigeId_ = other.prestigeId_;
level_ = other.level_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeLevelRewardCsReq Clone() {
return new TakePrestigeLevelRewardCsReq(this);
}
/// <summary>Field number for the "prestige_id" field.</summary>
public const int PrestigeIdFieldNumber = 1;
private uint prestigeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PrestigeId {
get { return prestigeId_; }
set {
prestigeId_ = value;
}
}
/// <summary>Field number for the "level" field.</summary>
public const int LevelFieldNumber = 2;
private uint level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Level {
get { return level_; }
set {
level_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakePrestigeLevelRewardCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakePrestigeLevelRewardCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PrestigeId != other.PrestigeId) return false;
if (Level != other.Level) 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 (PrestigeId != 0) hash ^= PrestigeId.GetHashCode();
if (Level != 0) hash ^= Level.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 (PrestigeId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PrestigeId);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
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 (PrestigeId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PrestigeId);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
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 (PrestigeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PrestigeId);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakePrestigeLevelRewardCsReq other) {
if (other == null) {
return;
}
if (other.PrestigeId != 0) {
PrestigeId = other.PrestigeId;
}
if (other.Level != 0) {
Level = other.Level;
}
_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: {
PrestigeId = input.ReadUInt32();
break;
}
case 16: {
Level = 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: {
PrestigeId = input.ReadUInt32();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakePrestigeLevelRewardScRsp : pb::IMessage<TakePrestigeLevelRewardScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakePrestigeLevelRewardScRsp> _parser = new pb::MessageParser<TakePrestigeLevelRewardScRsp>(() => new TakePrestigeLevelRewardScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakePrestigeLevelRewardScRsp> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[5]; }
}
[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 TakePrestigeLevelRewardScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeLevelRewardScRsp(TakePrestigeLevelRewardScRsp other) : this() {
retcode_ = other.retcode_;
prestigeId_ = other.prestigeId_;
reward_ = other.reward_ != null ? other.reward_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeLevelRewardScRsp Clone() {
return new TakePrestigeLevelRewardScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 1;
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 "prestige_id" field.</summary>
public const int PrestigeIdFieldNumber = 2;
private uint prestigeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PrestigeId {
get { return prestigeId_; }
set {
prestigeId_ = value;
}
}
/// <summary>Field number for the "reward" field.</summary>
public const int RewardFieldNumber = 3;
private global::RPG.Network.Proto.ItemList reward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList Reward {
get { return reward_; }
set {
reward_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakePrestigeLevelRewardScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakePrestigeLevelRewardScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (PrestigeId != other.PrestigeId) return false;
if (!object.Equals(Reward, other.Reward)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
if (PrestigeId != 0) hash ^= PrestigeId.GetHashCode();
if (reward_ != null) hash ^= Reward.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(8);
output.WriteUInt32(Retcode);
}
if (PrestigeId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(PrestigeId);
}
if (reward_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Reward);
}
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(8);
output.WriteUInt32(Retcode);
}
if (PrestigeId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(PrestigeId);
}
if (reward_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Reward);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (PrestigeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PrestigeId);
}
if (reward_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakePrestigeLevelRewardScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.PrestigeId != 0) {
PrestigeId = other.PrestigeId;
}
if (other.reward_ != null) {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
Reward.MergeFrom(other.Reward);
}
_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: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
PrestigeId = input.ReadUInt32();
break;
}
case 26: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
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: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
PrestigeId = input.ReadUInt32();
break;
}
case 26: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakePrestigeMissionRewardCsReq : pb::IMessage<TakePrestigeMissionRewardCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakePrestigeMissionRewardCsReq> _parser = new pb::MessageParser<TakePrestigeMissionRewardCsReq>(() => new TakePrestigeMissionRewardCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakePrestigeMissionRewardCsReq> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[6]; }
}
[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 TakePrestigeMissionRewardCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeMissionRewardCsReq(TakePrestigeMissionRewardCsReq other) : this() {
mainMissionId_ = other.mainMissionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeMissionRewardCsReq Clone() {
return new TakePrestigeMissionRewardCsReq(this);
}
/// <summary>Field number for the "main_mission_id" field.</summary>
public const int MainMissionIdFieldNumber = 1;
private uint mainMissionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MainMissionId {
get { return mainMissionId_; }
set {
mainMissionId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakePrestigeMissionRewardCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakePrestigeMissionRewardCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (MainMissionId != other.MainMissionId) 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 (MainMissionId != 0) hash ^= MainMissionId.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 (MainMissionId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MainMissionId);
}
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 (MainMissionId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MainMissionId);
}
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 (MainMissionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MainMissionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakePrestigeMissionRewardCsReq other) {
if (other == null) {
return;
}
if (other.MainMissionId != 0) {
MainMissionId = other.MainMissionId;
}
_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: {
MainMissionId = 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: {
MainMissionId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakePrestigeMissionRewardScRsp : pb::IMessage<TakePrestigeMissionRewardScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakePrestigeMissionRewardScRsp> _parser = new pb::MessageParser<TakePrestigeMissionRewardScRsp>(() => new TakePrestigeMissionRewardScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakePrestigeMissionRewardScRsp> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsPrestigeReflection.Descriptor.MessageTypes[7]; }
}
[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 TakePrestigeMissionRewardScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeMissionRewardScRsp(TakePrestigeMissionRewardScRsp other) : this() {
retcode_ = other.retcode_;
reward_ = other.reward_ != null ? other.reward_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakePrestigeMissionRewardScRsp Clone() {
return new TakePrestigeMissionRewardScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 1;
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 "reward" field.</summary>
public const int RewardFieldNumber = 2;
private global::RPG.Network.Proto.ItemList reward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList Reward {
get { return reward_; }
set {
reward_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakePrestigeMissionRewardScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakePrestigeMissionRewardScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (!object.Equals(Reward, other.Reward)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
if (reward_ != null) hash ^= Reward.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(8);
output.WriteUInt32(Retcode);
}
if (reward_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Reward);
}
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(8);
output.WriteUInt32(Retcode);
}
if (reward_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Reward);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (reward_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakePrestigeMissionRewardScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.reward_ != null) {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
Reward.MergeFrom(other.Reward);
}
_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: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
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: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code