KafkaSR/RPG.Network.Proto/CsCommon.cs
2024-01-30 02:49:21 +03:00

1996 lines
72 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.common.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.common.proto</summary>
public static partial class CsCommonReflection {
#region Descriptor
/// <summary>File descriptor for cs.common.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsCommonReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg9jcy5jb21tb24ucHJvdG8SBXByb3RvGhNjb21tb24uZGVmaW5lLnByb3Rv",
"GhVjb21tb24uZ2FtZWNvcmUucHJvdG8ilgEKBEl0ZW0SFwoHaXRlbV9pZBgB",
"IAEoDVIGaXRlbUlkEhAKA251bRgCIAEoDVIDbnVtEhQKBWxldmVsGAMgASgN",
"UgVsZXZlbBISCgRyYW5rGAQgASgNUgRyYW5rEhwKCXByb21vdGlvbhgFIAEo",
"DVIJcHJvbW90aW9uEhsKCXVuaXF1ZV9pZBgGIAEoDVIIdW5pcXVlSWQiNAoI",
"SXRlbUxpc3QSKAoJaXRlbV9saXN0GAEgAygLMgsucHJvdG8uSXRlbVIIaXRl",
"bUxpc3QiPgoIUGlsZUl0ZW0SFwoHaXRlbV9pZBgBIAEoDVIGaXRlbUlkEhkK",
"CGl0ZW1fbnVtGAIgASgNUgdpdGVtTnVtIp4BCghJdGVtQ29zdBIuCglwaWxl",
"X2l0ZW0YASABKAsyDy5wcm90by5QaWxlSXRlbUgAUghwaWxlSXRlbRIwChNl",
"cXVpcG1lbnRfdW5pcXVlX2lkGAIgASgNSABSEWVxdWlwbWVudFVuaXF1ZUlk",
"EigKD3JlbGljX3VuaXF1ZV9pZBgDIAEoDUgAUg1yZWxpY1VuaXF1ZUlkQgYK",
"BEl0ZW0iPAoMSXRlbUNvc3REYXRhEiwKCWl0ZW1fbGlzdBgBIAMoCzIPLnBy",
"b3RvLkl0ZW1Db3N0UghpdGVtTGlzdCJoChBTY2VuZU1vbnN0ZXJXYXZlEiYK",
"D21vbnN0ZXJfaWRfbGlzdBgBIAMoDVINbW9uc3RlcklkTGlzdBIsCglkcm9w",
"X2xpc3QYAiADKAsyDy5wcm90by5JdGVtTGlzdFIIZHJvcExpc3QihwMKD1Nj",
"ZW5lQmF0dGxlSW5mbxIqChFsb2dpY19yYW5kb21fc2VlZBgBIAEoDVIPbG9n",
"aWNSYW5kb21TZWVkEhkKCHN0YWdlX2lkGAIgASgNUgdzdGFnZUlkEkMKEW1v",
"bnN0ZXJfd2F2ZV9saXN0GAMgAygLMhcucHJvdG8uU2NlbmVNb25zdGVyV2F2",
"ZVIPbW9uc3RlcldhdmVMaXN0EkEKEmJhdHRsZV9hdmF0YXJfbGlzdBgEIAMo",
"CzITLnByb3RvLkJhdHRsZUF2YXRhclIQYmF0dGxlQXZhdGFyTGlzdBIuCgli",
"dWZmX2xpc3QYBSADKAsyES5wcm90by5CYXR0bGVCdWZmUghidWZmTGlzdBIb",
"CgliYXR0bGVfaWQYBiABKA1SCGJhdHRsZUlkEjUKDmhlcm9fcGF0aF9saXN0",
"GAcgAygLMg8ucHJvdG8uSGVyb1BhdGhSDGhlcm9QYXRoTGlzdBIhCgxyb3Vu",
"ZHNfbGltaXQYCCABKA1SC3JvdW5kc0xpbWl0Kl4KDU1pc3Npb25TdGF0dXMS",
"EAoMTUlTU0lPTl9OT05FEAASEQoNTUlTU0lPTl9ET0lORxABEhIKDk1JU1NJ",
"T05fRklOSVNIEAISFAoQTUlTU0lPTl9QUkVQQVJFRBADYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CommonDefineReflection.Descriptor, global::RPG.Network.Proto.CommonGamecoreReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.MissionStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.Item), global::RPG.Network.Proto.Item.Parser, new[]{ "ItemId", "Num", "Level", "Rank", "Promotion", "UniqueId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ItemList), global::RPG.Network.Proto.ItemList.Parser, new[]{ "ItemList_" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PileItem), global::RPG.Network.Proto.PileItem.Parser, new[]{ "ItemId", "ItemNum" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ItemCost), global::RPG.Network.Proto.ItemCost.Parser, new[]{ "PileItem", "EquipmentUniqueId", "RelicUniqueId" }, new[]{ "Item" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ItemCostData), global::RPG.Network.Proto.ItemCostData.Parser, new[]{ "ItemList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SceneMonsterWave), global::RPG.Network.Proto.SceneMonsterWave.Parser, new[]{ "MonsterIdList", "DropList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SceneBattleInfo), global::RPG.Network.Proto.SceneBattleInfo.Parser, new[]{ "LogicRandomSeed", "StageId", "MonsterWaveList", "BattleAvatarList", "BuffList", "BattleId", "HeroPathList", "RoundsLimit" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum MissionStatus {
[pbr::OriginalName("MISSION_NONE")] MissionNone = 0,
[pbr::OriginalName("MISSION_DOING")] MissionDoing = 1,
[pbr::OriginalName("MISSION_FINISH")] MissionFinish = 2,
[pbr::OriginalName("MISSION_PREPARED")] MissionPrepared = 3,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Item : pb::IMessage<Item>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Item> _parser = new pb::MessageParser<Item>(() => new Item());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Item> 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.CsCommonReflection.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 Item() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Item(Item other) : this() {
itemId_ = other.itemId_;
num_ = other.num_;
level_ = other.level_;
rank_ = other.rank_;
promotion_ = other.promotion_;
uniqueId_ = other.uniqueId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Item Clone() {
return new Item(this);
}
/// <summary>Field number for the "item_id" field.</summary>
public const int ItemIdFieldNumber = 1;
private uint itemId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ItemId {
get { return itemId_; }
set {
itemId_ = value;
}
}
/// <summary>Field number for the "num" field.</summary>
public const int NumFieldNumber = 2;
private uint num_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Num {
get { return num_; }
set {
num_ = value;
}
}
/// <summary>Field number for the "level" field.</summary>
public const int LevelFieldNumber = 3;
private uint level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Level {
get { return level_; }
set {
level_ = value;
}
}
/// <summary>Field number for the "rank" field.</summary>
public const int RankFieldNumber = 4;
private uint rank_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Rank {
get { return rank_; }
set {
rank_ = value;
}
}
/// <summary>Field number for the "promotion" field.</summary>
public const int PromotionFieldNumber = 5;
private uint promotion_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Promotion {
get { return promotion_; }
set {
promotion_ = value;
}
}
/// <summary>Field number for the "unique_id" field.</summary>
public const int UniqueIdFieldNumber = 6;
private uint uniqueId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint UniqueId {
get { return uniqueId_; }
set {
uniqueId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Item);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Item other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ItemId != other.ItemId) return false;
if (Num != other.Num) return false;
if (Level != other.Level) return false;
if (Rank != other.Rank) return false;
if (Promotion != other.Promotion) return false;
if (UniqueId != other.UniqueId) 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 (ItemId != 0) hash ^= ItemId.GetHashCode();
if (Num != 0) hash ^= Num.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Rank != 0) hash ^= Rank.GetHashCode();
if (Promotion != 0) hash ^= Promotion.GetHashCode();
if (UniqueId != 0) hash ^= UniqueId.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 (ItemId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ItemId);
}
if (Num != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Num);
}
if (Level != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Level);
}
if (Rank != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Rank);
}
if (Promotion != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Promotion);
}
if (UniqueId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(UniqueId);
}
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 (ItemId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ItemId);
}
if (Num != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Num);
}
if (Level != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Level);
}
if (Rank != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Rank);
}
if (Promotion != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Promotion);
}
if (UniqueId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(UniqueId);
}
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 (ItemId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId);
}
if (Num != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Num);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (Rank != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
}
if (Promotion != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
}
if (UniqueId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Item other) {
if (other == null) {
return;
}
if (other.ItemId != 0) {
ItemId = other.ItemId;
}
if (other.Num != 0) {
Num = other.Num;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Rank != 0) {
Rank = other.Rank;
}
if (other.Promotion != 0) {
Promotion = other.Promotion;
}
if (other.UniqueId != 0) {
UniqueId = other.UniqueId;
}
_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: {
ItemId = input.ReadUInt32();
break;
}
case 16: {
Num = input.ReadUInt32();
break;
}
case 24: {
Level = input.ReadUInt32();
break;
}
case 32: {
Rank = input.ReadUInt32();
break;
}
case 40: {
Promotion = input.ReadUInt32();
break;
}
case 48: {
UniqueId = 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: {
ItemId = input.ReadUInt32();
break;
}
case 16: {
Num = input.ReadUInt32();
break;
}
case 24: {
Level = input.ReadUInt32();
break;
}
case 32: {
Rank = input.ReadUInt32();
break;
}
case 40: {
Promotion = input.ReadUInt32();
break;
}
case 48: {
UniqueId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ItemList : pb::IMessage<ItemList>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ItemList> _parser = new pb::MessageParser<ItemList>(() => new ItemList());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ItemList> 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.CsCommonReflection.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 ItemList() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemList(ItemList other) : this() {
itemList_ = other.itemList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemList Clone() {
return new ItemList(this);
}
/// <summary>Field number for the "item_list" field.</summary>
public const int ItemList_FieldNumber = 1;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.Item> _repeated_itemList_codec
= pb::FieldCodec.ForMessage(10, global::RPG.Network.Proto.Item.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.Item> itemList_ = new pbc::RepeatedField<global::RPG.Network.Proto.Item>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.Item> ItemList_ {
get { return itemList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ItemList);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ItemList other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!itemList_.Equals(other.itemList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= itemList_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
itemList_.WriteTo(output, _repeated_itemList_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) {
itemList_.WriteTo(ref output, _repeated_itemList_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 += itemList_.CalculateSize(_repeated_itemList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ItemList other) {
if (other == null) {
return;
}
itemList_.Add(other.itemList_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
itemList_.AddEntriesFrom(input, _repeated_itemList_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: {
itemList_.AddEntriesFrom(ref input, _repeated_itemList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PileItem : pb::IMessage<PileItem>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PileItem> _parser = new pb::MessageParser<PileItem>(() => new PileItem());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PileItem> 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.CsCommonReflection.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 PileItem() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PileItem(PileItem other) : this() {
itemId_ = other.itemId_;
itemNum_ = other.itemNum_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PileItem Clone() {
return new PileItem(this);
}
/// <summary>Field number for the "item_id" field.</summary>
public const int ItemIdFieldNumber = 1;
private uint itemId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ItemId {
get { return itemId_; }
set {
itemId_ = value;
}
}
/// <summary>Field number for the "item_num" field.</summary>
public const int ItemNumFieldNumber = 2;
private uint itemNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ItemNum {
get { return itemNum_; }
set {
itemNum_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PileItem);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PileItem other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ItemId != other.ItemId) return false;
if (ItemNum != other.ItemNum) 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 (ItemId != 0) hash ^= ItemId.GetHashCode();
if (ItemNum != 0) hash ^= ItemNum.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 (ItemId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ItemId);
}
if (ItemNum != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ItemNum);
}
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 (ItemId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ItemId);
}
if (ItemNum != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ItemNum);
}
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 (ItemId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId);
}
if (ItemNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemNum);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PileItem other) {
if (other == null) {
return;
}
if (other.ItemId != 0) {
ItemId = other.ItemId;
}
if (other.ItemNum != 0) {
ItemNum = other.ItemNum;
}
_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: {
ItemId = input.ReadUInt32();
break;
}
case 16: {
ItemNum = 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: {
ItemId = input.ReadUInt32();
break;
}
case 16: {
ItemNum = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ItemCost : pb::IMessage<ItemCost>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ItemCost> _parser = new pb::MessageParser<ItemCost>(() => new ItemCost());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ItemCost> 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.CsCommonReflection.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 ItemCost() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemCost(ItemCost other) : this() {
switch (other.ItemCase) {
case ItemOneofCase.PileItem:
PileItem = other.PileItem.Clone();
break;
case ItemOneofCase.EquipmentUniqueId:
EquipmentUniqueId = other.EquipmentUniqueId;
break;
case ItemOneofCase.RelicUniqueId:
RelicUniqueId = other.RelicUniqueId;
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemCost Clone() {
return new ItemCost(this);
}
/// <summary>Field number for the "pile_item" field.</summary>
public const int PileItemFieldNumber = 1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.PileItem PileItem {
get { return itemCase_ == ItemOneofCase.PileItem ? (global::RPG.Network.Proto.PileItem) item_ : null; }
set {
item_ = value;
itemCase_ = value == null ? ItemOneofCase.None : ItemOneofCase.PileItem;
}
}
/// <summary>Field number for the "equipment_unique_id" field.</summary>
public const int EquipmentUniqueIdFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EquipmentUniqueId {
get { return HasEquipmentUniqueId ? (uint) item_ : 0; }
set {
item_ = value;
itemCase_ = ItemOneofCase.EquipmentUniqueId;
}
}
/// <summary>Gets whether the "equipment_unique_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasEquipmentUniqueId {
get { return itemCase_ == ItemOneofCase.EquipmentUniqueId; }
}
/// <summary> Clears the value of the oneof if it's currently set to "equipment_unique_id" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearEquipmentUniqueId() {
if (HasEquipmentUniqueId) {
ClearItem();
}
}
/// <summary>Field number for the "relic_unique_id" field.</summary>
public const int RelicUniqueIdFieldNumber = 3;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RelicUniqueId {
get { return HasRelicUniqueId ? (uint) item_ : 0; }
set {
item_ = value;
itemCase_ = ItemOneofCase.RelicUniqueId;
}
}
/// <summary>Gets whether the "relic_unique_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasRelicUniqueId {
get { return itemCase_ == ItemOneofCase.RelicUniqueId; }
}
/// <summary> Clears the value of the oneof if it's currently set to "relic_unique_id" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearRelicUniqueId() {
if (HasRelicUniqueId) {
ClearItem();
}
}
private object item_;
/// <summary>Enum of possible cases for the "Item" oneof.</summary>
public enum ItemOneofCase {
None = 0,
PileItem = 1,
EquipmentUniqueId = 2,
RelicUniqueId = 3,
}
private ItemOneofCase itemCase_ = ItemOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemOneofCase ItemCase {
get { return itemCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearItem() {
itemCase_ = ItemOneofCase.None;
item_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ItemCost);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ItemCost other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(PileItem, other.PileItem)) return false;
if (EquipmentUniqueId != other.EquipmentUniqueId) return false;
if (RelicUniqueId != other.RelicUniqueId) return false;
if (ItemCase != other.ItemCase) 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 (itemCase_ == ItemOneofCase.PileItem) hash ^= PileItem.GetHashCode();
if (HasEquipmentUniqueId) hash ^= EquipmentUniqueId.GetHashCode();
if (HasRelicUniqueId) hash ^= RelicUniqueId.GetHashCode();
hash ^= (int) itemCase_;
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 (itemCase_ == ItemOneofCase.PileItem) {
output.WriteRawTag(10);
output.WriteMessage(PileItem);
}
if (HasEquipmentUniqueId) {
output.WriteRawTag(16);
output.WriteUInt32(EquipmentUniqueId);
}
if (HasRelicUniqueId) {
output.WriteRawTag(24);
output.WriteUInt32(RelicUniqueId);
}
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 (itemCase_ == ItemOneofCase.PileItem) {
output.WriteRawTag(10);
output.WriteMessage(PileItem);
}
if (HasEquipmentUniqueId) {
output.WriteRawTag(16);
output.WriteUInt32(EquipmentUniqueId);
}
if (HasRelicUniqueId) {
output.WriteRawTag(24);
output.WriteUInt32(RelicUniqueId);
}
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 (itemCase_ == ItemOneofCase.PileItem) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PileItem);
}
if (HasEquipmentUniqueId) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EquipmentUniqueId);
}
if (HasRelicUniqueId) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RelicUniqueId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ItemCost other) {
if (other == null) {
return;
}
switch (other.ItemCase) {
case ItemOneofCase.PileItem:
if (PileItem == null) {
PileItem = new global::RPG.Network.Proto.PileItem();
}
PileItem.MergeFrom(other.PileItem);
break;
case ItemOneofCase.EquipmentUniqueId:
EquipmentUniqueId = other.EquipmentUniqueId;
break;
case ItemOneofCase.RelicUniqueId:
RelicUniqueId = other.RelicUniqueId;
break;
}
_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: {
global::RPG.Network.Proto.PileItem subBuilder = new global::RPG.Network.Proto.PileItem();
if (itemCase_ == ItemOneofCase.PileItem) {
subBuilder.MergeFrom(PileItem);
}
input.ReadMessage(subBuilder);
PileItem = subBuilder;
break;
}
case 16: {
EquipmentUniqueId = input.ReadUInt32();
break;
}
case 24: {
RelicUniqueId = 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 10: {
global::RPG.Network.Proto.PileItem subBuilder = new global::RPG.Network.Proto.PileItem();
if (itemCase_ == ItemOneofCase.PileItem) {
subBuilder.MergeFrom(PileItem);
}
input.ReadMessage(subBuilder);
PileItem = subBuilder;
break;
}
case 16: {
EquipmentUniqueId = input.ReadUInt32();
break;
}
case 24: {
RelicUniqueId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ItemCostData : pb::IMessage<ItemCostData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ItemCostData> _parser = new pb::MessageParser<ItemCostData>(() => new ItemCostData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ItemCostData> 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.CsCommonReflection.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 ItemCostData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemCostData(ItemCostData other) : this() {
itemList_ = other.itemList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ItemCostData Clone() {
return new ItemCostData(this);
}
/// <summary>Field number for the "item_list" field.</summary>
public const int ItemListFieldNumber = 1;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.ItemCost> _repeated_itemList_codec
= pb::FieldCodec.ForMessage(10, global::RPG.Network.Proto.ItemCost.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.ItemCost> itemList_ = new pbc::RepeatedField<global::RPG.Network.Proto.ItemCost>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.ItemCost> ItemList {
get { return itemList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ItemCostData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ItemCostData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!itemList_.Equals(other.itemList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= itemList_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
itemList_.WriteTo(output, _repeated_itemList_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) {
itemList_.WriteTo(ref output, _repeated_itemList_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 += itemList_.CalculateSize(_repeated_itemList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ItemCostData other) {
if (other == null) {
return;
}
itemList_.Add(other.itemList_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
itemList_.AddEntriesFrom(input, _repeated_itemList_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: {
itemList_.AddEntriesFrom(ref input, _repeated_itemList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SceneMonsterWave : pb::IMessage<SceneMonsterWave>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SceneMonsterWave> _parser = new pb::MessageParser<SceneMonsterWave>(() => new SceneMonsterWave());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SceneMonsterWave> 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.CsCommonReflection.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 SceneMonsterWave() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneMonsterWave(SceneMonsterWave other) : this() {
monsterIdList_ = other.monsterIdList_.Clone();
dropList_ = other.dropList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneMonsterWave Clone() {
return new SceneMonsterWave(this);
}
/// <summary>Field number for the "monster_id_list" field.</summary>
public const int MonsterIdListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_monsterIdList_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> monsterIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> MonsterIdList {
get { return monsterIdList_; }
}
/// <summary>Field number for the "drop_list" field.</summary>
public const int DropListFieldNumber = 2;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.ItemList> _repeated_dropList_codec
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.ItemList.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.ItemList> dropList_ = new pbc::RepeatedField<global::RPG.Network.Proto.ItemList>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.ItemList> DropList {
get { return dropList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SceneMonsterWave);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SceneMonsterWave other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!monsterIdList_.Equals(other.monsterIdList_)) return false;
if(!dropList_.Equals(other.dropList_)) 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 ^= monsterIdList_.GetHashCode();
hash ^= dropList_.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
monsterIdList_.WriteTo(output, _repeated_monsterIdList_codec);
dropList_.WriteTo(output, _repeated_dropList_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) {
monsterIdList_.WriteTo(ref output, _repeated_monsterIdList_codec);
dropList_.WriteTo(ref output, _repeated_dropList_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 += monsterIdList_.CalculateSize(_repeated_monsterIdList_codec);
size += dropList_.CalculateSize(_repeated_dropList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SceneMonsterWave other) {
if (other == null) {
return;
}
monsterIdList_.Add(other.monsterIdList_);
dropList_.Add(other.dropList_);
_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: {
monsterIdList_.AddEntriesFrom(input, _repeated_monsterIdList_codec);
break;
}
case 18: {
dropList_.AddEntriesFrom(input, _repeated_dropList_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: {
monsterIdList_.AddEntriesFrom(ref input, _repeated_monsterIdList_codec);
break;
}
case 18: {
dropList_.AddEntriesFrom(ref input, _repeated_dropList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SceneBattleInfo : pb::IMessage<SceneBattleInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SceneBattleInfo> _parser = new pb::MessageParser<SceneBattleInfo>(() => new SceneBattleInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SceneBattleInfo> 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.CsCommonReflection.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 SceneBattleInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneBattleInfo(SceneBattleInfo other) : this() {
logicRandomSeed_ = other.logicRandomSeed_;
stageId_ = other.stageId_;
monsterWaveList_ = other.monsterWaveList_.Clone();
battleAvatarList_ = other.battleAvatarList_.Clone();
buffList_ = other.buffList_.Clone();
battleId_ = other.battleId_;
heroPathList_ = other.heroPathList_.Clone();
roundsLimit_ = other.roundsLimit_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneBattleInfo Clone() {
return new SceneBattleInfo(this);
}
/// <summary>Field number for the "logic_random_seed" field.</summary>
public const int LogicRandomSeedFieldNumber = 1;
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 = 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 "monster_wave_list" field.</summary>
public const int MonsterWaveListFieldNumber = 3;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.SceneMonsterWave> _repeated_monsterWaveList_codec
= pb::FieldCodec.ForMessage(26, global::RPG.Network.Proto.SceneMonsterWave.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.SceneMonsterWave> monsterWaveList_ = new pbc::RepeatedField<global::RPG.Network.Proto.SceneMonsterWave>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.SceneMonsterWave> MonsterWaveList {
get { return monsterWaveList_; }
}
/// <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_; }
}
/// <summary>Field number for the "buff_list" field.</summary>
public const int BuffListFieldNumber = 5;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.BattleBuff> _repeated_buffList_codec
= pb::FieldCodec.ForMessage(42, global::RPG.Network.Proto.BattleBuff.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.BattleBuff> buffList_ = new pbc::RepeatedField<global::RPG.Network.Proto.BattleBuff>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.BattleBuff> BuffList {
get { return buffList_; }
}
/// <summary>Field number for the "battle_id" field.</summary>
public const int BattleIdFieldNumber = 6;
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 "hero_path_list" field.</summary>
public const int HeroPathListFieldNumber = 7;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.HeroPath> _repeated_heroPathList_codec
= pb::FieldCodec.ForMessage(58, global::RPG.Network.Proto.HeroPath.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.HeroPath> heroPathList_ = new pbc::RepeatedField<global::RPG.Network.Proto.HeroPath>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.HeroPath> HeroPathList {
get { return heroPathList_; }
}
/// <summary>Field number for the "rounds_limit" field.</summary>
public const int RoundsLimitFieldNumber = 8;
private uint roundsLimit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RoundsLimit {
get { return roundsLimit_; }
set {
roundsLimit_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SceneBattleInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SceneBattleInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (LogicRandomSeed != other.LogicRandomSeed) return false;
if (StageId != other.StageId) return false;
if(!monsterWaveList_.Equals(other.monsterWaveList_)) return false;
if(!battleAvatarList_.Equals(other.battleAvatarList_)) return false;
if(!buffList_.Equals(other.buffList_)) return false;
if (BattleId != other.BattleId) return false;
if(!heroPathList_.Equals(other.heroPathList_)) return false;
if (RoundsLimit != other.RoundsLimit) 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 (LogicRandomSeed != 0) hash ^= LogicRandomSeed.GetHashCode();
if (StageId != 0) hash ^= StageId.GetHashCode();
hash ^= monsterWaveList_.GetHashCode();
hash ^= battleAvatarList_.GetHashCode();
hash ^= buffList_.GetHashCode();
if (BattleId != 0) hash ^= BattleId.GetHashCode();
hash ^= heroPathList_.GetHashCode();
if (RoundsLimit != 0) hash ^= RoundsLimit.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 (LogicRandomSeed != 0) {
output.WriteRawTag(8);
output.WriteUInt32(LogicRandomSeed);
}
if (StageId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(StageId);
}
monsterWaveList_.WriteTo(output, _repeated_monsterWaveList_codec);
battleAvatarList_.WriteTo(output, _repeated_battleAvatarList_codec);
buffList_.WriteTo(output, _repeated_buffList_codec);
if (BattleId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(BattleId);
}
heroPathList_.WriteTo(output, _repeated_heroPathList_codec);
if (RoundsLimit != 0) {
output.WriteRawTag(64);
output.WriteUInt32(RoundsLimit);
}
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 (LogicRandomSeed != 0) {
output.WriteRawTag(8);
output.WriteUInt32(LogicRandomSeed);
}
if (StageId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(StageId);
}
monsterWaveList_.WriteTo(ref output, _repeated_monsterWaveList_codec);
battleAvatarList_.WriteTo(ref output, _repeated_battleAvatarList_codec);
buffList_.WriteTo(ref output, _repeated_buffList_codec);
if (BattleId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(BattleId);
}
heroPathList_.WriteTo(ref output, _repeated_heroPathList_codec);
if (RoundsLimit != 0) {
output.WriteRawTag(64);
output.WriteUInt32(RoundsLimit);
}
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 (LogicRandomSeed != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogicRandomSeed);
}
if (StageId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
}
size += monsterWaveList_.CalculateSize(_repeated_monsterWaveList_codec);
size += battleAvatarList_.CalculateSize(_repeated_battleAvatarList_codec);
size += buffList_.CalculateSize(_repeated_buffList_codec);
if (BattleId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleId);
}
size += heroPathList_.CalculateSize(_repeated_heroPathList_codec);
if (RoundsLimit != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoundsLimit);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SceneBattleInfo other) {
if (other == null) {
return;
}
if (other.LogicRandomSeed != 0) {
LogicRandomSeed = other.LogicRandomSeed;
}
if (other.StageId != 0) {
StageId = other.StageId;
}
monsterWaveList_.Add(other.monsterWaveList_);
battleAvatarList_.Add(other.battleAvatarList_);
buffList_.Add(other.buffList_);
if (other.BattleId != 0) {
BattleId = other.BattleId;
}
heroPathList_.Add(other.heroPathList_);
if (other.RoundsLimit != 0) {
RoundsLimit = other.RoundsLimit;
}
_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: {
LogicRandomSeed = input.ReadUInt32();
break;
}
case 16: {
StageId = input.ReadUInt32();
break;
}
case 26: {
monsterWaveList_.AddEntriesFrom(input, _repeated_monsterWaveList_codec);
break;
}
case 34: {
battleAvatarList_.AddEntriesFrom(input, _repeated_battleAvatarList_codec);
break;
}
case 42: {
buffList_.AddEntriesFrom(input, _repeated_buffList_codec);
break;
}
case 48: {
BattleId = input.ReadUInt32();
break;
}
case 58: {
heroPathList_.AddEntriesFrom(input, _repeated_heroPathList_codec);
break;
}
case 64: {
RoundsLimit = 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: {
LogicRandomSeed = input.ReadUInt32();
break;
}
case 16: {
StageId = input.ReadUInt32();
break;
}
case 26: {
monsterWaveList_.AddEntriesFrom(ref input, _repeated_monsterWaveList_codec);
break;
}
case 34: {
battleAvatarList_.AddEntriesFrom(ref input, _repeated_battleAvatarList_codec);
break;
}
case 42: {
buffList_.AddEntriesFrom(ref input, _repeated_buffList_codec);
break;
}
case 48: {
BattleId = input.ReadUInt32();
break;
}
case 58: {
heroPathList_.AddEntriesFrom(ref input, _repeated_heroPathList_codec);
break;
}
case 64: {
RoundsLimit = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code