// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ScenePropInfo.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 ScenePropInfo.proto public static partial class ScenePropInfoReflection { #region Descriptor /// File descriptor for ScenePropInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ScenePropInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChNTY2VuZVByb3BJbmZvLnByb3RvGhNQcm9wRXh0cmFJbmZvLnByb3RvIqEB", "Cg1TY2VuZVByb3BJbmZvEhIKCnByb3Bfc3RhdGUYCyABKA0SFgoOY3JlYXRl", "X3RpbWVfbXMYAiABKAQSFAoMbGlmZV90aW1lX21zGAMgASgNEiIKCmV4dHJh", "X2luZm8YDCABKAsyDi5Qcm9wRXh0cmFJbmZvEhkKEXRyaWdnZXJfbmFtZV9s", "aXN0GAUgAygJEg8KB3Byb3BfaWQYCCABKA1CHqoCG0VnZ0xpbmsuRGFuaGVu", "Z1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PropExtraInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ScenePropInfo), global::EggLink.DanhengServer.Proto.ScenePropInfo.Parser, new[]{ "PropState", "CreateTimeMs", "LifeTimeMs", "ExtraInfo", "TriggerNameList", "PropId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ScenePropInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScenePropInfo()); 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.ScenePropInfoReflection.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 ScenePropInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScenePropInfo(ScenePropInfo other) : this() { propState_ = other.propState_; createTimeMs_ = other.createTimeMs_; lifeTimeMs_ = other.lifeTimeMs_; extraInfo_ = other.extraInfo_ != null ? other.extraInfo_.Clone() : null; triggerNameList_ = other.triggerNameList_.Clone(); propId_ = other.propId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScenePropInfo Clone() { return new ScenePropInfo(this); } /// Field number for the "prop_state" field. public const int PropStateFieldNumber = 11; private uint propState_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PropState { get { return propState_; } set { propState_ = value; } } /// Field number for the "create_time_ms" field. public const int CreateTimeMsFieldNumber = 2; 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 "life_time_ms" field. public const int LifeTimeMsFieldNumber = 3; private uint lifeTimeMs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LifeTimeMs { get { return lifeTimeMs_; } set { lifeTimeMs_ = value; } } /// Field number for the "extra_info" field. public const int ExtraInfoFieldNumber = 12; private global::EggLink.DanhengServer.Proto.PropExtraInfo extraInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.PropExtraInfo ExtraInfo { get { return extraInfo_; } set { extraInfo_ = value; } } /// Field number for the "trigger_name_list" field. public const int TriggerNameListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_triggerNameList_codec = pb::FieldCodec.ForString(42); 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 "prop_id" field. public const int PropIdFieldNumber = 8; private uint propId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PropId { get { return propId_; } set { propId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ScenePropInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ScenePropInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (PropState != other.PropState) return false; if (CreateTimeMs != other.CreateTimeMs) return false; if (LifeTimeMs != other.LifeTimeMs) return false; if (!object.Equals(ExtraInfo, other.ExtraInfo)) return false; if(!triggerNameList_.Equals(other.triggerNameList_)) return false; if (PropId != other.PropId) 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 (PropState != 0) hash ^= PropState.GetHashCode(); if (CreateTimeMs != 0UL) hash ^= CreateTimeMs.GetHashCode(); if (LifeTimeMs != 0) hash ^= LifeTimeMs.GetHashCode(); if (extraInfo_ != null) hash ^= ExtraInfo.GetHashCode(); hash ^= triggerNameList_.GetHashCode(); if (PropId != 0) hash ^= PropId.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(16); output.WriteUInt64(CreateTimeMs); } if (LifeTimeMs != 0) { output.WriteRawTag(24); output.WriteUInt32(LifeTimeMs); } triggerNameList_.WriteTo(output, _repeated_triggerNameList_codec); if (PropId != 0) { output.WriteRawTag(64); output.WriteUInt32(PropId); } if (PropState != 0) { output.WriteRawTag(88); output.WriteUInt32(PropState); } if (extraInfo_ != null) { output.WriteRawTag(98); output.WriteMessage(ExtraInfo); } 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(16); output.WriteUInt64(CreateTimeMs); } if (LifeTimeMs != 0) { output.WriteRawTag(24); output.WriteUInt32(LifeTimeMs); } triggerNameList_.WriteTo(ref output, _repeated_triggerNameList_codec); if (PropId != 0) { output.WriteRawTag(64); output.WriteUInt32(PropId); } if (PropState != 0) { output.WriteRawTag(88); output.WriteUInt32(PropState); } if (extraInfo_ != null) { output.WriteRawTag(98); output.WriteMessage(ExtraInfo); } 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 (PropState != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PropState); } if (CreateTimeMs != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreateTimeMs); } if (LifeTimeMs != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LifeTimeMs); } if (extraInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExtraInfo); } size += triggerNameList_.CalculateSize(_repeated_triggerNameList_codec); if (PropId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PropId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ScenePropInfo other) { if (other == null) { return; } if (other.PropState != 0) { PropState = other.PropState; } if (other.CreateTimeMs != 0UL) { CreateTimeMs = other.CreateTimeMs; } if (other.LifeTimeMs != 0) { LifeTimeMs = other.LifeTimeMs; } if (other.extraInfo_ != null) { if (extraInfo_ == null) { ExtraInfo = new global::EggLink.DanhengServer.Proto.PropExtraInfo(); } ExtraInfo.MergeFrom(other.ExtraInfo); } triggerNameList_.Add(other.triggerNameList_); if (other.PropId != 0) { PropId = other.PropId; } _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 16: { CreateTimeMs = input.ReadUInt64(); break; } case 24: { LifeTimeMs = input.ReadUInt32(); break; } case 42: { triggerNameList_.AddEntriesFrom(input, _repeated_triggerNameList_codec); break; } case 64: { PropId = input.ReadUInt32(); break; } case 88: { PropState = input.ReadUInt32(); break; } case 98: { if (extraInfo_ == null) { ExtraInfo = new global::EggLink.DanhengServer.Proto.PropExtraInfo(); } input.ReadMessage(ExtraInfo); 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 16: { CreateTimeMs = input.ReadUInt64(); break; } case 24: { LifeTimeMs = input.ReadUInt32(); break; } case 42: { triggerNameList_.AddEntriesFrom(ref input, _repeated_triggerNameList_codec); break; } case 64: { PropId = input.ReadUInt32(); break; } case 88: { PropState = input.ReadUInt32(); break; } case 98: { if (extraInfo_ == null) { ExtraInfo = new global::EggLink.DanhengServer.Proto.PropExtraInfo(); } input.ReadMessage(ExtraInfo); break; } } } } #endif } #endregion } #endregion Designer generated code