1498 lines
45 KiB
C#
1498 lines
45 KiB
C#
|
// <auto-generated>
|
||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
// source: object.proto
|
||
|
// </auto-generated>
|
||
|
#pragma warning disable 1591, 0612, 3021, 8981
|
||
|
#region Designer generated code
|
||
|
|
||
|
using pb = global::Google.Protobuf;
|
||
|
using pbc = global::Google.Protobuf.Collections;
|
||
|
using pbr = global::Google.Protobuf.Reflection;
|
||
|
using scg = global::System.Collections.Generic;
|
||
|
/// <summary>Holder for reflection information generated from object.proto</summary>
|
||
|
public static partial class ObjectReflection {
|
||
|
|
||
|
#region Descriptor
|
||
|
/// <summary>File descriptor for object.proto</summary>
|
||
|
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
|
||
|
/// <summary>
|
||
|
/// 定义请求和响应的消息类型
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class RequestObject : pb::IMessage<RequestObject>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<RequestObject> _parser = new pb::MessageParser<RequestObject>(() => new RequestObject());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<RequestObject> 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);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Id" field.</summary>
|
||
|
public const int IdFieldNumber = 1;
|
||
|
private string id_ = "";
|
||
|
/// <summary>
|
||
|
/// ID
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Id {
|
||
|
get { return id_; }
|
||
|
set {
|
||
|
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ObjectId" field.</summary>
|
||
|
public const int ObjectIdFieldNumber = 2;
|
||
|
private string objectId_ = "";
|
||
|
/// <summary>
|
||
|
/// 对象ID
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ObjectId {
|
||
|
get { return objectId_; }
|
||
|
set {
|
||
|
objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Status" field.</summary>
|
||
|
public const int StatusFieldNumber = 3;
|
||
|
private string status_ = "";
|
||
|
/// <summary>
|
||
|
/// 状态 0 未使用/关闭 1 已使用/开启
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Status {
|
||
|
get { return status_; }
|
||
|
set {
|
||
|
status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "UserIds" field.</summary>
|
||
|
public const int UserIdsFieldNumber = 4;
|
||
|
private string userIds_ = "";
|
||
|
/// <summary>
|
||
|
/// 用户ID "1,2,3" 多个用户用逗号分隔
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string UserIds {
|
||
|
get { return userIds_; }
|
||
|
set {
|
||
|
userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "RoomId" field.</summary>
|
||
|
public const int RoomIdFieldNumber = 5;
|
||
|
private string roomId_ = "";
|
||
|
/// <summary>
|
||
|
/// 房间ID
|
||
|
/// </summary>
|
||
|
[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<ResponseObject>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<ResponseObject> _parser = new pb::MessageParser<ResponseObject>(() => new ResponseObject());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<ResponseObject> 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);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Id" field.</summary>
|
||
|
public const int IdFieldNumber = 1;
|
||
|
private string id_ = "";
|
||
|
/// <summary>
|
||
|
/// ID
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Id {
|
||
|
get { return id_; }
|
||
|
set {
|
||
|
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ObjectId" field.</summary>
|
||
|
public const int ObjectIdFieldNumber = 2;
|
||
|
private string objectId_ = "";
|
||
|
/// <summary>
|
||
|
/// 对象ID
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ObjectId {
|
||
|
get { return objectId_; }
|
||
|
set {
|
||
|
objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Note" field.</summary>
|
||
|
public const int NoteFieldNumber = 3;
|
||
|
private string note_ = "";
|
||
|
/// <summary>
|
||
|
/// 状态
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Note {
|
||
|
get { return note_; }
|
||
|
set {
|
||
|
note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Type" field.</summary>
|
||
|
public const int TypeFieldNumber = 4;
|
||
|
private string type_ = "";
|
||
|
/// <summary>
|
||
|
/// 对象类型
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Type {
|
||
|
get { return type_; }
|
||
|
set {
|
||
|
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Name" field.</summary>
|
||
|
public const int NameFieldNumber = 5;
|
||
|
private string name_ = "";
|
||
|
/// <summary>
|
||
|
/// 对象文本Id
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Name {
|
||
|
get { return name_; }
|
||
|
set {
|
||
|
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "NameShowOffset" field.</summary>
|
||
|
public const int NameShowOffsetFieldNumber = 6;
|
||
|
private long nameShowOffset_;
|
||
|
/// <summary>
|
||
|
/// 对象文本显示偏移量
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long NameShowOffset {
|
||
|
get { return nameShowOffset_; }
|
||
|
set {
|
||
|
nameShowOffset_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ShowRadius" field.</summary>
|
||
|
public const int ShowRadiusFieldNumber = 7;
|
||
|
private long showRadius_;
|
||
|
/// <summary>
|
||
|
/// 对象显示半径
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long ShowRadius {
|
||
|
get { return showRadius_; }
|
||
|
set {
|
||
|
showRadius_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Icon" field.</summary>
|
||
|
public const int IconFieldNumber = 8;
|
||
|
private string icon_ = "";
|
||
|
/// <summary>
|
||
|
/// 对象图标
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Icon {
|
||
|
get { return icon_; }
|
||
|
set {
|
||
|
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Role" field.</summary>
|
||
|
public const int RoleFieldNumber = 9;
|
||
|
private string role_ = "";
|
||
|
/// <summary>
|
||
|
/// 对象角色
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Role {
|
||
|
get { return role_; }
|
||
|
set {
|
||
|
role_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ItemDepend" field.</summary>
|
||
|
public const int ItemDependFieldNumber = 10;
|
||
|
private string itemDepend_ = "";
|
||
|
/// <summary>
|
||
|
/// 依赖物品
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ItemDepend {
|
||
|
get { return itemDepend_; }
|
||
|
set {
|
||
|
itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "TakeTime" field.</summary>
|
||
|
public const int TakeTimeFieldNumber = 11;
|
||
|
private long takeTime_;
|
||
|
/// <summary>
|
||
|
/// 交互、读条时间 -1 立即执行
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long TakeTime {
|
||
|
get { return takeTime_; }
|
||
|
set {
|
||
|
takeTime_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "NeedPlayers" field.</summary>
|
||
|
public const int NeedPlayersFieldNumber = 12;
|
||
|
private string needPlayers_ = "";
|
||
|
/// <summary>
|
||
|
/// 判定范围,玩家数量,是否可操作(当人数不满足时)
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string NeedPlayers {
|
||
|
get { return needPlayers_; }
|
||
|
set {
|
||
|
needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "TaskStatus" field.</summary>
|
||
|
public const int TaskStatusFieldNumber = 13;
|
||
|
private string taskStatus_ = "";
|
||
|
/// <summary>
|
||
|
/// 对应事件ID
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string TaskStatus {
|
||
|
get { return taskStatus_; }
|
||
|
set {
|
||
|
taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "SelectList" field.</summary>
|
||
|
public const int SelectListFieldNumber = 14;
|
||
|
private string selectList_ = "";
|
||
|
/// <summary>
|
||
|
/// 选择列表
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string SelectList {
|
||
|
get { return selectList_; }
|
||
|
set {
|
||
|
selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "OnOff" field.</summary>
|
||
|
public const int OnOffFieldNumber = 15;
|
||
|
private long onOff_;
|
||
|
/// <summary>
|
||
|
/// 操作状态 0不可操作 1 可操作
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long OnOff {
|
||
|
get { return onOff_; }
|
||
|
set {
|
||
|
onOff_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Status" field.</summary>
|
||
|
public const int StatusFieldNumber = 16;
|
||
|
private string status_ = "";
|
||
|
/// <summary>
|
||
|
/// 状态
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Status {
|
||
|
get { return status_; }
|
||
|
set {
|
||
|
status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ResChange" field.</summary>
|
||
|
public const int ResChangeFieldNumber = 17;
|
||
|
private string resChange_ = "";
|
||
|
/// <summary>
|
||
|
/// 资源变化
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ResChange {
|
||
|
get { return resChange_; }
|
||
|
set {
|
||
|
resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ParallelControl" field.</summary>
|
||
|
public const int ParallelControlFieldNumber = 18;
|
||
|
private long parallelControl_;
|
||
|
/// <summary>
|
||
|
/// 是否支持多人操作
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long ParallelControl {
|
||
|
get { return parallelControl_; }
|
||
|
set {
|
||
|
parallelControl_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "ExtraValue" field.</summary>
|
||
|
public const int ExtraValueFieldNumber = 19;
|
||
|
private string extraValue_ = "";
|
||
|
/// <summary>
|
||
|
/// 额外参数
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ExtraValue {
|
||
|
get { return extraValue_; }
|
||
|
set {
|
||
|
extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "UserIds" field.</summary>
|
||
|
public const int UserIdsFieldNumber = 20;
|
||
|
private string userIds_ = "";
|
||
|
/// <summary>
|
||
|
/// 玩家id列表 逗号分隔
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string UserIds {
|
||
|
get { return userIds_; }
|
||
|
set {
|
||
|
userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "CreateTime" field.</summary>
|
||
|
public const int CreateTimeFieldNumber = 21;
|
||
|
private string createTime_ = "";
|
||
|
/// <summary>
|
||
|
/// 创建时间
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string CreateTime {
|
||
|
get { return createTime_; }
|
||
|
set {
|
||
|
createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "UpdateTime" field.</summary>
|
||
|
public const int UpdateTimeFieldNumber = 22;
|
||
|
private string updateTime_ = "";
|
||
|
/// <summary>
|
||
|
/// 更新时间
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string UpdateTime {
|
||
|
get { return updateTime_; }
|
||
|
set {
|
||
|
updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "RoomId" field.</summary>
|
||
|
public const int RoomIdFieldNumber = 23;
|
||
|
private string roomId_ = "";
|
||
|
/// <summary>
|
||
|
/// 房间ID
|
||
|
/// </summary>
|
||
|
[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
|