// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: object.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 object.proto public static partial class ObjectReflection { #region Descriptor /// File descriptor for object.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ObjectReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgxvYmplY3QucHJvdG8iXgoNUmVxdWVzdE9iamVjdBIKCgJJZBgBIAEoCRIQ", "CghPYmplY3RJZBgCIAEoCRIOCgZTdGF0dXMYAyABKAkSDwoHVXNlcklkcxgE", "IAEoCRIOCgZSb29tSWQYBSABKAkiqwMKDlJlc3BvbnNlT2JqZWN0EgoKAklk", "GAEgASgJEhAKCE9iamVjdElkGAIgASgJEgwKBE5vdGUYAyABKAkSDAoEVHlw", "ZRgEIAEoCRIMCgROYW1lGAUgASgJEhYKDk5hbWVTaG93T2Zmc2V0GAYgASgD", "EhIKClNob3dSYWRpdXMYByABKAMSDAoESWNvbhgIIAEoCRIMCgRSb2xlGAkg", "ASgJEhIKCkl0ZW1EZXBlbmQYCiABKAkSEAoIVGFrZVRpbWUYCyABKAMSEwoL", "TmVlZFBsYXllcnMYDCABKAkSEgoKVGFza1N0YXR1cxgNIAEoCRISCgpTZWxl", "Y3RMaXN0GA4gASgJEg0KBU9uT2ZmGA8gASgDEg4KBlN0YXR1cxgQIAEoCRIR", "CglSZXNDaGFuZ2UYESABKAkSFwoPUGFyYWxsZWxDb250cm9sGBIgASgDEhIK", "CkV4dHJhVmFsdWUYEyABKAkSDwoHVXNlcklkcxgUIAEoCRISCgpDcmVhdGVU", "aW1lGBUgASgJEhIKClVwZGF0ZVRpbWUYFiABKAkSDgoGUm9vbUlkGBcgASgJ", "QgdaBS4vO3BiYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RequestObject), global::RequestObject.Parser, new[]{ "Id", "ObjectId", "Status", "UserIds", "RoomId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ResponseObject), global::ResponseObject.Parser, new[]{ "Id", "ObjectId", "Note", "Type", "Name", "NameShowOffset", "ShowRadius", "Icon", "Role", "ItemDepend", "TakeTime", "NeedPlayers", "TaskStatus", "SelectList", "OnOff", "Status", "ResChange", "ParallelControl", "ExtraValue", "UserIds", "CreateTime", "UpdateTime", "RoomId" }, null, null, null, null) })); } #endregion } #region Messages /// /// 定义请求和响应的消息类型 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RequestObject : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RequestObject()); 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::ObjectReflection.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 RequestObject() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RequestObject(RequestObject other) : this() { id_ = other.id_; objectId_ = other.objectId_; status_ = other.status_; userIds_ = other.userIds_; roomId_ = other.roomId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RequestObject Clone() { return new RequestObject(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 "ObjectId" field. public const int ObjectIdFieldNumber = 2; private string objectId_ = ""; /// /// 对象基础ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ObjectId { get { return objectId_; } set { objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Status" field. public const int StatusFieldNumber = 3; private string status_ = ""; /// /// 状态 0 未使用/关闭 1 已使用/开启 /// [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 "UserIds" field. public const int UserIdsFieldNumber = 4; private string userIds_ = ""; /// /// 用户ID "1,2,3" 多个用户用逗号分隔 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserIds { get { return userIds_; } set { userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 5; 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 RequestObject); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RequestObject other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (ObjectId != other.ObjectId) return false; if (Status != other.Status) return false; if (UserIds != other.UserIds) return false; 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 (Id.Length != 0) hash ^= Id.GetHashCode(); if (ObjectId.Length != 0) hash ^= ObjectId.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (UserIds.Length != 0) hash ^= UserIds.GetHashCode(); 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (ObjectId.Length != 0) { output.WriteRawTag(18); output.WriteString(ObjectId); } if (Status.Length != 0) { output.WriteRawTag(26); output.WriteString(Status); } if (UserIds.Length != 0) { output.WriteRawTag(34); output.WriteString(UserIds); } if (RoomId.Length != 0) { output.WriteRawTag(42); 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (ObjectId.Length != 0) { output.WriteRawTag(18); output.WriteString(ObjectId); } if (Status.Length != 0) { output.WriteRawTag(26); output.WriteString(Status); } if (UserIds.Length != 0) { output.WriteRawTag(34); output.WriteString(UserIds); } if (RoomId.Length != 0) { output.WriteRawTag(42); 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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (ObjectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectId); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (UserIds.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserIds); } 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(RequestObject other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.ObjectId.Length != 0) { ObjectId = other.ObjectId; } if (other.Status.Length != 0) { Status = other.Status; } if (other.UserIds.Length != 0) { UserIds = other.UserIds; } 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: { Id = input.ReadString(); break; } case 18: { ObjectId = input.ReadString(); break; } case 26: { Status = input.ReadString(); break; } case 34: { UserIds = input.ReadString(); break; } case 42: { 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: { Id = input.ReadString(); break; } case 18: { ObjectId = input.ReadString(); break; } case 26: { Status = input.ReadString(); break; } case 34: { UserIds = input.ReadString(); break; } case 42: { RoomId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ResponseObject : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResponseObject()); 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::ObjectReflection.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 ResponseObject() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ResponseObject(ResponseObject other) : this() { id_ = other.id_; objectId_ = other.objectId_; note_ = other.note_; type_ = other.type_; name_ = other.name_; nameShowOffset_ = other.nameShowOffset_; showRadius_ = other.showRadius_; icon_ = other.icon_; role_ = other.role_; itemDepend_ = other.itemDepend_; takeTime_ = other.takeTime_; needPlayers_ = other.needPlayers_; taskStatus_ = other.taskStatus_; selectList_ = other.selectList_; onOff_ = other.onOff_; status_ = other.status_; resChange_ = other.resChange_; parallelControl_ = other.parallelControl_; extraValue_ = other.extraValue_; userIds_ = other.userIds_; createTime_ = other.createTime_; updateTime_ = other.updateTime_; roomId_ = other.roomId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ResponseObject Clone() { return new ResponseObject(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 "ObjectId" field. public const int ObjectIdFieldNumber = 2; private string objectId_ = ""; /// /// 对象ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ObjectId { get { return objectId_; } set { objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Note" field. public const int NoteFieldNumber = 3; 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 "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 "Name" field. public const int NameFieldNumber = 5; private string name_ = ""; /// /// 对象文本Id /// [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 "NameShowOffset" field. public const int NameShowOffsetFieldNumber = 6; private long nameShowOffset_; /// /// 对象文本显示偏移量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long NameShowOffset { get { return nameShowOffset_; } set { nameShowOffset_ = value; } } /// Field number for the "ShowRadius" field. public const int ShowRadiusFieldNumber = 7; private long showRadius_; /// /// 对象显示半径 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long ShowRadius { get { return showRadius_; } set { showRadius_ = value; } } /// Field number for the "Icon" field. public const int IconFieldNumber = 8; private string icon_ = ""; /// /// 对象图标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Icon { get { return icon_; } set { icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Role" field. public const int RoleFieldNumber = 9; private string role_ = ""; /// /// 对象角色 /// [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 "ItemDepend" field. public const int ItemDependFieldNumber = 10; private string itemDepend_ = ""; /// /// 依赖物品 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ItemDepend { get { return itemDepend_; } set { itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TakeTime" field. public const int TakeTimeFieldNumber = 11; private long takeTime_; /// /// 交互、读条时间 -1 立即执行 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TakeTime { get { return takeTime_; } set { takeTime_ = value; } } /// Field number for the "NeedPlayers" field. public const int NeedPlayersFieldNumber = 12; private string needPlayers_ = ""; /// /// 判定范围,玩家数量,是否可操作(当人数不满足时) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NeedPlayers { get { return needPlayers_; } set { needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskStatus" field. public const int TaskStatusFieldNumber = 13; private string taskStatus_ = ""; /// /// 对应事件ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskStatus { get { return taskStatus_; } set { taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "SelectList" field. public const int SelectListFieldNumber = 14; private string selectList_ = ""; /// /// 选择列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SelectList { get { return selectList_; } set { selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "OnOff" field. public const int OnOffFieldNumber = 15; private long onOff_; /// /// 操作状态 0不可操作 1 可操作 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long OnOff { get { return onOff_; } set { onOff_ = value; } } /// Field number for the "Status" field. public const int StatusFieldNumber = 16; 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 "ResChange" field. public const int ResChangeFieldNumber = 17; private string resChange_ = ""; /// /// 资源变化 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ResChange { get { return resChange_; } set { resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ParallelControl" field. public const int ParallelControlFieldNumber = 18; private long parallelControl_; /// /// 是否支持多人操作 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long ParallelControl { get { return parallelControl_; } set { parallelControl_ = value; } } /// Field number for the "ExtraValue" field. public const int ExtraValueFieldNumber = 19; 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 "UserIds" field. public const int UserIdsFieldNumber = 20; private string userIds_ = ""; /// /// 玩家id列表 逗号分隔 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserIds { get { return userIds_; } set { userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CreateTime" field. public const int CreateTimeFieldNumber = 21; 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 = 22; 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 "RoomId" field. public const int RoomIdFieldNumber = 23; 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 ResponseObject); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ResponseObject other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (ObjectId != other.ObjectId) return false; if (Note != other.Note) return false; if (Type != other.Type) return false; if (Name != other.Name) return false; if (NameShowOffset != other.NameShowOffset) return false; if (ShowRadius != other.ShowRadius) return false; if (Icon != other.Icon) return false; if (Role != other.Role) return false; if (ItemDepend != other.ItemDepend) return false; if (TakeTime != other.TakeTime) return false; if (NeedPlayers != other.NeedPlayers) return false; if (TaskStatus != other.TaskStatus) return false; if (SelectList != other.SelectList) return false; if (OnOff != other.OnOff) return false; if (Status != other.Status) return false; if (ResChange != other.ResChange) return false; if (ParallelControl != other.ParallelControl) return false; if (ExtraValue != other.ExtraValue) return false; if (UserIds != other.UserIds) return false; if (CreateTime != other.CreateTime) return false; if (UpdateTime != other.UpdateTime) return false; 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 (Id.Length != 0) hash ^= Id.GetHashCode(); if (ObjectId.Length != 0) hash ^= ObjectId.GetHashCode(); if (Note.Length != 0) hash ^= Note.GetHashCode(); if (Type.Length != 0) hash ^= Type.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (NameShowOffset != 0L) hash ^= NameShowOffset.GetHashCode(); if (ShowRadius != 0L) hash ^= ShowRadius.GetHashCode(); if (Icon.Length != 0) hash ^= Icon.GetHashCode(); if (Role.Length != 0) hash ^= Role.GetHashCode(); if (ItemDepend.Length != 0) hash ^= ItemDepend.GetHashCode(); if (TakeTime != 0L) hash ^= TakeTime.GetHashCode(); if (NeedPlayers.Length != 0) hash ^= NeedPlayers.GetHashCode(); if (TaskStatus.Length != 0) hash ^= TaskStatus.GetHashCode(); if (SelectList.Length != 0) hash ^= SelectList.GetHashCode(); if (OnOff != 0L) hash ^= OnOff.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (ResChange.Length != 0) hash ^= ResChange.GetHashCode(); if (ParallelControl != 0L) hash ^= ParallelControl.GetHashCode(); if (ExtraValue.Length != 0) hash ^= ExtraValue.GetHashCode(); if (UserIds.Length != 0) hash ^= UserIds.GetHashCode(); if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode(); if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode(); 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (ObjectId.Length != 0) { output.WriteRawTag(18); output.WriteString(ObjectId); } if (Note.Length != 0) { output.WriteRawTag(26); output.WriteString(Note); } if (Type.Length != 0) { output.WriteRawTag(34); output.WriteString(Type); } if (Name.Length != 0) { output.WriteRawTag(42); output.WriteString(Name); } if (NameShowOffset != 0L) { output.WriteRawTag(48); output.WriteInt64(NameShowOffset); } if (ShowRadius != 0L) { output.WriteRawTag(56); output.WriteInt64(ShowRadius); } if (Icon.Length != 0) { output.WriteRawTag(66); output.WriteString(Icon); } if (Role.Length != 0) { output.WriteRawTag(74); output.WriteString(Role); } if (ItemDepend.Length != 0) { output.WriteRawTag(82); output.WriteString(ItemDepend); } if (TakeTime != 0L) { output.WriteRawTag(88); output.WriteInt64(TakeTime); } if (NeedPlayers.Length != 0) { output.WriteRawTag(98); output.WriteString(NeedPlayers); } if (TaskStatus.Length != 0) { output.WriteRawTag(106); output.WriteString(TaskStatus); } if (SelectList.Length != 0) { output.WriteRawTag(114); output.WriteString(SelectList); } if (OnOff != 0L) { output.WriteRawTag(120); output.WriteInt64(OnOff); } if (Status.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(Status); } if (ResChange.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ResChange); } if (ParallelControl != 0L) { output.WriteRawTag(144, 1); output.WriteInt64(ParallelControl); } if (ExtraValue.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(ExtraValue); } if (UserIds.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(UserIds); } if (CreateTime.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(CreateTime); } if (UpdateTime.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(UpdateTime); } if (RoomId.Length != 0) { output.WriteRawTag(186, 1); 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (ObjectId.Length != 0) { output.WriteRawTag(18); output.WriteString(ObjectId); } if (Note.Length != 0) { output.WriteRawTag(26); output.WriteString(Note); } if (Type.Length != 0) { output.WriteRawTag(34); output.WriteString(Type); } if (Name.Length != 0) { output.WriteRawTag(42); output.WriteString(Name); } if (NameShowOffset != 0L) { output.WriteRawTag(48); output.WriteInt64(NameShowOffset); } if (ShowRadius != 0L) { output.WriteRawTag(56); output.WriteInt64(ShowRadius); } if (Icon.Length != 0) { output.WriteRawTag(66); output.WriteString(Icon); } if (Role.Length != 0) { output.WriteRawTag(74); output.WriteString(Role); } if (ItemDepend.Length != 0) { output.WriteRawTag(82); output.WriteString(ItemDepend); } if (TakeTime != 0L) { output.WriteRawTag(88); output.WriteInt64(TakeTime); } if (NeedPlayers.Length != 0) { output.WriteRawTag(98); output.WriteString(NeedPlayers); } if (TaskStatus.Length != 0) { output.WriteRawTag(106); output.WriteString(TaskStatus); } if (SelectList.Length != 0) { output.WriteRawTag(114); output.WriteString(SelectList); } if (OnOff != 0L) { output.WriteRawTag(120); output.WriteInt64(OnOff); } if (Status.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(Status); } if (ResChange.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ResChange); } if (ParallelControl != 0L) { output.WriteRawTag(144, 1); output.WriteInt64(ParallelControl); } if (ExtraValue.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(ExtraValue); } if (UserIds.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(UserIds); } if (CreateTime.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(CreateTime); } if (UpdateTime.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(UpdateTime); } if (RoomId.Length != 0) { output.WriteRawTag(186, 1); 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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (ObjectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectId); } if (Note.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); } if (Type.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (NameShowOffset != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(NameShowOffset); } if (ShowRadius != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(ShowRadius); } if (Icon.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); } if (Role.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Role); } if (ItemDepend.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemDepend); } if (TakeTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TakeTime); } if (NeedPlayers.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(NeedPlayers); } if (TaskStatus.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskStatus); } if (SelectList.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectList); } if (OnOff != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(OnOff); } if (Status.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Status); } if (ResChange.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ResChange); } if (ParallelControl != 0L) { size += 2 + pb::CodedOutputStream.ComputeInt64Size(ParallelControl); } if (ExtraValue.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ExtraValue); } if (UserIds.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(UserIds); } if (CreateTime.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(CreateTime); } if (UpdateTime.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime); } if (RoomId.Length != 0) { size += 2 + 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(ResponseObject other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.ObjectId.Length != 0) { ObjectId = other.ObjectId; } if (other.Note.Length != 0) { Note = other.Note; } if (other.Type.Length != 0) { Type = other.Type; } if (other.Name.Length != 0) { Name = other.Name; } if (other.NameShowOffset != 0L) { NameShowOffset = other.NameShowOffset; } if (other.ShowRadius != 0L) { ShowRadius = other.ShowRadius; } if (other.Icon.Length != 0) { Icon = other.Icon; } if (other.Role.Length != 0) { Role = other.Role; } if (other.ItemDepend.Length != 0) { ItemDepend = other.ItemDepend; } if (other.TakeTime != 0L) { TakeTime = other.TakeTime; } if (other.NeedPlayers.Length != 0) { NeedPlayers = other.NeedPlayers; } if (other.TaskStatus.Length != 0) { TaskStatus = other.TaskStatus; } if (other.SelectList.Length != 0) { SelectList = other.SelectList; } if (other.OnOff != 0L) { OnOff = other.OnOff; } if (other.Status.Length != 0) { Status = other.Status; } if (other.ResChange.Length != 0) { ResChange = other.ResChange; } if (other.ParallelControl != 0L) { ParallelControl = other.ParallelControl; } if (other.ExtraValue.Length != 0) { ExtraValue = other.ExtraValue; } if (other.UserIds.Length != 0) { UserIds = other.UserIds; } if (other.CreateTime.Length != 0) { CreateTime = other.CreateTime; } if (other.UpdateTime.Length != 0) { UpdateTime = other.UpdateTime; } 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: { Id = input.ReadString(); break; } case 18: { ObjectId = input.ReadString(); break; } case 26: { Note = input.ReadString(); break; } case 34: { Type = input.ReadString(); break; } case 42: { Name = input.ReadString(); break; } case 48: { NameShowOffset = input.ReadInt64(); break; } case 56: { ShowRadius = input.ReadInt64(); break; } case 66: { Icon = input.ReadString(); break; } case 74: { Role = input.ReadString(); break; } case 82: { ItemDepend = input.ReadString(); break; } case 88: { TakeTime = input.ReadInt64(); break; } case 98: { NeedPlayers = input.ReadString(); break; } case 106: { TaskStatus = input.ReadString(); break; } case 114: { SelectList = input.ReadString(); break; } case 120: { OnOff = input.ReadInt64(); break; } case 130: { Status = input.ReadString(); break; } case 138: { ResChange = input.ReadString(); break; } case 144: { ParallelControl = input.ReadInt64(); break; } case 154: { ExtraValue = input.ReadString(); break; } case 162: { UserIds = input.ReadString(); break; } case 170: { CreateTime = input.ReadString(); break; } case 178: { UpdateTime = input.ReadString(); break; } case 186: { 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: { Id = input.ReadString(); break; } case 18: { ObjectId = input.ReadString(); break; } case 26: { Note = input.ReadString(); break; } case 34: { Type = input.ReadString(); break; } case 42: { Name = input.ReadString(); break; } case 48: { NameShowOffset = input.ReadInt64(); break; } case 56: { ShowRadius = input.ReadInt64(); break; } case 66: { Icon = input.ReadString(); break; } case 74: { Role = input.ReadString(); break; } case 82: { ItemDepend = input.ReadString(); break; } case 88: { TakeTime = input.ReadInt64(); break; } case 98: { NeedPlayers = input.ReadString(); break; } case 106: { TaskStatus = input.ReadString(); break; } case 114: { SelectList = input.ReadString(); break; } case 120: { OnOff = input.ReadInt64(); break; } case 130: { Status = input.ReadString(); break; } case 138: { ResChange = input.ReadString(); break; } case 144: { ParallelControl = input.ReadInt64(); break; } case 154: { ExtraValue = input.ReadString(); break; } case 162: { UserIds = input.ReadString(); break; } case 170: { CreateTime = input.ReadString(); break; } case 178: { UpdateTime = input.ReadString(); break; } case 186: { RoomId = input.ReadString(); break; } } } } #endif } #endregion #endregion Designer generated code