KafkaSR/RPG.Network.Proto/CsExpedition.cs

2134 lines
77 KiB
C#
Raw Normal View History

2024-01-29 23:49:21 +00:00
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.expedition.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.expedition.proto</summary>
public static partial class CsExpeditionReflection {
#region Descriptor
/// <summary>File descriptor for cs.expedition.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsExpeditionReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChNjcy5leHBlZGl0aW9uLnByb3RvEgVwcm90bxoPY3MuY29tbW9uLnByb3Rv",
"In8KCkV4cGVkaXRpb24SDgoCaWQYASABKA1SAmlkEh8KC2FjY2VwdF90aW1l",
"GAIgASgNUgphY2NlcHRUaW1lEhoKCGR1cmF0aW9uGAMgASgNUghkdXJhdGlv",
"bhIkCg5hdmF0YXJfaWRfbGlzdBgEIAMoDVIMYXZhdGFySWRMaXN0IhgKFkdl",
"dEV4cGVkaXRpb25EYXRhQ3NSZXEiygEKFkdldEV4cGVkaXRpb25EYXRhU2NS",
"c3ASGAoHcmV0Y29kZRgBIAEoDVIHcmV0Y29kZRIdCgp0ZWFtX2NvdW50GAIg",
"ASgNUgl0ZWFtQ291bnQSPQobdW5sb2NrZWRfZXhwZWRpdGlvbl9pZF9saXN0",
"GAMgAygNUhh1bmxvY2tlZEV4cGVkaXRpb25JZExpc3QSOAoOZXhwZWR0aW9u",
"X2xpc3QYBCADKAsyES5wcm90by5FeHBlZGl0aW9uUg1leHBlZHRpb25MaXN0",
"IkoKFUFjY2VwdEV4cGVkaXRpb25Dc1JlcRIxCgpleHBlZGl0aW9uGAEgASgL",
"MhEucHJvdG8uRXhwZWRpdGlvblIKZXhwZWRpdGlvbiJkChVBY2NlcHRFeHBl",
"ZGl0aW9uU2NSc3ASGAoHcmV0Y29kZRgBIAEoDVIHcmV0Y29kZRIxCgpleHBl",
"ZGl0aW9uGAIgASgLMhEucHJvdG8uRXhwZWRpdGlvblIKZXhwZWRpdGlvbiI8",
"ChVDYW5jZWxFeHBlZGl0aW9uQ3NSZXESIwoNZXhwZWRpdGlvbl9pZBgBIAEo",
"DVIMZXhwZWRpdGlvbklkIlYKFUNhbmNlbEV4cGVkaXRpb25TY1JzcBIYCgdy",
"ZXRjb2RlGAEgASgNUgdyZXRjb2RlEiMKDWV4cGVkaXRpb25faWQYAiABKA1S",
"DGV4cGVkaXRpb25JZCJAChlUYWtlRXhwZWRpdGlvblJld2FyZENzUmVxEiMK",
"DWV4cGVkaXRpb25faWQYASABKA1SDGV4cGVkaXRpb25JZCKDAQoZVGFrZUV4",
"cGVkaXRpb25SZXdhcmRTY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2Rl",
"EiMKDWV4cGVkaXRpb25faWQYAiABKA1SDGV4cGVkaXRpb25JZBInCgZyZXdh",
"cmQYAyABKAsyDy5wcm90by5JdGVtTGlzdFIGcmV3YXJkKrACChFDbWRFeHBl",
"ZGl0aW9uVHlwZRIZChVDbWRFeHBlZGl0aW9uVHlwZU5vbmUQABIeChlDbWRH",
"ZXRFeHBlZGl0aW9uRGF0YUNzUmVxEMUTEh4KGUNtZEdldEV4cGVkaXRpb25E",
"YXRhU2NSc3AQxhMSHQoYQ21kQWNjZXB0RXhwZWRpdGlvbkNzUmVxEMcTEh0K",
"GENtZEFjY2VwdEV4cGVkaXRpb25TY1JzcBDIExIdChhDbWRDYW5jZWxFeHBl",
"ZGl0aW9uQ3NSZXEQyRMSHQoYQ21kQ2FuY2VsRXhwZWRpdGlvblNjUnNwEMoT",
"EiEKHENtZFRha2VFeHBlZGl0aW9uUmV3YXJkQ3NSZXEQyxMSIQocQ21kVGFr",
"ZUV4cGVkaXRpb25SZXdhcmRTY1JzcBDME2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdExpeditionType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.Expedition), global::RPG.Network.Proto.Expedition.Parser, new[]{ "Id", "AcceptTime", "Duration", "AvatarIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetExpeditionDataCsReq), global::RPG.Network.Proto.GetExpeditionDataCsReq.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetExpeditionDataScRsp), global::RPG.Network.Proto.GetExpeditionDataScRsp.Parser, new[]{ "Retcode", "TeamCount", "UnlockedExpeditionIdList", "ExpedtionList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.AcceptExpeditionCsReq), global::RPG.Network.Proto.AcceptExpeditionCsReq.Parser, new[]{ "Expedition" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.AcceptExpeditionScRsp), global::RPG.Network.Proto.AcceptExpeditionScRsp.Parser, new[]{ "Retcode", "Expedition" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.CancelExpeditionCsReq), global::RPG.Network.Proto.CancelExpeditionCsReq.Parser, new[]{ "ExpeditionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.CancelExpeditionScRsp), global::RPG.Network.Proto.CancelExpeditionScRsp.Parser, new[]{ "Retcode", "ExpeditionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeExpeditionRewardCsReq), global::RPG.Network.Proto.TakeExpeditionRewardCsReq.Parser, new[]{ "ExpeditionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeExpeditionRewardScRsp), global::RPG.Network.Proto.TakeExpeditionRewardScRsp.Parser, new[]{ "Retcode", "ExpeditionId", "Reward" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdExpeditionType {
[pbr::OriginalName("CmdExpeditionTypeNone")] None = 0,
[pbr::OriginalName("CmdGetExpeditionDataCsReq")] CmdGetExpeditionDataCsReq = 2501,
[pbr::OriginalName("CmdGetExpeditionDataScRsp")] CmdGetExpeditionDataScRsp = 2502,
[pbr::OriginalName("CmdAcceptExpeditionCsReq")] CmdAcceptExpeditionCsReq = 2503,
[pbr::OriginalName("CmdAcceptExpeditionScRsp")] CmdAcceptExpeditionScRsp = 2504,
[pbr::OriginalName("CmdCancelExpeditionCsReq")] CmdCancelExpeditionCsReq = 2505,
[pbr::OriginalName("CmdCancelExpeditionScRsp")] CmdCancelExpeditionScRsp = 2506,
[pbr::OriginalName("CmdTakeExpeditionRewardCsReq")] CmdTakeExpeditionRewardCsReq = 2507,
[pbr::OriginalName("CmdTakeExpeditionRewardScRsp")] CmdTakeExpeditionRewardScRsp = 2508,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Expedition : pb::IMessage<Expedition>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Expedition> _parser = new pb::MessageParser<Expedition>(() => new Expedition());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Expedition> 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.CsExpeditionReflection.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 Expedition() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Expedition(Expedition other) : this() {
id_ = other.id_;
acceptTime_ = other.acceptTime_;
duration_ = other.duration_;
avatarIdList_ = other.avatarIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Expedition Clone() {
return new Expedition(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "accept_time" field.</summary>
public const int AcceptTimeFieldNumber = 2;
private uint acceptTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AcceptTime {
get { return acceptTime_; }
set {
acceptTime_ = value;
}
}
/// <summary>Field number for the "duration" field.</summary>
public const int DurationFieldNumber = 3;
private uint duration_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Duration {
get { return duration_; }
set {
duration_ = value;
}
}
/// <summary>Field number for the "avatar_id_list" field.</summary>
public const int AvatarIdListFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_avatarIdList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> avatarIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> AvatarIdList {
get { return avatarIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Expedition);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Expedition other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (AcceptTime != other.AcceptTime) return false;
if (Duration != other.Duration) return false;
if(!avatarIdList_.Equals(other.avatarIdList_)) 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 (Id != 0) hash ^= Id.GetHashCode();
if (AcceptTime != 0) hash ^= AcceptTime.GetHashCode();
if (Duration != 0) hash ^= Duration.GetHashCode();
hash ^= avatarIdList_.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (AcceptTime != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AcceptTime);
}
if (Duration != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Duration);
}
avatarIdList_.WriteTo(output, _repeated_avatarIdList_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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (AcceptTime != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AcceptTime);
}
if (Duration != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Duration);
}
avatarIdList_.WriteTo(ref output, _repeated_avatarIdList_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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (AcceptTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AcceptTime);
}
if (Duration != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration);
}
size += avatarIdList_.CalculateSize(_repeated_avatarIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Expedition other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.AcceptTime != 0) {
AcceptTime = other.AcceptTime;
}
if (other.Duration != 0) {
Duration = other.Duration;
}
avatarIdList_.Add(other.avatarIdList_);
_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: {
Id = input.ReadUInt32();
break;
}
case 16: {
AcceptTime = input.ReadUInt32();
break;
}
case 24: {
Duration = input.ReadUInt32();
break;
}
case 34:
case 32: {
avatarIdList_.AddEntriesFrom(input, _repeated_avatarIdList_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: {
Id = input.ReadUInt32();
break;
}
case 16: {
AcceptTime = input.ReadUInt32();
break;
}
case 24: {
Duration = input.ReadUInt32();
break;
}
case 34:
case 32: {
avatarIdList_.AddEntriesFrom(ref input, _repeated_avatarIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetExpeditionDataCsReq : pb::IMessage<GetExpeditionDataCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetExpeditionDataCsReq> _parser = new pb::MessageParser<GetExpeditionDataCsReq>(() => new GetExpeditionDataCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetExpeditionDataCsReq> 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.CsExpeditionReflection.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 GetExpeditionDataCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetExpeditionDataCsReq(GetExpeditionDataCsReq other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetExpeditionDataCsReq Clone() {
return new GetExpeditionDataCsReq(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetExpeditionDataCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetExpeditionDataCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetExpeditionDataCsReq other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetExpeditionDataScRsp : pb::IMessage<GetExpeditionDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetExpeditionDataScRsp> _parser = new pb::MessageParser<GetExpeditionDataScRsp>(() => new GetExpeditionDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetExpeditionDataScRsp> 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.CsExpeditionReflection.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 GetExpeditionDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetExpeditionDataScRsp(GetExpeditionDataScRsp other) : this() {
retcode_ = other.retcode_;
teamCount_ = other.teamCount_;
unlockedExpeditionIdList_ = other.unlockedExpeditionIdList_.Clone();
expedtionList_ = other.expedtionList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetExpeditionDataScRsp Clone() {
return new GetExpeditionDataScRsp(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 "team_count" field.</summary>
public const int TeamCountFieldNumber = 2;
private uint teamCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TeamCount {
get { return teamCount_; }
set {
teamCount_ = value;
}
}
/// <summary>Field number for the "unlocked_expedition_id_list" field.</summary>
public const int UnlockedExpeditionIdListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_unlockedExpeditionIdList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> unlockedExpeditionIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> UnlockedExpeditionIdList {
get { return unlockedExpeditionIdList_; }
}
/// <summary>Field number for the "expedtion_list" field.</summary>
public const int ExpedtionListFieldNumber = 4;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.Expedition> _repeated_expedtionList_codec
= pb::FieldCodec.ForMessage(34, global::RPG.Network.Proto.Expedition.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.Expedition> expedtionList_ = new pbc::RepeatedField<global::RPG.Network.Proto.Expedition>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.Expedition> ExpedtionList {
get { return expedtionList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetExpeditionDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetExpeditionDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (TeamCount != other.TeamCount) return false;
if(!unlockedExpeditionIdList_.Equals(other.unlockedExpeditionIdList_)) return false;
if(!expedtionList_.Equals(other.expedtionList_)) 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 (TeamCount != 0) hash ^= TeamCount.GetHashCode();
hash ^= unlockedExpeditionIdList_.GetHashCode();
hash ^= expedtionList_.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 (TeamCount != 0) {
output.WriteRawTag(16);
output.WriteUInt32(TeamCount);
}
unlockedExpeditionIdList_.WriteTo(output, _repeated_unlockedExpeditionIdList_codec);
expedtionList_.WriteTo(output, _repeated_expedtionList_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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
if (TeamCount != 0) {
output.WriteRawTag(16);
output.WriteUInt32(TeamCount);
}
unlockedExpeditionIdList_.WriteTo(ref output, _repeated_unlockedExpeditionIdList_codec);
expedtionList_.WriteTo(ref output, _repeated_expedtionList_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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (TeamCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TeamCount);
}
size += unlockedExpeditionIdList_.CalculateSize(_repeated_unlockedExpeditionIdList_codec);
size += expedtionList_.CalculateSize(_repeated_expedtionList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetExpeditionDataScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.TeamCount != 0) {
TeamCount = other.TeamCount;
}
unlockedExpeditionIdList_.Add(other.unlockedExpeditionIdList_);
expedtionList_.Add(other.expedtionList_);
_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: {
TeamCount = input.ReadUInt32();
break;
}
case 26:
case 24: {
unlockedExpeditionIdList_.AddEntriesFrom(input, _repeated_unlockedExpeditionIdList_codec);
break;
}
case 34: {
expedtionList_.AddEntriesFrom(input, _repeated_expedtionList_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: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
TeamCount = input.ReadUInt32();
break;
}
case 26:
case 24: {
unlockedExpeditionIdList_.AddEntriesFrom(ref input, _repeated_unlockedExpeditionIdList_codec);
break;
}
case 34: {
expedtionList_.AddEntriesFrom(ref input, _repeated_expedtionList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AcceptExpeditionCsReq : pb::IMessage<AcceptExpeditionCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<AcceptExpeditionCsReq> _parser = new pb::MessageParser<AcceptExpeditionCsReq>(() => new AcceptExpeditionCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<AcceptExpeditionCsReq> 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.CsExpeditionReflection.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 AcceptExpeditionCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AcceptExpeditionCsReq(AcceptExpeditionCsReq other) : this() {
expedition_ = other.expedition_ != null ? other.expedition_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AcceptExpeditionCsReq Clone() {
return new AcceptExpeditionCsReq(this);
}
/// <summary>Field number for the "expedition" field.</summary>
public const int ExpeditionFieldNumber = 1;
private global::RPG.Network.Proto.Expedition expedition_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.Expedition Expedition {
get { return expedition_; }
set {
expedition_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AcceptExpeditionCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AcceptExpeditionCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Expedition, other.Expedition)) 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 (expedition_ != null) hash ^= Expedition.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 (expedition_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Expedition);
}
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 (expedition_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Expedition);
}
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 (expedition_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Expedition);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AcceptExpeditionCsReq other) {
if (other == null) {
return;
}
if (other.expedition_ != null) {
if (expedition_ == null) {
Expedition = new global::RPG.Network.Proto.Expedition();
}
Expedition.MergeFrom(other.Expedition);
}
_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 (expedition_ == null) {
Expedition = new global::RPG.Network.Proto.Expedition();
}
input.ReadMessage(Expedition);
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 (expedition_ == null) {
Expedition = new global::RPG.Network.Proto.Expedition();
}
input.ReadMessage(Expedition);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AcceptExpeditionScRsp : pb::IMessage<AcceptExpeditionScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<AcceptExpeditionScRsp> _parser = new pb::MessageParser<AcceptExpeditionScRsp>(() => new AcceptExpeditionScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<AcceptExpeditionScRsp> 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.CsExpeditionReflection.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 AcceptExpeditionScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AcceptExpeditionScRsp(AcceptExpeditionScRsp other) : this() {
retcode_ = other.retcode_;
expedition_ = other.expedition_ != null ? other.expedition_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AcceptExpeditionScRsp Clone() {
return new AcceptExpeditionScRsp(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 "expedition" field.</summary>
public const int ExpeditionFieldNumber = 2;
private global::RPG.Network.Proto.Expedition expedition_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.Expedition Expedition {
get { return expedition_; }
set {
expedition_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AcceptExpeditionScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AcceptExpeditionScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (!object.Equals(Expedition, other.Expedition)) 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 (expedition_ != null) hash ^= Expedition.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 (expedition_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Expedition);
}
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 (expedition_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Expedition);
}
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 (expedition_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Expedition);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AcceptExpeditionScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.expedition_ != null) {
if (expedition_ == null) {
Expedition = new global::RPG.Network.Proto.Expedition();
}
Expedition.MergeFrom(other.Expedition);
}
_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 (expedition_ == null) {
Expedition = new global::RPG.Network.Proto.Expedition();
}
input.ReadMessage(Expedition);
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 (expedition_ == null) {
Expedition = new global::RPG.Network.Proto.Expedition();
}
input.ReadMessage(Expedition);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CancelExpeditionCsReq : pb::IMessage<CancelExpeditionCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<CancelExpeditionCsReq> _parser = new pb::MessageParser<CancelExpeditionCsReq>(() => new CancelExpeditionCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<CancelExpeditionCsReq> 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.CsExpeditionReflection.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 CancelExpeditionCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CancelExpeditionCsReq(CancelExpeditionCsReq other) : this() {
expeditionId_ = other.expeditionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CancelExpeditionCsReq Clone() {
return new CancelExpeditionCsReq(this);
}
/// <summary>Field number for the "expedition_id" field.</summary>
public const int ExpeditionIdFieldNumber = 1;
private uint expeditionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ExpeditionId {
get { return expeditionId_; }
set {
expeditionId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CancelExpeditionCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CancelExpeditionCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ExpeditionId != other.ExpeditionId) 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 (ExpeditionId != 0) hash ^= ExpeditionId.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 (ExpeditionId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpeditionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CancelExpeditionCsReq other) {
if (other == null) {
return;
}
if (other.ExpeditionId != 0) {
ExpeditionId = other.ExpeditionId;
}
_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: {
ExpeditionId = 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: {
ExpeditionId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CancelExpeditionScRsp : pb::IMessage<CancelExpeditionScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<CancelExpeditionScRsp> _parser = new pb::MessageParser<CancelExpeditionScRsp>(() => new CancelExpeditionScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<CancelExpeditionScRsp> 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.CsExpeditionReflection.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 CancelExpeditionScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CancelExpeditionScRsp(CancelExpeditionScRsp other) : this() {
retcode_ = other.retcode_;
expeditionId_ = other.expeditionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CancelExpeditionScRsp Clone() {
return new CancelExpeditionScRsp(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 "expedition_id" field.</summary>
public const int ExpeditionIdFieldNumber = 2;
private uint expeditionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ExpeditionId {
get { return expeditionId_; }
set {
expeditionId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CancelExpeditionScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CancelExpeditionScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (ExpeditionId != other.ExpeditionId) 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 (ExpeditionId != 0) hash ^= ExpeditionId.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 (ExpeditionId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpeditionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CancelExpeditionScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.ExpeditionId != 0) {
ExpeditionId = other.ExpeditionId;
}
_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: {
ExpeditionId = 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: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
ExpeditionId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeExpeditionRewardCsReq : pb::IMessage<TakeExpeditionRewardCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeExpeditionRewardCsReq> _parser = new pb::MessageParser<TakeExpeditionRewardCsReq>(() => new TakeExpeditionRewardCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeExpeditionRewardCsReq> 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.CsExpeditionReflection.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 TakeExpeditionRewardCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeExpeditionRewardCsReq(TakeExpeditionRewardCsReq other) : this() {
expeditionId_ = other.expeditionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeExpeditionRewardCsReq Clone() {
return new TakeExpeditionRewardCsReq(this);
}
/// <summary>Field number for the "expedition_id" field.</summary>
public const int ExpeditionIdFieldNumber = 1;
private uint expeditionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ExpeditionId {
get { return expeditionId_; }
set {
expeditionId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeExpeditionRewardCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeExpeditionRewardCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ExpeditionId != other.ExpeditionId) 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 (ExpeditionId != 0) hash ^= ExpeditionId.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 (ExpeditionId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpeditionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeExpeditionRewardCsReq other) {
if (other == null) {
return;
}
if (other.ExpeditionId != 0) {
ExpeditionId = other.ExpeditionId;
}
_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: {
ExpeditionId = 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: {
ExpeditionId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeExpeditionRewardScRsp : pb::IMessage<TakeExpeditionRewardScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeExpeditionRewardScRsp> _parser = new pb::MessageParser<TakeExpeditionRewardScRsp>(() => new TakeExpeditionRewardScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeExpeditionRewardScRsp> 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.CsExpeditionReflection.Descriptor.MessageTypes[8]; }
}
[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 TakeExpeditionRewardScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeExpeditionRewardScRsp(TakeExpeditionRewardScRsp other) : this() {
retcode_ = other.retcode_;
expeditionId_ = other.expeditionId_;
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 TakeExpeditionRewardScRsp Clone() {
return new TakeExpeditionRewardScRsp(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 "expedition_id" field.</summary>
public const int ExpeditionIdFieldNumber = 2;
private uint expeditionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ExpeditionId {
get { return expeditionId_; }
set {
expeditionId_ = 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 TakeExpeditionRewardScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeExpeditionRewardScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (ExpeditionId != other.ExpeditionId) 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 (ExpeditionId != 0) hash ^= ExpeditionId.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 (ExpeditionId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ExpeditionId);
}
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 (ExpeditionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpeditionId);
}
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(TakeExpeditionRewardScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.ExpeditionId != 0) {
ExpeditionId = other.ExpeditionId;
}
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: {
ExpeditionId = 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: {
ExpeditionId = input.ReadUInt32();
break;
}
case 26: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code