2838 lines
86 KiB
C#
2838 lines
86 KiB
C#
|
// <auto-generated>
|
||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
// source: join.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 join.proto</summary>
|
||
|
public static partial class JoinReflection {
|
||
|
|
||
|
#region Descriptor
|
||
|
/// <summary>File descriptor for join.proto</summary>
|
||
|
public static pbr::FileDescriptor Descriptor {
|
||
|
get { return descriptor; }
|
||
|
}
|
||
|
private static pbr::FileDescriptor descriptor;
|
||
|
|
||
|
static JoinReflection() {
|
||
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||
|
string.Concat(
|
||
|
"Cgpqb2luLnByb3RvIp8CChBVc2VySm9pblJlc3BvbnNlEg4KBnVzZXJJZBgB",
|
||
|
"IAEoAxIQCghuaWNrTmFtZRgCIAEoCRIQCghyb2xlTmFtZRgDIAEoCRIOCgZy",
|
||
|
"b29tSWQYBCABKAkSDgoGb25saW5lGAUgASgIEhMKC21lc3NhZ2VUeXBlGAYg",
|
||
|
"ASgFEgsKA2NtZBgHIAEoCRIYChBpbmNpZGVudFBvc2l0aW9uGAggASgJEhIK",
|
||
|
"CmZpcmVSYWRpdXMYCSABKAISEQoJZmlyZVZhbHVlGAogASgFEicKDHRhc2tS",
|
||
|
"ZXNwb25zZRgLIAEoCzIRLlRhc2tJbmZvUmVzcG9uc2USKwoOb2JqZWN0UmVz",
|
||
|
"cG9uc2UYDCABKAsyEy5PYmplY3RJbmZvUmVzcG9uc2UiNwoQUm9vbVVzZXJS",
|
||
|
"ZXNwb25zZRIjCgh1c2VyTGlzdBgBIAMoCzIRLlVzZXJKb2luUmVzcG9uc2Ui",
|
||
|
"ogIKEFRhc2tJbmZvUmVzcG9uc2USDgoGVGFza0lkGAEgASgJEg4KBlN0YXR1",
|
||
|
"cxgCIAEoCRIOCgZSb29tSWQYAyABKAkSCQoBWBgEIAEoAhIJCgFZGAUgASgC",
|
||
|
"EgkKAVoYBiABKAISDAoEVHlwZRgHIAEoCRIRCglUaW1lTGltaXQYCCABKAMS",
|
||
|
"DAoERGVzYxgJIAEoCRIPCgdUcmlnZ2VyGAogASgJEhEKCU5leHRUYXNrcxgL",
|
||
|
"IAEoCRISCgpUYXJnZXRUeXBlGAwgASgJEg4KBlJld2FyZBgNIAEoCRIMCgRO",
|
||
|
"b3RlGA4gASgJEhIKCkNyZWF0ZVRpbWUYDyABKAkSEgoKVXBkYXRlVGltZRgQ",
|
||
|
"IAEoCRIQCghUb1VzZXJJZBgRIAEoCSKvAwoST2JqZWN0SW5mb1Jlc3BvbnNl",
|
||
|
"Eg4KBlJvb21JZBgBIAEoCRIKCgJJZBgCIAEoCRIQCghPYmplY3RJZBgDIAEo",
|
||
|
"CRIMCgROb3RlGAQgASgJEgwKBFR5cGUYBSABKAkSDAoETmFtZRgGIAEoCRIW",
|
||
|
"Cg5OYW1lU2hvd09mZnNldBgHIAEoAxISCgpTaG93UmFkaXVzGAggASgDEgwK",
|
||
|
"BEljb24YCSABKAkSDAoEUm9sZRgKIAEoCRISCgpJdGVtRGVwZW5kGAsgASgJ",
|
||
|
"EhAKCFRha2VUaW1lGAwgASgDEhMKC05lZWRQbGF5ZXJzGA0gASgJEhIKClRh",
|
||
|
"c2tTdGF0dXMYDiABKAkSEgoKU2VsZWN0TGlzdBgPIAEoCRINCgVPbk9mZhgQ",
|
||
|
"IAEoAxIOCgZTdGF0dXMYESABKAkSEQoJUmVzQ2hhbmdlGBIgASgJEhcKD1Bh",
|
||
|
"cmFsbGVsQ29udHJvbBgTIAEoAxISCgpFeHRyYVZhbHVlGBQgASgJEg8KB1Vz",
|
||
|
"ZXJJZHMYFSABKAkSEgoKQ3JlYXRlVGltZRgWIAEoCRISCgpVcGRhdGVUaW1l",
|
||
|
"GBcgASgJQgdaBS4vO3BiYgZwcm90bzM="));
|
||
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||
|
new pbr::FileDescriptor[] { },
|
||
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::UserJoinResponse), global::UserJoinResponse.Parser, new[]{ "UserId", "NickName", "RoleName", "RoomId", "Online", "MessageType", "Cmd", "IncidentPosition", "FireRadius", "FireValue", "TaskResponse", "ObjectResponse" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::RoomUserResponse), global::RoomUserResponse.Parser, new[]{ "UserList" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::TaskInfoResponse), global::TaskInfoResponse.Parser, new[]{ "TaskId", "Status", "RoomId", "X", "Y", "Z", "Type", "TimeLimit", "Desc", "Trigger", "NextTasks", "TargetType", "Reward", "Note", "CreateTime", "UpdateTime", "ToUserId" }, null, null, null, null),
|
||
|
new pbr::GeneratedClrTypeInfo(typeof(global::ObjectInfoResponse), global::ObjectInfoResponse.Parser, new[]{ "RoomId", "Id", "ObjectId", "Note", "Type", "Name", "NameShowOffset", "ShowRadius", "Icon", "Role", "ItemDepend", "TakeTime", "NeedPlayers", "TaskStatus", "SelectList", "OnOff", "Status", "ResChange", "ParallelControl", "ExtraValue", "UserIds", "CreateTime", "UpdateTime" }, null, null, null, null)
|
||
|
}));
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
}
|
||
|
#region Messages
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class UserJoinResponse : pb::IMessage<UserJoinResponse>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<UserJoinResponse> _parser = new pb::MessageParser<UserJoinResponse>(() => new UserJoinResponse());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<UserJoinResponse> Parser { get { return _parser; } }
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
get { return global::JoinReflection.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 UserJoinResponse() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public UserJoinResponse(UserJoinResponse other) : this() {
|
||
|
userId_ = other.userId_;
|
||
|
nickName_ = other.nickName_;
|
||
|
roleName_ = other.roleName_;
|
||
|
roomId_ = other.roomId_;
|
||
|
online_ = other.online_;
|
||
|
messageType_ = other.messageType_;
|
||
|
cmd_ = other.cmd_;
|
||
|
incidentPosition_ = other.incidentPosition_;
|
||
|
fireRadius_ = other.fireRadius_;
|
||
|
fireValue_ = other.fireValue_;
|
||
|
taskResponse_ = other.taskResponse_ != null ? other.taskResponse_.Clone() : null;
|
||
|
objectResponse_ = other.objectResponse_ != null ? other.objectResponse_.Clone() : null;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public UserJoinResponse Clone() {
|
||
|
return new UserJoinResponse(this);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "userId" field.</summary>
|
||
|
public const int UserIdFieldNumber = 1;
|
||
|
private long userId_;
|
||
|
/// <summary>
|
||
|
/// 用户id
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long UserId {
|
||
|
get { return userId_; }
|
||
|
set {
|
||
|
userId_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "nickName" field.</summary>
|
||
|
public const int NickNameFieldNumber = 2;
|
||
|
private string nickName_ = "";
|
||
|
/// <summary>
|
||
|
/// 用户名
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string NickName {
|
||
|
get { return nickName_; }
|
||
|
set {
|
||
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "roleName" field.</summary>
|
||
|
public const int RoleNameFieldNumber = 3;
|
||
|
private string roleName_ = "";
|
||
|
/// <summary>
|
||
|
/// 用户角色
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string RoleName {
|
||
|
get { return roleName_; }
|
||
|
set {
|
||
|
roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "roomId" field.</summary>
|
||
|
public const int RoomIdFieldNumber = 4;
|
||
|
private string roomId_ = "";
|
||
|
/// <summary>
|
||
|
///房间号
|
||
|
/// </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");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "online" field.</summary>
|
||
|
public const int OnlineFieldNumber = 5;
|
||
|
private bool online_;
|
||
|
/// <summary>
|
||
|
///状态 接收这个用户是不是掉线了
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Online {
|
||
|
get { return online_; }
|
||
|
set {
|
||
|
online_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "messageType" field.</summary>
|
||
|
public const int MessageTypeFieldNumber = 6;
|
||
|
private int messageType_;
|
||
|
/// <summary>
|
||
|
///事件状态 1 用户上线 2用户下线 3 用户加入房间 4 事故发生 5 火势 6 任务 7 对象操作
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public int MessageType {
|
||
|
get { return messageType_; }
|
||
|
set {
|
||
|
messageType_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "cmd" field.</summary>
|
||
|
public const int CmdFieldNumber = 7;
|
||
|
private string cmd_ = "";
|
||
|
/// <summary>
|
||
|
///操作指令
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Cmd {
|
||
|
get { return cmd_; }
|
||
|
set {
|
||
|
cmd_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "incidentPosition" field.</summary>
|
||
|
public const int IncidentPositionFieldNumber = 8;
|
||
|
private string incidentPosition_ = "";
|
||
|
/// <summary>
|
||
|
///事件发生位置
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string IncidentPosition {
|
||
|
get { return incidentPosition_; }
|
||
|
set {
|
||
|
incidentPosition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "fireRadius" field.</summary>
|
||
|
public const int FireRadiusFieldNumber = 9;
|
||
|
private float fireRadius_;
|
||
|
/// <summary>
|
||
|
///火势半径
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public float FireRadius {
|
||
|
get { return fireRadius_; }
|
||
|
set {
|
||
|
fireRadius_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "fireValue" field.</summary>
|
||
|
public const int FireValueFieldNumber = 10;
|
||
|
private int fireValue_;
|
||
|
/// <summary>
|
||
|
///火势值
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public int FireValue {
|
||
|
get { return fireValue_; }
|
||
|
set {
|
||
|
fireValue_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "taskResponse" field.</summary>
|
||
|
public const int TaskResponseFieldNumber = 11;
|
||
|
private global::TaskInfoResponse taskResponse_;
|
||
|
/// <summary>
|
||
|
///任务信息
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::TaskInfoResponse TaskResponse {
|
||
|
get { return taskResponse_; }
|
||
|
set {
|
||
|
taskResponse_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "objectResponse" field.</summary>
|
||
|
public const int ObjectResponseFieldNumber = 12;
|
||
|
private global::ObjectInfoResponse objectResponse_;
|
||
|
/// <summary>
|
||
|
///对象信息
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public global::ObjectInfoResponse ObjectResponse {
|
||
|
get { return objectResponse_; }
|
||
|
set {
|
||
|
objectResponse_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as UserJoinResponse);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(UserJoinResponse other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (UserId != other.UserId) return false;
|
||
|
if (NickName != other.NickName) return false;
|
||
|
if (RoleName != other.RoleName) return false;
|
||
|
if (RoomId != other.RoomId) return false;
|
||
|
if (Online != other.Online) return false;
|
||
|
if (MessageType != other.MessageType) return false;
|
||
|
if (Cmd != other.Cmd) return false;
|
||
|
if (IncidentPosition != other.IncidentPosition) return false;
|
||
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FireRadius, other.FireRadius)) return false;
|
||
|
if (FireValue != other.FireValue) return false;
|
||
|
if (!object.Equals(TaskResponse, other.TaskResponse)) return false;
|
||
|
if (!object.Equals(ObjectResponse, other.ObjectResponse)) 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 != 0L) hash ^= UserId.GetHashCode();
|
||
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
||
|
if (RoleName.Length != 0) hash ^= RoleName.GetHashCode();
|
||
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
||
|
if (Online != false) hash ^= Online.GetHashCode();
|
||
|
if (MessageType != 0) hash ^= MessageType.GetHashCode();
|
||
|
if (Cmd.Length != 0) hash ^= Cmd.GetHashCode();
|
||
|
if (IncidentPosition.Length != 0) hash ^= IncidentPosition.GetHashCode();
|
||
|
if (FireRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FireRadius);
|
||
|
if (FireValue != 0) hash ^= FireValue.GetHashCode();
|
||
|
if (taskResponse_ != null) hash ^= TaskResponse.GetHashCode();
|
||
|
if (objectResponse_ != null) hash ^= ObjectResponse.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 != 0L) {
|
||
|
output.WriteRawTag(8);
|
||
|
output.WriteInt64(UserId);
|
||
|
}
|
||
|
if (NickName.Length != 0) {
|
||
|
output.WriteRawTag(18);
|
||
|
output.WriteString(NickName);
|
||
|
}
|
||
|
if (RoleName.Length != 0) {
|
||
|
output.WriteRawTag(26);
|
||
|
output.WriteString(RoleName);
|
||
|
}
|
||
|
if (RoomId.Length != 0) {
|
||
|
output.WriteRawTag(34);
|
||
|
output.WriteString(RoomId);
|
||
|
}
|
||
|
if (Online != false) {
|
||
|
output.WriteRawTag(40);
|
||
|
output.WriteBool(Online);
|
||
|
}
|
||
|
if (MessageType != 0) {
|
||
|
output.WriteRawTag(48);
|
||
|
output.WriteInt32(MessageType);
|
||
|
}
|
||
|
if (Cmd.Length != 0) {
|
||
|
output.WriteRawTag(58);
|
||
|
output.WriteString(Cmd);
|
||
|
}
|
||
|
if (IncidentPosition.Length != 0) {
|
||
|
output.WriteRawTag(66);
|
||
|
output.WriteString(IncidentPosition);
|
||
|
}
|
||
|
if (FireRadius != 0F) {
|
||
|
output.WriteRawTag(77);
|
||
|
output.WriteFloat(FireRadius);
|
||
|
}
|
||
|
if (FireValue != 0) {
|
||
|
output.WriteRawTag(80);
|
||
|
output.WriteInt32(FireValue);
|
||
|
}
|
||
|
if (taskResponse_ != null) {
|
||
|
output.WriteRawTag(90);
|
||
|
output.WriteMessage(TaskResponse);
|
||
|
}
|
||
|
if (objectResponse_ != null) {
|
||
|
output.WriteRawTag(98);
|
||
|
output.WriteMessage(ObjectResponse);
|
||
|
}
|
||
|
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 != 0L) {
|
||
|
output.WriteRawTag(8);
|
||
|
output.WriteInt64(UserId);
|
||
|
}
|
||
|
if (NickName.Length != 0) {
|
||
|
output.WriteRawTag(18);
|
||
|
output.WriteString(NickName);
|
||
|
}
|
||
|
if (RoleName.Length != 0) {
|
||
|
output.WriteRawTag(26);
|
||
|
output.WriteString(RoleName);
|
||
|
}
|
||
|
if (RoomId.Length != 0) {
|
||
|
output.WriteRawTag(34);
|
||
|
output.WriteString(RoomId);
|
||
|
}
|
||
|
if (Online != false) {
|
||
|
output.WriteRawTag(40);
|
||
|
output.WriteBool(Online);
|
||
|
}
|
||
|
if (MessageType != 0) {
|
||
|
output.WriteRawTag(48);
|
||
|
output.WriteInt32(MessageType);
|
||
|
}
|
||
|
if (Cmd.Length != 0) {
|
||
|
output.WriteRawTag(58);
|
||
|
output.WriteString(Cmd);
|
||
|
}
|
||
|
if (IncidentPosition.Length != 0) {
|
||
|
output.WriteRawTag(66);
|
||
|
output.WriteString(IncidentPosition);
|
||
|
}
|
||
|
if (FireRadius != 0F) {
|
||
|
output.WriteRawTag(77);
|
||
|
output.WriteFloat(FireRadius);
|
||
|
}
|
||
|
if (FireValue != 0) {
|
||
|
output.WriteRawTag(80);
|
||
|
output.WriteInt32(FireValue);
|
||
|
}
|
||
|
if (taskResponse_ != null) {
|
||
|
output.WriteRawTag(90);
|
||
|
output.WriteMessage(TaskResponse);
|
||
|
}
|
||
|
if (objectResponse_ != null) {
|
||
|
output.WriteRawTag(98);
|
||
|
output.WriteMessage(ObjectResponse);
|
||
|
}
|
||
|
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 != 0L) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId);
|
||
|
}
|
||
|
if (NickName.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
||
|
}
|
||
|
if (RoleName.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName);
|
||
|
}
|
||
|
if (RoomId.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
||
|
}
|
||
|
if (Online != false) {
|
||
|
size += 1 + 1;
|
||
|
}
|
||
|
if (MessageType != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MessageType);
|
||
|
}
|
||
|
if (Cmd.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmd);
|
||
|
}
|
||
|
if (IncidentPosition.Length != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(IncidentPosition);
|
||
|
}
|
||
|
if (FireRadius != 0F) {
|
||
|
size += 1 + 4;
|
||
|
}
|
||
|
if (FireValue != 0) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FireValue);
|
||
|
}
|
||
|
if (taskResponse_ != null) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TaskResponse);
|
||
|
}
|
||
|
if (objectResponse_ != null) {
|
||
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObjectResponse);
|
||
|
}
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(UserJoinResponse other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.UserId != 0L) {
|
||
|
UserId = other.UserId;
|
||
|
}
|
||
|
if (other.NickName.Length != 0) {
|
||
|
NickName = other.NickName;
|
||
|
}
|
||
|
if (other.RoleName.Length != 0) {
|
||
|
RoleName = other.RoleName;
|
||
|
}
|
||
|
if (other.RoomId.Length != 0) {
|
||
|
RoomId = other.RoomId;
|
||
|
}
|
||
|
if (other.Online != false) {
|
||
|
Online = other.Online;
|
||
|
}
|
||
|
if (other.MessageType != 0) {
|
||
|
MessageType = other.MessageType;
|
||
|
}
|
||
|
if (other.Cmd.Length != 0) {
|
||
|
Cmd = other.Cmd;
|
||
|
}
|
||
|
if (other.IncidentPosition.Length != 0) {
|
||
|
IncidentPosition = other.IncidentPosition;
|
||
|
}
|
||
|
if (other.FireRadius != 0F) {
|
||
|
FireRadius = other.FireRadius;
|
||
|
}
|
||
|
if (other.FireValue != 0) {
|
||
|
FireValue = other.FireValue;
|
||
|
}
|
||
|
if (other.taskResponse_ != null) {
|
||
|
if (taskResponse_ == null) {
|
||
|
TaskResponse = new global::TaskInfoResponse();
|
||
|
}
|
||
|
TaskResponse.MergeFrom(other.TaskResponse);
|
||
|
}
|
||
|
if (other.objectResponse_ != null) {
|
||
|
if (objectResponse_ == null) {
|
||
|
ObjectResponse = new global::ObjectInfoResponse();
|
||
|
}
|
||
|
ObjectResponse.MergeFrom(other.ObjectResponse);
|
||
|
}
|
||
|
_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 8: {
|
||
|
UserId = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 18: {
|
||
|
NickName = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
RoleName = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
RoomId = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 40: {
|
||
|
Online = input.ReadBool();
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
MessageType = input.ReadInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 58: {
|
||
|
Cmd = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 66: {
|
||
|
IncidentPosition = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 77: {
|
||
|
FireRadius = input.ReadFloat();
|
||
|
break;
|
||
|
}
|
||
|
case 80: {
|
||
|
FireValue = input.ReadInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 90: {
|
||
|
if (taskResponse_ == null) {
|
||
|
TaskResponse = new global::TaskInfoResponse();
|
||
|
}
|
||
|
input.ReadMessage(TaskResponse);
|
||
|
break;
|
||
|
}
|
||
|
case 98: {
|
||
|
if (objectResponse_ == null) {
|
||
|
ObjectResponse = new global::ObjectInfoResponse();
|
||
|
}
|
||
|
input.ReadMessage(ObjectResponse);
|
||
|
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 8: {
|
||
|
UserId = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 18: {
|
||
|
NickName = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
RoleName = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
RoomId = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 40: {
|
||
|
Online = input.ReadBool();
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
MessageType = input.ReadInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 58: {
|
||
|
Cmd = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 66: {
|
||
|
IncidentPosition = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 77: {
|
||
|
FireRadius = input.ReadFloat();
|
||
|
break;
|
||
|
}
|
||
|
case 80: {
|
||
|
FireValue = input.ReadInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 90: {
|
||
|
if (taskResponse_ == null) {
|
||
|
TaskResponse = new global::TaskInfoResponse();
|
||
|
}
|
||
|
input.ReadMessage(TaskResponse);
|
||
|
break;
|
||
|
}
|
||
|
case 98: {
|
||
|
if (objectResponse_ == null) {
|
||
|
ObjectResponse = new global::ObjectInfoResponse();
|
||
|
}
|
||
|
input.ReadMessage(ObjectResponse);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class RoomUserResponse : pb::IMessage<RoomUserResponse>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<RoomUserResponse> _parser = new pb::MessageParser<RoomUserResponse>(() => new RoomUserResponse());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<RoomUserResponse> Parser { get { return _parser; } }
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
get { return global::JoinReflection.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 RoomUserResponse() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public RoomUserResponse(RoomUserResponse other) : this() {
|
||
|
userList_ = other.userList_.Clone();
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public RoomUserResponse Clone() {
|
||
|
return new RoomUserResponse(this);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "userList" field.</summary>
|
||
|
public const int UserListFieldNumber = 1;
|
||
|
private static readonly pb::FieldCodec<global::UserJoinResponse> _repeated_userList_codec
|
||
|
= pb::FieldCodec.ForMessage(10, global::UserJoinResponse.Parser);
|
||
|
private readonly pbc::RepeatedField<global::UserJoinResponse> userList_ = new pbc::RepeatedField<global::UserJoinResponse>();
|
||
|
/// <summary>
|
||
|
///用户列表
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public pbc::RepeatedField<global::UserJoinResponse> UserList {
|
||
|
get { return userList_; }
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as RoomUserResponse);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(RoomUserResponse other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if(!userList_.Equals(other.userList_)) 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 ^= userList_.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
|
||
|
userList_.WriteTo(output, _repeated_userList_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) {
|
||
|
userList_.WriteTo(ref output, _repeated_userList_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 += userList_.CalculateSize(_repeated_userList_codec);
|
||
|
if (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(RoomUserResponse other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
userList_.Add(other.userList_);
|
||
|
_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: {
|
||
|
userList_.AddEntriesFrom(input, _repeated_userList_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: {
|
||
|
userList_.AddEntriesFrom(ref input, _repeated_userList_codec);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class TaskInfoResponse : pb::IMessage<TaskInfoResponse>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<TaskInfoResponse> _parser = new pb::MessageParser<TaskInfoResponse>(() => new TaskInfoResponse());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<TaskInfoResponse> Parser { get { return _parser; } }
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
get { return global::JoinReflection.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 TaskInfoResponse() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public TaskInfoResponse(TaskInfoResponse 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_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public TaskInfoResponse Clone() {
|
||
|
return new TaskInfoResponse(this);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "TaskId" field.</summary>
|
||
|
public const int TaskIdFieldNumber = 1;
|
||
|
private string taskId_ = "";
|
||
|
/// <summary>
|
||
|
/// 任务id
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string TaskId {
|
||
|
get { return taskId_; }
|
||
|
set {
|
||
|
taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Status" field.</summary>
|
||
|
public const int StatusFieldNumber = 2;
|
||
|
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 "RoomId" field.</summary>
|
||
|
public const int RoomIdFieldNumber = 3;
|
||
|
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");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "X" field.</summary>
|
||
|
public const int XFieldNumber = 4;
|
||
|
private float x_;
|
||
|
/// <summary>
|
||
|
/// x坐标
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public float X {
|
||
|
get { return x_; }
|
||
|
set {
|
||
|
x_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Y" field.</summary>
|
||
|
public const int YFieldNumber = 5;
|
||
|
private float y_;
|
||
|
/// <summary>
|
||
|
/// y坐标
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public float Y {
|
||
|
get { return y_; }
|
||
|
set {
|
||
|
y_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Z" field.</summary>
|
||
|
public const int ZFieldNumber = 6;
|
||
|
private float z_;
|
||
|
/// <summary>
|
||
|
/// z坐标
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public float Z {
|
||
|
get { return z_; }
|
||
|
set {
|
||
|
z_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Type" field.</summary>
|
||
|
public const int TypeFieldNumber = 7;
|
||
|
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 "TimeLimit" field.</summary>
|
||
|
public const int TimeLimitFieldNumber = 8;
|
||
|
private long timeLimit_;
|
||
|
/// <summary>
|
||
|
/// 时间限制
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public long TimeLimit {
|
||
|
get { return timeLimit_; }
|
||
|
set {
|
||
|
timeLimit_ = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Desc" field.</summary>
|
||
|
public const int DescFieldNumber = 9;
|
||
|
private string desc_ = "";
|
||
|
/// <summary>
|
||
|
/// 描述
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Desc {
|
||
|
get { return desc_; }
|
||
|
set {
|
||
|
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Trigger" field.</summary>
|
||
|
public const int TriggerFieldNumber = 10;
|
||
|
private string trigger_ = "";
|
||
|
/// <summary>
|
||
|
/// 触发条件
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Trigger {
|
||
|
get { return trigger_; }
|
||
|
set {
|
||
|
trigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "NextTasks" field.</summary>
|
||
|
public const int NextTasksFieldNumber = 11;
|
||
|
private string nextTasks_ = "";
|
||
|
/// <summary>
|
||
|
/// 下一步任务
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string NextTasks {
|
||
|
get { return nextTasks_; }
|
||
|
set {
|
||
|
nextTasks_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "TargetType" field.</summary>
|
||
|
public const int TargetTypeFieldNumber = 12;
|
||
|
private string targetType_ = "";
|
||
|
/// <summary>
|
||
|
/// 目标类型
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string TargetType {
|
||
|
get { return targetType_; }
|
||
|
set {
|
||
|
targetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Reward" field.</summary>
|
||
|
public const int RewardFieldNumber = 13;
|
||
|
private string reward_ = "";
|
||
|
/// <summary>
|
||
|
/// 奖励
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string Reward {
|
||
|
get { return reward_; }
|
||
|
set {
|
||
|
reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Note" field.</summary>
|
||
|
public const int NoteFieldNumber = 14;
|
||
|
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 "CreateTime" field.</summary>
|
||
|
public const int CreateTimeFieldNumber = 15;
|
||
|
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 = 16;
|
||
|
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 "ToUserId" field.</summary>
|
||
|
public const int ToUserIdFieldNumber = 17;
|
||
|
private string toUserId_ = "";
|
||
|
/// <summary>
|
||
|
/// 目标用户id
|
||
|
/// </summary>
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public string ToUserId {
|
||
|
get { return toUserId_; }
|
||
|
set {
|
||
|
toUserId_ = 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 TaskInfoResponse);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(TaskInfoResponse 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;
|
||
|
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 (_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 (_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 (_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 (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(TaskInfoResponse 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;
|
||
|
}
|
||
|
_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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
|
public sealed partial class ObjectInfoResponse : pb::IMessage<ObjectInfoResponse>
|
||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
, pb::IBufferMessage
|
||
|
#endif
|
||
|
{
|
||
|
private static readonly pb::MessageParser<ObjectInfoResponse> _parser = new pb::MessageParser<ObjectInfoResponse>(() => new ObjectInfoResponse());
|
||
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pb::MessageParser<ObjectInfoResponse> Parser { get { return _parser; } }
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
get { return global::JoinReflection.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 ObjectInfoResponse() {
|
||
|
OnConstruction();
|
||
|
}
|
||
|
|
||
|
partial void OnConstruction();
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public ObjectInfoResponse(ObjectInfoResponse other) : this() {
|
||
|
roomId_ = other.roomId_;
|
||
|
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_;
|
||
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public ObjectInfoResponse Clone() {
|
||
|
return new ObjectInfoResponse(this);
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "RoomId" field.</summary>
|
||
|
public const int RoomIdFieldNumber = 1;
|
||
|
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");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>Field number for the "Id" field.</summary>
|
||
|
public const int IdFieldNumber = 2;
|
||
|
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 = 3;
|
||
|
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 = 4;
|
||
|
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 = 5;
|
||
|
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 = 6;
|
||
|
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 = 7;
|
||
|
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 = 8;
|
||
|
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 = 9;
|
||
|
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 = 10;
|
||
|
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 = 11;
|
||
|
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 = 12;
|
||
|
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 = 13;
|
||
|
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 = 14;
|
||
|
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 = 15;
|
||
|
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 = 16;
|
||
|
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 = 17;
|
||
|
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 = 18;
|
||
|
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 = 19;
|
||
|
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 = 20;
|
||
|
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 = 21;
|
||
|
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 = 22;
|
||
|
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 = 23;
|
||
|
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");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public override bool Equals(object other) {
|
||
|
return Equals(other as ObjectInfoResponse);
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public bool Equals(ObjectInfoResponse other) {
|
||
|
if (ReferenceEquals(other, null)) {
|
||
|
return false;
|
||
|
}
|
||
|
if (ReferenceEquals(other, this)) {
|
||
|
return true;
|
||
|
}
|
||
|
if (RoomId != other.RoomId) return false;
|
||
|
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;
|
||
|
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 (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 (_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 (Id.Length != 0) {
|
||
|
output.WriteRawTag(18);
|
||
|
output.WriteString(Id);
|
||
|
}
|
||
|
if (ObjectId.Length != 0) {
|
||
|
output.WriteRawTag(26);
|
||
|
output.WriteString(ObjectId);
|
||
|
}
|
||
|
if (Note.Length != 0) {
|
||
|
output.WriteRawTag(34);
|
||
|
output.WriteString(Note);
|
||
|
}
|
||
|
if (Type.Length != 0) {
|
||
|
output.WriteRawTag(42);
|
||
|
output.WriteString(Type);
|
||
|
}
|
||
|
if (Name.Length != 0) {
|
||
|
output.WriteRawTag(50);
|
||
|
output.WriteString(Name);
|
||
|
}
|
||
|
if (NameShowOffset != 0L) {
|
||
|
output.WriteRawTag(56);
|
||
|
output.WriteInt64(NameShowOffset);
|
||
|
}
|
||
|
if (ShowRadius != 0L) {
|
||
|
output.WriteRawTag(64);
|
||
|
output.WriteInt64(ShowRadius);
|
||
|
}
|
||
|
if (Icon.Length != 0) {
|
||
|
output.WriteRawTag(74);
|
||
|
output.WriteString(Icon);
|
||
|
}
|
||
|
if (Role.Length != 0) {
|
||
|
output.WriteRawTag(82);
|
||
|
output.WriteString(Role);
|
||
|
}
|
||
|
if (ItemDepend.Length != 0) {
|
||
|
output.WriteRawTag(90);
|
||
|
output.WriteString(ItemDepend);
|
||
|
}
|
||
|
if (TakeTime != 0L) {
|
||
|
output.WriteRawTag(96);
|
||
|
output.WriteInt64(TakeTime);
|
||
|
}
|
||
|
if (NeedPlayers.Length != 0) {
|
||
|
output.WriteRawTag(106);
|
||
|
output.WriteString(NeedPlayers);
|
||
|
}
|
||
|
if (TaskStatus.Length != 0) {
|
||
|
output.WriteRawTag(114);
|
||
|
output.WriteString(TaskStatus);
|
||
|
}
|
||
|
if (SelectList.Length != 0) {
|
||
|
output.WriteRawTag(122);
|
||
|
output.WriteString(SelectList);
|
||
|
}
|
||
|
if (OnOff != 0L) {
|
||
|
output.WriteRawTag(128, 1);
|
||
|
output.WriteInt64(OnOff);
|
||
|
}
|
||
|
if (Status.Length != 0) {
|
||
|
output.WriteRawTag(138, 1);
|
||
|
output.WriteString(Status);
|
||
|
}
|
||
|
if (ResChange.Length != 0) {
|
||
|
output.WriteRawTag(146, 1);
|
||
|
output.WriteString(ResChange);
|
||
|
}
|
||
|
if (ParallelControl != 0L) {
|
||
|
output.WriteRawTag(152, 1);
|
||
|
output.WriteInt64(ParallelControl);
|
||
|
}
|
||
|
if (ExtraValue.Length != 0) {
|
||
|
output.WriteRawTag(162, 1);
|
||
|
output.WriteString(ExtraValue);
|
||
|
}
|
||
|
if (UserIds.Length != 0) {
|
||
|
output.WriteRawTag(170, 1);
|
||
|
output.WriteString(UserIds);
|
||
|
}
|
||
|
if (CreateTime.Length != 0) {
|
||
|
output.WriteRawTag(178, 1);
|
||
|
output.WriteString(CreateTime);
|
||
|
}
|
||
|
if (UpdateTime.Length != 0) {
|
||
|
output.WriteRawTag(186, 1);
|
||
|
output.WriteString(UpdateTime);
|
||
|
}
|
||
|
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 (Id.Length != 0) {
|
||
|
output.WriteRawTag(18);
|
||
|
output.WriteString(Id);
|
||
|
}
|
||
|
if (ObjectId.Length != 0) {
|
||
|
output.WriteRawTag(26);
|
||
|
output.WriteString(ObjectId);
|
||
|
}
|
||
|
if (Note.Length != 0) {
|
||
|
output.WriteRawTag(34);
|
||
|
output.WriteString(Note);
|
||
|
}
|
||
|
if (Type.Length != 0) {
|
||
|
output.WriteRawTag(42);
|
||
|
output.WriteString(Type);
|
||
|
}
|
||
|
if (Name.Length != 0) {
|
||
|
output.WriteRawTag(50);
|
||
|
output.WriteString(Name);
|
||
|
}
|
||
|
if (NameShowOffset != 0L) {
|
||
|
output.WriteRawTag(56);
|
||
|
output.WriteInt64(NameShowOffset);
|
||
|
}
|
||
|
if (ShowRadius != 0L) {
|
||
|
output.WriteRawTag(64);
|
||
|
output.WriteInt64(ShowRadius);
|
||
|
}
|
||
|
if (Icon.Length != 0) {
|
||
|
output.WriteRawTag(74);
|
||
|
output.WriteString(Icon);
|
||
|
}
|
||
|
if (Role.Length != 0) {
|
||
|
output.WriteRawTag(82);
|
||
|
output.WriteString(Role);
|
||
|
}
|
||
|
if (ItemDepend.Length != 0) {
|
||
|
output.WriteRawTag(90);
|
||
|
output.WriteString(ItemDepend);
|
||
|
}
|
||
|
if (TakeTime != 0L) {
|
||
|
output.WriteRawTag(96);
|
||
|
output.WriteInt64(TakeTime);
|
||
|
}
|
||
|
if (NeedPlayers.Length != 0) {
|
||
|
output.WriteRawTag(106);
|
||
|
output.WriteString(NeedPlayers);
|
||
|
}
|
||
|
if (TaskStatus.Length != 0) {
|
||
|
output.WriteRawTag(114);
|
||
|
output.WriteString(TaskStatus);
|
||
|
}
|
||
|
if (SelectList.Length != 0) {
|
||
|
output.WriteRawTag(122);
|
||
|
output.WriteString(SelectList);
|
||
|
}
|
||
|
if (OnOff != 0L) {
|
||
|
output.WriteRawTag(128, 1);
|
||
|
output.WriteInt64(OnOff);
|
||
|
}
|
||
|
if (Status.Length != 0) {
|
||
|
output.WriteRawTag(138, 1);
|
||
|
output.WriteString(Status);
|
||
|
}
|
||
|
if (ResChange.Length != 0) {
|
||
|
output.WriteRawTag(146, 1);
|
||
|
output.WriteString(ResChange);
|
||
|
}
|
||
|
if (ParallelControl != 0L) {
|
||
|
output.WriteRawTag(152, 1);
|
||
|
output.WriteInt64(ParallelControl);
|
||
|
}
|
||
|
if (ExtraValue.Length != 0) {
|
||
|
output.WriteRawTag(162, 1);
|
||
|
output.WriteString(ExtraValue);
|
||
|
}
|
||
|
if (UserIds.Length != 0) {
|
||
|
output.WriteRawTag(170, 1);
|
||
|
output.WriteString(UserIds);
|
||
|
}
|
||
|
if (CreateTime.Length != 0) {
|
||
|
output.WriteRawTag(178, 1);
|
||
|
output.WriteString(CreateTime);
|
||
|
}
|
||
|
if (UpdateTime.Length != 0) {
|
||
|
output.WriteRawTag(186, 1);
|
||
|
output.WriteString(UpdateTime);
|
||
|
}
|
||
|
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 (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 += 2 + 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 (_unknownFields != null) {
|
||
|
size += _unknownFields.CalculateSize();
|
||
|
}
|
||
|
return size;
|
||
|
}
|
||
|
|
||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
public void MergeFrom(ObjectInfoResponse other) {
|
||
|
if (other == null) {
|
||
|
return;
|
||
|
}
|
||
|
if (other.RoomId.Length != 0) {
|
||
|
RoomId = other.RoomId;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
_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: {
|
||
|
Id = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
ObjectId = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
Note = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 42: {
|
||
|
Type = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 50: {
|
||
|
Name = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
NameShowOffset = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
ShowRadius = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 74: {
|
||
|
Icon = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 82: {
|
||
|
Role = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 90: {
|
||
|
ItemDepend = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 96: {
|
||
|
TakeTime = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 106: {
|
||
|
NeedPlayers = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 114: {
|
||
|
TaskStatus = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 122: {
|
||
|
SelectList = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 128: {
|
||
|
OnOff = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 138: {
|
||
|
Status = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 146: {
|
||
|
ResChange = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 152: {
|
||
|
ParallelControl = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 162: {
|
||
|
ExtraValue = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 170: {
|
||
|
UserIds = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 178: {
|
||
|
CreateTime = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 186: {
|
||
|
UpdateTime = 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: {
|
||
|
Id = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
ObjectId = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 34: {
|
||
|
Note = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 42: {
|
||
|
Type = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 50: {
|
||
|
Name = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
NameShowOffset = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
ShowRadius = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 74: {
|
||
|
Icon = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 82: {
|
||
|
Role = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 90: {
|
||
|
ItemDepend = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 96: {
|
||
|
TakeTime = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 106: {
|
||
|
NeedPlayers = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 114: {
|
||
|
TaskStatus = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 122: {
|
||
|
SelectList = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 128: {
|
||
|
OnOff = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 138: {
|
||
|
Status = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 146: {
|
||
|
ResChange = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 152: {
|
||
|
ParallelControl = input.ReadInt64();
|
||
|
break;
|
||
|
}
|
||
|
case 162: {
|
||
|
ExtraValue = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 170: {
|
||
|
UserIds = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 178: {
|
||
|
CreateTime = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
case 186: {
|
||
|
UpdateTime = input.ReadString();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
|
||
|
#endregion Designer generated code
|