1288 lines
45 KiB
C#
1288 lines
45 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: cs.stage.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.stage.proto</summary>
|
|
public static partial class CsStageReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for cs.stage.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CsStageReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cg5jcy5zdGFnZS5wcm90bxIFcHJvdG8aFWNvbW1vbi5nYW1lY29yZS5wcm90",
|
|
"byJdCgVTdGFnZRIOCgJpZBgBIAEoDVICaWQSGwoJd2luX3RpbWVzGAIgASgN",
|
|
"Ugh3aW5UaW1lcxInCg9jaGFsbGVuZ2VfdmFsdWUYAyABKA1SDmNoYWxsZW5n",
|
|
"ZVZhbHVlIjcKEUdldFN0YWdlRGF0YUNzUmVxEiIKDXN0YWdlX2lkX2xpc3QY",
|
|
"ASADKA1SC3N0YWdlSWRMaXN0InEKEUdldFN0YWdlRGF0YVNjUnNwEhgKB3Jl",
|
|
"dGNvZGUYASABKA1SB3JldGNvZGUSKwoKc3RhZ2VfbGlzdBgCIAMoCzIMLnBy",
|
|
"b3RvLlN0YWdlUglzdGFnZUxpc3QSFQoGaXNfYWxsGAMgASgIUgVpc0FsbCJP",
|
|
"Cg9TdGFnZUJlZ2luQ3NSZXESGQoIc3RhZ2VfaWQYASABKA1SB3N0YWdlSWQS",
|
|
"IQoMbGluZXVwX2luZGV4GAIgASgNUgtsaW5ldXBJbmRleCK1AQoPU3RhZ2VC",
|
|
"ZWdpblNjUnNwEhgKB3JldGNvZGUYASABKA1SB3JldGNvZGUSKgoRbG9naWNf",
|
|
"cmFuZG9tX3NlZWQYAiABKA1SD2xvZ2ljUmFuZG9tU2VlZBIZCghzdGFnZV9p",
|
|
"ZBgDIAEoDVIHc3RhZ2VJZBJBChJiYXR0bGVfYXZhdGFyX2xpc3QYBCADKAsy",
|
|
"Ey5wcm90by5CYXR0bGVBdmF0YXJSEGJhdHRsZUF2YXRhckxpc3QqjAEKDENt",
|
|
"ZFN0YWdlVHlwZRIUChBDbWRTdGFnZVR5cGVOb25lEAASGQoUQ21kR2V0U3Rh",
|
|
"Z2VEYXRhQ3NSZXEQyQESGQoUQ21kR2V0U3RhZ2VEYXRhU2NSc3AQygESFwoS",
|
|
"Q21kU3RhZ2VCZWdpbkNzUmVxEMsBEhcKEkNtZFN0YWdlQmVnaW5TY1JzcBDM",
|
|
"AWIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CommonGamecoreReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdStageType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.Stage), global::RPG.Network.Proto.Stage.Parser, new[]{ "Id", "WinTimes", "ChallengeValue" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetStageDataCsReq), global::RPG.Network.Proto.GetStageDataCsReq.Parser, new[]{ "StageIdList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetStageDataScRsp), global::RPG.Network.Proto.GetStageDataScRsp.Parser, new[]{ "Retcode", "StageList", "IsAll" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.StageBeginCsReq), global::RPG.Network.Proto.StageBeginCsReq.Parser, new[]{ "StageId", "LineupIndex" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.StageBeginScRsp), global::RPG.Network.Proto.StageBeginScRsp.Parser, new[]{ "Retcode", "LogicRandomSeed", "StageId", "BattleAvatarList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Enums
|
|
public enum CmdStageType {
|
|
[pbr::OriginalName("CmdStageTypeNone")] None = 0,
|
|
[pbr::OriginalName("CmdGetStageDataCsReq")] CmdGetStageDataCsReq = 201,
|
|
[pbr::OriginalName("CmdGetStageDataScRsp")] CmdGetStageDataScRsp = 202,
|
|
[pbr::OriginalName("CmdStageBeginCsReq")] CmdStageBeginCsReq = 203,
|
|
[pbr::OriginalName("CmdStageBeginScRsp")] CmdStageBeginScRsp = 204,
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class Stage : pb::IMessage<Stage>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<Stage> _parser = new pb::MessageParser<Stage>(() => new Stage());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<Stage> 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.CsStageReflection.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 Stage() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Stage(Stage other) : this() {
|
|
id_ = other.id_;
|
|
winTimes_ = other.winTimes_;
|
|
challengeValue_ = other.challengeValue_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Stage Clone() {
|
|
return new Stage(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private uint id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "win_times" field.</summary>
|
|
public const int WinTimesFieldNumber = 2;
|
|
private uint winTimes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint WinTimes {
|
|
get { return winTimes_; }
|
|
set {
|
|
winTimes_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "challenge_value" field.</summary>
|
|
public const int ChallengeValueFieldNumber = 3;
|
|
private uint challengeValue_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ChallengeValue {
|
|
get { return challengeValue_; }
|
|
set {
|
|
challengeValue_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Stage);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(Stage other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (WinTimes != other.WinTimes) return false;
|
|
if (ChallengeValue != other.ChallengeValue) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (WinTimes != 0) hash ^= WinTimes.GetHashCode();
|
|
if (ChallengeValue != 0) hash ^= ChallengeValue.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (WinTimes != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(WinTimes);
|
|
}
|
|
if (ChallengeValue != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(ChallengeValue);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (WinTimes != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(WinTimes);
|
|
}
|
|
if (ChallengeValue != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(ChallengeValue);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (WinTimes != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WinTimes);
|
|
}
|
|
if (ChallengeValue != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeValue);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(Stage other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.WinTimes != 0) {
|
|
WinTimes = other.WinTimes;
|
|
}
|
|
if (other.ChallengeValue != 0) {
|
|
ChallengeValue = other.ChallengeValue;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
WinTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ChallengeValue = 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: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
WinTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ChallengeValue = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetStageDataCsReq : pb::IMessage<GetStageDataCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetStageDataCsReq> _parser = new pb::MessageParser<GetStageDataCsReq>(() => new GetStageDataCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetStageDataCsReq> 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.CsStageReflection.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 GetStageDataCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetStageDataCsReq(GetStageDataCsReq other) : this() {
|
|
stageIdList_ = other.stageIdList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetStageDataCsReq Clone() {
|
|
return new GetStageDataCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "stage_id_list" field.</summary>
|
|
public const int StageIdListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_stageIdList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> stageIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> StageIdList {
|
|
get { return stageIdList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetStageDataCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetStageDataCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!stageIdList_.Equals(other.stageIdList_)) 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;
|
|
hash ^= stageIdList_.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
|
|
stageIdList_.WriteTo(output, _repeated_stageIdList_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
stageIdList_.WriteTo(ref output, _repeated_stageIdList_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += stageIdList_.CalculateSize(_repeated_stageIdList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetStageDataCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
stageIdList_.Add(other.stageIdList_);
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10:
|
|
case 8: {
|
|
stageIdList_.AddEntriesFrom(input, _repeated_stageIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10:
|
|
case 8: {
|
|
stageIdList_.AddEntriesFrom(ref input, _repeated_stageIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetStageDataScRsp : pb::IMessage<GetStageDataScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetStageDataScRsp> _parser = new pb::MessageParser<GetStageDataScRsp>(() => new GetStageDataScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetStageDataScRsp> 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.CsStageReflection.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 GetStageDataScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetStageDataScRsp(GetStageDataScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
stageList_ = other.stageList_.Clone();
|
|
isAll_ = other.isAll_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetStageDataScRsp Clone() {
|
|
return new GetStageDataScRsp(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_list" field.</summary>
|
|
public const int StageListFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.Stage> _repeated_stageList_codec
|
|
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.Stage.Parser);
|
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.Stage> stageList_ = new pbc::RepeatedField<global::RPG.Network.Proto.Stage>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::RPG.Network.Proto.Stage> StageList {
|
|
get { return stageList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "is_all" field.</summary>
|
|
public const int IsAllFieldNumber = 3;
|
|
private bool isAll_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsAll {
|
|
get { return isAll_; }
|
|
set {
|
|
isAll_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetStageDataScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetStageDataScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!stageList_.Equals(other.stageList_)) return false;
|
|
if (IsAll != other.IsAll) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= stageList_.GetHashCode();
|
|
if (IsAll != false) hash ^= IsAll.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);
|
|
}
|
|
stageList_.WriteTo(output, _repeated_stageList_codec);
|
|
if (IsAll != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsAll);
|
|
}
|
|
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);
|
|
}
|
|
stageList_.WriteTo(ref output, _repeated_stageList_codec);
|
|
if (IsAll != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsAll);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += stageList_.CalculateSize(_repeated_stageList_codec);
|
|
if (IsAll != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetStageDataScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
stageList_.Add(other.stageList_);
|
|
if (other.IsAll != false) {
|
|
IsAll = other.IsAll;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
stageList_.AddEntriesFrom(input, _repeated_stageList_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsAll = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
stageList_.AddEntriesFrom(ref input, _repeated_stageList_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsAll = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StageBeginCsReq : pb::IMessage<StageBeginCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StageBeginCsReq> _parser = new pb::MessageParser<StageBeginCsReq>(() => new StageBeginCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StageBeginCsReq> 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.CsStageReflection.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 StageBeginCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StageBeginCsReq(StageBeginCsReq other) : this() {
|
|
stageId_ = other.stageId_;
|
|
lineupIndex_ = other.lineupIndex_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StageBeginCsReq Clone() {
|
|
return new StageBeginCsReq(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 "lineup_index" field.</summary>
|
|
public const int LineupIndexFieldNumber = 2;
|
|
private uint lineupIndex_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint LineupIndex {
|
|
get { return lineupIndex_; }
|
|
set {
|
|
lineupIndex_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StageBeginCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StageBeginCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (StageId != other.StageId) return false;
|
|
if (LineupIndex != other.LineupIndex) 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();
|
|
if (LineupIndex != 0) hash ^= LineupIndex.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);
|
|
}
|
|
if (LineupIndex != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LineupIndex);
|
|
}
|
|
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);
|
|
}
|
|
if (LineupIndex != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LineupIndex);
|
|
}
|
|
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);
|
|
}
|
|
if (LineupIndex != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LineupIndex);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StageBeginCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.StageId != 0) {
|
|
StageId = other.StageId;
|
|
}
|
|
if (other.LineupIndex != 0) {
|
|
LineupIndex = other.LineupIndex;
|
|
}
|
|
_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 16: {
|
|
LineupIndex = 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 16: {
|
|
LineupIndex = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StageBeginScRsp : pb::IMessage<StageBeginScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StageBeginScRsp> _parser = new pb::MessageParser<StageBeginScRsp>(() => new StageBeginScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StageBeginScRsp> 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.CsStageReflection.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 StageBeginScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StageBeginScRsp(StageBeginScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
logicRandomSeed_ = other.logicRandomSeed_;
|
|
stageId_ = other.stageId_;
|
|
battleAvatarList_ = other.battleAvatarList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StageBeginScRsp Clone() {
|
|
return new StageBeginScRsp(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 "logic_random_seed" field.</summary>
|
|
public const int LogicRandomSeedFieldNumber = 2;
|
|
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 "stage_id" field.</summary>
|
|
public const int StageIdFieldNumber = 3;
|
|
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 "battle_avatar_list" field.</summary>
|
|
public const int BattleAvatarListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.BattleAvatar> _repeated_battleAvatarList_codec
|
|
= pb::FieldCodec.ForMessage(34, global::RPG.Network.Proto.BattleAvatar.Parser);
|
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.BattleAvatar> battleAvatarList_ = 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> BattleAvatarList {
|
|
get { return battleAvatarList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StageBeginScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StageBeginScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if (LogicRandomSeed != other.LogicRandomSeed) return false;
|
|
if (StageId != other.StageId) return false;
|
|
if(!battleAvatarList_.Equals(other.battleAvatarList_)) 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 (LogicRandomSeed != 0) hash ^= LogicRandomSeed.GetHashCode();
|
|
if (StageId != 0) hash ^= StageId.GetHashCode();
|
|
hash ^= battleAvatarList_.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 (LogicRandomSeed != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LogicRandomSeed);
|
|
}
|
|
if (StageId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(StageId);
|
|
}
|
|
battleAvatarList_.WriteTo(output, _repeated_battleAvatarList_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (LogicRandomSeed != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LogicRandomSeed);
|
|
}
|
|
if (StageId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(StageId);
|
|
}
|
|
battleAvatarList_.WriteTo(ref output, _repeated_battleAvatarList_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (LogicRandomSeed != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogicRandomSeed);
|
|
}
|
|
if (StageId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
|
|
}
|
|
size += battleAvatarList_.CalculateSize(_repeated_battleAvatarList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StageBeginScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.LogicRandomSeed != 0) {
|
|
LogicRandomSeed = other.LogicRandomSeed;
|
|
}
|
|
if (other.StageId != 0) {
|
|
StageId = other.StageId;
|
|
}
|
|
battleAvatarList_.Add(other.battleAvatarList_);
|
|
_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: {
|
|
LogicRandomSeed = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
StageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
battleAvatarList_.AddEntriesFrom(input, _repeated_battleAvatarList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
LogicRandomSeed = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
StageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
battleAvatarList_.AddEntriesFrom(ref input, _repeated_battleAvatarList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|