// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: join.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; /// Holder for reflection information generated from join.proto public static partial class JoinReflection { #region Descriptor /// File descriptor for join.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static JoinReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cgpqb2luLnByb3RvGgptb3ZlLnByb3RvGgpoYWxsLnByb3RvGgpwcm9wLnBy", "b3RvIrcEChBVc2VySm9pblJlc3BvbnNlEg4KBnVzZXJJZBgBIAEoAxIQCghu", "aWNrTmFtZRgCIAEoCRIQCghyb2xlTmFtZRgDIAEoCRIOCgZyb29tSWQYBCAB", "KAkSDgoGb25saW5lGAUgASgIEhMKC21lc3NhZ2VUeXBlGAYgASgFEg8KB0lz", "UmVhZHkYECABKAgSCwoDY21kGAcgASgJEgwKBElzQWkYCCABKAgSJwoMdGFz", "a1Jlc3BvbnNlGAsgASgLMhEuVGFza0luZm9SZXNwb25zZRIrCg5vYmplY3RS", "ZXNwb25zZRgMIAEoCzITLk9iamVjdEluZm9SZXNwb25zZRIlCgtucGNSZXNw", "b25zZRgNIAEoCzIQLk5wY0luZm9SZXNwb25zZRIuCg12b2ljZVJlc3BvbnNl", "GA4gASgLMhcuVm9pY2VUcmFuc3BvcnRSZXNwb25zZRIrCg5wbGF5ZXJSZXNw", "b25zZRgPIAEoCzITLlBsYXllckpvaW5SZXNwb25zZRInCgxmaXJlUmVzcG9u", "c2UYESADKAsyES5GaXJlSW5mb1Jlc3BvbnNlEgkKAXgYEiABKAISCQoBeRgT", "IAEoAhIJCgF6GBQgASgCEigKDHByb3BSZXNwb25zZRgVIAMoCzISLlByb3BN", "b2RlbFJlc3BvbnNlEhIKCklzQWxsUmVhZHkYFiABKAgSLAoPcGxheWVyUmVh", "ZHlMaXN0GBcgAygLMhMuUGxheWVySm9pblJlc3BvbnNlIjwKFlZvaWNlVHJh", "bnNwb3J0UmVzcG9uc2USDQoFYXBwSWQYASABKAkSEwoLY2hhbm5lbE5hbWUY", "AiABKAkiNwoQUm9vbVVzZXJSZXNwb25zZRIjCgh1c2VyTGlzdBgBIAMoCzIR", "LlVzZXJKb2luUmVzcG9uc2UitgIKEFRhc2tJbmZvUmVzcG9uc2USDgoGVGFz", "a0lkGAEgASgJEg4KBlN0YXR1cxgCIAEoCRIOCgZSb29tSWQYAyABKAkSCQoB", "WBgEIAEoAhIJCgFZGAUgASgCEgkKAVoYBiABKAISDAoEVHlwZRgHIAEoCRIR", "CglUaW1lTGltaXQYCCABKAMSDAoERGVzYxgJIAEoCRIPCgdUcmlnZ2VyGAog", "ASgJEhEKCU5leHRUYXNrcxgLIAEoCRISCgpUYXJnZXRUeXBlGAwgASgJEg4K", "BlJld2FyZBgNIAEoCRIMCgROb3RlGA4gASgJEhIKCkNyZWF0ZVRpbWUYDyAB", "KAkSEgoKVXBkYXRlVGltZRgQIAEoCRIQCghUb1VzZXJJZBgRIAEoCRISCgpC", "YXNlVGFza0lkGBIgASgJIq8DChJPYmplY3RJbmZvUmVzcG9uc2USDgoGUm9v", "bUlkGAEgASgJEgoKAklkGAIgASgJEhAKCE9iamVjdElkGAMgASgJEgwKBE5v", "dGUYBCABKAkSDAoEVHlwZRgFIAEoCRIMCgROYW1lGAYgASgJEhYKDk5hbWVT", "aG93T2Zmc2V0GAcgASgDEhIKClNob3dSYWRpdXMYCCABKAMSDAoESWNvbhgJ", "IAEoCRIMCgRSb2xlGAogASgJEhIKCkl0ZW1EZXBlbmQYCyABKAkSEAoIVGFr", "ZVRpbWUYDCABKAMSEwoLTmVlZFBsYXllcnMYDSABKAkSEgoKVGFza1N0YXR1", "cxgOIAEoCRISCgpTZWxlY3RMaXN0GA8gASgJEg0KBU9uT2ZmGBAgASgDEg4K", "BlN0YXR1cxgRIAEoCRIRCglSZXNDaGFuZ2UYEiABKAkSFwoPUGFyYWxsZWxD", "b250cm9sGBMgASgDEhIKCkV4dHJhVmFsdWUYFCABKAkSDwoHVXNlcklkcxgV", "IAEoCRISCgpDcmVhdGVUaW1lGBYgASgJEhIKClVwZGF0ZVRpbWUYFyABKAlC", "B1oFLi87cGJiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::MoveReflection.Descriptor, global::HallReflection.Descriptor, global::PropReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::UserJoinResponse), global::UserJoinResponse.Parser, new[]{ "UserId", "NickName", "RoleName", "RoomId", "Online", "MessageType", "IsReady", "Cmd", "IsAi", "TaskResponse", "ObjectResponse", "NpcResponse", "VoiceResponse", "PlayerResponse", "FireResponse", "X", "Y", "Z", "PropResponse", "IsAllReady", "PlayerReadyList" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::VoiceTransportResponse), global::VoiceTransportResponse.Parser, new[]{ "AppId", "ChannelName" }, 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", "BaseTaskId" }, 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 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserJoinResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::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_; isReady_ = other.isReady_; cmd_ = other.cmd_; isAi_ = other.isAi_; taskResponse_ = other.taskResponse_ != null ? other.taskResponse_.Clone() : null; objectResponse_ = other.objectResponse_ != null ? other.objectResponse_.Clone() : null; npcResponse_ = other.npcResponse_ != null ? other.npcResponse_.Clone() : null; voiceResponse_ = other.voiceResponse_ != null ? other.voiceResponse_.Clone() : null; playerResponse_ = other.playerResponse_ != null ? other.playerResponse_.Clone() : null; fireResponse_ = other.fireResponse_.Clone(); x_ = other.x_; y_ = other.y_; z_ = other.z_; propResponse_ = other.propResponse_.Clone(); isAllReady_ = other.isAllReady_; playerReadyList_ = other.playerReadyList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UserJoinResponse Clone() { return new UserJoinResponse(this); } /// Field number for the "userId" field. public const int UserIdFieldNumber = 1; private long userId_; /// /// 用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long UserId { get { return userId_; } set { userId_ = value; } } /// Field number for the "nickName" field. public const int NickNameFieldNumber = 2; private string nickName_ = ""; /// /// 用户名 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NickName { get { return nickName_; } set { nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "roleName" field. public const int RoleNameFieldNumber = 3; private string roleName_ = ""; /// /// 用户角色 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoleName { get { return roleName_; } set { roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "roomId" field. public const int RoomIdFieldNumber = 4; private string roomId_ = ""; /// ///房间号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "online" field. public const int OnlineFieldNumber = 5; private bool online_; /// ///状态 接收这个用户是不是掉线了 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Online { get { return online_; } set { online_ = value; } } /// Field number for the "messageType" field. public const int MessageTypeFieldNumber = 6; private int messageType_; /// ///事件状态 1 用户上线 2用户下线 3 用户加入房间 4 事故发生 5 火势 6 任务 7 对象操作 8 NPC 属性更新 9 语音信息 10 用户信息更新 11 房间开始 12 玩家准备 13 房间道具 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MessageType { get { return messageType_; } set { messageType_ = value; } } /// Field number for the "IsReady" field. public const int IsReadyFieldNumber = 16; private bool isReady_; /// /// 是否准备 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsReady { get { return isReady_; } set { isReady_ = value; } } /// Field number for the "cmd" field. public const int CmdFieldNumber = 7; private string cmd_ = ""; /// ///操作指令 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Cmd { get { return cmd_; } set { cmd_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "IsAi" field. public const int IsAiFieldNumber = 8; private bool isAi_; /// /// 是否Ai /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsAi { get { return isAi_; } set { isAi_ = value; } } /// Field number for the "taskResponse" field. public const int TaskResponseFieldNumber = 11; private global::TaskInfoResponse taskResponse_; /// ///任务信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::TaskInfoResponse TaskResponse { get { return taskResponse_; } set { taskResponse_ = value; } } /// Field number for the "objectResponse" field. public const int ObjectResponseFieldNumber = 12; private global::ObjectInfoResponse objectResponse_; /// ///对象信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ObjectInfoResponse ObjectResponse { get { return objectResponse_; } set { objectResponse_ = value; } } /// Field number for the "npcResponse" field. public const int NpcResponseFieldNumber = 13; private global::NpcInfoResponse npcResponse_; /// ///npc信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::NpcInfoResponse NpcResponse { get { return npcResponse_; } set { npcResponse_ = value; } } /// Field number for the "voiceResponse" field. public const int VoiceResponseFieldNumber = 14; private global::VoiceTransportResponse voiceResponse_; /// ///语音信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::VoiceTransportResponse VoiceResponse { get { return voiceResponse_; } set { voiceResponse_ = value; } } /// Field number for the "playerResponse" field. public const int PlayerResponseFieldNumber = 15; private global::PlayerJoinResponse playerResponse_; /// ///玩家信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::PlayerJoinResponse PlayerResponse { get { return playerResponse_; } set { playerResponse_ = value; } } /// Field number for the "fireResponse" field. public const int FireResponseFieldNumber = 17; private static readonly pb::FieldCodec _repeated_fireResponse_codec = pb::FieldCodec.ForMessage(138, global::FireInfoResponse.Parser); private readonly pbc::RepeatedField fireResponse_ = new pbc::RepeatedField(); /// ///火势信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FireResponse { get { return fireResponse_; } } /// Field number for the "x" field. public const int XFieldNumber = 18; private float x_; /// /// x坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float X { get { return x_; } set { x_ = value; } } /// Field number for the "y" field. public const int YFieldNumber = 19; private float y_; /// /// y坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Y { get { return y_; } set { y_ = value; } } /// Field number for the "z" field. public const int ZFieldNumber = 20; private float z_; /// /// z坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Z { get { return z_; } set { z_ = value; } } /// Field number for the "propResponse" field. public const int PropResponseFieldNumber = 21; private static readonly pb::FieldCodec _repeated_propResponse_codec = pb::FieldCodec.ForMessage(170, global::PropModelResponse.Parser); private readonly pbc::RepeatedField propResponse_ = new pbc::RepeatedField(); /// /// 道具信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PropResponse { get { return propResponse_; } } /// Field number for the "IsAllReady" field. public const int IsAllReadyFieldNumber = 22; private bool isAllReady_; /// /// 是否所有玩家准备 true 所有玩家准备 false 还有玩家未准备 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsAllReady { get { return isAllReady_; } set { isAllReady_ = value; } } /// Field number for the "playerReadyList" field. public const int PlayerReadyListFieldNumber = 23; private static readonly pb::FieldCodec _repeated_playerReadyList_codec = pb::FieldCodec.ForMessage(186, global::PlayerJoinResponse.Parser); private readonly pbc::RepeatedField playerReadyList_ = new pbc::RepeatedField(); /// /// 准备玩家列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PlayerReadyList { get { return playerReadyList_; } } [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 (IsReady != other.IsReady) return false; if (Cmd != other.Cmd) return false; if (IsAi != other.IsAi) return false; if (!object.Equals(TaskResponse, other.TaskResponse)) return false; if (!object.Equals(ObjectResponse, other.ObjectResponse)) return false; if (!object.Equals(NpcResponse, other.NpcResponse)) return false; if (!object.Equals(VoiceResponse, other.VoiceResponse)) return false; if (!object.Equals(PlayerResponse, other.PlayerResponse)) return false; if(!fireResponse_.Equals(other.fireResponse_)) 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(!propResponse_.Equals(other.propResponse_)) return false; if (IsAllReady != other.IsAllReady) return false; if(!playerReadyList_.Equals(other.playerReadyList_)) 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 (IsReady != false) hash ^= IsReady.GetHashCode(); if (Cmd.Length != 0) hash ^= Cmd.GetHashCode(); if (IsAi != false) hash ^= IsAi.GetHashCode(); if (taskResponse_ != null) hash ^= TaskResponse.GetHashCode(); if (objectResponse_ != null) hash ^= ObjectResponse.GetHashCode(); if (npcResponse_ != null) hash ^= NpcResponse.GetHashCode(); if (voiceResponse_ != null) hash ^= VoiceResponse.GetHashCode(); if (playerResponse_ != null) hash ^= PlayerResponse.GetHashCode(); hash ^= fireResponse_.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); hash ^= propResponse_.GetHashCode(); if (IsAllReady != false) hash ^= IsAllReady.GetHashCode(); hash ^= playerReadyList_.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 (IsAi != false) { output.WriteRawTag(64); output.WriteBool(IsAi); } if (taskResponse_ != null) { output.WriteRawTag(90); output.WriteMessage(TaskResponse); } if (objectResponse_ != null) { output.WriteRawTag(98); output.WriteMessage(ObjectResponse); } if (npcResponse_ != null) { output.WriteRawTag(106); output.WriteMessage(NpcResponse); } if (voiceResponse_ != null) { output.WriteRawTag(114); output.WriteMessage(VoiceResponse); } if (playerResponse_ != null) { output.WriteRawTag(122); output.WriteMessage(PlayerResponse); } if (IsReady != false) { output.WriteRawTag(128, 1); output.WriteBool(IsReady); } fireResponse_.WriteTo(output, _repeated_fireResponse_codec); if (X != 0F) { output.WriteRawTag(149, 1); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(157, 1); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(165, 1); output.WriteFloat(Z); } propResponse_.WriteTo(output, _repeated_propResponse_codec); if (IsAllReady != false) { output.WriteRawTag(176, 1); output.WriteBool(IsAllReady); } playerReadyList_.WriteTo(output, _repeated_playerReadyList_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) { 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 (IsAi != false) { output.WriteRawTag(64); output.WriteBool(IsAi); } if (taskResponse_ != null) { output.WriteRawTag(90); output.WriteMessage(TaskResponse); } if (objectResponse_ != null) { output.WriteRawTag(98); output.WriteMessage(ObjectResponse); } if (npcResponse_ != null) { output.WriteRawTag(106); output.WriteMessage(NpcResponse); } if (voiceResponse_ != null) { output.WriteRawTag(114); output.WriteMessage(VoiceResponse); } if (playerResponse_ != null) { output.WriteRawTag(122); output.WriteMessage(PlayerResponse); } if (IsReady != false) { output.WriteRawTag(128, 1); output.WriteBool(IsReady); } fireResponse_.WriteTo(ref output, _repeated_fireResponse_codec); if (X != 0F) { output.WriteRawTag(149, 1); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(157, 1); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(165, 1); output.WriteFloat(Z); } propResponse_.WriteTo(ref output, _repeated_propResponse_codec); if (IsAllReady != false) { output.WriteRawTag(176, 1); output.WriteBool(IsAllReady); } playerReadyList_.WriteTo(ref output, _repeated_playerReadyList_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; 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 (IsReady != false) { size += 2 + 1; } if (Cmd.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmd); } if (IsAi != false) { size += 1 + 1; } if (taskResponse_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TaskResponse); } if (objectResponse_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObjectResponse); } if (npcResponse_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(NpcResponse); } if (voiceResponse_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(VoiceResponse); } if (playerResponse_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerResponse); } size += fireResponse_.CalculateSize(_repeated_fireResponse_codec); if (X != 0F) { size += 2 + 4; } if (Y != 0F) { size += 2 + 4; } if (Z != 0F) { size += 2 + 4; } size += propResponse_.CalculateSize(_repeated_propResponse_codec); if (IsAllReady != false) { size += 2 + 1; } size += playerReadyList_.CalculateSize(_repeated_playerReadyList_codec); 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.IsReady != false) { IsReady = other.IsReady; } if (other.Cmd.Length != 0) { Cmd = other.Cmd; } if (other.IsAi != false) { IsAi = other.IsAi; } 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); } if (other.npcResponse_ != null) { if (npcResponse_ == null) { NpcResponse = new global::NpcInfoResponse(); } NpcResponse.MergeFrom(other.NpcResponse); } if (other.voiceResponse_ != null) { if (voiceResponse_ == null) { VoiceResponse = new global::VoiceTransportResponse(); } VoiceResponse.MergeFrom(other.VoiceResponse); } if (other.playerResponse_ != null) { if (playerResponse_ == null) { PlayerResponse = new global::PlayerJoinResponse(); } PlayerResponse.MergeFrom(other.PlayerResponse); } fireResponse_.Add(other.fireResponse_); if (other.X != 0F) { X = other.X; } if (other.Y != 0F) { Y = other.Y; } if (other.Z != 0F) { Z = other.Z; } propResponse_.Add(other.propResponse_); if (other.IsAllReady != false) { IsAllReady = other.IsAllReady; } playerReadyList_.Add(other.playerReadyList_); _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 64: { IsAi = input.ReadBool(); 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; } case 106: { if (npcResponse_ == null) { NpcResponse = new global::NpcInfoResponse(); } input.ReadMessage(NpcResponse); break; } case 114: { if (voiceResponse_ == null) { VoiceResponse = new global::VoiceTransportResponse(); } input.ReadMessage(VoiceResponse); break; } case 122: { if (playerResponse_ == null) { PlayerResponse = new global::PlayerJoinResponse(); } input.ReadMessage(PlayerResponse); break; } case 128: { IsReady = input.ReadBool(); break; } case 138: { fireResponse_.AddEntriesFrom(input, _repeated_fireResponse_codec); break; } case 149: { X = input.ReadFloat(); break; } case 157: { Y = input.ReadFloat(); break; } case 165: { Z = input.ReadFloat(); break; } case 170: { propResponse_.AddEntriesFrom(input, _repeated_propResponse_codec); break; } case 176: { IsAllReady = input.ReadBool(); break; } case 186: { playerReadyList_.AddEntriesFrom(input, _repeated_playerReadyList_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 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 64: { IsAi = input.ReadBool(); 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; } case 106: { if (npcResponse_ == null) { NpcResponse = new global::NpcInfoResponse(); } input.ReadMessage(NpcResponse); break; } case 114: { if (voiceResponse_ == null) { VoiceResponse = new global::VoiceTransportResponse(); } input.ReadMessage(VoiceResponse); break; } case 122: { if (playerResponse_ == null) { PlayerResponse = new global::PlayerJoinResponse(); } input.ReadMessage(PlayerResponse); break; } case 128: { IsReady = input.ReadBool(); break; } case 138: { fireResponse_.AddEntriesFrom(ref input, _repeated_fireResponse_codec); break; } case 149: { X = input.ReadFloat(); break; } case 157: { Y = input.ReadFloat(); break; } case 165: { Z = input.ReadFloat(); break; } case 170: { propResponse_.AddEntriesFrom(ref input, _repeated_propResponse_codec); break; } case 176: { IsAllReady = input.ReadBool(); break; } case 186: { playerReadyList_.AddEntriesFrom(ref input, _repeated_playerReadyList_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class VoiceTransportResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VoiceTransportResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::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 VoiceTransportResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VoiceTransportResponse(VoiceTransportResponse other) : this() { appId_ = other.appId_; channelName_ = other.channelName_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VoiceTransportResponse Clone() { return new VoiceTransportResponse(this); } /// Field number for the "appId" field. public const int AppIdFieldNumber = 1; private string appId_ = ""; /// /// 应用id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AppId { get { return appId_; } set { appId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "channelName" field. public const int ChannelNameFieldNumber = 2; private string channelName_ = ""; /// /// 用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ChannelName { get { return channelName_; } set { channelName_ = 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 VoiceTransportResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VoiceTransportResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (AppId != other.AppId) return false; if (ChannelName != other.ChannelName) 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 (AppId.Length != 0) hash ^= AppId.GetHashCode(); if (ChannelName.Length != 0) hash ^= ChannelName.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 (AppId.Length != 0) { output.WriteRawTag(10); output.WriteString(AppId); } if (ChannelName.Length != 0) { output.WriteRawTag(18); output.WriteString(ChannelName); } 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 (AppId.Length != 0) { output.WriteRawTag(10); output.WriteString(AppId); } if (ChannelName.Length != 0) { output.WriteRawTag(18); output.WriteString(ChannelName); } 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 (AppId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AppId); } if (ChannelName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ChannelName); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VoiceTransportResponse other) { if (other == null) { return; } if (other.AppId.Length != 0) { AppId = other.AppId; } if (other.ChannelName.Length != 0) { ChannelName = other.ChannelName; } _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: { AppId = input.ReadString(); break; } case 18: { ChannelName = 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: { AppId = input.ReadString(); break; } case 18: { ChannelName = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RoomUserResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomUserResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::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 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); } /// Field number for the "userList" field. public const int UserListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_userList_codec = pb::FieldCodec.ForMessage(10, global::UserJoinResponse.Parser); private readonly pbc::RepeatedField userList_ = new pbc::RepeatedField(); /// ///用户列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField 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 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskInfoResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::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 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_; baseTaskId_ = other.baseTaskId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskInfoResponse Clone() { return new TaskInfoResponse(this); } /// Field number for the "TaskId" field. public const int TaskIdFieldNumber = 1; private string taskId_ = ""; /// /// 任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskId { get { return taskId_; } set { taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Status" field. public const int StatusFieldNumber = 2; private string status_ = ""; /// /// 状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 3; private string roomId_ = ""; /// /// 房间id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "X" field. public const int XFieldNumber = 4; private float x_; /// /// x坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float X { get { return x_; } set { x_ = value; } } /// Field number for the "Y" field. public const int YFieldNumber = 5; private float y_; /// /// y坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Y { get { return y_; } set { y_ = value; } } /// Field number for the "Z" field. public const int ZFieldNumber = 6; private float z_; /// /// z坐标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Z { get { return z_; } set { z_ = value; } } /// Field number for the "Type" field. public const int TypeFieldNumber = 7; private string type_ = ""; /// /// 类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Type { get { return type_; } set { type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TimeLimit" field. public const int TimeLimitFieldNumber = 8; private long timeLimit_; /// /// 时间限制 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TimeLimit { get { return timeLimit_; } set { timeLimit_ = value; } } /// Field number for the "Desc" field. public const int DescFieldNumber = 9; private string desc_ = ""; /// /// 描述 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Trigger" field. public const int TriggerFieldNumber = 10; private string trigger_ = ""; /// /// 触发条件 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Trigger { get { return trigger_; } set { trigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "NextTasks" field. public const int NextTasksFieldNumber = 11; private string nextTasks_ = ""; /// /// 下一步任务 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NextTasks { get { return nextTasks_; } set { nextTasks_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TargetType" field. public const int TargetTypeFieldNumber = 12; private string targetType_ = ""; /// /// 目标类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TargetType { get { return targetType_; } set { targetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Reward" field. public const int RewardFieldNumber = 13; private string reward_ = ""; /// /// 奖励 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Reward { get { return reward_; } set { reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Note" field. public const int NoteFieldNumber = 14; private string note_ = ""; /// /// 备注 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Note { get { return note_; } set { note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CreateTime" field. public const int CreateTimeFieldNumber = 15; private string createTime_ = ""; /// /// 创建时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CreateTime { get { return createTime_; } set { createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UpdateTime" field. public const int UpdateTimeFieldNumber = 16; private string updateTime_ = ""; /// /// 更新时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UpdateTime { get { return updateTime_; } set { updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ToUserId" field. public const int ToUserIdFieldNumber = 17; private string toUserId_ = ""; /// /// 目标用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ToUserId { get { return toUserId_; } set { toUserId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "BaseTaskId" field. public const int BaseTaskIdFieldNumber = 18; private string baseTaskId_ = ""; /// /// 基础任务id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BaseTaskId { get { return baseTaskId_; } set { baseTaskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as 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; if (BaseTaskId != other.BaseTaskId) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); if (Type.Length != 0) hash ^= Type.GetHashCode(); if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (Trigger.Length != 0) hash ^= Trigger.GetHashCode(); if (NextTasks.Length != 0) hash ^= NextTasks.GetHashCode(); if (TargetType.Length != 0) hash ^= TargetType.GetHashCode(); if (Reward.Length != 0) hash ^= Reward.GetHashCode(); if (Note.Length != 0) hash ^= Note.GetHashCode(); if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode(); if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode(); if (ToUserId.Length != 0) hash ^= ToUserId.GetHashCode(); if (BaseTaskId.Length != 0) hash ^= BaseTaskId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (TaskId.Length != 0) { output.WriteRawTag(10); output.WriteString(TaskId); } if (Status.Length != 0) { output.WriteRawTag(18); output.WriteString(Status); } if (RoomId.Length != 0) { output.WriteRawTag(26); output.WriteString(RoomId); } if (X != 0F) { output.WriteRawTag(37); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(45); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(53); output.WriteFloat(Z); } if (Type.Length != 0) { output.WriteRawTag(58); output.WriteString(Type); } if (TimeLimit != 0L) { output.WriteRawTag(64); output.WriteInt64(TimeLimit); } if (Desc.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc); } if (Trigger.Length != 0) { output.WriteRawTag(82); output.WriteString(Trigger); } if (NextTasks.Length != 0) { output.WriteRawTag(90); output.WriteString(NextTasks); } if (TargetType.Length != 0) { output.WriteRawTag(98); output.WriteString(TargetType); } if (Reward.Length != 0) { output.WriteRawTag(106); output.WriteString(Reward); } if (Note.Length != 0) { output.WriteRawTag(114); output.WriteString(Note); } if (CreateTime.Length != 0) { output.WriteRawTag(122); output.WriteString(CreateTime); } if (UpdateTime.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(UpdateTime); } if (ToUserId.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ToUserId); } if (BaseTaskId.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(BaseTaskId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (TaskId.Length != 0) { output.WriteRawTag(10); output.WriteString(TaskId); } if (Status.Length != 0) { output.WriteRawTag(18); output.WriteString(Status); } if (RoomId.Length != 0) { output.WriteRawTag(26); output.WriteString(RoomId); } if (X != 0F) { output.WriteRawTag(37); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(45); output.WriteFloat(Y); } if (Z != 0F) { output.WriteRawTag(53); output.WriteFloat(Z); } if (Type.Length != 0) { output.WriteRawTag(58); output.WriteString(Type); } if (TimeLimit != 0L) { output.WriteRawTag(64); output.WriteInt64(TimeLimit); } if (Desc.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc); } if (Trigger.Length != 0) { output.WriteRawTag(82); output.WriteString(Trigger); } if (NextTasks.Length != 0) { output.WriteRawTag(90); output.WriteString(NextTasks); } if (TargetType.Length != 0) { output.WriteRawTag(98); output.WriteString(TargetType); } if (Reward.Length != 0) { output.WriteRawTag(106); output.WriteString(Reward); } if (Note.Length != 0) { output.WriteRawTag(114); output.WriteString(Note); } if (CreateTime.Length != 0) { output.WriteRawTag(122); output.WriteString(CreateTime); } if (UpdateTime.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(UpdateTime); } if (ToUserId.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ToUserId); } if (BaseTaskId.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(BaseTaskId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (TaskId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (X != 0F) { size += 1 + 4; } if (Y != 0F) { size += 1 + 4; } if (Z != 0F) { size += 1 + 4; } if (Type.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } if (TimeLimit != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (Trigger.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger); } if (NextTasks.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(NextTasks); } if (TargetType.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetType); } if (Reward.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Reward); } if (Note.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); } if (CreateTime.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateTime); } if (UpdateTime.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime); } if (ToUserId.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ToUserId); } if (BaseTaskId.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseTaskId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(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; } if (other.BaseTaskId.Length != 0) { BaseTaskId = other.BaseTaskId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { TaskId = input.ReadString(); break; } case 18: { Status = input.ReadString(); break; } case 26: { RoomId = input.ReadString(); break; } case 37: { X = input.ReadFloat(); break; } case 45: { Y = input.ReadFloat(); break; } case 53: { Z = input.ReadFloat(); break; } case 58: { Type = input.ReadString(); break; } case 64: { TimeLimit = input.ReadInt64(); break; } case 74: { Desc = input.ReadString(); break; } case 82: { Trigger = input.ReadString(); break; } case 90: { NextTasks = input.ReadString(); break; } case 98: { TargetType = input.ReadString(); break; } case 106: { Reward = input.ReadString(); break; } case 114: { Note = input.ReadString(); break; } case 122: { CreateTime = input.ReadString(); break; } case 130: { UpdateTime = input.ReadString(); break; } case 138: { ToUserId = input.ReadString(); break; } case 146: { BaseTaskId = input.ReadString(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { TaskId = input.ReadString(); break; } case 18: { Status = input.ReadString(); break; } case 26: { RoomId = input.ReadString(); break; } case 37: { X = input.ReadFloat(); break; } case 45: { Y = input.ReadFloat(); break; } case 53: { Z = input.ReadFloat(); break; } case 58: { Type = input.ReadString(); break; } case 64: { TimeLimit = input.ReadInt64(); break; } case 74: { Desc = input.ReadString(); break; } case 82: { Trigger = input.ReadString(); break; } case 90: { NextTasks = input.ReadString(); break; } case 98: { TargetType = input.ReadString(); break; } case 106: { Reward = input.ReadString(); break; } case 114: { Note = input.ReadString(); break; } case 122: { CreateTime = input.ReadString(); break; } case 130: { UpdateTime = input.ReadString(); break; } case 138: { ToUserId = input.ReadString(); break; } case 146: { BaseTaskId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ObjectInfoResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ObjectInfoResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::JoinReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public 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); } /// Field number for the "RoomId" field. public const int RoomIdFieldNumber = 1; private string roomId_ = ""; /// /// 对象id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoomId { get { return roomId_; } set { roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Id" field. public const int IdFieldNumber = 2; private string id_ = ""; /// /// ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ObjectId" field. public const int ObjectIdFieldNumber = 3; private string objectId_ = ""; /// /// 对象ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ObjectId { get { return objectId_; } set { objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Note" field. public const int NoteFieldNumber = 4; private string note_ = ""; /// /// 状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Note { get { return note_; } set { note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Type" field. public const int TypeFieldNumber = 5; private string type_ = ""; /// /// 对象类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Type { get { return type_; } set { type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Name" field. public const int NameFieldNumber = 6; private string name_ = ""; /// /// 对象文本Id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "NameShowOffset" field. public const int NameShowOffsetFieldNumber = 7; private long nameShowOffset_; /// /// 对象文本显示偏移量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long NameShowOffset { get { return nameShowOffset_; } set { nameShowOffset_ = value; } } /// Field number for the "ShowRadius" field. public const int ShowRadiusFieldNumber = 8; private long showRadius_; /// /// 对象显示半径 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long ShowRadius { get { return showRadius_; } set { showRadius_ = value; } } /// Field number for the "Icon" field. public const int IconFieldNumber = 9; private string icon_ = ""; /// /// 对象图标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Icon { get { return icon_; } set { icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Role" field. public const int RoleFieldNumber = 10; private string role_ = ""; /// /// 对象角色 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Role { get { return role_; } set { role_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ItemDepend" field. public const int ItemDependFieldNumber = 11; private string itemDepend_ = ""; /// /// 依赖物品 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ItemDepend { get { return itemDepend_; } set { itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TakeTime" field. public const int TakeTimeFieldNumber = 12; private long takeTime_; /// /// 交互、读条时间 -1 立即执行 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TakeTime { get { return takeTime_; } set { takeTime_ = value; } } /// Field number for the "NeedPlayers" field. public const int NeedPlayersFieldNumber = 13; private string needPlayers_ = ""; /// /// 判定范围,玩家数量,是否可操作(当人数不满足时) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NeedPlayers { get { return needPlayers_; } set { needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskStatus" field. public const int TaskStatusFieldNumber = 14; private string taskStatus_ = ""; /// /// 对应事件ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskStatus { get { return taskStatus_; } set { taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "SelectList" field. public const int SelectListFieldNumber = 15; private string selectList_ = ""; /// /// 选择列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SelectList { get { return selectList_; } set { selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "OnOff" field. public const int OnOffFieldNumber = 16; private long onOff_; /// /// 操作状态 0不可操作 1 可操作 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long OnOff { get { return onOff_; } set { onOff_ = value; } } /// Field number for the "Status" field. public const int StatusFieldNumber = 17; private string status_ = ""; /// /// 状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ResChange" field. public const int ResChangeFieldNumber = 18; private string resChange_ = ""; /// /// 资源变化 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ResChange { get { return resChange_; } set { resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ParallelControl" field. public const int ParallelControlFieldNumber = 19; private long parallelControl_; /// /// 是否支持多人操作 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long ParallelControl { get { return parallelControl_; } set { parallelControl_ = value; } } /// Field number for the "ExtraValue" field. public const int ExtraValueFieldNumber = 20; private string extraValue_ = ""; /// /// 额外参数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ExtraValue { get { return extraValue_; } set { extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UserIds" field. public const int UserIdsFieldNumber = 21; private string userIds_ = ""; /// /// 玩家id列表 逗号分隔 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserIds { get { return userIds_; } set { userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CreateTime" field. public const int CreateTimeFieldNumber = 22; private string createTime_ = ""; /// /// 创建时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CreateTime { get { return createTime_; } set { createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UpdateTime" field. public const int UpdateTimeFieldNumber = 23; private string updateTime_ = ""; /// /// 更新时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UpdateTime { get { return updateTime_; } set { updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [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