// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: SceneSummonUnitInfo.proto // #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 { /// Holder for reflection information generated from SceneSummonUnitInfo.proto public static partial class SceneSummonUnitInfoReflection { #region Descriptor /// File descriptor for SceneSummonUnitInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SceneSummonUnitInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChlTY2VuZVN1bW1vblVuaXRJbmZvLnByb3RvIqoBChNTY2VuZVN1bW1vblVu", "aXRJbmZvEhgKEGF0dGFjaF9lbnRpdHlfaWQYDyABKA0SFAoMbGlmZV90aW1l", "X21zGAkgASgFEhkKEXRyaWdnZXJfbmFtZV9saXN0GAogAygJEhYKDnN1bW1v", "bl91bml0X2lkGAYgASgNEhYKDmNyZWF0ZV90aW1lX21zGA0gASgEEhgKEGNh", "c3Rlcl9lbnRpdHlfaWQYASABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZl", "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[]{ "AttachEntityId", "LifeTimeMs", "TriggerNameList", "SummonUnitId", "CreateTimeMs", "CasterEntityId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SceneSummonUnitInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SceneSummonUnitInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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() { attachEntityId_ = other.attachEntityId_; lifeTimeMs_ = other.lifeTimeMs_; triggerNameList_ = other.triggerNameList_.Clone(); summonUnitId_ = other.summonUnitId_; createTimeMs_ = other.createTimeMs_; casterEntityId_ = other.casterEntityId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SceneSummonUnitInfo Clone() { return new SceneSummonUnitInfo(this); } /// Field number for the "attach_entity_id" field. public const int AttachEntityIdFieldNumber = 15; private uint attachEntityId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint AttachEntityId { get { return attachEntityId_; } set { attachEntityId_ = value; } } /// Field number for the "life_time_ms" field. public const int LifeTimeMsFieldNumber = 9; private int lifeTimeMs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int LifeTimeMs { get { return lifeTimeMs_; } set { lifeTimeMs_ = value; } } /// Field number for the "trigger_name_list" field. public const int TriggerNameListFieldNumber = 10; private static readonly pb::FieldCodec _repeated_triggerNameList_codec = pb::FieldCodec.ForString(82); private readonly pbc::RepeatedField triggerNameList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TriggerNameList { get { return triggerNameList_; } } /// Field number for the "summon_unit_id" field. public const int SummonUnitIdFieldNumber = 6; private uint summonUnitId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SummonUnitId { get { return summonUnitId_; } set { summonUnitId_ = value; } } /// Field number for the "create_time_ms" field. public const int CreateTimeMsFieldNumber = 13; private ulong createTimeMs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong CreateTimeMs { get { return createTimeMs_; } set { createTimeMs_ = value; } } /// Field number for the "caster_entity_id" field. public const int CasterEntityIdFieldNumber = 1; private uint casterEntityId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CasterEntityId { get { return casterEntityId_; } set { casterEntityId_ = 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 (AttachEntityId != other.AttachEntityId) return false; if (LifeTimeMs != other.LifeTimeMs) return false; if(!triggerNameList_.Equals(other.triggerNameList_)) return false; if (SummonUnitId != other.SummonUnitId) return false; if (CreateTimeMs != other.CreateTimeMs) return false; if (CasterEntityId != other.CasterEntityId) 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 (AttachEntityId != 0) hash ^= AttachEntityId.GetHashCode(); if (LifeTimeMs != 0) hash ^= LifeTimeMs.GetHashCode(); hash ^= triggerNameList_.GetHashCode(); if (SummonUnitId != 0) hash ^= SummonUnitId.GetHashCode(); if (CreateTimeMs != 0UL) hash ^= CreateTimeMs.GetHashCode(); if (CasterEntityId != 0) hash ^= CasterEntityId.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 (CasterEntityId != 0) { output.WriteRawTag(8); output.WriteUInt32(CasterEntityId); } if (SummonUnitId != 0) { output.WriteRawTag(48); output.WriteUInt32(SummonUnitId); } if (LifeTimeMs != 0) { output.WriteRawTag(72); output.WriteInt32(LifeTimeMs); } triggerNameList_.WriteTo(output, _repeated_triggerNameList_codec); if (CreateTimeMs != 0UL) { output.WriteRawTag(104); output.WriteUInt64(CreateTimeMs); } if (AttachEntityId != 0) { output.WriteRawTag(120); output.WriteUInt32(AttachEntityId); } 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 (CasterEntityId != 0) { output.WriteRawTag(8); output.WriteUInt32(CasterEntityId); } if (SummonUnitId != 0) { output.WriteRawTag(48); output.WriteUInt32(SummonUnitId); } if (LifeTimeMs != 0) { output.WriteRawTag(72); output.WriteInt32(LifeTimeMs); } triggerNameList_.WriteTo(ref output, _repeated_triggerNameList_codec); if (CreateTimeMs != 0UL) { output.WriteRawTag(104); output.WriteUInt64(CreateTimeMs); } if (AttachEntityId != 0) { output.WriteRawTag(120); output.WriteUInt32(AttachEntityId); } 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 (AttachEntityId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AttachEntityId); } if (LifeTimeMs != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(LifeTimeMs); } size += triggerNameList_.CalculateSize(_repeated_triggerNameList_codec); if (SummonUnitId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SummonUnitId); } if (CreateTimeMs != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreateTimeMs); } if (CasterEntityId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CasterEntityId); } 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; } if (other.AttachEntityId != 0) { AttachEntityId = other.AttachEntityId; } if (other.LifeTimeMs != 0) { LifeTimeMs = other.LifeTimeMs; } triggerNameList_.Add(other.triggerNameList_); if (other.SummonUnitId != 0) { SummonUnitId = other.SummonUnitId; } if (other.CreateTimeMs != 0UL) { CreateTimeMs = other.CreateTimeMs; } if (other.CasterEntityId != 0) { CasterEntityId = other.CasterEntityId; } _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: { CasterEntityId = input.ReadUInt32(); break; } case 48: { SummonUnitId = input.ReadUInt32(); break; } case 72: { LifeTimeMs = input.ReadInt32(); break; } case 82: { triggerNameList_.AddEntriesFrom(input, _repeated_triggerNameList_codec); break; } case 104: { CreateTimeMs = input.ReadUInt64(); break; } case 120: { AttachEntityId = 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: { CasterEntityId = input.ReadUInt32(); break; } case 48: { SummonUnitId = input.ReadUInt32(); break; } case 72: { LifeTimeMs = input.ReadInt32(); break; } case 82: { triggerNameList_.AddEntriesFrom(ref input, _repeated_triggerNameList_codec); break; } case 104: { CreateTimeMs = input.ReadUInt64(); break; } case 120: { AttachEntityId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code