mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
376 lines
13 KiB
C#
376 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: BattleRogueMagicUnit.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 EggLink.DanhengServer.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from BattleRogueMagicUnit.proto</summary>
|
|
public static partial class BattleRogueMagicUnitReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for BattleRogueMagicUnit.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static BattleRogueMagicUnitReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpCYXR0bGVSb2d1ZU1hZ2ljVW5pdC5wcm90byLYAQoUQmF0dGxlUm9ndWVN",
|
|
"YWdpY1VuaXQSFQoNbWFnaWNfdW5pdF9pZBgBIAEoDRINCgVsZXZlbBgCIAEo",
|
|
"DRITCgtQQUdNRklET0xQRBgDIAEoCBIUCgxkaWNlX3Nsb3RfaWQYBCABKA0S",
|
|
"OwoLTE1ES0ZITUdHQk0YBSADKAsyJi5CYXR0bGVSb2d1ZU1hZ2ljVW5pdC5M",
|
|
"TURLRkhNR0dCTUVudHJ5GjIKEExNREtGSE1HR0JNRW50cnkSCwoDa2V5GAEg",
|
|
"ASgNEg0KBXZhbHVlGAIgASgNOgI4AUIeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
|
|
"dmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicUnit), global::EggLink.DanhengServer.Proto.BattleRogueMagicUnit.Parser, new[]{ "MagicUnitId", "Level", "PAGMFIDOLPD", "DiceSlotId", "LMDKFHMGGBM" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BattleRogueMagicUnit : pb::IMessage<BattleRogueMagicUnit>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BattleRogueMagicUnit> _parser = new pb::MessageParser<BattleRogueMagicUnit>(() => new BattleRogueMagicUnit());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BattleRogueMagicUnit> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::EggLink.DanhengServer.Proto.BattleRogueMagicUnitReflection.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 BattleRogueMagicUnit() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BattleRogueMagicUnit(BattleRogueMagicUnit other) : this() {
|
|
magicUnitId_ = other.magicUnitId_;
|
|
level_ = other.level_;
|
|
pAGMFIDOLPD_ = other.pAGMFIDOLPD_;
|
|
diceSlotId_ = other.diceSlotId_;
|
|
lMDKFHMGGBM_ = other.lMDKFHMGGBM_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BattleRogueMagicUnit Clone() {
|
|
return new BattleRogueMagicUnit(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "magic_unit_id" field.</summary>
|
|
public const int MagicUnitIdFieldNumber = 1;
|
|
private uint magicUnitId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MagicUnitId {
|
|
get { return magicUnitId_; }
|
|
set {
|
|
magicUnitId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "level" field.</summary>
|
|
public const int LevelFieldNumber = 2;
|
|
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 "PAGMFIDOLPD" field.</summary>
|
|
public const int PAGMFIDOLPDFieldNumber = 3;
|
|
private bool pAGMFIDOLPD_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool PAGMFIDOLPD {
|
|
get { return pAGMFIDOLPD_; }
|
|
set {
|
|
pAGMFIDOLPD_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dice_slot_id" field.</summary>
|
|
public const int DiceSlotIdFieldNumber = 4;
|
|
private uint diceSlotId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DiceSlotId {
|
|
get { return diceSlotId_; }
|
|
set {
|
|
diceSlotId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LMDKFHMGGBM" field.</summary>
|
|
public const int LMDKFHMGGBMFieldNumber = 5;
|
|
private static readonly pbc::MapField<uint, uint>.Codec _map_lMDKFHMGGBM_codec
|
|
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 42);
|
|
private readonly pbc::MapField<uint, uint> lMDKFHMGGBM_ = new pbc::MapField<uint, uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::MapField<uint, uint> LMDKFHMGGBM {
|
|
get { return lMDKFHMGGBM_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BattleRogueMagicUnit);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BattleRogueMagicUnit other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MagicUnitId != other.MagicUnitId) return false;
|
|
if (Level != other.Level) return false;
|
|
if (PAGMFIDOLPD != other.PAGMFIDOLPD) return false;
|
|
if (DiceSlotId != other.DiceSlotId) return false;
|
|
if (!LMDKFHMGGBM.Equals(other.LMDKFHMGGBM)) 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 (MagicUnitId != 0) hash ^= MagicUnitId.GetHashCode();
|
|
if (Level != 0) hash ^= Level.GetHashCode();
|
|
if (PAGMFIDOLPD != false) hash ^= PAGMFIDOLPD.GetHashCode();
|
|
if (DiceSlotId != 0) hash ^= DiceSlotId.GetHashCode();
|
|
hash ^= LMDKFHMGGBM.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 (MagicUnitId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MagicUnitId);
|
|
}
|
|
if (Level != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (PAGMFIDOLPD != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(PAGMFIDOLPD);
|
|
}
|
|
if (DiceSlotId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(DiceSlotId);
|
|
}
|
|
lMDKFHMGGBM_.WriteTo(output, _map_lMDKFHMGGBM_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 (MagicUnitId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MagicUnitId);
|
|
}
|
|
if (Level != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (PAGMFIDOLPD != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(PAGMFIDOLPD);
|
|
}
|
|
if (DiceSlotId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(DiceSlotId);
|
|
}
|
|
lMDKFHMGGBM_.WriteTo(ref output, _map_lMDKFHMGGBM_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 (MagicUnitId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MagicUnitId);
|
|
}
|
|
if (Level != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
|
|
}
|
|
if (PAGMFIDOLPD != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DiceSlotId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiceSlotId);
|
|
}
|
|
size += lMDKFHMGGBM_.CalculateSize(_map_lMDKFHMGGBM_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(BattleRogueMagicUnit other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MagicUnitId != 0) {
|
|
MagicUnitId = other.MagicUnitId;
|
|
}
|
|
if (other.Level != 0) {
|
|
Level = other.Level;
|
|
}
|
|
if (other.PAGMFIDOLPD != false) {
|
|
PAGMFIDOLPD = other.PAGMFIDOLPD;
|
|
}
|
|
if (other.DiceSlotId != 0) {
|
|
DiceSlotId = other.DiceSlotId;
|
|
}
|
|
lMDKFHMGGBM_.MergeFrom(other.lMDKFHMGGBM_);
|
|
_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: {
|
|
MagicUnitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
PAGMFIDOLPD = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
DiceSlotId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
lMDKFHMGGBM_.AddEntriesFrom(input, _map_lMDKFHMGGBM_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: {
|
|
MagicUnitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
PAGMFIDOLPD = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
DiceSlotId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
lMDKFHMGGBM_.AddEntriesFrom(ref input, _map_lMDKFHMGGBM_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|