// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: task.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; /// Holder for reflection information generated from task.proto public static partial class TaskReflection { #region Descriptor /// File descriptor for task.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TaskReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cgp0YXNrLnByb3RvIiMKEVRhc2tDcmVhdGVSZXF1ZXN0Eg4KBnJvb21JZBgB", "IAEoCSIWCghCYXNlVGFzaxIKCgJJZBgBIAEoCSJvChJUYXNrQ3JlYXRlUmVz", "cG9uc2USCgoCSWQYASABKAkSCQoBWBgCIAEoAhIJCgFZGAMgASgCEgkKAVoY", "BCABKAISDAoEVHlwZRgFIAEoBRIOCgZSb29tSWQYBiABKAkSDgoGVXNlcklk", "GAcgASgJIrwBChFUYXNrVXBkYXRlUmVxdWVzdBIOCgZSb29tSWQYASABKAkS", "DgoGVGFza0lkGAIgASgJEg4KBlVzZXJJZBgDIAEoCRIQCghTZWxlY3RJZBgE", "IAEoCRIQCghUb1VzZXJJZBgFIAEoCRIQCghVc2VyTmFtZRgGIAEoCRIOCgZQ", "cm9wSWQYByABKAkSEAoIUHJvcE5hbWUYCCABKAkSDwoHUHJvcE51bRgJIAEo", "BRIOCgZTdGF0dXMYCiABKAkiMAoQVGFza0xpc3RSZXNwb25zZRIcCgV0YXNr", "cxgBIAMoCzINLlRhc2tSZXNwb25zZSKyAgoMVGFza1Jlc3BvbnNlEg4KBlRh", "c2tJZBgBIAEoCRIOCgZTdGF0dXMYAiABKAkSDgoGUm9vbUlkGAMgASgJEgkK", "AVgYBCABKAISCQoBWRgFIAEoAhIJCgFaGAYgASgCEgwKBFR5cGUYByABKAkS", "EQoJVGltZUxpbWl0GAggASgDEgwKBERlc2MYCSABKAkSDwoHVHJpZ2dlchgK", "IAEoCRIRCglOZXh0VGFza3MYCyABKAkSEgoKVGFyZ2V0VHlwZRgMIAEoCRIO", "CgZSZXdhcmQYDSABKAkSDAoETm90ZRgOIAEoCRISCgpDcmVhdGVUaW1lGA8g", "ASgJEhIKClVwZGF0ZVRpbWUYECABKAkSEAoIVG9Vc2VySWQYESABKAkSEgoK", "QmFzZVRhc2tJZBgSIAEoCSKDAQoLVGFza1RyaWdnZXISDgoGVXNlcklkGAEg", "ASgJEg4KBlJvb21JZBgCIAEoCRIRCglUcmlnZ2VySWQYAyABKAkSDwoHVHlw", "ZVN0chgEIAEoCRIQCghUYXJnZXRJZBgFIAEoCRIOCgZUYXNrSWQYBiABKAkS", "DgoGUm9sZUlkGAcgASgJIiMKDlRhc2tPcm1SZXF1ZXN0EhEKCXN1YmplY3RJ", "ZBgBIAEoCSLWAQoUU2VsZWN0SGFuZGxlVGFza0NvbmYSDgoGVGFza0lkGAEg", "ASgJEg4KBlVzZXJJZBgCIAEoCRIPCgdVc2VySWRzGAMgAygJEg4KBlJvb21J", "ZBgEIAEoCRIQCghTZWxlY3RJZBgFIAEoCRIOCgZSb2xlSWQYBiABKAkSEAoI", "VHJpZ2dlcnMYByADKAkSEgoKVHJpZ2dlclN0chgIIAEoCRIQCghUYXJnZXRJ", "ZBgJIAEoCRIjCgxCYXNrVGFza0NvbmYYCiABKAsyDS5CYXNlVGFza0NvbmYi", "igMKDEJhc2VUYXNrQ29uZhIKCgJJZBgBIAEoCRIMCgROb3RlGAIgASgJEgwK", "BE5hbWUYAyABKAkSDAoEVHlwZRgEIAEoCRIMCgREZXNjGAUgASgJEhIKClBs", "YXlTY3JpcHQYBiABKAkSDwoHVHJpZ2dlchgHIAEoCRITCgtPdmVyc2VlQ29u", "ZBgIIAEoCRIRCglUaW1lTGltaXQYCSABKAUSDAoEUm9sZRgKIAEoCRIPCgdT", "ZWxlY3RzGAsgASgJEhIKClRhcmdldFR5cGUYDCABKAkSEAoIVGFyZ2V0czEY", "DSABKAkSEAoIVGFyZ2V0czIYDiABKAkSFQoNVGFyZ2V0czJMb2dpYxgPIAEo", "CRISCgpFeHRyYVZhbHVlGBAgASgJEhAKCE5leHRUYXNrGBEgASgJEgwKBFNv", "cnQYEiABKAUSDgoGSXNTaG93GBMgASgFEhEKCUV4Y2x1c2l2ZRgUIAEoCRIO", "CgZSZXdhcmQYFSABKAkSFAoMVHJpZ2dlckxvZ2ljGBYgASgJQgdaBS4vO3Bi", "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::TaskCreateRequest), global::TaskCreateRequest.Parser, new[]{ "RoomId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::BaseTask), global::BaseTask.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskCreateResponse), global::TaskCreateResponse.Parser, new[]{ "Id", "X", "Y", "Z", "Type", "RoomId", "UserId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskUpdateRequest), global::TaskUpdateRequest.Parser, new[]{ "RoomId", "TaskId", "UserId", "SelectId", "ToUserId", "UserName", "PropId", "PropName", "PropNum", "Status" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskListResponse), global::TaskListResponse.Parser, new[]{ "Tasks" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskResponse), global::TaskResponse.Parser, new[]{ "TaskId", "Status", "RoomId", "X", "Y", "Z", "Type", "TimeLimit", "Desc", "Trigger", "NextTasks", "TargetType", "Reward", "Note", "CreateTime", "UpdateTime", "ToUserId", "BaseTaskId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskTrigger), global::TaskTrigger.Parser, new[]{ "UserId", "RoomId", "TriggerId", "TypeStr", "TargetId", "TaskId", "RoleId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskOrmRequest), global::TaskOrmRequest.Parser, new[]{ "SubjectId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::SelectHandleTaskConf), global::SelectHandleTaskConf.Parser, new[]{ "TaskId", "UserId", "UserIds", "RoomId", "SelectId", "RoleId", "Triggers", "TriggerStr", "TargetId", "BaskTaskConf" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::BaseTaskConf), global::BaseTaskConf.Parser, new[]{ "Id", "Note", "Name", "Type", "Desc", "PlayScript", "Trigger", "OverseeCond", "TimeLimit", "Role", "Selects", "TargetType", "Targets1", "Targets2", "Targets2Logic", "ExtraValue", "NextTask", "Sort", "IsShow", "Exclusive", "Reward", "TriggerLogic" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskCreateRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskCreateRequest()); 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::TaskReflection.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 TaskCreateRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskCreateRequest(TaskCreateRequest other) : this() { roomId_ = other.roomId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskCreateRequest Clone() { return new TaskCreateRequest(this); } /// Field number for the "roomId" field. public const int RoomIdFieldNumber = 1; private string roomId_ = ""; /// /// 房间id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskCreateRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskCreateRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoomId != other.RoomId) 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 (RoomId.Length != 0) hash ^= RoomId.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 (RoomId.Length != 0) { output.WriteRawTag(10); output.WriteString(RoomId); } 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 (RoomId.Length != 0) { output.WriteRawTag(10); output.WriteString(RoomId); } 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 (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskCreateRequest other) { if (other == null) { return; } if (other.RoomId.Length != 0) { RoomId = other.RoomId; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { RoomId = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { RoomId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BaseTask : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BaseTask()); 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::TaskReflection.Descriptor.MessageTypes[1]; } } [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 BaseTask() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BaseTask(BaseTask other) : this() { id_ = other.id_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BaseTask Clone() { return new BaseTask(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private string id_ = ""; /// /// 任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BaseTask); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BaseTask other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) 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 (Id.Length != 0) hash ^= Id.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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } 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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BaseTask other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Id = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Id = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskCreateResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskCreateResponse()); 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::TaskReflection.Descriptor.MessageTypes[2]; } } [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 TaskCreateResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskCreateResponse(TaskCreateResponse other) : this() { id_ = other.id_; x_ = other.x_; y_ = other.y_; z_ = other.z_; type_ = other.type_; roomId_ = other.roomId_; userId_ = other.userId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskCreateResponse Clone() { return new TaskCreateResponse(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private string id_ = ""; /// /// 任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "X" field. public const int XFieldNumber = 2; private float x_; /// /// x坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float X { get { return x_; } set { x_ = value; } } /// Field number for the "Y" field. public const int YFieldNumber = 3; private float y_; /// /// y坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Y { get { return y_; } set { y_ = value; } } /// Field number for the "Z" field. public const int ZFieldNumber = 4; private float z_; /// /// z坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Z { get { return z_; } set { z_ = value; } } /// Field number for the "Type" field. public const int TypeFieldNumber = 5; private int type_; /// /// 类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Type { get { return type_; } set { type_ = value; } } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 6; private string roomId_ = ""; /// /// 房间id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UserId" field. public const int UserIdFieldNumber = 7; private string userId_ = ""; /// /// 用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserId { get { return userId_; } set { userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskCreateResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskCreateResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; if (Type != other.Type) return false; if (RoomId != other.RoomId) return false; if (UserId != other.UserId) 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 (Id.Length != 0) hash ^= Id.GetHashCode(); if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); if (Type != 0) hash ^= Type.GetHashCode(); if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (UserId.Length != 0) hash ^= UserId.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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (X != 0F) { output.WriteRawTag(21); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(29); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(37); output.WriteFloat(Z); } if (Type != 0) { output.WriteRawTag(40); output.WriteInt32(Type); } if (RoomId.Length != 0) { output.WriteRawTag(50); output.WriteString(RoomId); } if (UserId.Length != 0) { output.WriteRawTag(58); output.WriteString(UserId); } 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (X != 0F) { output.WriteRawTag(21); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(29); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(37); output.WriteFloat(Z); } if (Type != 0) { output.WriteRawTag(40); output.WriteInt32(Type); } if (RoomId.Length != 0) { output.WriteRawTag(50); output.WriteString(RoomId); } if (UserId.Length != 0) { output.WriteRawTag(58); output.WriteString(UserId); } 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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (X != 0F) { size += 1 + 4; } if (Y != 0F) { size += 1 + 4; } if (Z != 0F) { size += 1 + 4; } if (Type != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); } if (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (UserId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskCreateResponse other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.X != 0F) { X = other.X; } if (other.Y != 0F) { Y = other.Y; } if (other.Z != 0F) { Z = other.Z; } if (other.Type != 0) { Type = other.Type; } if (other.RoomId.Length != 0) { RoomId = other.RoomId; } if (other.UserId.Length != 0) { UserId = other.UserId; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Id = input.ReadString(); break; } case 21: { X = input.ReadFloat(); break; } case 29: { Y = input.ReadFloat(); break; } case 37: { Z = input.ReadFloat(); break; } case 40: { Type = input.ReadInt32(); break; } case 50: { RoomId = input.ReadString(); break; } case 58: { UserId = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Id = input.ReadString(); break; } case 21: { X = input.ReadFloat(); break; } case 29: { Y = input.ReadFloat(); break; } case 37: { Z = input.ReadFloat(); break; } case 40: { Type = input.ReadInt32(); break; } case 50: { RoomId = input.ReadString(); break; } case 58: { UserId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskUpdateRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskUpdateRequest()); 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::TaskReflection.Descriptor.MessageTypes[3]; } } [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 TaskUpdateRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskUpdateRequest(TaskUpdateRequest other) : this() { roomId_ = other.roomId_; taskId_ = other.taskId_; userId_ = other.userId_; selectId_ = other.selectId_; toUserId_ = other.toUserId_; userName_ = other.userName_; propId_ = other.propId_; propName_ = other.propName_; propNum_ = other.propNum_; status_ = other.status_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskUpdateRequest Clone() { return new TaskUpdateRequest(this); } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 1; private string roomId_ = ""; /// /// 房间id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskId" field. public const int TaskIdFieldNumber = 2; private string taskId_ = ""; /// /// 任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskId { get { return taskId_; } set { taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UserId" field. public const int UserIdFieldNumber = 3; private string userId_ = ""; /// /// 用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserId { get { return userId_; } set { userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "SelectId" field. public const int SelectIdFieldNumber = 4; private string selectId_ = ""; /// /// 选项ID 界面按钮 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SelectId { get { return selectId_; } set { selectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ToUserId" field. public const int ToUserIdFieldNumber = 5; private string toUserId_ = ""; /// /// 目标用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ToUserId { get { return toUserId_; } set { toUserId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UserName" field. public const int UserNameFieldNumber = 6; private string userName_ = ""; /// /// 用户名 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserName { get { return userName_; } set { userName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "PropId" field. public const int PropIdFieldNumber = 7; private string propId_ = ""; /// ///道具id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PropId { get { return propId_; } set { propId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "PropName" field. public const int PropNameFieldNumber = 8; private string propName_ = ""; /// ///道具名称 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PropName { get { return propName_; } set { propName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "PropNum" field. public const int PropNumFieldNumber = 9; private int propNum_; /// ///道具数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int PropNum { get { return propNum_; } set { propNum_ = value; } } /// Field number for the "Status" field. public const int StatusFieldNumber = 10; private string status_ = ""; /// /// 任务状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskUpdateRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskUpdateRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoomId != other.RoomId) return false; if (TaskId != other.TaskId) return false; if (UserId != other.UserId) return false; if (SelectId != other.SelectId) return false; if (ToUserId != other.ToUserId) return false; if (UserName != other.UserName) return false; if (PropId != other.PropId) return false; if (PropName != other.PropName) return false; if (PropNum != other.PropNum) return false; if (Status != other.Status) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); if (UserId.Length != 0) hash ^= UserId.GetHashCode(); if (SelectId.Length != 0) hash ^= SelectId.GetHashCode(); if (ToUserId.Length != 0) hash ^= ToUserId.GetHashCode(); if (UserName.Length != 0) hash ^= UserName.GetHashCode(); if (PropId.Length != 0) hash ^= PropId.GetHashCode(); if (PropName.Length != 0) hash ^= PropName.GetHashCode(); if (PropNum != 0) hash ^= PropNum.GetHashCode(); if (Status.Length != 0) hash ^= Status.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 (RoomId.Length != 0) { output.WriteRawTag(10); output.WriteString(RoomId); } if (TaskId.Length != 0) { output.WriteRawTag(18); output.WriteString(TaskId); } if (UserId.Length != 0) { output.WriteRawTag(26); output.WriteString(UserId); } if (SelectId.Length != 0) { output.WriteRawTag(34); output.WriteString(SelectId); } if (ToUserId.Length != 0) { output.WriteRawTag(42); output.WriteString(ToUserId); } if (UserName.Length != 0) { output.WriteRawTag(50); output.WriteString(UserName); } if (PropId.Length != 0) { output.WriteRawTag(58); output.WriteString(PropId); } if (PropName.Length != 0) { output.WriteRawTag(66); output.WriteString(PropName); } if (PropNum != 0) { output.WriteRawTag(72); output.WriteInt32(PropNum); } if (Status.Length != 0) { output.WriteRawTag(82); output.WriteString(Status); } 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 (RoomId.Length != 0) { output.WriteRawTag(10); output.WriteString(RoomId); } if (TaskId.Length != 0) { output.WriteRawTag(18); output.WriteString(TaskId); } if (UserId.Length != 0) { output.WriteRawTag(26); output.WriteString(UserId); } if (SelectId.Length != 0) { output.WriteRawTag(34); output.WriteString(SelectId); } if (ToUserId.Length != 0) { output.WriteRawTag(42); output.WriteString(ToUserId); } if (UserName.Length != 0) { output.WriteRawTag(50); output.WriteString(UserName); } if (PropId.Length != 0) { output.WriteRawTag(58); output.WriteString(PropId); } if (PropName.Length != 0) { output.WriteRawTag(66); output.WriteString(PropName); } if (PropNum != 0) { output.WriteRawTag(72); output.WriteInt32(PropNum); } if (Status.Length != 0) { output.WriteRawTag(82); output.WriteString(Status); } 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 (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (TaskId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); } if (UserId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); } if (SelectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectId); } if (ToUserId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ToUserId); } if (UserName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserName); } if (PropId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PropId); } if (PropName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PropName); } if (PropNum != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropNum); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskUpdateRequest other) { if (other == null) { return; } if (other.RoomId.Length != 0) { RoomId = other.RoomId; } if (other.TaskId.Length != 0) { TaskId = other.TaskId; } if (other.UserId.Length != 0) { UserId = other.UserId; } if (other.SelectId.Length != 0) { SelectId = other.SelectId; } if (other.ToUserId.Length != 0) { ToUserId = other.ToUserId; } if (other.UserName.Length != 0) { UserName = other.UserName; } if (other.PropId.Length != 0) { PropId = other.PropId; } if (other.PropName.Length != 0) { PropName = other.PropName; } if (other.PropNum != 0) { PropNum = other.PropNum; } if (other.Status.Length != 0) { Status = other.Status; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { RoomId = input.ReadString(); break; } case 18: { TaskId = input.ReadString(); break; } case 26: { UserId = input.ReadString(); break; } case 34: { SelectId = input.ReadString(); break; } case 42: { ToUserId = input.ReadString(); break; } case 50: { UserName = input.ReadString(); break; } case 58: { PropId = input.ReadString(); break; } case 66: { PropName = input.ReadString(); break; } case 72: { PropNum = input.ReadInt32(); break; } case 82: { Status = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { RoomId = input.ReadString(); break; } case 18: { TaskId = input.ReadString(); break; } case 26: { UserId = input.ReadString(); break; } case 34: { SelectId = input.ReadString(); break; } case 42: { ToUserId = input.ReadString(); break; } case 50: { UserName = input.ReadString(); break; } case 58: { PropId = input.ReadString(); break; } case 66: { PropName = input.ReadString(); break; } case 72: { PropNum = input.ReadInt32(); break; } case 82: { Status = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskListResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskListResponse()); 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::TaskReflection.Descriptor.MessageTypes[4]; } } [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 TaskListResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskListResponse(TaskListResponse other) : this() { tasks_ = other.tasks_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskListResponse Clone() { return new TaskListResponse(this); } /// Field number for the "tasks" field. public const int TasksFieldNumber = 1; private static readonly pb::FieldCodec _repeated_tasks_codec = pb::FieldCodec.ForMessage(10, global::TaskResponse.Parser); private readonly pbc::RepeatedField tasks_ = new pbc::RepeatedField(); /// /// 任务列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Tasks { get { return tasks_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskListResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskListResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!tasks_.Equals(other.tasks_)) 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 ^= tasks_.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 tasks_.WriteTo(output, _repeated_tasks_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) { tasks_.WriteTo(ref output, _repeated_tasks_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; size += tasks_.CalculateSize(_repeated_tasks_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskListResponse other) { if (other == null) { return; } tasks_.Add(other.tasks_); _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { tasks_.AddEntriesFrom(input, _repeated_tasks_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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { tasks_.AddEntriesFrom(ref input, _repeated_tasks_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskResponse()); 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::TaskReflection.Descriptor.MessageTypes[5]; } } [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 TaskResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskResponse(TaskResponse other) : this() { taskId_ = other.taskId_; status_ = other.status_; roomId_ = other.roomId_; x_ = other.x_; y_ = other.y_; z_ = other.z_; type_ = other.type_; timeLimit_ = other.timeLimit_; desc_ = other.desc_; trigger_ = other.trigger_; nextTasks_ = other.nextTasks_; targetType_ = other.targetType_; reward_ = other.reward_; note_ = other.note_; createTime_ = other.createTime_; updateTime_ = other.updateTime_; toUserId_ = other.toUserId_; baseTaskId_ = other.baseTaskId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskResponse Clone() { return new TaskResponse(this); } /// Field number for the "TaskId" field. public const int TaskIdFieldNumber = 1; private string taskId_ = ""; /// /// 任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskId { get { return taskId_; } set { taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Status" field. public const int StatusFieldNumber = 2; private string status_ = ""; /// /// 状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 3; private string roomId_ = ""; /// /// 房间id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "X" field. public const int XFieldNumber = 4; private float x_; /// /// x坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float X { get { return x_; } set { x_ = value; } } /// Field number for the "Y" field. public const int YFieldNumber = 5; private float y_; /// /// y坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Y { get { return y_; } set { y_ = value; } } /// Field number for the "Z" field. public const int ZFieldNumber = 6; private float z_; /// /// z坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Z { get { return z_; } set { z_ = value; } } /// Field number for the "Type" field. public const int TypeFieldNumber = 7; private string type_ = ""; /// /// 类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Type { get { return type_; } set { type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TimeLimit" field. public const int TimeLimitFieldNumber = 8; private long timeLimit_; /// /// 时间限制 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TimeLimit { get { return timeLimit_; } set { timeLimit_ = value; } } /// Field number for the "Desc" field. public const int DescFieldNumber = 9; private string desc_ = ""; /// /// 描述 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Trigger" field. public const int TriggerFieldNumber = 10; private string trigger_ = ""; /// /// 触发条件 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Trigger { get { return trigger_; } set { trigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "NextTasks" field. public const int NextTasksFieldNumber = 11; private string nextTasks_ = ""; /// /// 下一步任务 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NextTasks { get { return nextTasks_; } set { nextTasks_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TargetType" field. public const int TargetTypeFieldNumber = 12; private string targetType_ = ""; /// /// 目标类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TargetType { get { return targetType_; } set { targetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Reward" field. public const int RewardFieldNumber = 13; private string reward_ = ""; /// /// 奖励 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Reward { get { return reward_; } set { reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Note" field. public const int NoteFieldNumber = 14; private string note_ = ""; /// /// 备注 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Note { get { return note_; } set { note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CreateTime" field. public const int CreateTimeFieldNumber = 15; private string createTime_ = ""; /// /// 创建时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CreateTime { get { return createTime_; } set { createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UpdateTime" field. public const int UpdateTimeFieldNumber = 16; private string updateTime_ = ""; /// /// 更新时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UpdateTime { get { return updateTime_; } set { updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ToUserId" field. public const int ToUserIdFieldNumber = 17; private string toUserId_ = ""; /// /// 目标用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ToUserId { get { return toUserId_; } set { toUserId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "BaseTaskId" field. public const int BaseTaskIdFieldNumber = 18; private string baseTaskId_ = ""; /// /// 基础任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BaseTaskId { get { return baseTaskId_; } set { baseTaskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (TaskId != other.TaskId) return false; if (Status != other.Status) return false; if (RoomId != other.RoomId) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; if (Type != other.Type) return false; if (TimeLimit != other.TimeLimit) return false; if (Desc != other.Desc) return false; if (Trigger != other.Trigger) return false; if (NextTasks != other.NextTasks) return false; if (TargetType != other.TargetType) return false; if (Reward != other.Reward) return false; if (Note != other.Note) return false; if (CreateTime != other.CreateTime) return false; if (UpdateTime != other.UpdateTime) return false; if (ToUserId != other.ToUserId) return false; if (BaseTaskId != other.BaseTaskId) 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 (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); if (Type.Length != 0) hash ^= Type.GetHashCode(); if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (Trigger.Length != 0) hash ^= Trigger.GetHashCode(); if (NextTasks.Length != 0) hash ^= NextTasks.GetHashCode(); if (TargetType.Length != 0) hash ^= TargetType.GetHashCode(); if (Reward.Length != 0) hash ^= Reward.GetHashCode(); if (Note.Length != 0) hash ^= Note.GetHashCode(); if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode(); if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode(); if (ToUserId.Length != 0) hash ^= ToUserId.GetHashCode(); if (BaseTaskId.Length != 0) hash ^= BaseTaskId.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 (TaskId.Length != 0) { output.WriteRawTag(10); output.WriteString(TaskId); } if (Status.Length != 0) { output.WriteRawTag(18); output.WriteString(Status); } if (RoomId.Length != 0) { output.WriteRawTag(26); output.WriteString(RoomId); } if (X != 0F) { output.WriteRawTag(37); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(45); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(53); output.WriteFloat(Z); } if (Type.Length != 0) { output.WriteRawTag(58); output.WriteString(Type); } if (TimeLimit != 0L) { output.WriteRawTag(64); output.WriteInt64(TimeLimit); } if (Desc.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc); } if (Trigger.Length != 0) { output.WriteRawTag(82); output.WriteString(Trigger); } if (NextTasks.Length != 0) { output.WriteRawTag(90); output.WriteString(NextTasks); } if (TargetType.Length != 0) { output.WriteRawTag(98); output.WriteString(TargetType); } if (Reward.Length != 0) { output.WriteRawTag(106); output.WriteString(Reward); } if (Note.Length != 0) { output.WriteRawTag(114); output.WriteString(Note); } if (CreateTime.Length != 0) { output.WriteRawTag(122); output.WriteString(CreateTime); } if (UpdateTime.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(UpdateTime); } if (ToUserId.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ToUserId); } if (BaseTaskId.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(BaseTaskId); } 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 (TaskId.Length != 0) { output.WriteRawTag(10); output.WriteString(TaskId); } if (Status.Length != 0) { output.WriteRawTag(18); output.WriteString(Status); } if (RoomId.Length != 0) { output.WriteRawTag(26); output.WriteString(RoomId); } if (X != 0F) { output.WriteRawTag(37); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(45); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(53); output.WriteFloat(Z); } if (Type.Length != 0) { output.WriteRawTag(58); output.WriteString(Type); } if (TimeLimit != 0L) { output.WriteRawTag(64); output.WriteInt64(TimeLimit); } if (Desc.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc); } if (Trigger.Length != 0) { output.WriteRawTag(82); output.WriteString(Trigger); } if (NextTasks.Length != 0) { output.WriteRawTag(90); output.WriteString(NextTasks); } if (TargetType.Length != 0) { output.WriteRawTag(98); output.WriteString(TargetType); } if (Reward.Length != 0) { output.WriteRawTag(106); output.WriteString(Reward); } if (Note.Length != 0) { output.WriteRawTag(114); output.WriteString(Note); } if (CreateTime.Length != 0) { output.WriteRawTag(122); output.WriteString(CreateTime); } if (UpdateTime.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(UpdateTime); } if (ToUserId.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ToUserId); } if (BaseTaskId.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(BaseTaskId); } 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 (TaskId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (X != 0F) { size += 1 + 4; } if (Y != 0F) { size += 1 + 4; } if (Z != 0F) { size += 1 + 4; } if (Type.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } if (TimeLimit != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (Trigger.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger); } if (NextTasks.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(NextTasks); } if (TargetType.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetType); } if (Reward.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Reward); } if (Note.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); } if (CreateTime.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateTime); } if (UpdateTime.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime); } if (ToUserId.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ToUserId); } if (BaseTaskId.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseTaskId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskResponse other) { if (other == null) { return; } if (other.TaskId.Length != 0) { TaskId = other.TaskId; } if (other.Status.Length != 0) { Status = other.Status; } if (other.RoomId.Length != 0) { RoomId = other.RoomId; } if (other.X != 0F) { X = other.X; } if (other.Y != 0F) { Y = other.Y; } if (other.Z != 0F) { Z = other.Z; } if (other.Type.Length != 0) { Type = other.Type; } if (other.TimeLimit != 0L) { TimeLimit = other.TimeLimit; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.Trigger.Length != 0) { Trigger = other.Trigger; } if (other.NextTasks.Length != 0) { NextTasks = other.NextTasks; } if (other.TargetType.Length != 0) { TargetType = other.TargetType; } if (other.Reward.Length != 0) { Reward = other.Reward; } if (other.Note.Length != 0) { Note = other.Note; } if (other.CreateTime.Length != 0) { CreateTime = other.CreateTime; } if (other.UpdateTime.Length != 0) { UpdateTime = other.UpdateTime; } if (other.ToUserId.Length != 0) { ToUserId = other.ToUserId; } if (other.BaseTaskId.Length != 0) { BaseTaskId = other.BaseTaskId; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { TaskId = input.ReadString(); break; } case 18: { Status = input.ReadString(); break; } case 26: { RoomId = input.ReadString(); break; } case 37: { X = input.ReadFloat(); break; } case 45: { Y = input.ReadFloat(); break; } case 53: { Z = input.ReadFloat(); break; } case 58: { Type = input.ReadString(); break; } case 64: { TimeLimit = input.ReadInt64(); break; } case 74: { Desc = input.ReadString(); break; } case 82: { Trigger = input.ReadString(); break; } case 90: { NextTasks = input.ReadString(); break; } case 98: { TargetType = input.ReadString(); break; } case 106: { Reward = input.ReadString(); break; } case 114: { Note = input.ReadString(); break; } case 122: { CreateTime = input.ReadString(); break; } case 130: { UpdateTime = input.ReadString(); break; } case 138: { ToUserId = input.ReadString(); break; } case 146: { BaseTaskId = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { TaskId = input.ReadString(); break; } case 18: { Status = input.ReadString(); break; } case 26: { RoomId = input.ReadString(); break; } case 37: { X = input.ReadFloat(); break; } case 45: { Y = input.ReadFloat(); break; } case 53: { Z = input.ReadFloat(); break; } case 58: { Type = input.ReadString(); break; } case 64: { TimeLimit = input.ReadInt64(); break; } case 74: { Desc = input.ReadString(); break; } case 82: { Trigger = input.ReadString(); break; } case 90: { NextTasks = input.ReadString(); break; } case 98: { TargetType = input.ReadString(); break; } case 106: { Reward = input.ReadString(); break; } case 114: { Note = input.ReadString(); break; } case 122: { CreateTime = input.ReadString(); break; } case 130: { UpdateTime = input.ReadString(); break; } case 138: { ToUserId = input.ReadString(); break; } case 146: { BaseTaskId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskTrigger : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskTrigger()); 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::TaskReflection.Descriptor.MessageTypes[6]; } } [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 TaskTrigger() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskTrigger(TaskTrigger other) : this() { userId_ = other.userId_; roomId_ = other.roomId_; triggerId_ = other.triggerId_; typeStr_ = other.typeStr_; targetId_ = other.targetId_; taskId_ = other.taskId_; roleId_ = other.roleId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskTrigger Clone() { return new TaskTrigger(this); } /// Field number for the "UserId" field. public const int UserIdFieldNumber = 1; private string userId_ = ""; /// /// 用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserId { get { return userId_; } set { userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 2; private string roomId_ = ""; /// /// 房间id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TriggerId" field. public const int TriggerIdFieldNumber = 3; private string triggerId_ = ""; /// /// 触发器id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TriggerId { get { return triggerId_; } set { triggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TypeStr" field. public const int TypeStrFieldNumber = 4; private string typeStr_ = ""; /// /// 触发器类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TypeStr { get { return typeStr_; } set { typeStr_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TargetId" field. public const int TargetIdFieldNumber = 5; private string targetId_ = ""; /// /// 目标id 例如消防栓ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TargetId { get { return targetId_; } set { targetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskId" field. public const int TaskIdFieldNumber = 6; private string taskId_ = ""; /// /// 任务id(当前操作选项相关的任务ID) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskId { get { return taskId_; } set { taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "RoleId" field. public const int RoleIdFieldNumber = 7; private string roleId_ = ""; /// /// 角色id(当前选择的角色ID) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoleId { get { return roleId_; } set { roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskTrigger); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskTrigger other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (UserId != other.UserId) return false; if (RoomId != other.RoomId) return false; if (TriggerId != other.TriggerId) return false; if (TypeStr != other.TypeStr) return false; if (TargetId != other.TargetId) return false; if (TaskId != other.TaskId) return false; if (RoleId != other.RoleId) 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 (UserId.Length != 0) hash ^= UserId.GetHashCode(); if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (TriggerId.Length != 0) hash ^= TriggerId.GetHashCode(); if (TypeStr.Length != 0) hash ^= TypeStr.GetHashCode(); if (TargetId.Length != 0) hash ^= TargetId.GetHashCode(); if (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); if (RoleId.Length != 0) hash ^= RoleId.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 (UserId.Length != 0) { output.WriteRawTag(10); output.WriteString(UserId); } if (RoomId.Length != 0) { output.WriteRawTag(18); output.WriteString(RoomId); } if (TriggerId.Length != 0) { output.WriteRawTag(26); output.WriteString(TriggerId); } if (TypeStr.Length != 0) { output.WriteRawTag(34); output.WriteString(TypeStr); } if (TargetId.Length != 0) { output.WriteRawTag(42); output.WriteString(TargetId); } if (TaskId.Length != 0) { output.WriteRawTag(50); output.WriteString(TaskId); } if (RoleId.Length != 0) { output.WriteRawTag(58); output.WriteString(RoleId); } 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 (UserId.Length != 0) { output.WriteRawTag(10); output.WriteString(UserId); } if (RoomId.Length != 0) { output.WriteRawTag(18); output.WriteString(RoomId); } if (TriggerId.Length != 0) { output.WriteRawTag(26); output.WriteString(TriggerId); } if (TypeStr.Length != 0) { output.WriteRawTag(34); output.WriteString(TypeStr); } if (TargetId.Length != 0) { output.WriteRawTag(42); output.WriteString(TargetId); } if (TaskId.Length != 0) { output.WriteRawTag(50); output.WriteString(TaskId); } if (RoleId.Length != 0) { output.WriteRawTag(58); output.WriteString(RoleId); } 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 (UserId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); } if (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (TriggerId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerId); } if (TypeStr.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeStr); } if (TargetId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetId); } if (TaskId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); } if (RoleId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskTrigger other) { if (other == null) { return; } if (other.UserId.Length != 0) { UserId = other.UserId; } if (other.RoomId.Length != 0) { RoomId = other.RoomId; } if (other.TriggerId.Length != 0) { TriggerId = other.TriggerId; } if (other.TypeStr.Length != 0) { TypeStr = other.TypeStr; } if (other.TargetId.Length != 0) { TargetId = other.TargetId; } if (other.TaskId.Length != 0) { TaskId = other.TaskId; } if (other.RoleId.Length != 0) { RoleId = other.RoleId; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { UserId = input.ReadString(); break; } case 18: { RoomId = input.ReadString(); break; } case 26: { TriggerId = input.ReadString(); break; } case 34: { TypeStr = input.ReadString(); break; } case 42: { TargetId = input.ReadString(); break; } case 50: { TaskId = input.ReadString(); break; } case 58: { RoleId = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { UserId = input.ReadString(); break; } case 18: { RoomId = input.ReadString(); break; } case 26: { TriggerId = input.ReadString(); break; } case 34: { TypeStr = input.ReadString(); break; } case 42: { TargetId = input.ReadString(); break; } case 50: { TaskId = input.ReadString(); break; } case 58: { RoleId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskOrmRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskOrmRequest()); 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::TaskReflection.Descriptor.MessageTypes[7]; } } [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 TaskOrmRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskOrmRequest(TaskOrmRequest other) : this() { subjectId_ = other.subjectId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskOrmRequest Clone() { return new TaskOrmRequest(this); } /// Field number for the "subjectId" field. public const int SubjectIdFieldNumber = 1; private string subjectId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SubjectId { get { return subjectId_; } set { subjectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskOrmRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskOrmRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (SubjectId != other.SubjectId) 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 (SubjectId.Length != 0) hash ^= SubjectId.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 (SubjectId.Length != 0) { output.WriteRawTag(10); output.WriteString(SubjectId); } 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 (SubjectId.Length != 0) { output.WriteRawTag(10); output.WriteString(SubjectId); } 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 (SubjectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SubjectId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskOrmRequest other) { if (other == null) { return; } if (other.SubjectId.Length != 0) { SubjectId = other.SubjectId; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { SubjectId = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { SubjectId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SelectHandleTaskConf : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SelectHandleTaskConf()); 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::TaskReflection.Descriptor.MessageTypes[8]; } } [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 SelectHandleTaskConf() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SelectHandleTaskConf(SelectHandleTaskConf other) : this() { taskId_ = other.taskId_; userId_ = other.userId_; userIds_ = other.userIds_.Clone(); roomId_ = other.roomId_; selectId_ = other.selectId_; roleId_ = other.roleId_; triggers_ = other.triggers_.Clone(); triggerStr_ = other.triggerStr_; targetId_ = other.targetId_; baskTaskConf_ = other.baskTaskConf_ != null ? other.baskTaskConf_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SelectHandleTaskConf Clone() { return new SelectHandleTaskConf(this); } /// Field number for the "TaskId" field. public const int TaskIdFieldNumber = 1; private string taskId_ = ""; /// /// 任务ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskId { get { return taskId_; } set { taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UserId" field. public const int UserIdFieldNumber = 2; private string userId_ = ""; /// /// 用户ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserId { get { return userId_; } set { userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UserIds" field. public const int UserIdsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_userIds_codec = pb::FieldCodec.ForString(26); private readonly pbc::RepeatedField userIds_ = new pbc::RepeatedField(); /// /// 参与者ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UserIds { get { return userIds_; } } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 4; private string roomId_ = ""; /// /// 房间ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "SelectId" field. public const int SelectIdFieldNumber = 5; private string selectId_ = ""; /// /// 选项ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SelectId { get { return selectId_; } set { selectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "RoleId" field. public const int RoleIdFieldNumber = 6; private string roleId_ = ""; /// /// 角色ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoleId { get { return roleId_; } set { roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Triggers" field. public const int TriggersFieldNumber = 7; private static readonly pb::FieldCodec _repeated_triggers_codec = pb::FieldCodec.ForString(58); private readonly pbc::RepeatedField triggers_ = new pbc::RepeatedField(); /// /// 触发器ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Triggers { get { return triggers_; } } /// Field number for the "TriggerStr" field. public const int TriggerStrFieldNumber = 8; private string triggerStr_ = ""; /// /// 触发器类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TriggerStr { get { return triggerStr_; } set { triggerStr_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TargetId" field. public const int TargetIdFieldNumber = 9; private string targetId_ = ""; /// /// 目标类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TargetId { get { return targetId_; } set { targetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "BaskTaskConf" field. public const int BaskTaskConfFieldNumber = 10; private global::BaseTaskConf baskTaskConf_; /// /// 参与者ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::BaseTaskConf BaskTaskConf { get { return baskTaskConf_; } set { baskTaskConf_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SelectHandleTaskConf); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SelectHandleTaskConf other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (TaskId != other.TaskId) return false; if (UserId != other.UserId) return false; if(!userIds_.Equals(other.userIds_)) return false; if (RoomId != other.RoomId) return false; if (SelectId != other.SelectId) return false; if (RoleId != other.RoleId) return false; if(!triggers_.Equals(other.triggers_)) return false; if (TriggerStr != other.TriggerStr) return false; if (TargetId != other.TargetId) return false; if (!object.Equals(BaskTaskConf, other.BaskTaskConf)) 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 (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); if (UserId.Length != 0) hash ^= UserId.GetHashCode(); hash ^= userIds_.GetHashCode(); if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (SelectId.Length != 0) hash ^= SelectId.GetHashCode(); if (RoleId.Length != 0) hash ^= RoleId.GetHashCode(); hash ^= triggers_.GetHashCode(); if (TriggerStr.Length != 0) hash ^= TriggerStr.GetHashCode(); if (TargetId.Length != 0) hash ^= TargetId.GetHashCode(); if (baskTaskConf_ != null) hash ^= BaskTaskConf.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 (TaskId.Length != 0) { output.WriteRawTag(10); output.WriteString(TaskId); } if (UserId.Length != 0) { output.WriteRawTag(18); output.WriteString(UserId); } userIds_.WriteTo(output, _repeated_userIds_codec); if (RoomId.Length != 0) { output.WriteRawTag(34); output.WriteString(RoomId); } if (SelectId.Length != 0) { output.WriteRawTag(42); output.WriteString(SelectId); } if (RoleId.Length != 0) { output.WriteRawTag(50); output.WriteString(RoleId); } triggers_.WriteTo(output, _repeated_triggers_codec); if (TriggerStr.Length != 0) { output.WriteRawTag(66); output.WriteString(TriggerStr); } if (TargetId.Length != 0) { output.WriteRawTag(74); output.WriteString(TargetId); } if (baskTaskConf_ != null) { output.WriteRawTag(82); output.WriteMessage(BaskTaskConf); } 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 (TaskId.Length != 0) { output.WriteRawTag(10); output.WriteString(TaskId); } if (UserId.Length != 0) { output.WriteRawTag(18); output.WriteString(UserId); } userIds_.WriteTo(ref output, _repeated_userIds_codec); if (RoomId.Length != 0) { output.WriteRawTag(34); output.WriteString(RoomId); } if (SelectId.Length != 0) { output.WriteRawTag(42); output.WriteString(SelectId); } if (RoleId.Length != 0) { output.WriteRawTag(50); output.WriteString(RoleId); } triggers_.WriteTo(ref output, _repeated_triggers_codec); if (TriggerStr.Length != 0) { output.WriteRawTag(66); output.WriteString(TriggerStr); } if (TargetId.Length != 0) { output.WriteRawTag(74); output.WriteString(TargetId); } if (baskTaskConf_ != null) { output.WriteRawTag(82); output.WriteMessage(BaskTaskConf); } 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 (TaskId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); } if (UserId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); } size += userIds_.CalculateSize(_repeated_userIds_codec); if (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (SelectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectId); } if (RoleId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId); } size += triggers_.CalculateSize(_repeated_triggers_codec); if (TriggerStr.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerStr); } if (TargetId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetId); } if (baskTaskConf_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaskTaskConf); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SelectHandleTaskConf other) { if (other == null) { return; } if (other.TaskId.Length != 0) { TaskId = other.TaskId; } if (other.UserId.Length != 0) { UserId = other.UserId; } userIds_.Add(other.userIds_); if (other.RoomId.Length != 0) { RoomId = other.RoomId; } if (other.SelectId.Length != 0) { SelectId = other.SelectId; } if (other.RoleId.Length != 0) { RoleId = other.RoleId; } triggers_.Add(other.triggers_); if (other.TriggerStr.Length != 0) { TriggerStr = other.TriggerStr; } if (other.TargetId.Length != 0) { TargetId = other.TargetId; } if (other.baskTaskConf_ != null) { if (baskTaskConf_ == null) { BaskTaskConf = new global::BaseTaskConf(); } BaskTaskConf.MergeFrom(other.BaskTaskConf); } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { TaskId = input.ReadString(); break; } case 18: { UserId = input.ReadString(); break; } case 26: { userIds_.AddEntriesFrom(input, _repeated_userIds_codec); break; } case 34: { RoomId = input.ReadString(); break; } case 42: { SelectId = input.ReadString(); break; } case 50: { RoleId = input.ReadString(); break; } case 58: { triggers_.AddEntriesFrom(input, _repeated_triggers_codec); break; } case 66: { TriggerStr = input.ReadString(); break; } case 74: { TargetId = input.ReadString(); break; } case 82: { if (baskTaskConf_ == null) { BaskTaskConf = new global::BaseTaskConf(); } input.ReadMessage(BaskTaskConf); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { TaskId = input.ReadString(); break; } case 18: { UserId = input.ReadString(); break; } case 26: { userIds_.AddEntriesFrom(ref input, _repeated_userIds_codec); break; } case 34: { RoomId = input.ReadString(); break; } case 42: { SelectId = input.ReadString(); break; } case 50: { RoleId = input.ReadString(); break; } case 58: { triggers_.AddEntriesFrom(ref input, _repeated_triggers_codec); break; } case 66: { TriggerStr = input.ReadString(); break; } case 74: { TargetId = input.ReadString(); break; } case 82: { if (baskTaskConf_ == null) { BaskTaskConf = new global::BaseTaskConf(); } input.ReadMessage(BaskTaskConf); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BaseTaskConf : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BaseTaskConf()); 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::TaskReflection.Descriptor.MessageTypes[9]; } } [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 BaseTaskConf() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BaseTaskConf(BaseTaskConf other) : this() { id_ = other.id_; note_ = other.note_; name_ = other.name_; type_ = other.type_; desc_ = other.desc_; playScript_ = other.playScript_; trigger_ = other.trigger_; overseeCond_ = other.overseeCond_; timeLimit_ = other.timeLimit_; role_ = other.role_; selects_ = other.selects_; targetType_ = other.targetType_; targets1_ = other.targets1_; targets2_ = other.targets2_; targets2Logic_ = other.targets2Logic_; extraValue_ = other.extraValue_; nextTask_ = other.nextTask_; sort_ = other.sort_; isShow_ = other.isShow_; exclusive_ = other.exclusive_; reward_ = other.reward_; triggerLogic_ = other.triggerLogic_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BaseTaskConf Clone() { return new BaseTaskConf(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private string id_ = ""; /// /// 任务ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Note" field. public const int NoteFieldNumber = 2; private string note_ = ""; /// /// 备注 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Note { get { return note_; } set { note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Name" field. public const int NameFieldNumber = 3; private string name_ = ""; /// /// 名称 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Type" field. public const int TypeFieldNumber = 4; private string type_ = ""; /// /// 任务类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Type { get { return type_; } set { type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Desc" field. public const int DescFieldNumber = 5; private string desc_ = ""; /// /// 描述 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "PlayScript" field. public const int PlayScriptFieldNumber = 6; private string playScript_ = ""; /// /// 执行脚本 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PlayScript { get { return playScript_; } set { playScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Trigger" field. public const int TriggerFieldNumber = 7; private string trigger_ = ""; /// /// 触发条件 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Trigger { get { return trigger_; } set { trigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "OverseeCond" field. public const int OverseeCondFieldNumber = 8; private string overseeCond_ = ""; /// /// 监控条件 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string OverseeCond { get { return overseeCond_; } set { overseeCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TimeLimit" field. public const int TimeLimitFieldNumber = 9; private int timeLimit_; /// /// 时间限制 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TimeLimit { get { return timeLimit_; } set { timeLimit_ = value; } } /// Field number for the "Role" field. public const int RoleFieldNumber = 10; private string role_ = ""; /// /// 角色ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Role { get { return role_; } set { role_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Selects" field. public const int SelectsFieldNumber = 11; private string selects_ = ""; /// /// 指令ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Selects { get { return selects_; } set { selects_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TargetType" field. public const int TargetTypeFieldNumber = 12; private string targetType_ = ""; /// /// 目标类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TargetType { get { return targetType_; } set { targetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Targets1" field. public const int Targets1FieldNumber = 13; private string targets1_ = ""; /// /// 目标对象1 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Targets1 { get { return targets1_; } set { targets1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Targets2" field. public const int Targets2FieldNumber = 14; private string targets2_ = ""; /// /// 目标对象2 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Targets2 { get { return targets2_; } set { targets2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Targets2Logic" field. public const int Targets2LogicFieldNumber = 15; private string targets2Logic_ = ""; /// /// 目标对象2逻辑运算符 1=并且 2=或者 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Targets2Logic { get { return targets2Logic_; } set { targets2Logic_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ExtraValue" field. public const int ExtraValueFieldNumber = 16; private string extraValue_ = ""; /// /// 额外值 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ExtraValue { get { return extraValue_; } set { extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "NextTask" field. public const int NextTaskFieldNumber = 17; private string nextTask_ = ""; /// /// 后续任务ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NextTask { get { return nextTask_; } set { nextTask_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Sort" field. public const int SortFieldNumber = 18; private int sort_; /// /// 排序 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Sort { get { return sort_; } set { sort_ = value; } } /// Field number for the "IsShow" field. public const int IsShowFieldNumber = 19; private int isShow_; /// /// 是否显示 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int IsShow { get { return isShow_; } set { isShow_ = value; } } /// Field number for the "Exclusive" field. public const int ExclusiveFieldNumber = 20; private string exclusive_ = ""; /// /// 互斥任务 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Exclusive { get { return exclusive_; } set { exclusive_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Reward" field. public const int RewardFieldNumber = 21; private string reward_ = ""; /// /// 奖励 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Reward { get { return reward_; } set { reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TriggerLogic" field. public const int TriggerLogicFieldNumber = 22; private string triggerLogic_ = ""; /// /// 触发器逻辑 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TriggerLogic { get { return triggerLogic_; } set { triggerLogic_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BaseTaskConf); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BaseTaskConf other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Note != other.Note) return false; if (Name != other.Name) return false; if (Type != other.Type) return false; if (Desc != other.Desc) return false; if (PlayScript != other.PlayScript) return false; if (Trigger != other.Trigger) return false; if (OverseeCond != other.OverseeCond) return false; if (TimeLimit != other.TimeLimit) return false; if (Role != other.Role) return false; if (Selects != other.Selects) return false; if (TargetType != other.TargetType) return false; if (Targets1 != other.Targets1) return false; if (Targets2 != other.Targets2) return false; if (Targets2Logic != other.Targets2Logic) return false; if (ExtraValue != other.ExtraValue) return false; if (NextTask != other.NextTask) return false; if (Sort != other.Sort) return false; if (IsShow != other.IsShow) return false; if (Exclusive != other.Exclusive) return false; if (Reward != other.Reward) return false; if (TriggerLogic != other.TriggerLogic) 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 (Id.Length != 0) hash ^= Id.GetHashCode(); if (Note.Length != 0) hash ^= Note.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Type.Length != 0) hash ^= Type.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (PlayScript.Length != 0) hash ^= PlayScript.GetHashCode(); if (Trigger.Length != 0) hash ^= Trigger.GetHashCode(); if (OverseeCond.Length != 0) hash ^= OverseeCond.GetHashCode(); if (TimeLimit != 0) hash ^= TimeLimit.GetHashCode(); if (Role.Length != 0) hash ^= Role.GetHashCode(); if (Selects.Length != 0) hash ^= Selects.GetHashCode(); if (TargetType.Length != 0) hash ^= TargetType.GetHashCode(); if (Targets1.Length != 0) hash ^= Targets1.GetHashCode(); if (Targets2.Length != 0) hash ^= Targets2.GetHashCode(); if (Targets2Logic.Length != 0) hash ^= Targets2Logic.GetHashCode(); if (ExtraValue.Length != 0) hash ^= ExtraValue.GetHashCode(); if (NextTask.Length != 0) hash ^= NextTask.GetHashCode(); if (Sort != 0) hash ^= Sort.GetHashCode(); if (IsShow != 0) hash ^= IsShow.GetHashCode(); if (Exclusive.Length != 0) hash ^= Exclusive.GetHashCode(); if (Reward.Length != 0) hash ^= Reward.GetHashCode(); if (TriggerLogic.Length != 0) hash ^= TriggerLogic.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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (Note.Length != 0) { output.WriteRawTag(18); output.WriteString(Note); } if (Name.Length != 0) { output.WriteRawTag(26); output.WriteString(Name); } if (Type.Length != 0) { output.WriteRawTag(34); output.WriteString(Type); } if (Desc.Length != 0) { output.WriteRawTag(42); output.WriteString(Desc); } if (PlayScript.Length != 0) { output.WriteRawTag(50); output.WriteString(PlayScript); } if (Trigger.Length != 0) { output.WriteRawTag(58); output.WriteString(Trigger); } if (OverseeCond.Length != 0) { output.WriteRawTag(66); output.WriteString(OverseeCond); } if (TimeLimit != 0) { output.WriteRawTag(72); output.WriteInt32(TimeLimit); } if (Role.Length != 0) { output.WriteRawTag(82); output.WriteString(Role); } if (Selects.Length != 0) { output.WriteRawTag(90); output.WriteString(Selects); } if (TargetType.Length != 0) { output.WriteRawTag(98); output.WriteString(TargetType); } if (Targets1.Length != 0) { output.WriteRawTag(106); output.WriteString(Targets1); } if (Targets2.Length != 0) { output.WriteRawTag(114); output.WriteString(Targets2); } if (Targets2Logic.Length != 0) { output.WriteRawTag(122); output.WriteString(Targets2Logic); } if (ExtraValue.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(ExtraValue); } if (NextTask.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(NextTask); } if (Sort != 0) { output.WriteRawTag(144, 1); output.WriteInt32(Sort); } if (IsShow != 0) { output.WriteRawTag(152, 1); output.WriteInt32(IsShow); } if (Exclusive.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(Exclusive); } if (Reward.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(Reward); } if (TriggerLogic.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(TriggerLogic); } 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (Note.Length != 0) { output.WriteRawTag(18); output.WriteString(Note); } if (Name.Length != 0) { output.WriteRawTag(26); output.WriteString(Name); } if (Type.Length != 0) { output.WriteRawTag(34); output.WriteString(Type); } if (Desc.Length != 0) { output.WriteRawTag(42); output.WriteString(Desc); } if (PlayScript.Length != 0) { output.WriteRawTag(50); output.WriteString(PlayScript); } if (Trigger.Length != 0) { output.WriteRawTag(58); output.WriteString(Trigger); } if (OverseeCond.Length != 0) { output.WriteRawTag(66); output.WriteString(OverseeCond); } if (TimeLimit != 0) { output.WriteRawTag(72); output.WriteInt32(TimeLimit); } if (Role.Length != 0) { output.WriteRawTag(82); output.WriteString(Role); } if (Selects.Length != 0) { output.WriteRawTag(90); output.WriteString(Selects); } if (TargetType.Length != 0) { output.WriteRawTag(98); output.WriteString(TargetType); } if (Targets1.Length != 0) { output.WriteRawTag(106); output.WriteString(Targets1); } if (Targets2.Length != 0) { output.WriteRawTag(114); output.WriteString(Targets2); } if (Targets2Logic.Length != 0) { output.WriteRawTag(122); output.WriteString(Targets2Logic); } if (ExtraValue.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(ExtraValue); } if (NextTask.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(NextTask); } if (Sort != 0) { output.WriteRawTag(144, 1); output.WriteInt32(Sort); } if (IsShow != 0) { output.WriteRawTag(152, 1); output.WriteInt32(IsShow); } if (Exclusive.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(Exclusive); } if (Reward.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(Reward); } if (TriggerLogic.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(TriggerLogic); } 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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (Note.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Type.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (PlayScript.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayScript); } if (Trigger.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger); } if (OverseeCond.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(OverseeCond); } if (TimeLimit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeLimit); } if (Role.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Role); } if (Selects.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Selects); } if (TargetType.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetType); } if (Targets1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Targets1); } if (Targets2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Targets2); } if (Targets2Logic.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Targets2Logic); } if (ExtraValue.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ExtraValue); } if (NextTask.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(NextTask); } if (Sort != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Sort); } if (IsShow != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(IsShow); } if (Exclusive.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Exclusive); } if (Reward.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Reward); } if (TriggerLogic.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(TriggerLogic); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BaseTaskConf other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.Note.Length != 0) { Note = other.Note; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Type.Length != 0) { Type = other.Type; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.PlayScript.Length != 0) { PlayScript = other.PlayScript; } if (other.Trigger.Length != 0) { Trigger = other.Trigger; } if (other.OverseeCond.Length != 0) { OverseeCond = other.OverseeCond; } if (other.TimeLimit != 0) { TimeLimit = other.TimeLimit; } if (other.Role.Length != 0) { Role = other.Role; } if (other.Selects.Length != 0) { Selects = other.Selects; } if (other.TargetType.Length != 0) { TargetType = other.TargetType; } if (other.Targets1.Length != 0) { Targets1 = other.Targets1; } if (other.Targets2.Length != 0) { Targets2 = other.Targets2; } if (other.Targets2Logic.Length != 0) { Targets2Logic = other.Targets2Logic; } if (other.ExtraValue.Length != 0) { ExtraValue = other.ExtraValue; } if (other.NextTask.Length != 0) { NextTask = other.NextTask; } if (other.Sort != 0) { Sort = other.Sort; } if (other.IsShow != 0) { IsShow = other.IsShow; } if (other.Exclusive.Length != 0) { Exclusive = other.Exclusive; } if (other.Reward.Length != 0) { Reward = other.Reward; } if (other.TriggerLogic.Length != 0) { TriggerLogic = other.TriggerLogic; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Id = input.ReadString(); break; } case 18: { Note = input.ReadString(); break; } case 26: { Name = input.ReadString(); break; } case 34: { Type = input.ReadString(); break; } case 42: { Desc = input.ReadString(); break; } case 50: { PlayScript = input.ReadString(); break; } case 58: { Trigger = input.ReadString(); break; } case 66: { OverseeCond = input.ReadString(); break; } case 72: { TimeLimit = input.ReadInt32(); break; } case 82: { Role = input.ReadString(); break; } case 90: { Selects = input.ReadString(); break; } case 98: { TargetType = input.ReadString(); break; } case 106: { Targets1 = input.ReadString(); break; } case 114: { Targets2 = input.ReadString(); break; } case 122: { Targets2Logic = input.ReadString(); break; } case 130: { ExtraValue = input.ReadString(); break; } case 138: { NextTask = input.ReadString(); break; } case 144: { Sort = input.ReadInt32(); break; } case 152: { IsShow = input.ReadInt32(); break; } case 162: { Exclusive = input.ReadString(); break; } case 170: { Reward = input.ReadString(); break; } case 178: { TriggerLogic = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Id = input.ReadString(); break; } case 18: { Note = input.ReadString(); break; } case 26: { Name = input.ReadString(); break; } case 34: { Type = input.ReadString(); break; } case 42: { Desc = input.ReadString(); break; } case 50: { PlayScript = input.ReadString(); break; } case 58: { Trigger = input.ReadString(); break; } case 66: { OverseeCond = input.ReadString(); break; } case 72: { TimeLimit = input.ReadInt32(); break; } case 82: { Role = input.ReadString(); break; } case 90: { Selects = input.ReadString(); break; } case 98: { TargetType = input.ReadString(); break; } case 106: { Targets1 = input.ReadString(); break; } case 114: { Targets2 = input.ReadString(); break; } case 122: { Targets2Logic = input.ReadString(); break; } case 130: { ExtraValue = input.ReadString(); break; } case 138: { NextTask = input.ReadString(); break; } case 144: { Sort = input.ReadInt32(); break; } case 152: { IsShow = input.ReadInt32(); break; } case 162: { Exclusive = input.ReadString(); break; } case 170: { Reward = input.ReadString(); break; } case 178: { TriggerLogic = input.ReadString(); break; } } } } #endif } #endregion #endregion Designer generated code