// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: fps.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 fps.proto public static partial class FpsReflection { #region Descriptor /// File descriptor for fps.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static FpsReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CglmcHMucHJvdG8iNgoRQnJvYWRjYXN0RnJhbWVNc2cSIQoGZnJhbWVzGAEg", "AygLMhEuRnJhbWVEYXRhUmVxdWVzdCJPChBGcmFtZURhdGFSZXF1ZXN0EhQK", "B2ZyYW1lSUQYASABKA1IAIgBARIZCgVpbnB1dBgCIAMoCzIKLklucHV0RGF0", "YUIKCghfZnJhbWVJRCLyAgoJSW5wdXREYXRhEgoKAmlkGAEgASgJEgsKA3NJ", "ZBgCIAEoCRIJCgF4GAMgASgCEgkKAXkYBCABKAISEgoKcm9vbVNlYXRJZBgF", "IAEoBRIJCgF6GAYgASgCEg4KBnJvb21JZBgIIAEoCRIOCgZ2aXNpb24YCSAB", "KAISEQoJZGlyZWN0aW9uGAogASgCEg4KBmFjdGlvbhgLIAEoBRIeCgpmaXJl", "UGFyYW1zGAwgAygLMgouRmlyZVBhcmFtEh4KCnByb3BQYXJhbXMYDSADKAsy", "Ci5Qcm9wUGFyYW0SHAoJbnBjUGFyYW1zGA4gAygLMgkuTnBjUGFyYW0SDQoF", "c3BlZWQYDyABKAISDwoHbmV0d29yaxgQIAEoAhITCgt1c2VQb3dlckJveBgR", "IAEoCBIeCgp0YXNrUGFyYW1zGBIgAygLMgouVGFza1BhcmFtEiEKC09ubGlu", "ZVBhcmFtGBMgAygLMgwuT25saW5lUGFyYW0iDwoNRW1wdHlSZXNwb25zZSIo", "CglGaXJlUGFyYW0SDQoFcG9pbnQYASABKAkSDAoEaGFsZhgCIAEoAiJYCglQ", "cm9wUGFyYW0SDgoGcHJvcElkGAEgASgJEgsKA251bRgCIAEoBRIPCgdzZWNv", "bmRzGAMgASgFEg0KBXBvaW50GAQgASgJEg4KBnN0YXR1cxgFIAEoBSI4CghO", "cGNQYXJhbRINCgVucGNJZBgBIAEoCRINCgVwb2ludBgCIAEoCRIOCgZzdGF0", "dXMYAyABKAUiMAoLT25saW5lUGFyYW0SDgoGcm9sZUlkGAEgASgJEhEKCW9u", "bGluZU51bRgCIAEoBSJBCglUYXNrUGFyYW0SDgoGdGFza0lkGAEgASgJEhAK", "CHRhc2tOYW1lGAIgASgJEhIKCnRhc2tTdGF0dXMYAyABKAVCB1oFLi87cGJi", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::BroadcastFrameMsg), global::BroadcastFrameMsg.Parser, new[]{ "Frames" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::FrameDataRequest), global::FrameDataRequest.Parser, new[]{ "FrameID", "Input" }, new[]{ "FrameID" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::InputData), global::InputData.Parser, new[]{ "Id", "SId", "X", "Y", "RoomSeatId", "Z", "RoomId", "Vision", "Direction", "Action", "FireParams", "PropParams", "NpcParams", "Speed", "Network", "UsePowerBox", "TaskParams", "OnlineParam" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EmptyResponse), global::EmptyResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::FireParam), global::FireParam.Parser, new[]{ "Point", "Half" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::PropParam), global::PropParam.Parser, new[]{ "PropId", "Num", "Seconds", "Point", "Status" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::NpcParam), global::NpcParam.Parser, new[]{ "NpcId", "Point", "Status" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OnlineParam), global::OnlineParam.Parser, new[]{ "RoleId", "OnlineNum" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskParam), global::TaskParam.Parser, new[]{ "TaskId", "TaskName", "TaskStatus" }, null, null, null, null) })); } #endregion } #region Messages /// ///广播帧消息 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BroadcastFrameMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BroadcastFrameMsg()); 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::FpsReflection.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 BroadcastFrameMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BroadcastFrameMsg(BroadcastFrameMsg other) : this() { frames_ = other.frames_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BroadcastFrameMsg Clone() { return new BroadcastFrameMsg(this); } /// Field number for the "frames" field. public const int FramesFieldNumber = 1; private static readonly pb::FieldCodec _repeated_frames_codec = pb::FieldCodec.ForMessage(10, global::FrameDataRequest.Parser); private readonly pbc::RepeatedField frames_ = new pbc::RepeatedField(); /// ///帧数据 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Frames { get { return frames_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BroadcastFrameMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BroadcastFrameMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!frames_.Equals(other.frames_)) 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 ^= frames_.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 frames_.WriteTo(output, _repeated_frames_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) { frames_.WriteTo(ref output, _repeated_frames_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 += frames_.CalculateSize(_repeated_frames_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BroadcastFrameMsg other) { if (other == null) { return; } frames_.Add(other.frames_); _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: { frames_.AddEntriesFrom(input, _repeated_frames_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: { frames_.AddEntriesFrom(ref input, _repeated_frames_codec); break; } } } } #endif } /// ///帧数据 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class FrameDataRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameDataRequest()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [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::FpsReflection.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 FrameDataRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FrameDataRequest(FrameDataRequest other) : this() { _hasBits0 = other._hasBits0; frameID_ = other.frameID_; input_ = other.input_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FrameDataRequest Clone() { return new FrameDataRequest(this); } /// Field number for the "frameID" field. public const int FrameIDFieldNumber = 1; private readonly static uint FrameIDDefaultValue = 0; private uint frameID_; /// ///帧ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FrameID { get { if ((_hasBits0 & 1) != 0) { return frameID_; } else { return FrameIDDefaultValue; } } set { _hasBits0 |= 1; frameID_ = value; } } /// Gets whether the "frameID" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasFrameID { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "frameID" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearFrameID() { _hasBits0 &= ~1; } /// Field number for the "input" field. public const int InputFieldNumber = 2; private static readonly pb::FieldCodec _repeated_input_codec = pb::FieldCodec.ForMessage(18, global::InputData.Parser); private readonly pbc::RepeatedField input_ = new pbc::RepeatedField(); /// ///操作输入 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Input { get { return input_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as FrameDataRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(FrameDataRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (FrameID != other.FrameID) return false; if(!input_.Equals(other.input_)) 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 (HasFrameID) hash ^= FrameID.GetHashCode(); hash ^= input_.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 (HasFrameID) { output.WriteRawTag(8); output.WriteUInt32(FrameID); } input_.WriteTo(output, _repeated_input_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 (HasFrameID) { output.WriteRawTag(8); output.WriteUInt32(FrameID); } input_.WriteTo(ref output, _repeated_input_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 (HasFrameID) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameID); } size += input_.CalculateSize(_repeated_input_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(FrameDataRequest other) { if (other == null) { return; } if (other.HasFrameID) { FrameID = other.FrameID; } input_.Add(other.input_); _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: { FrameID = input.ReadUInt32(); break; } case 18: { input_.AddEntriesFrom(input, _repeated_input_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: { FrameID = input.ReadUInt32(); break; } case 18: { input_.AddEntriesFrom(ref input, _repeated_input_codec); break; } } } } #endif } /// ///帧存储操作输入 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class InputData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InputData()); 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::FpsReflection.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 InputData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InputData(InputData other) : this() { id_ = other.id_; sId_ = other.sId_; x_ = other.x_; y_ = other.y_; roomSeatId_ = other.roomSeatId_; z_ = other.z_; roomId_ = other.roomId_; vision_ = other.vision_; direction_ = other.direction_; action_ = other.action_; fireParams_ = other.fireParams_.Clone(); propParams_ = other.propParams_.Clone(); npcParams_ = other.npcParams_.Clone(); speed_ = other.speed_; network_ = other.network_; usePowerBox_ = other.usePowerBox_; taskParams_ = other.taskParams_.Clone(); onlineParam_ = other.onlineParam_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InputData Clone() { return new InputData(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private string id_ = ""; /// ///id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "sId" field. public const int SIdFieldNumber = 2; private string sId_ = ""; /// ///操作id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SId { get { return sId_; } set { sId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "x" field. public const int XFieldNumber = 3; 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 = 4; 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 "roomSeatId" field. public const int RoomSeatIdFieldNumber = 5; private int roomSeatId_; /// ///操作者的位置索引id(1~N) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int RoomSeatId { get { return roomSeatId_; } set { roomSeatId_ = 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 "roomId" field. public const int RoomIdFieldNumber = 8; 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 "vision" field. public const int VisionFieldNumber = 9; private float vision_; /// ///视野范围 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Vision { get { return vision_; } set { vision_ = value; } } /// Field number for the "direction" field. public const int DirectionFieldNumber = 10; private float direction_; /// ///方向 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Direction { get { return direction_; } set { direction_ = value; } } /// Field number for the "action" field. public const int ActionFieldNumber = 11; private int action_; /// ///动作 1 跑动 2 使用道具 3 救人 4 使用配电箱 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Action { get { return action_; } set { action_ = value; } } /// Field number for the "fireParams" field. public const int FireParamsFieldNumber = 12; private static readonly pb::FieldCodec _repeated_fireParams_codec = pb::FieldCodec.ForMessage(98, global::FireParam.Parser); private readonly pbc::RepeatedField fireParams_ = new pbc::RepeatedField(); /// /// 火势参数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FireParams { get { return fireParams_; } } /// Field number for the "propParams" field. public const int PropParamsFieldNumber = 13; private static readonly pb::FieldCodec _repeated_propParams_codec = pb::FieldCodec.ForMessage(106, global::PropParam.Parser); private readonly pbc::RepeatedField propParams_ = new pbc::RepeatedField(); /// /// 道具id列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PropParams { get { return propParams_; } } /// Field number for the "npcParams" field. public const int NpcParamsFieldNumber = 14; private static readonly pb::FieldCodec _repeated_npcParams_codec = pb::FieldCodec.ForMessage(114, global::NpcParam.Parser); private readonly pbc::RepeatedField npcParams_ = new pbc::RepeatedField(); /// /// NPC参数列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField NpcParams { get { return npcParams_; } } /// Field number for the "speed" field. public const int SpeedFieldNumber = 15; private float speed_; /// /// 速度 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Speed { get { return speed_; } set { speed_ = value; } } /// Field number for the "network" field. public const int NetworkFieldNumber = 16; private float network_; /// /// 网络延迟 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Network { get { return network_; } set { network_ = value; } } /// Field number for the "usePowerBox" field. public const int UsePowerBoxFieldNumber = 17; private bool usePowerBox_; /// /// 是否使用配电箱 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool UsePowerBox { get { return usePowerBox_; } set { usePowerBox_ = value; } } /// Field number for the "taskParams" field. public const int TaskParamsFieldNumber = 18; private static readonly pb::FieldCodec _repeated_taskParams_codec = pb::FieldCodec.ForMessage(146, global::TaskParam.Parser); private readonly pbc::RepeatedField taskParams_ = new pbc::RepeatedField(); /// /// 配电箱id列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TaskParams { get { return taskParams_; } } /// Field number for the "OnlineParam" field. public const int OnlineParamFieldNumber = 19; private static readonly pb::FieldCodec _repeated_onlineParam_codec = pb::FieldCodec.ForMessage(154, global::OnlineParam.Parser); private readonly pbc::RepeatedField onlineParam_ = new pbc::RepeatedField(); /// /// 配电箱id列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField OnlineParam { get { return onlineParam_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as InputData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(InputData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (SId != other.SId) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; if (RoomSeatId != other.RoomSeatId) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; if (RoomId != other.RoomId) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Vision, other.Vision)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Direction, other.Direction)) return false; if (Action != other.Action) return false; if(!fireParams_.Equals(other.fireParams_)) return false; if(!propParams_.Equals(other.propParams_)) return false; if(!npcParams_.Equals(other.npcParams_)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Speed, other.Speed)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Network, other.Network)) return false; if (UsePowerBox != other.UsePowerBox) return false; if(!taskParams_.Equals(other.taskParams_)) return false; if(!onlineParam_.Equals(other.onlineParam_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Id.Length != 0) hash ^= Id.GetHashCode(); if (SId.Length != 0) hash ^= SId.GetHashCode(); if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); if (RoomSeatId != 0) hash ^= RoomSeatId.GetHashCode(); if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); if (Vision != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Vision); if (Direction != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Direction); if (Action != 0) hash ^= Action.GetHashCode(); hash ^= fireParams_.GetHashCode(); hash ^= propParams_.GetHashCode(); hash ^= npcParams_.GetHashCode(); if (Speed != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Speed); if (Network != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Network); if (UsePowerBox != false) hash ^= UsePowerBox.GetHashCode(); hash ^= taskParams_.GetHashCode(); hash ^= onlineParam_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (SId.Length != 0) { output.WriteRawTag(18); output.WriteString(SId); } if (X != 0F) { output.WriteRawTag(29); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(37); output.WriteFloat(Y); } if (RoomSeatId != 0) { output.WriteRawTag(40); output.WriteInt32(RoomSeatId); } if (Z != 0F) { output.WriteRawTag(53); output.WriteFloat(Z); } if (RoomId.Length != 0) { output.WriteRawTag(66); output.WriteString(RoomId); } if (Vision != 0F) { output.WriteRawTag(77); output.WriteFloat(Vision); } if (Direction != 0F) { output.WriteRawTag(85); output.WriteFloat(Direction); } if (Action != 0) { output.WriteRawTag(88); output.WriteInt32(Action); } fireParams_.WriteTo(output, _repeated_fireParams_codec); propParams_.WriteTo(output, _repeated_propParams_codec); npcParams_.WriteTo(output, _repeated_npcParams_codec); if (Speed != 0F) { output.WriteRawTag(125); output.WriteFloat(Speed); } if (Network != 0F) { output.WriteRawTag(133, 1); output.WriteFloat(Network); } if (UsePowerBox != false) { output.WriteRawTag(136, 1); output.WriteBool(UsePowerBox); } taskParams_.WriteTo(output, _repeated_taskParams_codec); onlineParam_.WriteTo(output, _repeated_onlineParam_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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (SId.Length != 0) { output.WriteRawTag(18); output.WriteString(SId); } if (X != 0F) { output.WriteRawTag(29); output.WriteFloat(X); } if (Y != 0F) { output.WriteRawTag(37); output.WriteFloat(Y); } if (RoomSeatId != 0) { output.WriteRawTag(40); output.WriteInt32(RoomSeatId); } if (Z != 0F) { output.WriteRawTag(53); output.WriteFloat(Z); } if (RoomId.Length != 0) { output.WriteRawTag(66); output.WriteString(RoomId); } if (Vision != 0F) { output.WriteRawTag(77); output.WriteFloat(Vision); } if (Direction != 0F) { output.WriteRawTag(85); output.WriteFloat(Direction); } if (Action != 0) { output.WriteRawTag(88); output.WriteInt32(Action); } fireParams_.WriteTo(ref output, _repeated_fireParams_codec); propParams_.WriteTo(ref output, _repeated_propParams_codec); npcParams_.WriteTo(ref output, _repeated_npcParams_codec); if (Speed != 0F) { output.WriteRawTag(125); output.WriteFloat(Speed); } if (Network != 0F) { output.WriteRawTag(133, 1); output.WriteFloat(Network); } if (UsePowerBox != false) { output.WriteRawTag(136, 1); output.WriteBool(UsePowerBox); } taskParams_.WriteTo(ref output, _repeated_taskParams_codec); onlineParam_.WriteTo(ref output, _repeated_onlineParam_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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (SId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SId); } if (X != 0F) { size += 1 + 4; } if (Y != 0F) { size += 1 + 4; } if (RoomSeatId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomSeatId); } if (Z != 0F) { size += 1 + 4; } if (RoomId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); } if (Vision != 0F) { size += 1 + 4; } if (Direction != 0F) { size += 1 + 4; } if (Action != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Action); } size += fireParams_.CalculateSize(_repeated_fireParams_codec); size += propParams_.CalculateSize(_repeated_propParams_codec); size += npcParams_.CalculateSize(_repeated_npcParams_codec); if (Speed != 0F) { size += 1 + 4; } if (Network != 0F) { size += 2 + 4; } if (UsePowerBox != false) { size += 2 + 1; } size += taskParams_.CalculateSize(_repeated_taskParams_codec); size += onlineParam_.CalculateSize(_repeated_onlineParam_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(InputData other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.SId.Length != 0) { SId = other.SId; } if (other.X != 0F) { X = other.X; } if (other.Y != 0F) { Y = other.Y; } if (other.RoomSeatId != 0) { RoomSeatId = other.RoomSeatId; } if (other.Z != 0F) { Z = other.Z; } if (other.RoomId.Length != 0) { RoomId = other.RoomId; } if (other.Vision != 0F) { Vision = other.Vision; } if (other.Direction != 0F) { Direction = other.Direction; } if (other.Action != 0) { Action = other.Action; } fireParams_.Add(other.fireParams_); propParams_.Add(other.propParams_); npcParams_.Add(other.npcParams_); if (other.Speed != 0F) { Speed = other.Speed; } if (other.Network != 0F) { Network = other.Network; } if (other.UsePowerBox != false) { UsePowerBox = other.UsePowerBox; } taskParams_.Add(other.taskParams_); onlineParam_.Add(other.onlineParam_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Id = input.ReadString(); break; } case 18: { SId = input.ReadString(); break; } case 29: { X = input.ReadFloat(); break; } case 37: { Y = input.ReadFloat(); break; } case 40: { RoomSeatId = input.ReadInt32(); break; } case 53: { Z = input.ReadFloat(); break; } case 66: { RoomId = input.ReadString(); break; } case 77: { Vision = input.ReadFloat(); break; } case 85: { Direction = input.ReadFloat(); break; } case 88: { Action = input.ReadInt32(); break; } case 98: { fireParams_.AddEntriesFrom(input, _repeated_fireParams_codec); break; } case 106: { propParams_.AddEntriesFrom(input, _repeated_propParams_codec); break; } case 114: { npcParams_.AddEntriesFrom(input, _repeated_npcParams_codec); break; } case 125: { Speed = input.ReadFloat(); break; } case 133: { Network = input.ReadFloat(); break; } case 136: { UsePowerBox = input.ReadBool(); break; } case 146: { taskParams_.AddEntriesFrom(input, _repeated_taskParams_codec); break; } case 154: { onlineParam_.AddEntriesFrom(input, _repeated_onlineParam_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: { Id = input.ReadString(); break; } case 18: { SId = input.ReadString(); break; } case 29: { X = input.ReadFloat(); break; } case 37: { Y = input.ReadFloat(); break; } case 40: { RoomSeatId = input.ReadInt32(); break; } case 53: { Z = input.ReadFloat(); break; } case 66: { RoomId = input.ReadString(); break; } case 77: { Vision = input.ReadFloat(); break; } case 85: { Direction = input.ReadFloat(); break; } case 88: { Action = input.ReadInt32(); break; } case 98: { fireParams_.AddEntriesFrom(ref input, _repeated_fireParams_codec); break; } case 106: { propParams_.AddEntriesFrom(ref input, _repeated_propParams_codec); break; } case 114: { npcParams_.AddEntriesFrom(ref input, _repeated_npcParams_codec); break; } case 125: { Speed = input.ReadFloat(); break; } case 133: { Network = input.ReadFloat(); break; } case 136: { UsePowerBox = input.ReadBool(); break; } case 146: { taskParams_.AddEntriesFrom(ref input, _repeated_taskParams_codec); break; } case 154: { onlineParam_.AddEntriesFrom(ref input, _repeated_onlineParam_codec); break; } } } } #endif } /// /// 空白消息 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class EmptyResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmptyResponse()); 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::FpsReflection.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 EmptyResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EmptyResponse(EmptyResponse other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EmptyResponse Clone() { return new EmptyResponse(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as EmptyResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(EmptyResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(EmptyResponse other) { if (other == null) { return; } _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; } } #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; } } } #endif } /// /// 火势参数 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class FireParam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FireParam()); 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::FpsReflection.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 FireParam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FireParam(FireParam other) : this() { point_ = other.point_; half_ = other.half_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FireParam Clone() { return new FireParam(this); } /// Field number for the "point" field. public const int PointFieldNumber = 1; private string point_ = ""; /// ///着火点 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Point { get { return point_; } set { point_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "half" field. public const int HalfFieldNumber = 2; private float half_; /// ///半径 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Half { get { return half_; } set { half_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as FireParam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(FireParam other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Point != other.Point) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Half, other.Half)) 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 (Point.Length != 0) hash ^= Point.GetHashCode(); if (Half != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Half); 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 (Point.Length != 0) { output.WriteRawTag(10); output.WriteString(Point); } if (Half != 0F) { output.WriteRawTag(21); output.WriteFloat(Half); } 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 (Point.Length != 0) { output.WriteRawTag(10); output.WriteString(Point); } if (Half != 0F) { output.WriteRawTag(21); output.WriteFloat(Half); } 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 (Point.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Point); } if (Half != 0F) { size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(FireParam other) { if (other == null) { return; } if (other.Point.Length != 0) { Point = other.Point; } if (other.Half != 0F) { Half = other.Half; } _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: { Point = input.ReadString(); break; } case 21: { Half = input.ReadFloat(); 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: { Point = input.ReadString(); break; } case 21: { Half = input.ReadFloat(); break; } } } } #endif } /// /// 道具参数 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PropParam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropParam()); 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::FpsReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PropParam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PropParam(PropParam other) : this() { propId_ = other.propId_; num_ = other.num_; seconds_ = other.seconds_; point_ = other.point_; status_ = other.status_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PropParam Clone() { return new PropParam(this); } /// Field number for the "propId" field. public const int PropIdFieldNumber = 1; private string propId_ = ""; /// ///道具id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PropId { get { return propId_; } set { propId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "num" field. public const int NumFieldNumber = 2; private int num_; /// ///道具数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Num { get { return num_; } set { num_ = value; } } /// Field number for the "seconds" field. public const int SecondsFieldNumber = 3; private int seconds_; /// ///道具使用时间 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Seconds { get { return seconds_; } set { seconds_ = value; } } /// Field number for the "point" field. public const int PointFieldNumber = 4; private string point_ = ""; /// ///道具使用位置 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Point { get { return point_; } set { point_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "status" field. public const int StatusFieldNumber = 5; private int status_; /// ///道具状态 0 未使用 1 使用中 2 已使用 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Status { get { return status_; } set { status_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PropParam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PropParam other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (PropId != other.PropId) return false; if (Num != other.Num) return false; if (Seconds != other.Seconds) return false; if (Point != other.Point) return false; if (Status != other.Status) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (PropId.Length != 0) hash ^= PropId.GetHashCode(); if (Num != 0) hash ^= Num.GetHashCode(); if (Seconds != 0) hash ^= Seconds.GetHashCode(); if (Point.Length != 0) hash ^= Point.GetHashCode(); if (Status != 0) hash ^= Status.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (PropId.Length != 0) { output.WriteRawTag(10); output.WriteString(PropId); } if (Num != 0) { output.WriteRawTag(16); output.WriteInt32(Num); } if (Seconds != 0) { output.WriteRawTag(24); output.WriteInt32(Seconds); } if (Point.Length != 0) { output.WriteRawTag(34); output.WriteString(Point); } if (Status != 0) { output.WriteRawTag(40); output.WriteInt32(Status); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (PropId.Length != 0) { output.WriteRawTag(10); output.WriteString(PropId); } if (Num != 0) { output.WriteRawTag(16); output.WriteInt32(Num); } if (Seconds != 0) { output.WriteRawTag(24); output.WriteInt32(Seconds); } if (Point.Length != 0) { output.WriteRawTag(34); output.WriteString(Point); } if (Status != 0) { output.WriteRawTag(40); output.WriteInt32(Status); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (PropId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PropId); } if (Num != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num); } if (Seconds != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seconds); } if (Point.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Point); } if (Status != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PropParam other) { if (other == null) { return; } if (other.PropId.Length != 0) { PropId = other.PropId; } if (other.Num != 0) { Num = other.Num; } if (other.Seconds != 0) { Seconds = other.Seconds; } if (other.Point.Length != 0) { Point = other.Point; } if (other.Status != 0) { Status = other.Status; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { PropId = input.ReadString(); break; } case 16: { Num = input.ReadInt32(); break; } case 24: { Seconds = input.ReadInt32(); break; } case 34: { Point = input.ReadString(); break; } case 40: { Status = input.ReadInt32(); 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: { PropId = input.ReadString(); break; } case 16: { Num = input.ReadInt32(); break; } case 24: { Seconds = input.ReadInt32(); break; } case 34: { Point = input.ReadString(); break; } case 40: { Status = input.ReadInt32(); break; } } } } #endif } /// /// npc 参数 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class NpcParam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NpcParam()); 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::FpsReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NpcParam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NpcParam(NpcParam other) : this() { npcId_ = other.npcId_; point_ = other.point_; status_ = other.status_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NpcParam Clone() { return new NpcParam(this); } /// Field number for the "npcId" field. public const int NpcIdFieldNumber = 1; private string npcId_ = ""; /// ///npc id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NpcId { get { return npcId_; } set { npcId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "point" field. public const int PointFieldNumber = 2; private string point_ = ""; /// ///npc 位置 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Point { get { return point_; } set { point_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "status" field. public const int StatusFieldNumber = 3; private int status_; /// ///npc 状态 1 移动 2 倒下 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Status { get { return status_; } set { status_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as NpcParam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(NpcParam other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (NpcId != other.NpcId) return false; if (Point != other.Point) return false; if (Status != other.Status) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (NpcId.Length != 0) hash ^= NpcId.GetHashCode(); if (Point.Length != 0) hash ^= Point.GetHashCode(); if (Status != 0) hash ^= Status.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (NpcId.Length != 0) { output.WriteRawTag(10); output.WriteString(NpcId); } if (Point.Length != 0) { output.WriteRawTag(18); output.WriteString(Point); } if (Status != 0) { output.WriteRawTag(24); output.WriteInt32(Status); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (NpcId.Length != 0) { output.WriteRawTag(10); output.WriteString(NpcId); } if (Point.Length != 0) { output.WriteRawTag(18); output.WriteString(Point); } if (Status != 0) { output.WriteRawTag(24); output.WriteInt32(Status); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (NpcId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(NpcId); } if (Point.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Point); } if (Status != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(NpcParam other) { if (other == null) { return; } if (other.NpcId.Length != 0) { NpcId = other.NpcId; } if (other.Point.Length != 0) { Point = other.Point; } if (other.Status != 0) { Status = other.Status; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { NpcId = input.ReadString(); break; } case 18: { Point = input.ReadString(); break; } case 24: { Status = input.ReadInt32(); 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: { NpcId = input.ReadString(); break; } case 18: { Point = input.ReadString(); break; } case 24: { Status = input.ReadInt32(); break; } } } } #endif } /// /// 角色在线状态 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class OnlineParam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OnlineParam()); 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::FpsReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public OnlineParam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public OnlineParam(OnlineParam other) : this() { roleId_ = other.roleId_; onlineNum_ = other.onlineNum_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public OnlineParam Clone() { return new OnlineParam(this); } /// Field number for the "roleId" field. public const int RoleIdFieldNumber = 1; private string roleId_ = ""; /// ///角色id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RoleId { get { return roleId_; } set { roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "onlineNum" field. public const int OnlineNumFieldNumber = 2; private int onlineNum_; /// /// 在线人数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int OnlineNum { get { return onlineNum_; } set { onlineNum_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as OnlineParam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(OnlineParam other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoleId != other.RoleId) return false; if (OnlineNum != other.OnlineNum) 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 (RoleId.Length != 0) hash ^= RoleId.GetHashCode(); if (OnlineNum != 0) hash ^= OnlineNum.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 (RoleId.Length != 0) { output.WriteRawTag(10); output.WriteString(RoleId); } if (OnlineNum != 0) { output.WriteRawTag(16); output.WriteInt32(OnlineNum); } 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 (RoleId.Length != 0) { output.WriteRawTag(10); output.WriteString(RoleId); } if (OnlineNum != 0) { output.WriteRawTag(16); output.WriteInt32(OnlineNum); } 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 (RoleId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId); } if (OnlineNum != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(OnlineNum); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(OnlineParam other) { if (other == null) { return; } if (other.RoleId.Length != 0) { RoleId = other.RoleId; } if (other.OnlineNum != 0) { OnlineNum = other.OnlineNum; } _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: { RoleId = input.ReadString(); break; } case 16: { OnlineNum = input.ReadInt32(); 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: { RoleId = input.ReadString(); break; } case 16: { OnlineNum = input.ReadInt32(); break; } } } } #endif } /// /// 任务列表参数 /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskParam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskParam()); 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::FpsReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskParam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskParam(TaskParam other) : this() { taskId_ = other.taskId_; taskName_ = other.taskName_; taskStatus_ = other.taskStatus_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskParam Clone() { return new TaskParam(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 "taskName" field. public const int TaskNameFieldNumber = 2; private string taskName_ = ""; /// ///任务名称 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskName { get { return taskName_; } set { taskName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "taskStatus" field. public const int TaskStatusFieldNumber = 3; private int taskStatus_; /// ///任务状态 0 未完成 1 完成 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TaskStatus { get { return taskStatus_; } set { taskStatus_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TaskParam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskParam other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (TaskId != other.TaskId) return false; if (TaskName != other.TaskName) return false; if (TaskStatus != other.TaskStatus) 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 (TaskName.Length != 0) hash ^= TaskName.GetHashCode(); if (TaskStatus != 0) hash ^= TaskStatus.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 (TaskName.Length != 0) { output.WriteRawTag(18); output.WriteString(TaskName); } if (TaskStatus != 0) { output.WriteRawTag(24); output.WriteInt32(TaskStatus); } 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 (TaskName.Length != 0) { output.WriteRawTag(18); output.WriteString(TaskName); } if (TaskStatus != 0) { output.WriteRawTag(24); output.WriteInt32(TaskStatus); } 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 (TaskName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskName); } if (TaskStatus != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TaskStatus); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskParam other) { if (other == null) { return; } if (other.TaskId.Length != 0) { TaskId = other.TaskId; } if (other.TaskName.Length != 0) { TaskName = other.TaskName; } if (other.TaskStatus != 0) { TaskStatus = other.TaskStatus; } _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: { TaskName = input.ReadString(); break; } case 24: { TaskStatus = input.ReadInt32(); 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: { TaskName = input.ReadString(); break; } case 24: { TaskStatus = input.ReadInt32(); break; } } } } #endif } #endregion #endregion Designer generated code