mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
415 lines
16 KiB
C#
415 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightRoleBattleStt.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 GridFightRoleBattleStt.proto</summary>
|
|
public static partial class GridFightRoleBattleSttReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightRoleBattleStt.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightRoleBattleSttReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChxHcmlkRmlnaHRSb2xlQmF0dGxlU3R0LnByb3RvGhdHcmlkRmlnaHREcm9w",
|
|
"SW5mby5wcm90byL7AgoWR3JpZEZpZ2h0Um9sZUJhdHRsZVN0dBIVCg1yb2xl",
|
|
"X2Jhc2ljX2lkGAEgASgNEg4KBmRhbWFnZRgCIAEoARJMChRnYW1lX3NhdmVk",
|
|
"X3ZhbHVlX21hcBgDIAMoCzIuLkdyaWRGaWdodFJvbGVCYXR0bGVTdHQuR2Ft",
|
|
"ZVNhdmVkVmFsdWVNYXBFbnRyeRIqCg5kcm9wX2l0ZW1fbGlzdBgEIAEoCzIS",
|
|
"LkdyaWRGaWdodERyb3BJbmZvEhMKC0JDREZGTE9GRU5HGAUgASgBEj0KC0tE",
|
|
"SEtLUEVKSk1GGAYgAygLMiguR3JpZEZpZ2h0Um9sZUJhdHRsZVN0dC5LREhL",
|
|
"S1BFSkpNRkVudHJ5GjgKFkdhbWVTYXZlZFZhbHVlTWFwRW50cnkSCwoDa2V5",
|
|
"GAEgASgJEg0KBXZhbHVlGAIgASgNOgI4ARoyChBLREhLS1BFSkpNRkVudHJ5",
|
|
"EgsKA2tleRgBIAEoDRINCgV2YWx1ZRgCIAEoAToCOAFCHqoCG0VnZ0xpbmsu",
|
|
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightDropInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightRoleBattleStt), global::EggLink.DanhengServer.Proto.GridFightRoleBattleStt.Parser, new[]{ "RoleBasicId", "Damage", "GameSavedValueMap", "DropItemList", "BCDFFLOFENG", "KDHKKPEJJMF" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, })
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightRoleBattleStt : pb::IMessage<GridFightRoleBattleStt>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightRoleBattleStt> _parser = new pb::MessageParser<GridFightRoleBattleStt>(() => new GridFightRoleBattleStt());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightRoleBattleStt> 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.GridFightRoleBattleSttReflection.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 GridFightRoleBattleStt() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightRoleBattleStt(GridFightRoleBattleStt other) : this() {
|
|
roleBasicId_ = other.roleBasicId_;
|
|
damage_ = other.damage_;
|
|
gameSavedValueMap_ = other.gameSavedValueMap_.Clone();
|
|
dropItemList_ = other.dropItemList_ != null ? other.dropItemList_.Clone() : null;
|
|
bCDFFLOFENG_ = other.bCDFFLOFENG_;
|
|
kDHKKPEJJMF_ = other.kDHKKPEJJMF_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightRoleBattleStt Clone() {
|
|
return new GridFightRoleBattleStt(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "role_basic_id" field.</summary>
|
|
public const int RoleBasicIdFieldNumber = 1;
|
|
private uint roleBasicId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RoleBasicId {
|
|
get { return roleBasicId_; }
|
|
set {
|
|
roleBasicId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "damage" field.</summary>
|
|
public const int DamageFieldNumber = 2;
|
|
private double damage_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Damage {
|
|
get { return damage_; }
|
|
set {
|
|
damage_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "game_saved_value_map" field.</summary>
|
|
public const int GameSavedValueMapFieldNumber = 3;
|
|
private static readonly pbc::MapField<string, uint>.Codec _map_gameSavedValueMap_codec
|
|
= new pbc::MapField<string, uint>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 26);
|
|
private readonly pbc::MapField<string, uint> gameSavedValueMap_ = new pbc::MapField<string, uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::MapField<string, uint> GameSavedValueMap {
|
|
get { return gameSavedValueMap_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "drop_item_list" field.</summary>
|
|
public const int DropItemListFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.GridFightDropInfo dropItemList_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightDropInfo DropItemList {
|
|
get { return dropItemList_; }
|
|
set {
|
|
dropItemList_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BCDFFLOFENG" field.</summary>
|
|
public const int BCDFFLOFENGFieldNumber = 5;
|
|
private double bCDFFLOFENG_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double BCDFFLOFENG {
|
|
get { return bCDFFLOFENG_; }
|
|
set {
|
|
bCDFFLOFENG_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KDHKKPEJJMF" field.</summary>
|
|
public const int KDHKKPEJJMFFieldNumber = 6;
|
|
private static readonly pbc::MapField<uint, double>.Codec _map_kDHKKPEJJMF_codec
|
|
= new pbc::MapField<uint, double>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForDouble(17, 0D), 50);
|
|
private readonly pbc::MapField<uint, double> kDHKKPEJJMF_ = new pbc::MapField<uint, double>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::MapField<uint, double> KDHKKPEJJMF {
|
|
get { return kDHKKPEJJMF_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightRoleBattleStt);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightRoleBattleStt other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (RoleBasicId != other.RoleBasicId) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Damage, other.Damage)) return false;
|
|
if (!GameSavedValueMap.Equals(other.GameSavedValueMap)) return false;
|
|
if (!object.Equals(DropItemList, other.DropItemList)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BCDFFLOFENG, other.BCDFFLOFENG)) return false;
|
|
if (!KDHKKPEJJMF.Equals(other.KDHKKPEJJMF)) 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 (RoleBasicId != 0) hash ^= RoleBasicId.GetHashCode();
|
|
if (Damage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Damage);
|
|
hash ^= GameSavedValueMap.GetHashCode();
|
|
if (dropItemList_ != null) hash ^= DropItemList.GetHashCode();
|
|
if (BCDFFLOFENG != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BCDFFLOFENG);
|
|
hash ^= KDHKKPEJJMF.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 (RoleBasicId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(RoleBasicId);
|
|
}
|
|
if (Damage != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(Damage);
|
|
}
|
|
gameSavedValueMap_.WriteTo(output, _map_gameSavedValueMap_codec);
|
|
if (dropItemList_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(DropItemList);
|
|
}
|
|
if (BCDFFLOFENG != 0D) {
|
|
output.WriteRawTag(41);
|
|
output.WriteDouble(BCDFFLOFENG);
|
|
}
|
|
kDHKKPEJJMF_.WriteTo(output, _map_kDHKKPEJJMF_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 (RoleBasicId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(RoleBasicId);
|
|
}
|
|
if (Damage != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(Damage);
|
|
}
|
|
gameSavedValueMap_.WriteTo(ref output, _map_gameSavedValueMap_codec);
|
|
if (dropItemList_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(DropItemList);
|
|
}
|
|
if (BCDFFLOFENG != 0D) {
|
|
output.WriteRawTag(41);
|
|
output.WriteDouble(BCDFFLOFENG);
|
|
}
|
|
kDHKKPEJJMF_.WriteTo(ref output, _map_kDHKKPEJJMF_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 (RoleBasicId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleBasicId);
|
|
}
|
|
if (Damage != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
size += gameSavedValueMap_.CalculateSize(_map_gameSavedValueMap_codec);
|
|
if (dropItemList_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DropItemList);
|
|
}
|
|
if (BCDFFLOFENG != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
size += kDHKKPEJJMF_.CalculateSize(_map_kDHKKPEJJMF_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightRoleBattleStt other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RoleBasicId != 0) {
|
|
RoleBasicId = other.RoleBasicId;
|
|
}
|
|
if (other.Damage != 0D) {
|
|
Damage = other.Damage;
|
|
}
|
|
gameSavedValueMap_.MergeFrom(other.gameSavedValueMap_);
|
|
if (other.dropItemList_ != null) {
|
|
if (dropItemList_ == null) {
|
|
DropItemList = new global::EggLink.DanhengServer.Proto.GridFightDropInfo();
|
|
}
|
|
DropItemList.MergeFrom(other.DropItemList);
|
|
}
|
|
if (other.BCDFFLOFENG != 0D) {
|
|
BCDFFLOFENG = other.BCDFFLOFENG;
|
|
}
|
|
kDHKKPEJJMF_.MergeFrom(other.kDHKKPEJJMF_);
|
|
_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: {
|
|
RoleBasicId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 17: {
|
|
Damage = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 26: {
|
|
gameSavedValueMap_.AddEntriesFrom(input, _map_gameSavedValueMap_codec);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (dropItemList_ == null) {
|
|
DropItemList = new global::EggLink.DanhengServer.Proto.GridFightDropInfo();
|
|
}
|
|
input.ReadMessage(DropItemList);
|
|
break;
|
|
}
|
|
case 41: {
|
|
BCDFFLOFENG = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 50: {
|
|
kDHKKPEJJMF_.AddEntriesFrom(input, _map_kDHKKPEJJMF_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: {
|
|
RoleBasicId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 17: {
|
|
Damage = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 26: {
|
|
gameSavedValueMap_.AddEntriesFrom(ref input, _map_gameSavedValueMap_codec);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (dropItemList_ == null) {
|
|
DropItemList = new global::EggLink.DanhengServer.Proto.GridFightDropInfo();
|
|
}
|
|
input.ReadMessage(DropItemList);
|
|
break;
|
|
}
|
|
case 41: {
|
|
BCDFFLOFENG = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 50: {
|
|
kDHKKPEJJMF_.AddEntriesFrom(ref input, _map_kDHKKPEJJMF_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|