KafkaSR/RPG.Network.Proto/CsRaid.cs

2567 lines
92 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.raid.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.raid.proto</summary>
public static partial class CsRaidReflection {
#region Descriptor
/// <summary>File descriptor for cs.raid.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsRaidReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg1jcy5yYWlkLnByb3RvEgVwcm90bxoPY3MuY29tbW9uLnByb3RvIpEBCg5T",
"dGFydFJhaWRDc1JlcRIkCg5wcm9wX2VudGl0eV9pZBgBIAEoDVIMcHJvcEVu",
"dGl0eUlkEhcKB3JhaWRfaWQYAiABKA1SBnJhaWRJZBIfCgt3b3JsZF9sZXZl",
"bBgDIAEoDVIKd29ybGRMZXZlbBIfCgthdmF0YXJfbGlzdBgEIAMoDVIKYXZh",
"dGFyTGlzdCIqCg5TdGFydFJhaWRTY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdy",
"ZXRjb2RlIikKDkxlYXZlUmFpZENzUmVxEhcKB3JhaWRfaWQYASABKA1SBnJh",
"aWRJZCIqCg5MZWF2ZVJhaWRTY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRj",
"b2RlIqMBCg5SYWlkSW5mb05vdGlmeRIXCgdyYWlkX2lkGAEgASgNUgZyYWlk",
"SWQSHwoLd29ybGRfbGV2ZWwYAiABKA1SCndvcmxkTGV2ZWwSKQoGc3RhdHVz",
"GAMgASgOMhEucHJvdG8uUmFpZFN0YXR1c1IGc3RhdHVzEiwKCWl0ZW1fbGlz",
"dBgEIAEoCzIPLnByb3RvLkl0ZW1MaXN0UghpdGVtTGlzdCJFCg1DaGFsbGVu",
"Z2VSYWlkEhcKB3JhaWRfaWQYASABKA1SBnJhaWRJZBIbCgltYXhfc2NvcmUY",
"AiABKA1SCG1heFNjb3JlIhsKGUdldENoYWxsZW5nZVJhaWRJbmZvQ3NSZXEi",
"rAEKGUdldENoYWxsZW5nZVJhaWRJbmZvU2NSc3ASGAoHcmV0Y29kZRgBIAEo",
"DVIHcmV0Y29kZRJEChNjaGFsbGVuZ2VfcmFpZF9saXN0GAIgAygLMhQucHJv",
"dG8uQ2hhbGxlbmdlUmFpZFIRY2hhbGxlbmdlUmFpZExpc3QSLwoUdGFrZW5f",
"cmV3YXJkX2lkX2xpc3QYAyADKA1SEXRha2VuUmV3YXJkSWRMaXN0IjsKHFRh",
"a2VDaGFsbGVuZ2VSYWlkUmV3YXJkQ3NSZXESGwoJcmV3YXJkX2lkGAEgASgN",
"UghyZXdhcmRJZCJ+ChxUYWtlQ2hhbGxlbmdlUmFpZFJld2FyZFNjUnNwEhgK",
"B3JldGNvZGUYASABKA1SB3JldGNvZGUSGwoJcmV3YXJkX2lkGAIgASgNUghy",
"ZXdhcmRJZBInCgZyZXdhcmQYAyABKAsyDy5wcm90by5JdGVtTGlzdFIGcmV3",
"YXJkIlIKE0NoYWxsZW5nZVJhaWROb3RpZnkSOwoOY2hhbGxlbmdlX3JhaWQY",
"ASABKAsyFC5wcm90by5DaGFsbGVuZ2VSYWlkUg1jaGFsbGVuZ2VSYWlkKskC",
"CgtDbWRSYWlkVHlwZRITCg9DbWRSYWlkVHlwZU5vbmUQABIWChFDbWRTdGFy",
"dFJhaWRDc1JlcRCZERIWChFDbWRTdGFydFJhaWRTY1JzcBCaERIWChFDbWRM",
"ZWF2ZVJhaWRDc1JlcRCbERIWChFDbWRMZWF2ZVJhaWRTY1JzcBCcERIWChFD",
"bWRSYWlkSW5mb05vdGlmeRCdERIhChxDbWRHZXRDaGFsbGVuZ2VSYWlkSW5m",
"b0NzUmVxEJ4REiEKHENtZEdldENoYWxsZW5nZVJhaWRJbmZvU2NSc3AQnxES",
"JAofQ21kVGFrZUNoYWxsZW5nZVJhaWRSZXdhcmRDc1JlcRCgERIkCh9DbWRU",
"YWtlQ2hhbGxlbmdlUmFpZFJld2FyZFNjUnNwEKEREhsKFkNtZENoYWxsZW5n",
"ZVJhaWROb3RpZnkQohEqaQoKUmFpZFN0YXR1cxIUChBSQUlEX1NUQVRVU19O",
"T05FEAASFQoRUkFJRF9TVEFUVVNfRE9JTkcQARIWChJSQUlEX1NUQVRVU19G",
"SU5JU0gQAhIWChJSQUlEX1NUQVRVU19GQUlMRUQQA2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdRaidType), typeof(global::RPG.Network.Proto.RaidStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.StartRaidCsReq), global::RPG.Network.Proto.StartRaidCsReq.Parser, new[]{ "PropEntityId", "RaidId", "WorldLevel", "AvatarList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.StartRaidScRsp), global::RPG.Network.Proto.StartRaidScRsp.Parser, new[]{ "Retcode" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.LeaveRaidCsReq), global::RPG.Network.Proto.LeaveRaidCsReq.Parser, new[]{ "RaidId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.LeaveRaidScRsp), global::RPG.Network.Proto.LeaveRaidScRsp.Parser, new[]{ "Retcode" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.RaidInfoNotify), global::RPG.Network.Proto.RaidInfoNotify.Parser, new[]{ "RaidId", "WorldLevel", "Status", "ItemList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ChallengeRaid), global::RPG.Network.Proto.ChallengeRaid.Parser, new[]{ "RaidId", "MaxScore" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetChallengeRaidInfoCsReq), global::RPG.Network.Proto.GetChallengeRaidInfoCsReq.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetChallengeRaidInfoScRsp), global::RPG.Network.Proto.GetChallengeRaidInfoScRsp.Parser, new[]{ "Retcode", "ChallengeRaidList", "TakenRewardIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeChallengeRaidRewardCsReq), global::RPG.Network.Proto.TakeChallengeRaidRewardCsReq.Parser, new[]{ "RewardId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeChallengeRaidRewardScRsp), global::RPG.Network.Proto.TakeChallengeRaidRewardScRsp.Parser, new[]{ "Retcode", "RewardId", "Reward" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ChallengeRaidNotify), global::RPG.Network.Proto.ChallengeRaidNotify.Parser, new[]{ "ChallengeRaid" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdRaidType {
[pbr::OriginalName("CmdRaidTypeNone")] None = 0,
[pbr::OriginalName("CmdStartRaidCsReq")] CmdStartRaidCsReq = 2201,
[pbr::OriginalName("CmdStartRaidScRsp")] CmdStartRaidScRsp = 2202,
[pbr::OriginalName("CmdLeaveRaidCsReq")] CmdLeaveRaidCsReq = 2203,
[pbr::OriginalName("CmdLeaveRaidScRsp")] CmdLeaveRaidScRsp = 2204,
[pbr::OriginalName("CmdRaidInfoNotify")] CmdRaidInfoNotify = 2205,
[pbr::OriginalName("CmdGetChallengeRaidInfoCsReq")] CmdGetChallengeRaidInfoCsReq = 2206,
[pbr::OriginalName("CmdGetChallengeRaidInfoScRsp")] CmdGetChallengeRaidInfoScRsp = 2207,
[pbr::OriginalName("CmdTakeChallengeRaidRewardCsReq")] CmdTakeChallengeRaidRewardCsReq = 2208,
[pbr::OriginalName("CmdTakeChallengeRaidRewardScRsp")] CmdTakeChallengeRaidRewardScRsp = 2209,
[pbr::OriginalName("CmdChallengeRaidNotify")] CmdChallengeRaidNotify = 2210,
}
public enum RaidStatus {
[pbr::OriginalName("RAID_STATUS_NONE")] None = 0,
[pbr::OriginalName("RAID_STATUS_DOING")] Doing = 1,
[pbr::OriginalName("RAID_STATUS_FINISH")] Finish = 2,
[pbr::OriginalName("RAID_STATUS_FAILED")] Failed = 3,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StartRaidCsReq : pb::IMessage<StartRaidCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StartRaidCsReq> _parser = new pb::MessageParser<StartRaidCsReq>(() => new StartRaidCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StartRaidCsReq> 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.CsRaidReflection.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 StartRaidCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StartRaidCsReq(StartRaidCsReq other) : this() {
propEntityId_ = other.propEntityId_;
raidId_ = other.raidId_;
worldLevel_ = other.worldLevel_;
avatarList_ = other.avatarList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StartRaidCsReq Clone() {
return new StartRaidCsReq(this);
}
/// <summary>Field number for the "prop_entity_id" field.</summary>
public const int PropEntityIdFieldNumber = 1;
private uint propEntityId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PropEntityId {
get { return propEntityId_; }
set {
propEntityId_ = value;
}
}
/// <summary>Field number for the "raid_id" field.</summary>
public const int RaidIdFieldNumber = 2;
private uint raidId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RaidId {
get { return raidId_; }
set {
raidId_ = value;
}
}
/// <summary>Field number for the "world_level" field.</summary>
public const int WorldLevelFieldNumber = 3;
private uint worldLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WorldLevel {
get { return worldLevel_; }
set {
worldLevel_ = value;
}
}
/// <summary>Field number for the "avatar_list" field.</summary>
public const int AvatarListFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_avatarList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> avatarList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> AvatarList {
get { return avatarList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StartRaidCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StartRaidCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PropEntityId != other.PropEntityId) return false;
if (RaidId != other.RaidId) return false;
if (WorldLevel != other.WorldLevel) return false;
if(!avatarList_.Equals(other.avatarList_)) 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 (PropEntityId != 0) hash ^= PropEntityId.GetHashCode();
if (RaidId != 0) hash ^= RaidId.GetHashCode();
if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode();
hash ^= avatarList_.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 (PropEntityId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PropEntityId);
}
if (RaidId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(RaidId);
}
if (WorldLevel != 0) {
output.WriteRawTag(24);
output.WriteUInt32(WorldLevel);
}
avatarList_.WriteTo(output, _repeated_avatarList_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 (PropEntityId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PropEntityId);
}
if (RaidId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(RaidId);
}
if (WorldLevel != 0) {
output.WriteRawTag(24);
output.WriteUInt32(WorldLevel);
}
avatarList_.WriteTo(ref output, _repeated_avatarList_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 (PropEntityId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PropEntityId);
}
if (RaidId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RaidId);
}
if (WorldLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
}
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StartRaidCsReq other) {
if (other == null) {
return;
}
if (other.PropEntityId != 0) {
PropEntityId = other.PropEntityId;
}
if (other.RaidId != 0) {
RaidId = other.RaidId;
}
if (other.WorldLevel != 0) {
WorldLevel = other.WorldLevel;
}
avatarList_.Add(other.avatarList_);
_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: {
PropEntityId = input.ReadUInt32();
break;
}
case 16: {
RaidId = input.ReadUInt32();
break;
}
case 24: {
WorldLevel = input.ReadUInt32();
break;
}
case 34:
case 32: {
avatarList_.AddEntriesFrom(input, _repeated_avatarList_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: {
PropEntityId = input.ReadUInt32();
break;
}
case 16: {
RaidId = input.ReadUInt32();
break;
}
case 24: {
WorldLevel = input.ReadUInt32();
break;
}
case 34:
case 32: {
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StartRaidScRsp : pb::IMessage<StartRaidScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StartRaidScRsp> _parser = new pb::MessageParser<StartRaidScRsp>(() => new StartRaidScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StartRaidScRsp> 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.CsRaidReflection.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 StartRaidScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StartRaidScRsp(StartRaidScRsp other) : this() {
retcode_ = other.retcode_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StartRaidScRsp Clone() {
return new StartRaidScRsp(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;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StartRaidScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StartRaidScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) 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 (_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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StartRaidScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
_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;
}
}
}
#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;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class LeaveRaidCsReq : pb::IMessage<LeaveRaidCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<LeaveRaidCsReq> _parser = new pb::MessageParser<LeaveRaidCsReq>(() => new LeaveRaidCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<LeaveRaidCsReq> 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.CsRaidReflection.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 LeaveRaidCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LeaveRaidCsReq(LeaveRaidCsReq other) : this() {
raidId_ = other.raidId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LeaveRaidCsReq Clone() {
return new LeaveRaidCsReq(this);
}
/// <summary>Field number for the "raid_id" field.</summary>
public const int RaidIdFieldNumber = 1;
private uint raidId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RaidId {
get { return raidId_; }
set {
raidId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as LeaveRaidCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(LeaveRaidCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RaidId != other.RaidId) 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 (RaidId != 0) hash ^= RaidId.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 (RaidId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RaidId);
}
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 (RaidId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RaidId);
}
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 (RaidId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RaidId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(LeaveRaidCsReq other) {
if (other == null) {
return;
}
if (other.RaidId != 0) {
RaidId = other.RaidId;
}
_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: {
RaidId = 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: {
RaidId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class LeaveRaidScRsp : pb::IMessage<LeaveRaidScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<LeaveRaidScRsp> _parser = new pb::MessageParser<LeaveRaidScRsp>(() => new LeaveRaidScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<LeaveRaidScRsp> 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.CsRaidReflection.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 LeaveRaidScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LeaveRaidScRsp(LeaveRaidScRsp other) : this() {
retcode_ = other.retcode_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LeaveRaidScRsp Clone() {
return new LeaveRaidScRsp(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;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as LeaveRaidScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(LeaveRaidScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) 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 (_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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(LeaveRaidScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
_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;
}
}
}
#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;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RaidInfoNotify : pb::IMessage<RaidInfoNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RaidInfoNotify> _parser = new pb::MessageParser<RaidInfoNotify>(() => new RaidInfoNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RaidInfoNotify> 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.CsRaidReflection.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 RaidInfoNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RaidInfoNotify(RaidInfoNotify other) : this() {
raidId_ = other.raidId_;
worldLevel_ = other.worldLevel_;
status_ = other.status_;
itemList_ = other.itemList_ != null ? other.itemList_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RaidInfoNotify Clone() {
return new RaidInfoNotify(this);
}
/// <summary>Field number for the "raid_id" field.</summary>
public const int RaidIdFieldNumber = 1;
private uint raidId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RaidId {
get { return raidId_; }
set {
raidId_ = value;
}
}
/// <summary>Field number for the "world_level" field.</summary>
public const int WorldLevelFieldNumber = 2;
private uint worldLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WorldLevel {
get { return worldLevel_; }
set {
worldLevel_ = value;
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 3;
private global::RPG.Network.Proto.RaidStatus status_ = global::RPG.Network.Proto.RaidStatus.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.RaidStatus Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "item_list" field.</summary>
public const int ItemListFieldNumber = 4;
private global::RPG.Network.Proto.ItemList itemList_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList ItemList {
get { return itemList_; }
set {
itemList_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RaidInfoNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RaidInfoNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RaidId != other.RaidId) return false;
if (WorldLevel != other.WorldLevel) return false;
if (Status != other.Status) return false;
if (!object.Equals(ItemList, other.ItemList)) 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 (RaidId != 0) hash ^= RaidId.GetHashCode();
if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode();
if (Status != global::RPG.Network.Proto.RaidStatus.None) hash ^= Status.GetHashCode();
if (itemList_ != null) hash ^= ItemList.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 (RaidId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RaidId);
}
if (WorldLevel != 0) {
output.WriteRawTag(16);
output.WriteUInt32(WorldLevel);
}
if (Status != global::RPG.Network.Proto.RaidStatus.None) {
output.WriteRawTag(24);
output.WriteEnum((int) Status);
}
if (itemList_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ItemList);
}
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 (RaidId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RaidId);
}
if (WorldLevel != 0) {
output.WriteRawTag(16);
output.WriteUInt32(WorldLevel);
}
if (Status != global::RPG.Network.Proto.RaidStatus.None) {
output.WriteRawTag(24);
output.WriteEnum((int) Status);
}
if (itemList_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ItemList);
}
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 (RaidId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RaidId);
}
if (WorldLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
}
if (Status != global::RPG.Network.Proto.RaidStatus.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
}
if (itemList_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ItemList);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RaidInfoNotify other) {
if (other == null) {
return;
}
if (other.RaidId != 0) {
RaidId = other.RaidId;
}
if (other.WorldLevel != 0) {
WorldLevel = other.WorldLevel;
}
if (other.Status != global::RPG.Network.Proto.RaidStatus.None) {
Status = other.Status;
}
if (other.itemList_ != null) {
if (itemList_ == null) {
ItemList = new global::RPG.Network.Proto.ItemList();
}
ItemList.MergeFrom(other.ItemList);
}
_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: {
RaidId = input.ReadUInt32();
break;
}
case 16: {
WorldLevel = input.ReadUInt32();
break;
}
case 24: {
Status = (global::RPG.Network.Proto.RaidStatus) input.ReadEnum();
break;
}
case 34: {
if (itemList_ == null) {
ItemList = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(ItemList);
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: {
RaidId = input.ReadUInt32();
break;
}
case 16: {
WorldLevel = input.ReadUInt32();
break;
}
case 24: {
Status = (global::RPG.Network.Proto.RaidStatus) input.ReadEnum();
break;
}
case 34: {
if (itemList_ == null) {
ItemList = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(ItemList);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChallengeRaid : pb::IMessage<ChallengeRaid>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChallengeRaid> _parser = new pb::MessageParser<ChallengeRaid>(() => new ChallengeRaid());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChallengeRaid> 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.CsRaidReflection.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 ChallengeRaid() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeRaid(ChallengeRaid other) : this() {
raidId_ = other.raidId_;
maxScore_ = other.maxScore_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeRaid Clone() {
return new ChallengeRaid(this);
}
/// <summary>Field number for the "raid_id" field.</summary>
public const int RaidIdFieldNumber = 1;
private uint raidId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RaidId {
get { return raidId_; }
set {
raidId_ = value;
}
}
/// <summary>Field number for the "max_score" field.</summary>
public const int MaxScoreFieldNumber = 2;
private uint maxScore_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MaxScore {
get { return maxScore_; }
set {
maxScore_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChallengeRaid);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChallengeRaid other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RaidId != other.RaidId) return false;
if (MaxScore != other.MaxScore) 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 (RaidId != 0) hash ^= RaidId.GetHashCode();
if (MaxScore != 0) hash ^= MaxScore.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 (RaidId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RaidId);
}
if (MaxScore != 0) {
output.WriteRawTag(16);
output.WriteUInt32(MaxScore);
}
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 (RaidId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RaidId);
}
if (MaxScore != 0) {
output.WriteRawTag(16);
output.WriteUInt32(MaxScore);
}
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 (RaidId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RaidId);
}
if (MaxScore != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxScore);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChallengeRaid other) {
if (other == null) {
return;
}
if (other.RaidId != 0) {
RaidId = other.RaidId;
}
if (other.MaxScore != 0) {
MaxScore = other.MaxScore;
}
_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: {
RaidId = input.ReadUInt32();
break;
}
case 16: {
MaxScore = 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: {
RaidId = input.ReadUInt32();
break;
}
case 16: {
MaxScore = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetChallengeRaidInfoCsReq : pb::IMessage<GetChallengeRaidInfoCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetChallengeRaidInfoCsReq> _parser = new pb::MessageParser<GetChallengeRaidInfoCsReq>(() => new GetChallengeRaidInfoCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetChallengeRaidInfoCsReq> 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.CsRaidReflection.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 GetChallengeRaidInfoCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetChallengeRaidInfoCsReq(GetChallengeRaidInfoCsReq other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetChallengeRaidInfoCsReq Clone() {
return new GetChallengeRaidInfoCsReq(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetChallengeRaidInfoCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetChallengeRaidInfoCsReq 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(GetChallengeRaidInfoCsReq 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 GetChallengeRaidInfoScRsp : pb::IMessage<GetChallengeRaidInfoScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetChallengeRaidInfoScRsp> _parser = new pb::MessageParser<GetChallengeRaidInfoScRsp>(() => new GetChallengeRaidInfoScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetChallengeRaidInfoScRsp> 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.CsRaidReflection.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 GetChallengeRaidInfoScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetChallengeRaidInfoScRsp(GetChallengeRaidInfoScRsp other) : this() {
retcode_ = other.retcode_;
challengeRaidList_ = other.challengeRaidList_.Clone();
takenRewardIdList_ = other.takenRewardIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetChallengeRaidInfoScRsp Clone() {
return new GetChallengeRaidInfoScRsp(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 "challenge_raid_list" field.</summary>
public const int ChallengeRaidListFieldNumber = 2;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.ChallengeRaid> _repeated_challengeRaidList_codec
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.ChallengeRaid.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.ChallengeRaid> challengeRaidList_ = new pbc::RepeatedField<global::RPG.Network.Proto.ChallengeRaid>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.ChallengeRaid> ChallengeRaidList {
get { return challengeRaidList_; }
}
/// <summary>Field number for the "taken_reward_id_list" field.</summary>
public const int TakenRewardIdListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_takenRewardIdList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> takenRewardIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TakenRewardIdList {
get { return takenRewardIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetChallengeRaidInfoScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetChallengeRaidInfoScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if(!challengeRaidList_.Equals(other.challengeRaidList_)) return false;
if(!takenRewardIdList_.Equals(other.takenRewardIdList_)) 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();
hash ^= challengeRaidList_.GetHashCode();
hash ^= takenRewardIdList_.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);
}
challengeRaidList_.WriteTo(output, _repeated_challengeRaidList_codec);
takenRewardIdList_.WriteTo(output, _repeated_takenRewardIdList_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);
}
challengeRaidList_.WriteTo(ref output, _repeated_challengeRaidList_codec);
takenRewardIdList_.WriteTo(ref output, _repeated_takenRewardIdList_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);
}
size += challengeRaidList_.CalculateSize(_repeated_challengeRaidList_codec);
size += takenRewardIdList_.CalculateSize(_repeated_takenRewardIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetChallengeRaidInfoScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
challengeRaidList_.Add(other.challengeRaidList_);
takenRewardIdList_.Add(other.takenRewardIdList_);
_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: {
challengeRaidList_.AddEntriesFrom(input, _repeated_challengeRaidList_codec);
break;
}
case 26:
case 24: {
takenRewardIdList_.AddEntriesFrom(input, _repeated_takenRewardIdList_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 18: {
challengeRaidList_.AddEntriesFrom(ref input, _repeated_challengeRaidList_codec);
break;
}
case 26:
case 24: {
takenRewardIdList_.AddEntriesFrom(ref input, _repeated_takenRewardIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeChallengeRaidRewardCsReq : pb::IMessage<TakeChallengeRaidRewardCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeChallengeRaidRewardCsReq> _parser = new pb::MessageParser<TakeChallengeRaidRewardCsReq>(() => new TakeChallengeRaidRewardCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeChallengeRaidRewardCsReq> 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.CsRaidReflection.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 TakeChallengeRaidRewardCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeChallengeRaidRewardCsReq(TakeChallengeRaidRewardCsReq other) : this() {
rewardId_ = other.rewardId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeChallengeRaidRewardCsReq Clone() {
return new TakeChallengeRaidRewardCsReq(this);
}
/// <summary>Field number for the "reward_id" field.</summary>
public const int RewardIdFieldNumber = 1;
private uint rewardId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RewardId {
get { return rewardId_; }
set {
rewardId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeChallengeRaidRewardCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeChallengeRaidRewardCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RewardId != other.RewardId) 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 (RewardId != 0) hash ^= RewardId.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 (RewardId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RewardId);
}
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 (RewardId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RewardId);
}
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 (RewardId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeChallengeRaidRewardCsReq other) {
if (other == null) {
return;
}
if (other.RewardId != 0) {
RewardId = other.RewardId;
}
_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: {
RewardId = 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: {
RewardId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeChallengeRaidRewardScRsp : pb::IMessage<TakeChallengeRaidRewardScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeChallengeRaidRewardScRsp> _parser = new pb::MessageParser<TakeChallengeRaidRewardScRsp>(() => new TakeChallengeRaidRewardScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeChallengeRaidRewardScRsp> 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.CsRaidReflection.Descriptor.MessageTypes[9]; }
}
[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 TakeChallengeRaidRewardScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeChallengeRaidRewardScRsp(TakeChallengeRaidRewardScRsp other) : this() {
retcode_ = other.retcode_;
rewardId_ = other.rewardId_;
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 TakeChallengeRaidRewardScRsp Clone() {
return new TakeChallengeRaidRewardScRsp(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_id" field.</summary>
public const int RewardIdFieldNumber = 2;
private uint rewardId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RewardId {
get { return rewardId_; }
set {
rewardId_ = 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 TakeChallengeRaidRewardScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeChallengeRaidRewardScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (RewardId != other.RewardId) 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 (RewardId != 0) hash ^= RewardId.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 (RewardId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(RewardId);
}
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 (RewardId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(RewardId);
}
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 (RewardId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardId);
}
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(TakeChallengeRaidRewardScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.RewardId != 0) {
RewardId = other.RewardId;
}
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: {
RewardId = 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: {
RewardId = 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 ChallengeRaidNotify : pb::IMessage<ChallengeRaidNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChallengeRaidNotify> _parser = new pb::MessageParser<ChallengeRaidNotify>(() => new ChallengeRaidNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChallengeRaidNotify> 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.CsRaidReflection.Descriptor.MessageTypes[10]; }
}
[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 ChallengeRaidNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeRaidNotify(ChallengeRaidNotify other) : this() {
challengeRaid_ = other.challengeRaid_ != null ? other.challengeRaid_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeRaidNotify Clone() {
return new ChallengeRaidNotify(this);
}
/// <summary>Field number for the "challenge_raid" field.</summary>
public const int ChallengeRaidFieldNumber = 1;
private global::RPG.Network.Proto.ChallengeRaid challengeRaid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ChallengeRaid ChallengeRaid {
get { return challengeRaid_; }
set {
challengeRaid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChallengeRaidNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChallengeRaidNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(ChallengeRaid, other.ChallengeRaid)) 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 (challengeRaid_ != null) hash ^= ChallengeRaid.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 (challengeRaid_ != null) {
output.WriteRawTag(10);
output.WriteMessage(ChallengeRaid);
}
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 (challengeRaid_ != null) {
output.WriteRawTag(10);
output.WriteMessage(ChallengeRaid);
}
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 (challengeRaid_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChallengeRaid);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChallengeRaidNotify other) {
if (other == null) {
return;
}
if (other.challengeRaid_ != null) {
if (challengeRaid_ == null) {
ChallengeRaid = new global::RPG.Network.Proto.ChallengeRaid();
}
ChallengeRaid.MergeFrom(other.ChallengeRaid);
}
_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 (challengeRaid_ == null) {
ChallengeRaid = new global::RPG.Network.Proto.ChallengeRaid();
}
input.ReadMessage(ChallengeRaid);
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 (challengeRaid_ == null) {
ChallengeRaid = new global::RPG.Network.Proto.ChallengeRaid();
}
input.ReadMessage(ChallengeRaid);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code