2758 lines
99 KiB
C#
2758 lines
99 KiB
C#
|
// <auto-generated>
|
||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
// source: cs.battle.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.battle.proto</summary>
|
||
|
public static partial class CsBattleReflection {
|
||
|
|
||
|
#region Descriptor
|
||
|
/// <summary>File descriptor for cs.battle.proto</summary>
|
||
|
public static pbr::FileDescriptor Descriptor {
|
||
|
get { return descriptor; }
|
||
|
}
|
||
|
private static pbr::FileDescriptor descriptor;
|
||
|
|
||
|
static CsBattleReflection() {
|
||
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||
|
string.Concat(
|
||
|
"Cg9jcy5iYXR0bGUucHJvdG8SBXByb3RvGhVjb21tb24uZ2FtZWNvcmUucHJv",
|
||
|
"dG8aD2NzLmNvbW1vbi5wcm90byKsAwoUUFZFQmF0dGxlUmVzdWx0Q3NSZXES",
|
||
|
"GQoIc3RhZ2VfaWQYASABKA1SB3N0YWdlSWQSKAoHb3BfbGlzdBgCIAMoCzIP",
|
||
|
"LnByb3RvLkJhdHRsZU9wUgZvcExpc3QSLAoSdHVybl9zbmFwc2hvdF9oYXNo",
|
||
|
"GAMgASgMUhB0dXJuU25hcHNob3RIYXNoEhsKCWNvc3RfdGltZRgEIAEoDVII",
|
||
|
"Y29zdFRpbWUSKAoQZGVidWdfZXh0cmFfaW5mbxgFIAEoCVIOZGVidWdFeHRy",
|
||
|
"YUluZm8SHwoLcmVzX3ZlcnNpb24YBiABKA1SCnJlc1ZlcnNpb24SOgoaaXNf",
|
||
|
"YWlfY29uc2lkZXJfdWx0cmFfc2tpbGwYByABKAhSFmlzQWlDb25zaWRlclVs",
|
||
|
"dHJhU2tpbGwSNQoKZW5kX3N0YXR1cxgIIAEoDjIWLnByb3RvLkJhdHRsZUVu",
|
||
|
"ZFN0YXR1c1IJZW5kU3RhdHVzEikKA3N0dBgJIAEoCzIXLnByb3RvLkJhdHRs",
|
||
|
"ZVN0YXRpc3RpY3NSA3N0dBIbCgliYXR0bGVfaWQYCiABKA1SCGJhdHRsZUlk",
|
||
|
"IooEChRQVkVCYXR0bGVSZXN1bHRTY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdy",
|
||
|
"ZXRjb2RlEhkKCHN0YWdlX2lkGAIgASgNUgdzdGFnZUlkEjAKFGN1cl9maW5p",
|
||
|
"c2hfY2hhbGxlbmdlGAMgASgNUhJjdXJGaW5pc2hDaGFsbGVuZ2USLAoJZHJv",
|
||
|
"cF9kYXRhGAQgASgLMg8ucHJvdG8uSXRlbUxpc3RSCGRyb3BEYXRhEioKEWF2",
|
||
|
"YXRhcl9leHBfcmV3YXJkGAUgASgNUg9hdmF0YXJFeHBSZXdhcmQSFwoHYmlu",
|
||
|
"X3ZlchgGIAEoCVIGYmluVmVyEhcKB3Jlc192ZXIYByABKAlSBnJlc1ZlchIb",
|
||
|
"CgliYXR0bGVfaWQYCCABKA1SCGJhdHRsZUlkEjUKCmVuZF9zdGF0dXMYCSAB",
|
||
|
"KA4yFi5wcm90by5CYXR0bGVFbmRTdGF0dXNSCWVuZFN0YXR1cxI3Cg9leHRy",
|
||
|
"YV9kcm9wX2RhdGEYCiABKAsyDy5wcm90by5JdGVtTGlzdFINZXh0cmFEcm9w",
|
||
|
"RGF0YRInCg9jaGVja19pZGVudGljYWwYCyABKAhSDmNoZWNrSWRlbnRpY2Fs",
|
||
|
"EhkKCGV2ZW50X2lkGAwgASgNUgdldmVudElkEi4KE21pc21hdGNoX3R1cm5f",
|
||
|
"Y291bnQYDSABKA1SEW1pc21hdGNoVHVybkNvdW50IhEKD1F1aXRCYXR0bGVD",
|
||
|
"c1JlcSIrCg9RdWl0QmF0dGxlU2NSc3ASGAoHcmV0Y29kZRgBIAEoDVIHcmV0",
|
||
|
"Y29kZSIXChVHZXRDdXJCYXR0bGVJbmZvQ3NSZXEiywIKFUdldEN1ckJhdHRs",
|
||
|
"ZUluZm9TY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEhkKCHN0YWdl",
|
||
|
"X2lkGAIgASgNUgdzdGFnZUlkEioKEWxvZ2ljX3JhbmRvbV9zZWVkGAMgASgN",
|
||
|
"Ug9sb2dpY1JhbmRvbVNlZWQSNAoLYXZhdGFyX2xpc3QYBCADKAsyEy5wcm90",
|
||
|
"by5CYXR0bGVBdmF0YXJSCmF2YXRhckxpc3QSNwoLYmF0dGxlX2luZm8YBSAB",
|
||
|
"KAsyFi5wcm90by5TY2VuZUJhdHRsZUluZm9SCmJhdHRsZUluZm8SPgoPbGFz",
|
||
|
"dF9lbmRfc3RhdHVzGAYgASgOMhYucHJvdG8uQmF0dGxlRW5kU3RhdHVzUg1s",
|
||
|
"YXN0RW5kU3RhdHVzEiIKDWxhc3RfZXZlbnRfaWQYByABKA1SC2xhc3RFdmVu",
|
||
|
"dElkIjwKGVN5bmNDbGllbnRSZXNWZXJzaW9uQ3NSZXESHwoLcmVzX3ZlcnNp",
|
||
|
"b24YASABKA1SCnJlc1ZlcnNpb24iVgoZU3luY0NsaWVudFJlc1ZlcnNpb25T",
|
||
|
"Y1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEh8KC3Jlc192ZXJzaW9u",
|
||
|
"GAIgASgNUgpyZXNWZXJzaW9uIhQKElF1aXRCYXR0bGVTY05vdGlmeSqrAgoN",
|
||
|
"Q21kQmF0dGxlVHlwZRIVChFDbWRCYXR0bGVUeXBlTm9uZRAAEhsKF0NtZFBW",
|
||
|
"RUJhdHRsZVJlc3VsdENzUmVxEGUSGwoXQ21kUFZFQmF0dGxlUmVzdWx0U2NS",
|
||
|
"c3AQZhIWChJDbWRRdWl0QmF0dGxlQ3NSZXEQZxIWChJDbWRRdWl0QmF0dGxl",
|
||
|
"U2NSc3AQaBIcChhDbWRHZXRDdXJCYXR0bGVJbmZvQ3NSZXEQaRIcChhDbWRH",
|
||
|
"ZXRDdXJCYXR0bGVJbmZvU2NSc3AQahIgChxDbWRTeW5jQ2xpZW50UmVzVmVy",
|
||
|
"c2lvbkNzUmVxEGsSIAocQ21kU3luY0NsaWVudFJlc1ZlcnNpb25TY1JzcBBs",
|
||
|
"EhkKFUNtZFF1aXRCYXR0bGVTY05vdGlmeRBtYgZwcm90bzM="));
|
||
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||
|
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CommonGamecoreReflection.Descriptor, global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
|
||
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdBattleType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PVEBattleResultCsReq), global::RPG.Network.Proto.PVEBattleResultCsReq.Parser, new[]{ "StageId", "OpList", "TurnSnapshotHash", "CostTime", "DebugExtraInfo", "ResVersion", "IsAiConsiderUltraSkill", "EndStatus", "Stt", "BattleId" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PVEBattleResultScRsp), global::RPG.Network.Proto.PVEBattleResultScRsp.Parser, new[]{ "Retcode", "StageId", "CurFinishChallenge", "DropData", "AvatarExpReward", "BinVer", "ResVer", "BattleId", "EndStatus", "ExtraDropData", "CheckIdentical", "EventId", "MismatchTurnCount" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.QuitBattleCsReq), global::RPG.Network.Proto.QuitBattleCsReq.Parser, null, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.QuitBattleScRsp), global::RPG.Network.Proto.QuitBattleScRsp.Parser, new[]{ "Retcode" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetCurBattleInfoCsReq), global::RPG.Network.Proto.GetCurBattleInfoCsReq.Parser, null, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetCurBattleInfoScRsp), global::RPG.Network.Proto.GetCurBattleInfoScRsp.Parser, new[]{ "Retcode", "StageId", "LogicRandomSeed", "AvatarList", "BattleInfo", "LastEndStatus", "LastEventId" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SyncClientResVersionCsReq), global::RPG.Network.Proto.SyncClientResVersionCsReq.Parser, new[]{ "ResVersion" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SyncClientResVersionScRsp), global::RPG.Network.Proto.SyncClientResVersionScRsp.Parser, new[]{ "Retcode", "ResVersion" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.QuitBattleScNotify), global::RPG.Network.Proto.QuitBattleScNotify.Parser, null, null, null, null, null)
|
||
|
}));
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
}
|
||
|
#region Enums
|
||
|
public enum CmdBattleType {
|
||
|
[pbr::OriginalName("CmdBattleTypeNone")] None = 0,
|
||
|
[pbr::OriginalName("CmdPVEBattleResultCsReq")] CmdPvebattleResultCsReq = 101,
|
||
|
[pbr::OriginalName("CmdPVEBattleResultScRsp")] CmdPvebattleResultScRsp = 102,
|
||
|
[pbr::OriginalName("CmdQuitBattleCsReq")] CmdQuitBattleCsReq = 103,
|
||
|
[pbr::OriginalName("CmdQuitBattleScRsp")] CmdQuitBattleScRsp = 104,
|
||
|
[pbr::OriginalName("CmdGetCurBattleInfoCsReq")] CmdGetCurBattleInfoCsReq = 105,
|
||
|
[pbr::OriginalName("CmdGetCurBattleInfoScRsp")] CmdGetCurBattleInfoScRsp = 106,
|
||
|
[pbr::OriginalName("CmdSyncClientResVersionCsReq")] CmdSyncClientResVersionCsReq = 107,
|
||
|
[pbr::OriginalName("CmdSyncClientResVersionScRsp")] CmdSyncClientResVersionScRsp = 108,
|
||
|
[pbr::OriginalName("CmdQuitBattleScNotify")] CmdQuitBattleScNotify = 109,
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
#region Messages
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class PVEBattleResultCsReq : pb::IMessage<PVEBattleResultCsReq>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<PVEBattleResultCsReq> _parser = new pb::MessageParser<PVEBattleResultCsReq>(() => new PVEBattleResultCsReq());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<PVEBattleResultCsReq> 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.CsBattleReflection.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 PVEBattleResultCsReq() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public PVEBattleResultCsReq(PVEBattleResultCsReq other) : this() {
|
||
|
stageId_ = other.stageId_;
|
||
|
opList_ = other.opList_.Clone();
|
||
|
turnSnapshotHash_ = other.turnSnapshotHash_;
|
||
|
costTime_ = other.costTime_;
|
||
|
debugExtraInfo_ = other.debugExtraInfo_;
|
||
|
resVersion_ = other.resVersion_;
|
||
|
isAiConsiderUltraSkill_ = other.isAiConsiderUltraSkill_;
|
||
|
endStatus_ = other.endStatus_;
|
||
|
stt_ = other.stt_ != null ? other.stt_.Clone() : null;
|
||
|
battleId_ = other.battleId_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public PVEBattleResultCsReq Clone() {
|
||
|
return new PVEBattleResultCsReq(this);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "stage_id" field.</summary>
|
||
|
public const int StageIdFieldNumber = 1;
|
||
|
private uint stageId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint StageId {
|
||
|
get { return stageId_; }
|
||
|
set {
|
||
|
stageId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "op_list" field.</summary>
|
||
|
public const int OpListFieldNumber = 2;
|
||
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.BattleOp> _repeated_opList_codec
|
||
|
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.BattleOp.Parser);
|
||
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.BattleOp> opList_ = new pbc::RepeatedField<global::RPG.Network.Proto.BattleOp>();
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public pbc::RepeatedField<global::RPG.Network.Proto.BattleOp> OpList {
|
||
|
get { return opList_; }
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "turn_snapshot_hash" field.</summary>
|
||
|
public const int TurnSnapshotHashFieldNumber = 3;
|
||
|
private pb::ByteString turnSnapshotHash_ = pb::ByteString.Empty;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public pb::ByteString TurnSnapshotHash {
|
||
|
get { return turnSnapshotHash_; }
|
||
|
set {
|
||
|
turnSnapshotHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "cost_time" field.</summary>
|
||
|
public const int CostTimeFieldNumber = 4;
|
||
|
private uint costTime_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint CostTime {
|
||
|
get { return costTime_; }
|
||
|
set {
|
||
|
costTime_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "debug_extra_info" field.</summary>
|
||
|
public const int DebugExtraInfoFieldNumber = 5;
|
||
|
private string debugExtraInfo_ = "";
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string DebugExtraInfo {
|
||
|
get { return debugExtraInfo_; }
|
||
|
set {
|
||
|
debugExtraInfo_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "res_version" field.</summary>
|
||
|
public const int ResVersionFieldNumber = 6;
|
||
|
private uint resVersion_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint ResVersion {
|
||
|
get { return resVersion_; }
|
||
|
set {
|
||
|
resVersion_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "is_ai_consider_ultra_skill" field.</summary>
|
||
|
public const int IsAiConsiderUltraSkillFieldNumber = 7;
|
||
|
private bool isAiConsiderUltraSkill_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool IsAiConsiderUltraSkill {
|
||
|
get { return isAiConsiderUltraSkill_; }
|
||
|
set {
|
||
|
isAiConsiderUltraSkill_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "end_status" field.</summary>
|
||
|
public const int EndStatusFieldNumber = 8;
|
||
|
private global::RPG.Network.Proto.BattleEndStatus endStatus_ = global::RPG.Network.Proto.BattleEndStatus.BattleEndNone;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.BattleEndStatus EndStatus {
|
||
|
get { return endStatus_; }
|
||
|
set {
|
||
|
endStatus_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "stt" field.</summary>
|
||
|
public const int SttFieldNumber = 9;
|
||
|
private global::RPG.Network.Proto.BattleStatistics stt_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.BattleStatistics Stt {
|
||
|
get { return stt_; }
|
||
|
set {
|
||
|
stt_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "battle_id" field.</summary>
|
||
|
public const int BattleIdFieldNumber = 10;
|
||
|
private uint battleId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint BattleId {
|
||
|
get { return battleId_; }
|
||
|
set {
|
||
|
battleId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as PVEBattleResultCsReq);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(PVEBattleResultCsReq other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (StageId != other.StageId) return false;
|
||
|
if(!opList_.Equals(other.opList_)) return false;
|
||
|
if (TurnSnapshotHash != other.TurnSnapshotHash) return false;
|
||
|
if (CostTime != other.CostTime) return false;
|
||
|
if (DebugExtraInfo != other.DebugExtraInfo) return false;
|
||
|
if (ResVersion != other.ResVersion) return false;
|
||
|
if (IsAiConsiderUltraSkill != other.IsAiConsiderUltraSkill) return false;
|
||
|
if (EndStatus != other.EndStatus) return false;
|
||
|
if (!object.Equals(Stt, other.Stt)) return false;
|
||
|
if (BattleId != other.BattleId) 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 (StageId != 0) hash ^= StageId.GetHashCode();
|
||
|
hash ^= opList_.GetHashCode();
|
||
|
if (TurnSnapshotHash.Length != 0) hash ^= TurnSnapshotHash.GetHashCode();
|
||
|
if (CostTime != 0) hash ^= CostTime.GetHashCode();
|
||
|
if (DebugExtraInfo.Length != 0) hash ^= DebugExtraInfo.GetHashCode();
|
||
|
if (ResVersion != 0) hash ^= ResVersion.GetHashCode();
|
||
|
if (IsAiConsiderUltraSkill != false) hash ^= IsAiConsiderUltraSkill.GetHashCode();
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) hash ^= EndStatus.GetHashCode();
|
||
|
if (stt_ != null) hash ^= Stt.GetHashCode();
|
||
|
if (BattleId != 0) hash ^= BattleId.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 (StageId != 0) {
|
||
|
output.WriteRawTag(8);
|
||
|
output.WriteUInt32(StageId);
|
||
|
}
|
||
|
opList_.WriteTo(output, _repeated_opList_codec);
|
||
|
if (TurnSnapshotHash.Length != 0) {
|
||
|
output.WriteRawTag(26);
|
||
|
output.WriteBytes(TurnSnapshotHash);
|
||
|
}
|
||
|
if (CostTime != 0) {
|
||
|
output.WriteRawTag(32);
|
||
|
output.WriteUInt32(CostTime);
|
||
|
}
|
||
|
if (DebugExtraInfo.Length != 0) {
|
||
|
output.WriteRawTag(42);
|
||
|
output.WriteString(DebugExtraInfo);
|
||
|
}
|
||
|
if (ResVersion != 0) {
|
||
|
output.WriteRawTag(48);
|
||
|
output.WriteUInt32(ResVersion);
|
||
|
}
|
||
|
if (IsAiConsiderUltraSkill != false) {
|
||
|
output.WriteRawTag(56);
|
||
|
output.WriteBool(IsAiConsiderUltraSkill);
|
||
|
}
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
output.WriteRawTag(64);
|
||
|
output.WriteEnum((int) EndStatus);
|
||
|
}
|
||
|
if (stt_ != null) {
|
||
|
output.WriteRawTag(74);
|
||
|
output.WriteMessage(Stt);
|
||
|
}
|
||
|
if (BattleId != 0) {
|
||
|
output.WriteRawTag(80);
|
||
|
output.WriteUInt32(BattleId);
|
||
|
}
|
||
|
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 (StageId != 0) {
|
||
|
output.WriteRawTag(8);
|
||
|
output.WriteUInt32(StageId);
|
||
|
}
|
||
|
opList_.WriteTo(ref output, _repeated_opList_codec);
|
||
|
if (TurnSnapshotHash.Length != 0) {
|
||
|
output.WriteRawTag(26);
|
||
|
output.WriteBytes(TurnSnapshotHash);
|
||
|
}
|
||
|
if (CostTime != 0) {
|
||
|
output.WriteRawTag(32);
|
||
|
output.WriteUInt32(CostTime);
|
||
|
}
|
||
|
if (DebugExtraInfo.Length != 0) {
|
||
|
output.WriteRawTag(42);
|
||
|
output.WriteString(DebugExtraInfo);
|
||
|
}
|
||
|
if (ResVersion != 0) {
|
||
|
output.WriteRawTag(48);
|
||
|
output.WriteUInt32(ResVersion);
|
||
|
}
|
||
|
if (IsAiConsiderUltraSkill != false) {
|
||
|
output.WriteRawTag(56);
|
||
|
output.WriteBool(IsAiConsiderUltraSkill);
|
||
|
}
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
output.WriteRawTag(64);
|
||
|
output.WriteEnum((int) EndStatus);
|
||
|
}
|
||
|
if (stt_ != null) {
|
||
|
output.WriteRawTag(74);
|
||
|
output.WriteMessage(Stt);
|
||
|
}
|
||
|
if (BattleId != 0) {
|
||
|
output.WriteRawTag(80);
|
||
|
output.WriteUInt32(BattleId);
|
||
|
}
|
||
|
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 (StageId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
|
||
|
}
|
||
|
size += opList_.CalculateSize(_repeated_opList_codec);
|
||
|
if (TurnSnapshotHash.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(TurnSnapshotHash);
|
||
|
}
|
||
|
if (CostTime != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CostTime);
|
||
|
}
|
||
|
if (DebugExtraInfo.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DebugExtraInfo);
|
||
|
}
|
||
|
if (ResVersion != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ResVersion);
|
||
|
}
|
||
|
if (IsAiConsiderUltraSkill != false) {
|
||
|
size += 1 + 1;
|
||
|
}
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EndStatus);
|
||
|
}
|
||
|
if (stt_ != null) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Stt);
|
||
|
}
|
||
|
if (BattleId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleId);
|
||
|
}
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(PVEBattleResultCsReq other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.StageId != 0) {
|
||
|
StageId = other.StageId;
|
||
|
}
|
||
|
opList_.Add(other.opList_);
|
||
|
if (other.TurnSnapshotHash.Length != 0) {
|
||
|
TurnSnapshotHash = other.TurnSnapshotHash;
|
||
|
}
|
||
|
if (other.CostTime != 0) {
|
||
|
CostTime = other.CostTime;
|
||
|
}
|
||
|
if (other.DebugExtraInfo.Length != 0) {
|
||
|
DebugExtraInfo = other.DebugExtraInfo;
|
||
|
}
|
||
|
if (other.ResVersion != 0) {
|
||
|
ResVersion = other.ResVersion;
|
||
|
}
|
||
|
if (other.IsAiConsiderUltraSkill != false) {
|
||
|
IsAiConsiderUltraSkill = other.IsAiConsiderUltraSkill;
|
||
|
}
|
||
|
if (other.EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
EndStatus = other.EndStatus;
|
||
|
}
|
||
|
if (other.stt_ != null) {
|
||
|
if (stt_ == null) {
|
||
|
Stt = new global::RPG.Network.Proto.BattleStatistics();
|
||
|
}
|
||
|
Stt.MergeFrom(other.Stt);
|
||
|
}
|
||
|
if (other.BattleId != 0) {
|
||
|
BattleId = other.BattleId;
|
||
|
}
|
||
|
_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: {
|
||
|
StageId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 18: {
|
||
|
opList_.AddEntriesFrom(input, _repeated_opList_codec);
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
TurnSnapshotHash = input.ReadBytes();
|
||
|
break;
|
||
|
}
|
||
|
case 32: {
|
||
|
CostTime = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 42: {
|
||
|
DebugExtraInfo = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
ResVersion = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
IsAiConsiderUltraSkill = input.ReadBool();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
EndStatus = (global::RPG.Network.Proto.BattleEndStatus) input.ReadEnum();
|
||
|
break;
|
||
|
}
|
||
|
case 74: {
|
||
|
if (stt_ == null) {
|
||
|
Stt = new global::RPG.Network.Proto.BattleStatistics();
|
||
|
}
|
||
|
input.ReadMessage(Stt);
|
||
|
break;
|
||
|
}
|
||
|
case 80: {
|
||
|
BattleId = 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: {
|
||
|
StageId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 18: {
|
||
|
opList_.AddEntriesFrom(ref input, _repeated_opList_codec);
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
TurnSnapshotHash = input.ReadBytes();
|
||
|
break;
|
||
|
}
|
||
|
case 32: {
|
||
|
CostTime = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 42: {
|
||
|
DebugExtraInfo = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
ResVersion = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
IsAiConsiderUltraSkill = input.ReadBool();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
EndStatus = (global::RPG.Network.Proto.BattleEndStatus) input.ReadEnum();
|
||
|
break;
|
||
|
}
|
||
|
case 74: {
|
||
|
if (stt_ == null) {
|
||
|
Stt = new global::RPG.Network.Proto.BattleStatistics();
|
||
|
}
|
||
|
input.ReadMessage(Stt);
|
||
|
break;
|
||
|
}
|
||
|
case 80: {
|
||
|
BattleId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class PVEBattleResultScRsp : pb::IMessage<PVEBattleResultScRsp>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<PVEBattleResultScRsp> _parser = new pb::MessageParser<PVEBattleResultScRsp>(() => new PVEBattleResultScRsp());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<PVEBattleResultScRsp> 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.CsBattleReflection.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 PVEBattleResultScRsp() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public PVEBattleResultScRsp(PVEBattleResultScRsp other) : this() {
|
||
|
retcode_ = other.retcode_;
|
||
|
stageId_ = other.stageId_;
|
||
|
curFinishChallenge_ = other.curFinishChallenge_;
|
||
|
dropData_ = other.dropData_ != null ? other.dropData_.Clone() : null;
|
||
|
avatarExpReward_ = other.avatarExpReward_;
|
||
|
binVer_ = other.binVer_;
|
||
|
resVer_ = other.resVer_;
|
||
|
battleId_ = other.battleId_;
|
||
|
endStatus_ = other.endStatus_;
|
||
|
extraDropData_ = other.extraDropData_ != null ? other.extraDropData_.Clone() : null;
|
||
|
checkIdentical_ = other.checkIdentical_;
|
||
|
eventId_ = other.eventId_;
|
||
|
mismatchTurnCount_ = other.mismatchTurnCount_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public PVEBattleResultScRsp Clone() {
|
||
|
return new PVEBattleResultScRsp(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 "stage_id" field.</summary>
|
||
|
public const int StageIdFieldNumber = 2;
|
||
|
private uint stageId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint StageId {
|
||
|
get { return stageId_; }
|
||
|
set {
|
||
|
stageId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "cur_finish_challenge" field.</summary>
|
||
|
public const int CurFinishChallengeFieldNumber = 3;
|
||
|
private uint curFinishChallenge_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint CurFinishChallenge {
|
||
|
get { return curFinishChallenge_; }
|
||
|
set {
|
||
|
curFinishChallenge_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "drop_data" field.</summary>
|
||
|
public const int DropDataFieldNumber = 4;
|
||
|
private global::RPG.Network.Proto.ItemList dropData_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.ItemList DropData {
|
||
|
get { return dropData_; }
|
||
|
set {
|
||
|
dropData_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "avatar_exp_reward" field.</summary>
|
||
|
public const int AvatarExpRewardFieldNumber = 5;
|
||
|
private uint avatarExpReward_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint AvatarExpReward {
|
||
|
get { return avatarExpReward_; }
|
||
|
set {
|
||
|
avatarExpReward_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "bin_ver" field.</summary>
|
||
|
public const int BinVerFieldNumber = 6;
|
||
|
private string binVer_ = "";
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string BinVer {
|
||
|
get { return binVer_; }
|
||
|
set {
|
||
|
binVer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "res_ver" field.</summary>
|
||
|
public const int ResVerFieldNumber = 7;
|
||
|
private string resVer_ = "";
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ResVer {
|
||
|
get { return resVer_; }
|
||
|
set {
|
||
|
resVer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "battle_id" field.</summary>
|
||
|
public const int BattleIdFieldNumber = 8;
|
||
|
private uint battleId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint BattleId {
|
||
|
get { return battleId_; }
|
||
|
set {
|
||
|
battleId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "end_status" field.</summary>
|
||
|
public const int EndStatusFieldNumber = 9;
|
||
|
private global::RPG.Network.Proto.BattleEndStatus endStatus_ = global::RPG.Network.Proto.BattleEndStatus.BattleEndNone;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.BattleEndStatus EndStatus {
|
||
|
get { return endStatus_; }
|
||
|
set {
|
||
|
endStatus_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "extra_drop_data" field.</summary>
|
||
|
public const int ExtraDropDataFieldNumber = 10;
|
||
|
private global::RPG.Network.Proto.ItemList extraDropData_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.ItemList ExtraDropData {
|
||
|
get { return extraDropData_; }
|
||
|
set {
|
||
|
extraDropData_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "check_identical" field.</summary>
|
||
|
public const int CheckIdenticalFieldNumber = 11;
|
||
|
private bool checkIdentical_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool CheckIdentical {
|
||
|
get { return checkIdentical_; }
|
||
|
set {
|
||
|
checkIdentical_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "event_id" field.</summary>
|
||
|
public const int EventIdFieldNumber = 12;
|
||
|
private uint eventId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint EventId {
|
||
|
get { return eventId_; }
|
||
|
set {
|
||
|
eventId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "mismatch_turn_count" field.</summary>
|
||
|
public const int MismatchTurnCountFieldNumber = 13;
|
||
|
private uint mismatchTurnCount_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint MismatchTurnCount {
|
||
|
get { return mismatchTurnCount_; }
|
||
|
set {
|
||
|
mismatchTurnCount_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as PVEBattleResultScRsp);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(PVEBattleResultScRsp other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (Retcode != other.Retcode) return false;
|
||
|
if (StageId != other.StageId) return false;
|
||
|
if (CurFinishChallenge != other.CurFinishChallenge) return false;
|
||
|
if (!object.Equals(DropData, other.DropData)) return false;
|
||
|
if (AvatarExpReward != other.AvatarExpReward) return false;
|
||
|
if (BinVer != other.BinVer) return false;
|
||
|
if (ResVer != other.ResVer) return false;
|
||
|
if (BattleId != other.BattleId) return false;
|
||
|
if (EndStatus != other.EndStatus) return false;
|
||
|
if (!object.Equals(ExtraDropData, other.ExtraDropData)) return false;
|
||
|
if (CheckIdentical != other.CheckIdentical) return false;
|
||
|
if (EventId != other.EventId) return false;
|
||
|
if (MismatchTurnCount != other.MismatchTurnCount) 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 (StageId != 0) hash ^= StageId.GetHashCode();
|
||
|
if (CurFinishChallenge != 0) hash ^= CurFinishChallenge.GetHashCode();
|
||
|
if (dropData_ != null) hash ^= DropData.GetHashCode();
|
||
|
if (AvatarExpReward != 0) hash ^= AvatarExpReward.GetHashCode();
|
||
|
if (BinVer.Length != 0) hash ^= BinVer.GetHashCode();
|
||
|
if (ResVer.Length != 0) hash ^= ResVer.GetHashCode();
|
||
|
if (BattleId != 0) hash ^= BattleId.GetHashCode();
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) hash ^= EndStatus.GetHashCode();
|
||
|
if (extraDropData_ != null) hash ^= ExtraDropData.GetHashCode();
|
||
|
if (CheckIdentical != false) hash ^= CheckIdentical.GetHashCode();
|
||
|
if (EventId != 0) hash ^= EventId.GetHashCode();
|
||
|
if (MismatchTurnCount != 0) hash ^= MismatchTurnCount.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 (StageId != 0) {
|
||
|
output.WriteRawTag(16);
|
||
|
output.WriteUInt32(StageId);
|
||
|
}
|
||
|
if (CurFinishChallenge != 0) {
|
||
|
output.WriteRawTag(24);
|
||
|
output.WriteUInt32(CurFinishChallenge);
|
||
|
}
|
||
|
if (dropData_ != null) {
|
||
|
output.WriteRawTag(34);
|
||
|
output.WriteMessage(DropData);
|
||
|
}
|
||
|
if (AvatarExpReward != 0) {
|
||
|
output.WriteRawTag(40);
|
||
|
output.WriteUInt32(AvatarExpReward);
|
||
|
}
|
||
|
if (BinVer.Length != 0) {
|
||
|
output.WriteRawTag(50);
|
||
|
output.WriteString(BinVer);
|
||
|
}
|
||
|
if (ResVer.Length != 0) {
|
||
|
output.WriteRawTag(58);
|
||
|
output.WriteString(ResVer);
|
||
|
}
|
||
|
if (BattleId != 0) {
|
||
|
output.WriteRawTag(64);
|
||
|
output.WriteUInt32(BattleId);
|
||
|
}
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
output.WriteRawTag(72);
|
||
|
output.WriteEnum((int) EndStatus);
|
||
|
}
|
||
|
if (extraDropData_ != null) {
|
||
|
output.WriteRawTag(82);
|
||
|
output.WriteMessage(ExtraDropData);
|
||
|
}
|
||
|
if (CheckIdentical != false) {
|
||
|
output.WriteRawTag(88);
|
||
|
output.WriteBool(CheckIdentical);
|
||
|
}
|
||
|
if (EventId != 0) {
|
||
|
output.WriteRawTag(96);
|
||
|
output.WriteUInt32(EventId);
|
||
|
}
|
||
|
if (MismatchTurnCount != 0) {
|
||
|
output.WriteRawTag(104);
|
||
|
output.WriteUInt32(MismatchTurnCount);
|
||
|
}
|
||
|
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 (StageId != 0) {
|
||
|
output.WriteRawTag(16);
|
||
|
output.WriteUInt32(StageId);
|
||
|
}
|
||
|
if (CurFinishChallenge != 0) {
|
||
|
output.WriteRawTag(24);
|
||
|
output.WriteUInt32(CurFinishChallenge);
|
||
|
}
|
||
|
if (dropData_ != null) {
|
||
|
output.WriteRawTag(34);
|
||
|
output.WriteMessage(DropData);
|
||
|
}
|
||
|
if (AvatarExpReward != 0) {
|
||
|
output.WriteRawTag(40);
|
||
|
output.WriteUInt32(AvatarExpReward);
|
||
|
}
|
||
|
if (BinVer.Length != 0) {
|
||
|
output.WriteRawTag(50);
|
||
|
output.WriteString(BinVer);
|
||
|
}
|
||
|
if (ResVer.Length != 0) {
|
||
|
output.WriteRawTag(58);
|
||
|
output.WriteString(ResVer);
|
||
|
}
|
||
|
if (BattleId != 0) {
|
||
|
output.WriteRawTag(64);
|
||
|
output.WriteUInt32(BattleId);
|
||
|
}
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
output.WriteRawTag(72);
|
||
|
output.WriteEnum((int) EndStatus);
|
||
|
}
|
||
|
if (extraDropData_ != null) {
|
||
|
output.WriteRawTag(82);
|
||
|
output.WriteMessage(ExtraDropData);
|
||
|
}
|
||
|
if (CheckIdentical != false) {
|
||
|
output.WriteRawTag(88);
|
||
|
output.WriteBool(CheckIdentical);
|
||
|
}
|
||
|
if (EventId != 0) {
|
||
|
output.WriteRawTag(96);
|
||
|
output.WriteUInt32(EventId);
|
||
|
}
|
||
|
if (MismatchTurnCount != 0) {
|
||
|
output.WriteRawTag(104);
|
||
|
output.WriteUInt32(MismatchTurnCount);
|
||
|
}
|
||
|
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 (StageId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
|
||
|
}
|
||
|
if (CurFinishChallenge != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurFinishChallenge);
|
||
|
}
|
||
|
if (dropData_ != null) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DropData);
|
||
|
}
|
||
|
if (AvatarExpReward != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarExpReward);
|
||
|
}
|
||
|
if (BinVer.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(BinVer);
|
||
|
}
|
||
|
if (ResVer.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ResVer);
|
||
|
}
|
||
|
if (BattleId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleId);
|
||
|
}
|
||
|
if (EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EndStatus);
|
||
|
}
|
||
|
if (extraDropData_ != null) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExtraDropData);
|
||
|
}
|
||
|
if (CheckIdentical != false) {
|
||
|
size += 1 + 1;
|
||
|
}
|
||
|
if (EventId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventId);
|
||
|
}
|
||
|
if (MismatchTurnCount != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MismatchTurnCount);
|
||
|
}
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(PVEBattleResultScRsp other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.Retcode != 0) {
|
||
|
Retcode = other.Retcode;
|
||
|
}
|
||
|
if (other.StageId != 0) {
|
||
|
StageId = other.StageId;
|
||
|
}
|
||
|
if (other.CurFinishChallenge != 0) {
|
||
|
CurFinishChallenge = other.CurFinishChallenge;
|
||
|
}
|
||
|
if (other.dropData_ != null) {
|
||
|
if (dropData_ == null) {
|
||
|
DropData = new global::RPG.Network.Proto.ItemList();
|
||
|
}
|
||
|
DropData.MergeFrom(other.DropData);
|
||
|
}
|
||
|
if (other.AvatarExpReward != 0) {
|
||
|
AvatarExpReward = other.AvatarExpReward;
|
||
|
}
|
||
|
if (other.BinVer.Length != 0) {
|
||
|
BinVer = other.BinVer;
|
||
|
}
|
||
|
if (other.ResVer.Length != 0) {
|
||
|
ResVer = other.ResVer;
|
||
|
}
|
||
|
if (other.BattleId != 0) {
|
||
|
BattleId = other.BattleId;
|
||
|
}
|
||
|
if (other.EndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
EndStatus = other.EndStatus;
|
||
|
}
|
||
|
if (other.extraDropData_ != null) {
|
||
|
if (extraDropData_ == null) {
|
||
|
ExtraDropData = new global::RPG.Network.Proto.ItemList();
|
||
|
}
|
||
|
ExtraDropData.MergeFrom(other.ExtraDropData);
|
||
|
}
|
||
|
if (other.CheckIdentical != false) {
|
||
|
CheckIdentical = other.CheckIdentical;
|
||
|
}
|
||
|
if (other.EventId != 0) {
|
||
|
EventId = other.EventId;
|
||
|
}
|
||
|
if (other.MismatchTurnCount != 0) {
|
||
|
MismatchTurnCount = other.MismatchTurnCount;
|
||
|
}
|
||
|
_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: {
|
||
|
StageId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 24: {
|
||
|
CurFinishChallenge = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
if (dropData_ == null) {
|
||
|
DropData = new global::RPG.Network.Proto.ItemList();
|
||
|
}
|
||
|
input.ReadMessage(DropData);
|
||
|
break;
|
||
|
}
|
||
|
case 40: {
|
||
|
AvatarExpReward = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 50: {
|
||
|
BinVer = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 58: {
|
||
|
ResVer = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
BattleId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 72: {
|
||
|
EndStatus = (global::RPG.Network.Proto.BattleEndStatus) input.ReadEnum();
|
||
|
break;
|
||
|
}
|
||
|
case 82: {
|
||
|
if (extraDropData_ == null) {
|
||
|
ExtraDropData = new global::RPG.Network.Proto.ItemList();
|
||
|
}
|
||
|
input.ReadMessage(ExtraDropData);
|
||
|
break;
|
||
|
}
|
||
|
case 88: {
|
||
|
CheckIdentical = input.ReadBool();
|
||
|
break;
|
||
|
}
|
||
|
case 96: {
|
||
|
EventId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 104: {
|
||
|
MismatchTurnCount = 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: {
|
||
|
StageId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 24: {
|
||
|
CurFinishChallenge = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
if (dropData_ == null) {
|
||
|
DropData = new global::RPG.Network.Proto.ItemList();
|
||
|
}
|
||
|
input.ReadMessage(DropData);
|
||
|
break;
|
||
|
}
|
||
|
case 40: {
|
||
|
AvatarExpReward = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 50: {
|
||
|
BinVer = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 58: {
|
||
|
ResVer = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
BattleId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 72: {
|
||
|
EndStatus = (global::RPG.Network.Proto.BattleEndStatus) input.ReadEnum();
|
||
|
break;
|
||
|
}
|
||
|
case 82: {
|
||
|
if (extraDropData_ == null) {
|
||
|
ExtraDropData = new global::RPG.Network.Proto.ItemList();
|
||
|
}
|
||
|
input.ReadMessage(ExtraDropData);
|
||
|
break;
|
||
|
}
|
||
|
case 88: {
|
||
|
CheckIdentical = input.ReadBool();
|
||
|
break;
|
||
|
}
|
||
|
case 96: {
|
||
|
EventId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 104: {
|
||
|
MismatchTurnCount = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class QuitBattleCsReq : pb::IMessage<QuitBattleCsReq>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<QuitBattleCsReq> _parser = new pb::MessageParser<QuitBattleCsReq>(() => new QuitBattleCsReq());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<QuitBattleCsReq> 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.CsBattleReflection.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 QuitBattleCsReq() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public QuitBattleCsReq(QuitBattleCsReq other) : this() {
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public QuitBattleCsReq Clone() {
|
||
|
return new QuitBattleCsReq(this);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as QuitBattleCsReq);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(QuitBattleCsReq 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(QuitBattleCsReq 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 QuitBattleScRsp : pb::IMessage<QuitBattleScRsp>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<QuitBattleScRsp> _parser = new pb::MessageParser<QuitBattleScRsp>(() => new QuitBattleScRsp());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<QuitBattleScRsp> 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.CsBattleReflection.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 QuitBattleScRsp() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public QuitBattleScRsp(QuitBattleScRsp other) : this() {
|
||
|
retcode_ = other.retcode_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public QuitBattleScRsp Clone() {
|
||
|
return new QuitBattleScRsp(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 QuitBattleScRsp);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(QuitBattleScRsp 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(QuitBattleScRsp 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 GetCurBattleInfoCsReq : pb::IMessage<GetCurBattleInfoCsReq>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<GetCurBattleInfoCsReq> _parser = new pb::MessageParser<GetCurBattleInfoCsReq>(() => new GetCurBattleInfoCsReq());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<GetCurBattleInfoCsReq> 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.CsBattleReflection.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 GetCurBattleInfoCsReq() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public GetCurBattleInfoCsReq(GetCurBattleInfoCsReq other) : this() {
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public GetCurBattleInfoCsReq Clone() {
|
||
|
return new GetCurBattleInfoCsReq(this);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as GetCurBattleInfoCsReq);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(GetCurBattleInfoCsReq 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(GetCurBattleInfoCsReq 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 GetCurBattleInfoScRsp : pb::IMessage<GetCurBattleInfoScRsp>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<GetCurBattleInfoScRsp> _parser = new pb::MessageParser<GetCurBattleInfoScRsp>(() => new GetCurBattleInfoScRsp());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<GetCurBattleInfoScRsp> 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.CsBattleReflection.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 GetCurBattleInfoScRsp() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public GetCurBattleInfoScRsp(GetCurBattleInfoScRsp other) : this() {
|
||
|
retcode_ = other.retcode_;
|
||
|
stageId_ = other.stageId_;
|
||
|
logicRandomSeed_ = other.logicRandomSeed_;
|
||
|
avatarList_ = other.avatarList_.Clone();
|
||
|
battleInfo_ = other.battleInfo_ != null ? other.battleInfo_.Clone() : null;
|
||
|
lastEndStatus_ = other.lastEndStatus_;
|
||
|
lastEventId_ = other.lastEventId_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public GetCurBattleInfoScRsp Clone() {
|
||
|
return new GetCurBattleInfoScRsp(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 "stage_id" field.</summary>
|
||
|
public const int StageIdFieldNumber = 2;
|
||
|
private uint stageId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint StageId {
|
||
|
get { return stageId_; }
|
||
|
set {
|
||
|
stageId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "logic_random_seed" field.</summary>
|
||
|
public const int LogicRandomSeedFieldNumber = 3;
|
||
|
private uint logicRandomSeed_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint LogicRandomSeed {
|
||
|
get { return logicRandomSeed_; }
|
||
|
set {
|
||
|
logicRandomSeed_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "avatar_list" field.</summary>
|
||
|
public const int AvatarListFieldNumber = 4;
|
||
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.BattleAvatar> _repeated_avatarList_codec
|
||
|
= pb::FieldCodec.ForMessage(34, global::RPG.Network.Proto.BattleAvatar.Parser);
|
||
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.BattleAvatar> avatarList_ = new pbc::RepeatedField<global::RPG.Network.Proto.BattleAvatar>();
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public pbc::RepeatedField<global::RPG.Network.Proto.BattleAvatar> AvatarList {
|
||
|
get { return avatarList_; }
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "battle_info" field.</summary>
|
||
|
public const int BattleInfoFieldNumber = 5;
|
||
|
private global::RPG.Network.Proto.SceneBattleInfo battleInfo_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.SceneBattleInfo BattleInfo {
|
||
|
get { return battleInfo_; }
|
||
|
set {
|
||
|
battleInfo_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "last_end_status" field.</summary>
|
||
|
public const int LastEndStatusFieldNumber = 6;
|
||
|
private global::RPG.Network.Proto.BattleEndStatus lastEndStatus_ = global::RPG.Network.Proto.BattleEndStatus.BattleEndNone;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::RPG.Network.Proto.BattleEndStatus LastEndStatus {
|
||
|
get { return lastEndStatus_; }
|
||
|
set {
|
||
|
lastEndStatus_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "last_event_id" field.</summary>
|
||
|
public const int LastEventIdFieldNumber = 7;
|
||
|
private uint lastEventId_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint LastEventId {
|
||
|
get { return lastEventId_; }
|
||
|
set {
|
||
|
lastEventId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as GetCurBattleInfoScRsp);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(GetCurBattleInfoScRsp other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (Retcode != other.Retcode) return false;
|
||
|
if (StageId != other.StageId) return false;
|
||
|
if (LogicRandomSeed != other.LogicRandomSeed) return false;
|
||
|
if(!avatarList_.Equals(other.avatarList_)) return false;
|
||
|
if (!object.Equals(BattleInfo, other.BattleInfo)) return false;
|
||
|
if (LastEndStatus != other.LastEndStatus) return false;
|
||
|
if (LastEventId != other.LastEventId) 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 (StageId != 0) hash ^= StageId.GetHashCode();
|
||
|
if (LogicRandomSeed != 0) hash ^= LogicRandomSeed.GetHashCode();
|
||
|
hash ^= avatarList_.GetHashCode();
|
||
|
if (battleInfo_ != null) hash ^= BattleInfo.GetHashCode();
|
||
|
if (LastEndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) hash ^= LastEndStatus.GetHashCode();
|
||
|
if (LastEventId != 0) hash ^= LastEventId.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 (StageId != 0) {
|
||
|
output.WriteRawTag(16);
|
||
|
output.WriteUInt32(StageId);
|
||
|
}
|
||
|
if (LogicRandomSeed != 0) {
|
||
|
output.WriteRawTag(24);
|
||
|
output.WriteUInt32(LogicRandomSeed);
|
||
|
}
|
||
|
avatarList_.WriteTo(output, _repeated_avatarList_codec);
|
||
|
if (battleInfo_ != null) {
|
||
|
output.WriteRawTag(42);
|
||
|
output.WriteMessage(BattleInfo);
|
||
|
}
|
||
|
if (LastEndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
output.WriteRawTag(48);
|
||
|
output.WriteEnum((int) LastEndStatus);
|
||
|
}
|
||
|
if (LastEventId != 0) {
|
||
|
output.WriteRawTag(56);
|
||
|
output.WriteUInt32(LastEventId);
|
||
|
}
|
||
|
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 (StageId != 0) {
|
||
|
output.WriteRawTag(16);
|
||
|
output.WriteUInt32(StageId);
|
||
|
}
|
||
|
if (LogicRandomSeed != 0) {
|
||
|
output.WriteRawTag(24);
|
||
|
output.WriteUInt32(LogicRandomSeed);
|
||
|
}
|
||
|
avatarList_.WriteTo(ref output, _repeated_avatarList_codec);
|
||
|
if (battleInfo_ != null) {
|
||
|
output.WriteRawTag(42);
|
||
|
output.WriteMessage(BattleInfo);
|
||
|
}
|
||
|
if (LastEndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
output.WriteRawTag(48);
|
||
|
output.WriteEnum((int) LastEndStatus);
|
||
|
}
|
||
|
if (LastEventId != 0) {
|
||
|
output.WriteRawTag(56);
|
||
|
output.WriteUInt32(LastEventId);
|
||
|
}
|
||
|
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 (StageId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
|
||
|
}
|
||
|
if (LogicRandomSeed != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogicRandomSeed);
|
||
|
}
|
||
|
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
|
||
|
if (battleInfo_ != null) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleInfo);
|
||
|
}
|
||
|
if (LastEndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LastEndStatus);
|
||
|
}
|
||
|
if (LastEventId != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LastEventId);
|
||
|
}
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(GetCurBattleInfoScRsp other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.Retcode != 0) {
|
||
|
Retcode = other.Retcode;
|
||
|
}
|
||
|
if (other.StageId != 0) {
|
||
|
StageId = other.StageId;
|
||
|
}
|
||
|
if (other.LogicRandomSeed != 0) {
|
||
|
LogicRandomSeed = other.LogicRandomSeed;
|
||
|
}
|
||
|
avatarList_.Add(other.avatarList_);
|
||
|
if (other.battleInfo_ != null) {
|
||
|
if (battleInfo_ == null) {
|
||
|
BattleInfo = new global::RPG.Network.Proto.SceneBattleInfo();
|
||
|
}
|
||
|
BattleInfo.MergeFrom(other.BattleInfo);
|
||
|
}
|
||
|
if (other.LastEndStatus != global::RPG.Network.Proto.BattleEndStatus.BattleEndNone) {
|
||
|
LastEndStatus = other.LastEndStatus;
|
||
|
}
|
||
|
if (other.LastEventId != 0) {
|
||
|
LastEventId = other.LastEventId;
|
||
|
}
|
||
|
_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: {
|
||
|
StageId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 24: {
|
||
|
LogicRandomSeed = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec);
|
||
|
break;
|
||
|
}
|
||
|
case 42: {
|
||
|
if (battleInfo_ == null) {
|
||
|
BattleInfo = new global::RPG.Network.Proto.SceneBattleInfo();
|
||
|
}
|
||
|
input.ReadMessage(BattleInfo);
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
LastEndStatus = (global::RPG.Network.Proto.BattleEndStatus) input.ReadEnum();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
LastEventId = 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: {
|
||
|
StageId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 24: {
|
||
|
LogicRandomSeed = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
|
||
|
break;
|
||
|
}
|
||
|
case 42: {
|
||
|
if (battleInfo_ == null) {
|
||
|
BattleInfo = new global::RPG.Network.Proto.SceneBattleInfo();
|
||
|
}
|
||
|
input.ReadMessage(BattleInfo);
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
LastEndStatus = (global::RPG.Network.Proto.BattleEndStatus) input.ReadEnum();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
LastEventId = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class SyncClientResVersionCsReq : pb::IMessage<SyncClientResVersionCsReq>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<SyncClientResVersionCsReq> _parser = new pb::MessageParser<SyncClientResVersionCsReq>(() => new SyncClientResVersionCsReq());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<SyncClientResVersionCsReq> 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.CsBattleReflection.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 SyncClientResVersionCsReq() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public SyncClientResVersionCsReq(SyncClientResVersionCsReq other) : this() {
|
||
|
resVersion_ = other.resVersion_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public SyncClientResVersionCsReq Clone() {
|
||
|
return new SyncClientResVersionCsReq(this);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "res_version" field.</summary>
|
||
|
public const int ResVersionFieldNumber = 1;
|
||
|
private uint resVersion_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint ResVersion {
|
||
|
get { return resVersion_; }
|
||
|
set {
|
||
|
resVersion_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as SyncClientResVersionCsReq);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(SyncClientResVersionCsReq other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (ResVersion != other.ResVersion) 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 (ResVersion != 0) hash ^= ResVersion.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 (ResVersion != 0) {
|
||
|
output.WriteRawTag(8);
|
||
|
output.WriteUInt32(ResVersion);
|
||
|
}
|
||
|
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 (ResVersion != 0) {
|
||
|
output.WriteRawTag(8);
|
||
|
output.WriteUInt32(ResVersion);
|
||
|
}
|
||
|
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 (ResVersion != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ResVersion);
|
||
|
}
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(SyncClientResVersionCsReq other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.ResVersion != 0) {
|
||
|
ResVersion = other.ResVersion;
|
||
|
}
|
||
|
_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: {
|
||
|
ResVersion = 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: {
|
||
|
ResVersion = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class SyncClientResVersionScRsp : pb::IMessage<SyncClientResVersionScRsp>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<SyncClientResVersionScRsp> _parser = new pb::MessageParser<SyncClientResVersionScRsp>(() => new SyncClientResVersionScRsp());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<SyncClientResVersionScRsp> 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.CsBattleReflection.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 SyncClientResVersionScRsp() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public SyncClientResVersionScRsp(SyncClientResVersionScRsp other) : this() {
|
||
|
retcode_ = other.retcode_;
|
||
|
resVersion_ = other.resVersion_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public SyncClientResVersionScRsp Clone() {
|
||
|
return new SyncClientResVersionScRsp(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 "res_version" field.</summary>
|
||
|
public const int ResVersionFieldNumber = 2;
|
||
|
private uint resVersion_;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public uint ResVersion {
|
||
|
get { return resVersion_; }
|
||
|
set {
|
||
|
resVersion_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as SyncClientResVersionScRsp);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(SyncClientResVersionScRsp other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (Retcode != other.Retcode) return false;
|
||
|
if (ResVersion != other.ResVersion) 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 (ResVersion != 0) hash ^= ResVersion.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 (ResVersion != 0) {
|
||
|
output.WriteRawTag(16);
|
||
|
output.WriteUInt32(ResVersion);
|
||
|
}
|
||
|
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 (ResVersion != 0) {
|
||
|
output.WriteRawTag(16);
|
||
|
output.WriteUInt32(ResVersion);
|
||
|
}
|
||
|
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 (ResVersion != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ResVersion);
|
||
|
}
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(SyncClientResVersionScRsp other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.Retcode != 0) {
|
||
|
Retcode = other.Retcode;
|
||
|
}
|
||
|
if (other.ResVersion != 0) {
|
||
|
ResVersion = other.ResVersion;
|
||
|
}
|
||
|
_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: {
|
||
|
ResVersion = 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: {
|
||
|
ResVersion = input.ReadUInt32();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class QuitBattleScNotify : pb::IMessage<QuitBattleScNotify>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<QuitBattleScNotify> _parser = new pb::MessageParser<QuitBattleScNotify>(() => new QuitBattleScNotify());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<QuitBattleScNotify> 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.CsBattleReflection.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 QuitBattleScNotify() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public QuitBattleScNotify(QuitBattleScNotify other) : this() {
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public QuitBattleScNotify Clone() {
|
||
|
return new QuitBattleScNotify(this);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as QuitBattleScNotify);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(QuitBattleScNotify 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(QuitBattleScNotify 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
|
||
|
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
}
|
||
|
|
||
|
#endregion Designer generated code
|