mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
412 lines
15 KiB
C#
412 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: SceneSummonUnitInfo.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 SceneSummonUnitInfo.proto</summary>
|
|
public static partial class SceneSummonUnitInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for SceneSummonUnitInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SceneSummonUnitInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlTY2VuZVN1bW1vblVuaXRJbmZvLnByb3RvIqoBChNTY2VuZVN1bW1vblVu",
|
|
"aXRJbmZvEhkKEXRyaWdnZXJfbmFtZV9saXN0GAYgAygJEhQKDGxpZmVfdGlt",
|
|
"ZV9tcxgMIAEoBRIYChBjYXN0ZXJfZW50aXR5X2lkGAkgASgNEhYKDmNyZWF0",
|
|
"ZV90aW1lX21zGAUgASgEEhYKDnN1bW1vbl91bml0X2lkGA8gASgNEhgKEGF0",
|
|
"dGFjaF9lbnRpdHlfaWQYDSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZl",
|
|
"ci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneSummonUnitInfo), global::EggLink.DanhengServer.Proto.SceneSummonUnitInfo.Parser, new[]{ "TriggerNameList", "LifeTimeMs", "CasterEntityId", "CreateTimeMs", "SummonUnitId", "AttachEntityId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SceneSummonUnitInfo : pb::IMessage<SceneSummonUnitInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SceneSummonUnitInfo> _parser = new pb::MessageParser<SceneSummonUnitInfo>(() => new SceneSummonUnitInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SceneSummonUnitInfo> 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.SceneSummonUnitInfoReflection.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 SceneSummonUnitInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SceneSummonUnitInfo(SceneSummonUnitInfo other) : this() {
|
|
triggerNameList_ = other.triggerNameList_.Clone();
|
|
lifeTimeMs_ = other.lifeTimeMs_;
|
|
casterEntityId_ = other.casterEntityId_;
|
|
createTimeMs_ = other.createTimeMs_;
|
|
summonUnitId_ = other.summonUnitId_;
|
|
attachEntityId_ = other.attachEntityId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SceneSummonUnitInfo Clone() {
|
|
return new SceneSummonUnitInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "trigger_name_list" field.</summary>
|
|
public const int TriggerNameListFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<string> _repeated_triggerNameList_codec
|
|
= pb::FieldCodec.ForString(50);
|
|
private readonly pbc::RepeatedField<string> triggerNameList_ = new pbc::RepeatedField<string>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<string> TriggerNameList {
|
|
get { return triggerNameList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "life_time_ms" field.</summary>
|
|
public const int LifeTimeMsFieldNumber = 12;
|
|
private int lifeTimeMs_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int LifeTimeMs {
|
|
get { return lifeTimeMs_; }
|
|
set {
|
|
lifeTimeMs_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "caster_entity_id" field.</summary>
|
|
public const int CasterEntityIdFieldNumber = 9;
|
|
private uint casterEntityId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CasterEntityId {
|
|
get { return casterEntityId_; }
|
|
set {
|
|
casterEntityId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "create_time_ms" field.</summary>
|
|
public const int CreateTimeMsFieldNumber = 5;
|
|
private ulong createTimeMs_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong CreateTimeMs {
|
|
get { return createTimeMs_; }
|
|
set {
|
|
createTimeMs_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "summon_unit_id" field.</summary>
|
|
public const int SummonUnitIdFieldNumber = 15;
|
|
private uint summonUnitId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SummonUnitId {
|
|
get { return summonUnitId_; }
|
|
set {
|
|
summonUnitId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "attach_entity_id" field.</summary>
|
|
public const int AttachEntityIdFieldNumber = 13;
|
|
private uint attachEntityId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AttachEntityId {
|
|
get { return attachEntityId_; }
|
|
set {
|
|
attachEntityId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SceneSummonUnitInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SceneSummonUnitInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!triggerNameList_.Equals(other.triggerNameList_)) return false;
|
|
if (LifeTimeMs != other.LifeTimeMs) return false;
|
|
if (CasterEntityId != other.CasterEntityId) return false;
|
|
if (CreateTimeMs != other.CreateTimeMs) return false;
|
|
if (SummonUnitId != other.SummonUnitId) return false;
|
|
if (AttachEntityId != other.AttachEntityId) 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 ^= triggerNameList_.GetHashCode();
|
|
if (LifeTimeMs != 0) hash ^= LifeTimeMs.GetHashCode();
|
|
if (CasterEntityId != 0) hash ^= CasterEntityId.GetHashCode();
|
|
if (CreateTimeMs != 0UL) hash ^= CreateTimeMs.GetHashCode();
|
|
if (SummonUnitId != 0) hash ^= SummonUnitId.GetHashCode();
|
|
if (AttachEntityId != 0) hash ^= AttachEntityId.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 (CreateTimeMs != 0UL) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt64(CreateTimeMs);
|
|
}
|
|
triggerNameList_.WriteTo(output, _repeated_triggerNameList_codec);
|
|
if (CasterEntityId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(CasterEntityId);
|
|
}
|
|
if (LifeTimeMs != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(LifeTimeMs);
|
|
}
|
|
if (AttachEntityId != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(AttachEntityId);
|
|
}
|
|
if (SummonUnitId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(SummonUnitId);
|
|
}
|
|
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 (CreateTimeMs != 0UL) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt64(CreateTimeMs);
|
|
}
|
|
triggerNameList_.WriteTo(ref output, _repeated_triggerNameList_codec);
|
|
if (CasterEntityId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(CasterEntityId);
|
|
}
|
|
if (LifeTimeMs != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(LifeTimeMs);
|
|
}
|
|
if (AttachEntityId != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(AttachEntityId);
|
|
}
|
|
if (SummonUnitId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(SummonUnitId);
|
|
}
|
|
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 += triggerNameList_.CalculateSize(_repeated_triggerNameList_codec);
|
|
if (LifeTimeMs != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LifeTimeMs);
|
|
}
|
|
if (CasterEntityId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CasterEntityId);
|
|
}
|
|
if (CreateTimeMs != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreateTimeMs);
|
|
}
|
|
if (SummonUnitId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SummonUnitId);
|
|
}
|
|
if (AttachEntityId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AttachEntityId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SceneSummonUnitInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
triggerNameList_.Add(other.triggerNameList_);
|
|
if (other.LifeTimeMs != 0) {
|
|
LifeTimeMs = other.LifeTimeMs;
|
|
}
|
|
if (other.CasterEntityId != 0) {
|
|
CasterEntityId = other.CasterEntityId;
|
|
}
|
|
if (other.CreateTimeMs != 0UL) {
|
|
CreateTimeMs = other.CreateTimeMs;
|
|
}
|
|
if (other.SummonUnitId != 0) {
|
|
SummonUnitId = other.SummonUnitId;
|
|
}
|
|
if (other.AttachEntityId != 0) {
|
|
AttachEntityId = other.AttachEntityId;
|
|
}
|
|
_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 40: {
|
|
CreateTimeMs = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 50: {
|
|
triggerNameList_.AddEntriesFrom(input, _repeated_triggerNameList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
CasterEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
LifeTimeMs = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
AttachEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
SummonUnitId = 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 40: {
|
|
CreateTimeMs = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 50: {
|
|
triggerNameList_.AddEntriesFrom(ref input, _repeated_triggerNameList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
CasterEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
LifeTimeMs = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
AttachEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
SummonUnitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|